Saturday, January 3, 2009

In the Linux file system what does the name usr , sbin stands for ?

sulekha

In the Linux file system what does the name usr , sbin stands for ?

some say that

sbin means secure binary or system binary ?
usr means user or unix system resources ?

can any one give the correct explanation ?


NB: i know the purpose of usr and sbin directories, i just want to know the naming thing

BBI Nexus BBI

As i understand it:

USR = Unix System Resource
SBIN = Superuser Binaries


RealPSL

Re: unix system resources
Interesting question with an answer here http://www.itworld.com/nlsunix071101


sulekha

in the same lines what about mnt,opt,srv and sys ?


mcduck

/mnt is for mounting devices, either for temporary mounting of a single device directly to /mnt, or for mounting non-removable drives into their own directories under /mnt.

(/media is for removable drives)

/opt is for optional programs, typically you'd install things that are from outside of your distributions package sources into /opt.

/sys includes kernel, firmware and system related files.

I'm not sure about /srv, I believe it has something to do with running servers/services.

/usr is for all user-related files & programs. Everything normal (non-admin) users need goes here. For example you'll find binary files for most of your desktop programs, like browsers, music players etc. in /usr/bin and all system-wide installed themes in /usr/share/themes. Most of the documentation and help files for your programs are in /usr/share/doc.

You can read pretty good explanations of the directory structure here: http://www.pathname.com/fhs/pub/fhs-2.3.html


albinootje

http://www.linux.org/docs/ldp/howto/HighQuality-Apps-HOWTO/fhs.html

Richard petersen

The sysfs file system is a virtual file system that provides a hierarchical map of your kernel-
supported devices such as PCI devices, buses, and block devices, as well as supporting kernel
modules. The classes subdirectory will list all your supported devices by category, such as
network and sound devices. With sysfs your system can easily determine the device file with
which a particular device is associated. This is very helpful for managing removable devices

No comments:

Post a Comment