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.
hi, just some questions from a wannabe linux/unix guru.
ive just discovered what fstab is for:
defining where things are to be mounted upon startup(correct?)
it also defines what drive is mounted to /.
this is where I am confused. how does this file get read, if it resides in /? (/ being a mountpoint that IT defines)
I am reminded of a curiosity about minix i have:
It says that in minix, the memory management runs as a user process.
How do you start this process if there is no memory manager active?????? Wouldnt the memory manager need to have it's memory allocated....by a memory manager??
also, what are these files:
.bashrc
.bash_profile
I think they are for starting programs, setting variables when a user logs in. if this is the case, why are there two of them?
These things have been bugging me for some time, can somebody please shed some light on the above?
ftsab doesn't just say what filesystems are mounted where, it also says what filesystem options are used.
When booting (either using GRUB or LILO) the system is told where to find the boot partition so that it can read the ftsab file and perform a complete boot (after all, the startup scripts are also located on /).
As a part of the boot process, the fstab file is read and then / is remounted (along with all the other partitions) using the mount options specified in /etc/fstab.
You are right about the bash files, they set variables and various other things. The reason for 2 files is that .bash_profile is read only when logging in; .bashrc is read whenever a shell is started, for instance when opening a terminal.
That is right. The filesystems are mounting read only to start. Once the appropriate files are read, (fstab in this case), the filesystems are mounted with the proper options in place. If you read through all the boot messages carefully, you will see one which says something like "mounted root filesystem read only" and then a little later one which says it has been mounted read/write.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.