Mailinglist Archive: opensuse (3964 mails)

< Previous Next >
Single user S mode file system read only !
  • From: ABHISHEK GUJAR <abhishekgujar@xxxxxxxxx>
  • Date: Sun, 14 Nov 2004 16:14:11 -0800 (PST)
  • Message-id: <20041115001411.84435.qmail@xxxxxxxxxxxxxxxxxxxxxxx>
On suse linux we have 7 run levels, 0 to 6 and
the single user maintenance mode 'S' or 'single'.On
system boot the init program runs /etc/init.d/boot
script which runs all the scripts in boot.d(here it
mounts the fs read write ) and then switches to the
default run level, running start scripts in rc*.d dir.

However if you boot directly into run level S by
typing S or single at boot prompt, init does not run
any of the scripts in boot.d dir and hence the file
system is still read only when the system comes up in
single user mode(S).

My question is where or at what point does init decide
that if it has boot into S, it should not run the
/etc/init.d/boot..thereby keeping the fs read only??
The /etc/inittab file does not show this logic
although it does say that if you boot in emergency(-b)
mode it should not run the boot script..but thats
different coz its not a run level..


Do you Yahoo!?
Check out the new Yahoo! Front Page.

< Previous Next >
Follow Ups