Tagged Questions
A filesystem is a method of storing and organizing computer files and their data.
1
vote
2answers
39 views
How to understand the filesystem concepts used by encfs?
I do not hold a deep understanding of computer science concepts but would like to learn more about how the utility encfs works. I have a few question regarding the concept of filesystem in regards to ...
4
votes
3answers
82 views
Directories with binary files in Linux
I noticed that when I install new application there are a few possible directories where the resulting binary file will be placed.
You can install with packaging manager, compile with make, ...
2
votes
2answers
58 views
file block size - difference between stat and ls
I've noticed that when I do a:
ls -ls file
It provides block count, say 8 blocks.
When I do:
stat file
I notice that the block count is 16, twice the number given by ls.
The block size on my ...
4
votes
3answers
122 views
What is the most high-performance Linux filesystem for storing a lot of small files (HDD, not SSD)?
I have a directory tree that contains many small files, and a small number of larger files. The average size of a file is about 1 kilobyte. There are 210158 files and directories in the tree (this ...
4
votes
1answer
65 views
Sparse files/file holes and unexpected block size
For my own learning, I've been playing around with creating files with file holes. I created a util that simply reads from stdin and writes to a file, but before writing to the file, it uses lseek to ...
0
votes
2answers
41 views
How to detect and stop user from deleting particular file on Linux?
Is it possible to monitor user actions on the file system and prevent him from performing particular actions? Can inotify only monitor actions on the file system? What about fanotify? There's very ...
9
votes
4answers
58 views
Is there a way to sync only one partition?
Is there a way to sync only one partition instead of all partitions?
Something like "sync /dev/sdc1".
1
vote
0answers
47 views
/etc/fstab is mounting rw filesystem as read-only
A partition of my internal hard drive (not the root partition) I want to mount automatically on boot. I've been using /etc/fstab to mount my external backup drive automatically read-only, so this is ...
2
votes
4answers
88 views
How to make a variable symlink ? (or something similar)
How can I make a variable symlink that would point to a different location according to the current user? Is it possible? Should I use something else instead? A mount point? How?
Here is the problem ...
1
vote
4answers
45 views
how to mount this disk?
I'm trying to mount a disc created some time ago in Amazon EC2. This is what I see (line breaks added for the sake of readability):
$ sudo file -s /dev/xvda4
/dev/xvda4: x86 boot sector; partition 1: ...
2
votes
1answer
34 views
Immutable bit on AIX?
Under Linux I can:
chattr +i SOMEFILE
so that even root can't modify the SOMEFILE. Are there any similar solutions for AIX?
2
votes
1answer
48 views
Copying a file that is written at the same time
This related question can't solve my exact problem, so I'm writing a similar question.
My scenario is the following: a program (run by wine) writes to a file sized about 10-500 KB. About 1 KB ...
0
votes
1answer
67 views
trouble with irssi and cifs
I'm having trouble getting irssi, the irc client, to write to a mounted cifs share. I have the uid, and gid set to my user as well as setting the permissions on the share to being very permissive. ...
0
votes
0answers
34 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):
...
2
votes
3answers
61 views
ReFS but for Linux
Microsoft is going to bring a "Resilient FileSystem" with Windows 8, but only for servers. I'd like that on a Linux desktop, but my search reveals no contender. There are so many filesystems for ...