A filesystem is a method of storing and organizing computer files and their data.
0
votes
0answers
19 views
Write a block device driver for file system support
I want to implement a device driver for a DIY card reader (assume that I'm able to read and write blocks to the card). I want to make this device appear like a normal card device that can be formatted ...
1
vote
2answers
42 views
Transactional UNIX shell for file system changes
It is easy to make a mistake when copying (cp), moving/renaming (mv), removing (rm/rmdir), creating dirs (mkdir), and changing file permissions (chmod). It would be nice to have a log to view before ...
1
vote
4answers
33 views
LD_PRELOAD or similar to warn user about modifications to a file?
I am running a (complex) script that seems to modify at some point a file. I would like to get warnings whenever the script / program tries to write, chmod, chown or perform any other attempt that I ...
5
votes
2answers
72 views
Can two files in a directory be on different filesystems
I'm implementing atomic writes (FWIW in Python on Linux & FreeBSD), and I'm writing to a temporary file in the same directory with the file I'm planning to write to (in order to ensure that they ...
7
votes
1answer
142 views
Why do *nix filesystems support file names with newlines? [duplicate]
According to this page:
File names in Linux can contain any characters other than (1) a forward slash ( / ), which is reserved for use as the name of the root directory (i.e., the directory that ...
24
votes
7answers
22k views
Mount Google Drive in Linux?
Now that Google Drive is available, how do we mount it to a Linux filesystem? Similar solutions exist for Amazon S3 and Rackspace Cloud Files.
1
vote
2answers
337 views
How can I automatically chown a file to the user who made the modification?
I've set up a shared directory structure for users accessing a common set of files. Files created by a user are owned by that user (the group is inherited from the parent directory), so the team knows ...
1
vote
2answers
2k views
ext3 root filesystems goes read-only with aborted journal even after repairs
Short version: ext3 root filesystem on rackspace (xen) VM detects aborted journal on boot and mounts read-only. I've attempted to repair this from a rescue environment with tune2fs and e2fsck as ...
1
vote
1answer
26 views
fsck ext4 on ssd: max mountcount and checkinterval
I'm using an ssd as the only drive in my laptop (Debian stable).
It seems that SuSE sets mountcount to -1, disabling fsck at boot. The thread linked says that ext4 needn't be fsck'd anyway. Is that ...
2
votes
2answers
254 views
Querying an overlayfs
I'm looking for a way to query a mounted overlay filesystem (overlayfs) in order to check it's upper and lower directory, but until now I haven't found any suitable command for that. Is there is a way ...
2
votes
5answers
92 views
How can a filesystem be copied exactly as is?
I have a file system for a device I am programming that I would like to make an exact copy of. Ideally I would like this copy to be identical to the folder that it was copied from. I have tried using ...
0
votes
1answer
74 views
No Space left on device - Debian
when Im new to linux and try to run this below code
apt-get -f install
getting below error:
Checking the available space
df
Tho output
How to increase the available space in /usr path?
0
votes
1answer
31 views
RHEL - df -h v/s graphical disk usage analyzer tool
I am trying to understand the disk usage in my RHEL system. When I run the Disk Usage Analyzer tool graphically, my screen shows the below output.
However, if I run the command df -h I get the ...
5
votes
2answers
5k views
Make samba follow symlink outside share
This is ubuntu server 10.04 64 and samba 3.4.7
I have a shared directory /home/mit/share and another one /home/temp that I link into the shared one:
ln -s /home/temp /home/mit/share/temp
But on ...
0
votes
1answer
128 views
System crashes during boot while mounting /lib/init/rw
After a nasty crash, my system keeps crashing during boot. After a little bit of investigation I have discovered that it crashes executing the following function (in /lib/inin/mount_functions):
...