Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Apr 2006 15:43:50 -0400
From:      Michael Proto <mike@jellydonut.org>
To:        "H. Wade Minter" <minter@lunenburg.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Odd "phantom MFS mountpoint" issue
Message-ID:  <443AB576.9050903@jellydonut.org>

next in thread | raw e-mail | index | archive | help

H. Wade Minter wrote:
> I've got a 5.4-RELEASE-p9 system that I was doing some memory filesystem 
> testing on.  I'm seeing something odd, though - a small MFS partition 
> mounted over top of /tmp that I can't get rid of.
> 
> Here's the system now:
> 
> [minter@carlton mrvoice]$ mount
> /dev/ad0s1a on / (ufs, local, soft-updates)
> devfs on /dev (devfs, local)
> /dev/ad0s1d on /tmp (ufs, local, soft-updates)
> /dev/ad0s1f on /usr/www (ufs, local, soft-updates)
> /dev/ad0s1e on /var (ufs, local, soft-updates)
> /dev/md0 on /tmp (ufs, local)
> 
> There's no md0 line in /etc/fstab:
> 
> [minter@carlton mrvoice]$ cat /etc/fstab
> # Device                Mountpoint      FStype  Options         Dump 
> Pass#
> /dev/ad0s1b             none            swap    sw              0       0
> /dev/ad0s1a             /               ufs     rw              1       1
> /dev/ad0s1d             /tmp            ufs     rw              2       2
> /dev/ad0s1f             /usr/www                ufs     rw              2 
> 2
> /dev/ad0s1e             /var            ufs     rw              2       2
> /dev/acd0               /cdrom          cd9660  ro,noauto       0       0
> 
> I can see the md0 device with mdconfig:
> 
> [root@carlton ~]# mdconfig  -l
> md0
> 
> I can stop all activity on /tmp, unmount it, and do mdconfig -d -u 0 to 
> delete the resources.  However, when I reboot the system, the mountpoint 
> is back.  I can't tell where the system is getting that from.
> 
> How should I remove this mfs mountpoint permanently to get the disk-based 
> /tmp back?
> 
> --Wade

Do you have tmpmfs defined in /etc/rc.conf? If tmpfs is enabled there it
will create a /tmp mfs as you are indicating.


-Proto



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