Operating System - HP-UX
1834480 Members
3789 Online
110067 Solutions
New Discussion

Root File system mounting

 
Sundar_7
Honored Contributor

Root File system mounting


This is going to be a trivial question.

I am really wondering how root file system is mounted.

I could recollect kernel mounts root whenever the system boots.

But then scripts preinitrc and bcheckrc also has some reference to mounting root.

Any inputs ?

Thanks & Regards

Sundar
Learn What to do ,How to do and more importantly When to do ?
1 REPLY 1
John Palmer
Honored Contributor

Re: Root File system mounting

root, /stand (if you have one) and primary swap are all activated very early in the boot process.

Have a look at 'man lvlnboot'. lvlnboot stores pointers to these volumes for use by the boot process.

Note that even when booted in LVM maintenance mode, root, stand and swap are mounted/inuse, even though vg00 is not activated.

bcheckrc (amongst other things) calls /sbin/lvmrc to activate volume groups.

pre_init_rc runs fsck on the root filesystem.

Regards,
John