Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
In PC-based Linux, the first element was always a disk partition (/dev/whatever), and I'd like to know what those devices are as shown when running "mount" on an uClinux-based appliance:
Code:
> mount
rootfs on / type rootfs (rw)
/dev/root on / type yaffs (rw)
proc on /proc type proc (rw)
ramfs on /var/tmp type ramfs (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw)
usbfs on /proc/bus/usb type usbfs (rw)
securityfs on /sys/kernel/security type securityfs (rw)
Also, why so many different filesystems?
Finally, how can / map to two lines in "mount", namely rootfs and /dev/root?
/dev/pts = "devpts" they are pseudo terminals "controlled by" /dev/ptmx "pseudo terminal mulitplexer" its for creating "fake" terminals IE: when you ssh into your box.
sysfs is a virtual file system provided by Linux 2.6. Sysfs exports information about devices and drivers from the kernel device model to userspace, and is also used for configuration. It is similar to the sysctl mechanism found in BSD systems, but implemented as a file system instead of a separate mechanism.
Thanks but I was refering to the second parameter. For instance:
Code:
mount -t proc proc /proc
Obviously, the bold part, which is the source, doesn't refer to a physical device in /dev. A paragraph in "Pro Linux Embedded Systems" gives the explanation:
Quote:
This board has sysfs and the proc file system mounted at /sys and /proc, respectively. These file systems aren’t associated with a physical device but are instead views into the kernel’s various data structures.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.