Results 1 to 10 of 12
I've often wondered who and how decided on the directory naming in Linux. Is is a Unix standard? are they also the same in *BSD?
Some make sense, like /home ...
- 10-14-2005 #1
Directory naming
I've often wondered who and how decided on the directory naming in Linux. Is is a Unix standard? are they also the same in *BSD?
Some make sense, like /home or /boot or /tmp but I wonder who thought up of things like /etc or /var and my personal favourite /etc/xdg
- 10-14-2005 #2
Re: Directory naming
I like /proc
Originally Posted by zba78
I think /var is just because the content varies... for eg., log files are always being updated. The names are quite odd really.I am always doing that which I can not do, in order that I may learn how to do it. - Pablo Picasso
- 10-14-2005 #3
Yes, it is a UNIX standard:
http://www.pathname.com/fhs/pub/fhs-2.3.html
What I never understood was /mnt vs. /media. But looking at the standard, I see the difference. So boo, I don't use /mnt properly
. But /media is SO LONG to type.
DISTRO=Arch
Registered Linux User #388732
- 10-14-2005 #4same here
Originally Posted by Cabhan
Brilliant Mediocrity - Making Failure Look Good
- 10-14-2005 #5Linux Engineer
- Join Date
- Nov 2004
- Location
- Ft. Polk, LA
- Posts
- 796
Nah, it's just 3 keystrokes
Originally Posted by Cabhan
me<tab>
- 10-14-2005 #6
eh despite what valan says to the contrary, I've consistently ignored /media. Perhaps I should have another look at the FHS, cos I can't remember the distinction between /mnt and /media.
/me goes and looks at the fhs
- 10-14-2005 #7
I've heard of the FHS before, but never up to know looked into what it was, it was rather interesting.
*dylunio goes to add /media to his system*
- 10-14-2005 #8Just Joined!
- Join Date
- Aug 2005
- Posts
- 83
I use /mnt/<device>, it's more organized and clean.
- 10-15-2005 #9
/mnt is for filesystems, /media is for removable media.
I dunno...I rather like having all my mountables in one location.
Oh well.DISTRO=Arch
Registered Linux User #388732
- 10-15-2005 #10Linux Engineer
- Join Date
- Nov 2004
- Location
- Ft. Polk, LA
- Posts
- 796
According to the FHS, /media is where all your normal mounting of things should be done and /mnt is for temporary mounting of filesystems. So your other partitions and removable media all goes in /media , but say you need to mount an .iso for a look at something inside, then that mounts in /mnt . Nobody forces you to use /media though, you can use /mnt and /media however you like.


Reply With Quote
