tmpmfs="YES" and going from single user to multi user mode

Doug Barton dougb at FreeBSD.org
Sun Dec 17 13:06:28 PST 2006


Trond Endrestøl wrote:
> Hi,
> 
> After going to single user mode and back to multi user mode on a 
> system with tmpmfs="YES" in /etc/rc.conf, I wound up with these 
> filesystems:
> 
> trond at enterprise:~>df
> Filesystem  1K-blocks    Used   Avail Capacity  Mounted on
> /dev/ad0s1a   9195750 3179348 5280742    38%    /
> devfs               1       1       0   100%    /dev
> /dev/md0        63214      14   58144     0%    /tmp
> procfs              4       4       0   100%    /proc
> /dev/md1        63214      20   58138     0%    /tmp
> 
> There should either be a shutdown script that unmounts /tmp when 
> tmpmfs="YES" and /tmp is indeed mounted as a MFS, or the startup 
> script should check to see if /tmp is already mounted (as a MFS) 
> before attempting mount the MFS (again).

We look forward to your patches to implement that suggestion. You
might want to ask on the freebsd-rc@ list if you need help.

Good luck,

Doug

-- 

    This .signature sanitized for your protection



More information about the freebsd-stable mailing list