LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   Linux Single User Mode + Networking (http://www.linuxquestions.org/questions/linux-general-1/linux-single-user-mode-networking-576315/)

ALInux 08-11-2007 04:44 AM

Linux Single User Mode + Networking
 
Hi All
I need to fsck a remote system over the network. To do that I need to change run level into single user mode. However, I am not sure if single user mode keeps my remote connectivity alive.

I.e. In short, does the run level 1 sustain network connectivity or not ?

acid_kewpie 08-11-2007 06:14 AM

nope, it's only for local maintenance, and nothing else. according to sysV conventions levels 1 and 2 do not support networking, but level 2 is an arbitrary distintcion, whilst 1's restrictions are much more strucuturual due to the minimal environment. you could look at a serial connection for remote access in that mode, or i would expect that you could in theory run a script to drop level, fsck and come back again. i don't believe login sessions are terminated, but i've not done anythign like that for a while... if it was a single command... "$ init 1; fsck /dev/hda1; init 3" you might get more luck.

ALInux 08-11-2007 09:48 AM

Thanks that is what I wanted to know


All times are GMT -5. The time now is 03:02 PM.