DragonFly BSD
DragonFly bugs List (threaded) for 2005-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: some oddities with fsck and boot -s

From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Sat, 3 Dec 2005 10:24:03 -0800 (PST)

: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.

					Matthew Dillon 

[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]