Rc.sysinit mounts root FS then why we have entry in fstab

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Rc.sysinit mounts root FS then why we have entry in fstab
# 1  
Old 01-15-2014
Rc.sysinit mounts root FS then why we have entry in fstab

Hello,

In linux /etc/rc.d/rc.sysinit mounts root File System as RW during the booting phase.
So why we have entry of it in /etc/fstab?

Thanks,
Nitin
# 2  
Old 01-15-2014
For one thing, to document that the root partition is in use. A number of other programs read fstab. The man page for fstab says that field 5 is for dump(8) and field 6 is for fsck(8). The docs for field 6 even include special instructions for the root partition.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Big problem: shell entry in /etc/passwd corrupted for user root

did a big mistake, changing root entry of /etc/passwd to root:x:0:0:root:/root:/usr/bin/tmux split-window -v \; attach as expected, now I can't login as root anymore. sudo ed /etc/passwd etc. doesn't work. Any idea? Use code tags to increase readability and follow the rules. (4 Replies)
Discussion started by: dodona
4 Replies

2. Ubuntu

Create zip file from root owned fstab

I want to zip up my fstab file for backup purposes. This does not work because of permission issues. cd /etc/ zip -u fstab.zip fstab Can I use this with zip? echo xxx | sudo -S or change fstab owner to me? (3 Replies)
Discussion started by: drew77
3 Replies

3. SCO

SCO 5.0.7 server - Message - Root Account is disabled - but allowing entry via daemon.

SCO 5.0.7 server on an HP Proliant ML350G5 with E200 raid controller. The message on the server during boot says this message in several places. "Root Account Disabled, but allowing entry via deamon" At this point, there are some hardware issues to work through first. One is that we don't... (2 Replies)
Discussion started by: cjdavis618
2 Replies

4. How to Post in the The UNIX and Linux Forums

Help me, write a bash script to delete parent entry with all their child entry in LDAP UNIX server

Hi All, Please help me and guide me to write a bash/shell script on Linux box to delete parent entry with all their child entries. example: Parent is : ---------- dn: email=yogesh.kumar@wipro.com, o=wipro, o=in child is: ---------- dn: cn: yogesh kumar, email=yogesh.kumar@wipro.com,... (1 Reply)
Discussion started by: Chand
1 Replies

5. HP-UX

Sudo entry required to set permission similar to ROOT without using password (PASSWD) change optio

Hi All I had installed sudo in HP UX 11.3 and it is working fine but not able to make entry required to set permission similar to ROOT without using password (PASSWD) change option for define user in /etc/sudoers file Please help if some know the syntex? :confused::wall: (2 Replies)
Discussion started by: deviltech
2 Replies

6. Shell Programming and Scripting

Urgent Help...Pseudo-Device provides a Backdoor Entry to root.

Can Anybody help to create a pseudo-device and write a device driver for it. The pseudo-device provides a “backdoor” for gaining root access for a particular user. Instead of compiling the device driver into the kernel. Modules are object binaries that can be dynamically loaded into the kernel. ... (1 Reply)
Discussion started by: nyjilgeorge1
1 Replies

7. UNIX for Dummies Questions & Answers

odd entry in /etc/fstab

I was making text file copies of some system utility output (e.g. ioscan) and happened to look at /etc/fstab and found this: /dev/vg02/lvol1 /prodbkup vxfs ioerror=mwdisable,log,nodatainlog,dev=40 020001 0 0 my other entries look like this: /dev/vg04/lvol1 /trainbkup vxfs... (4 Replies)
Discussion started by: LisaS
4 Replies

8. UNIX for Dummies Questions & Answers

Mounts

Hi, I'm new to Linux and to this forum too. Now, I need some info. I have an application which writes some data onto one mount(logs and others). Now, I want to have some convention or script where if the mount(where the application is writing data) reaches certain amount of memory or if it... (1 Reply)
Discussion started by: krisdasword
1 Replies

9. Solaris

new mounts

hi, i have currently below mounts in solaris box and i want to create new mount points. please let me know how can i do it? bash-3.00# df -h Filesystem size used avail capacity Mounted on / 1000M 350M 609M 37% / /dev 1000M 350M ... (3 Replies)
Discussion started by: rags_s11
3 Replies

10. Linux

How to edit /etc/fstab when root was mounted as read only

can somebody help me out in editing the /etc/fstab. I am on RHEL5 (Tikanga). **The problem is that i have given a wrong LABEL in /etc/fstab for root volume and so after reboot, it is unable to resolve the wrong LABEL; so, i have to edit the /etc/fstab :-( -ilan (3 Replies)
Discussion started by: ilan
3 Replies
Login or Register to Ask a Question