A filesystem is a method of storing and organizing computer files and their data.
18
votes
2answers
2k views
What mount points exist on a typical Linux system?
I have 2 questions.
During Linux installation we specify memory space for 2 mount points - root and swap. Are there any other mount points created without the users notice?
Is this statement ...
4
votes
2answers
2k views
ext4: How to account for the filesystem space?
I've recently formated a 1.5 TB drive with the intention of replacing ntfs with ext4.
Then I noticed that the files I saved don't fit on the new partition.
df:
ext4 (ext3 & ext2 show the same ...
23
votes
4answers
14k views
What is a Superblock, Inode, Dentry and a File?
From the article Anatomy of Linux File Systems by Tim Jones, I read that Linux views all the file systems from the perspective of a common set of objects and these objects are superblock, inode, ...
16
votes
4answers
10k views
Reserved space for root on a filesystem - why?
I understand that by default, newly created filesystems will be created with 5% of the space allocated for root. I also know you can change the defined space with:
tune2fs -m 1 /dev/sdXY
What I'm ...
5
votes
2answers
772 views
Find filesystem of an unmounted partition from a script
I'm writing a custom automated install using AIF (Arch Installation Framework), and I need to find the filesystem on a partition given a partition.
So far I have this:
grok_partitions () {
local ...
38
votes
2answers
1k views
Why does '/' have an '..' entry?
This just baffles me. Why does the root directory contain a reference to a parent directory?
bob@bob:/$ ls -a
. build home lib32 mnt .rpmdb sys vmlinuz
.. cdrom ...
13
votes
8answers
527 views
How to tell what type of filesystem you're on?
Is there a command to tell what type of filesystem you're using?
4
votes
4answers
790 views
How to recover a file just deleted [duplicate]
I just deleted a file in Nautilus with Shift+Delete, which warned me that "If you delete an item, it will be permanently lost." I wonder if there is no way to recover the file?
My OS is Ubuntu 10.10. ...
13
votes
1answer
4k views
How can I increase the number of inodes in an ext4 filesystem?
I had a problem (new to me) last week. I have a ext4 (Fedora 15) filesystem. The application that runs on the server suddenly stopped. I couldn't find the problem at first look.
df showed 50% ...
30
votes
7answers
1k views
ZFS under linux, does it work?
Could I get ZFS to work properly in Linux?
Are there any caveats / limitations?
11
votes
2answers
7k views
timestamp, modification time, and created time of a file
I just know that ls -t, -f give different sorting of files and subdirectories under a directory.
Now I wonder what are the differences between timestamp, modification time, and created time of a ...
8
votes
2answers
2k views
Clear unused space with zeros (ext3,ext4)
How to clear unused space with zeros ? (ext3,ext4)
I'm looking for something smarter than
cat /dev/zero > /mnt/X/big_zero ; sync; rm /mnt/X/big_zero
Like FSArchiver is looking for "used space" ...
2
votes
2answers
295 views
How to show the filesystem type via the terminal? [duplicate]
Possible Duplicate:
How to tell what type of filesystem you’re on?
Find filesystem of an unmounted partition from a script
How can I quickly check the filesystem of the partition? Can I ...
60
votes
4answers
5k views
/usr/bin vs /usr/local/bin on Linux
Why are there so many places to put a binary in Linux? There are atleast these five:
/bin/
/sbin/
/usr/bin/
/usr/local/bin/
/usr/local/sbin/
And on my office box, I do not have write permissions ...
128
votes
3answers
19k views
What is the purpose of the lost+found folder in Linux and Unix?
There is a folder at the root of Linux and Unix operating systems called /lost+found/
What is it for? Under what circumstances would I interact with it? How would I interact with it?