Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Jan 2005 15:13:02 +0000
From:      Peter Risdon <peter@circlesquared.com>
To:        tkelly-freebsd-questions@taborandtashell.net
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: clearing space
Message-ID:  <1105110782.708.149.camel@lorna.circlesquared.com>
In-Reply-To: <41DE9F26.6080700@taborandtashell.net>
References:  <6.2.0.14.0.20050106184116.01f2aa80@mail.face2interface.com> <20050107053638.GE27020@turingmachine.mentalsiege.net> <6.2.0.14.0.20050107074632.03093500@mail.face2interface.com> <1105103142.708.136.camel@lorna.circlesquared.com> <41DE9F26.6080700@taborandtashell.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2005-01-07 at 06:39 -0800, Tabor Kelly wrote:
> Peter Risdon wrote:
> > How about:
> > 
> > #mv /sbin /usr/sbin
> > #ln -s /usr/sbin /sbin
> > #mv /root /usr/root
> > #ln -s /usr/root /root
> 
> Isn't this a bad idea if you ever have to boot to single user mode and 
> only have / mounted?
> 

I have a system I need to hose this weekend anyway, so checked first. I
moved the /root directory to /usr/root, then exited from su - and su
still worked. Then I rebooted into single user mode and got a shell. So
it seemed fine, if mildly inadvisable.

Therefore, as far as I can see and I did check, you can boot into single
user mode without a /root directory.

Peter.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1105110782.708.149.camel>