fscking remotely

Andy Farkas andyf at speednet.com.au
Tue Jul 8 16:18:06 PDT 2003

On Tue, 8 Jul 2003, David Bear wrote:

> I'm thinking that dropping to single user mode will kill are running
> daemons include sshd?  is that true?

Yes, everything dies in singleuser mode.

>  I have a nearly headless server
> in another building and would like to ssh into it and
> init 1
> fsck /
> then init 3
> but, I'm thinking single user mode will lock remote access out...
> any recommendations?

If you drop to single user mode, maybe someone can type 'sshd<enter>' on
the console for you?

Otherwise, try putting the fsck command in the /etc/rc script somewhere
before it starts mounting disks, and reboot.


 :{ andyf at speednet.com.au

        Andy Farkas
    System Administrator
   Speednet Communications

More information about the freebsd-questions mailing list