some oddities with fsck and boot -s
Matthew Dillon
dillon at apollo.backplane.com
Sat Dec 3 10:27:46 PST 2005
:On Fri, Dec 02, 2005 at 09:15:12AM -0800, Matthew Dillon wrote:
:> :another thing is sh's default PATH (just /bin and /usr/bin) after
:> :booting to single user mode via boot -s; can we add /sbin and /usr/sbin?
:>
:> I'll fix the /bin/sh path problem right now. That's always bothered
:> me.
:
:I saw this every time going into single user mode via `shutdown now'.
:IIRC, this started only recently, because I've never had to adjust $PATH
:to use, for example, fsck. What happened to the default $PATH for single
:user mode?
That's probably a different path. If it still occurs now then its a
path inherited from the init process rather then the default path when
no PATH environment exists. The boot -s issue was simply /bin/sh being
run without a PATH environment at all and getting an internal default.
-Matt
Matthew Dillon
<dillon at xxxxxxxxxxxxx>
More information about the Bugs
mailing list