clearing space

Peter Risdon peter at circlesquared.com
Fri Jan 7 07:13:22 PST 2005


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.



More information about the freebsd-questions mailing list