From owner-freebsd-stable@FreeBSD.ORG Mon Apr 10 19:44:06 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6259A16A405 for ; Mon, 10 Apr 2006 19:44:06 +0000 (UTC) (envelope-from mike@jellydonut.org) Received: from mail.secureworks.net (mail.secureworks.net [65.114.32.155]) by mx1.FreeBSD.org (Postfix) with SMTP id D056943D46 for ; Mon, 10 Apr 2006 19:44:05 +0000 (GMT) (envelope-from mike@jellydonut.org) Received: (qmail 33818 invoked from network); 10 Apr 2006 19:44:05 -0000 Received: from unknown (HELO ATLEXCHANGE.secureworks.net) (63.239.86.253) by 0 with SMTP; 10 Apr 2006 19:44:05 -0000 Received: by bromine.back1.secureworks.net with Internet Mail Service (5.5.2657.72) id ; Mon, 10 Apr 2006 15:44:25 -0400 Message-ID: <443AB576.9050903@jellydonut.org> From: Michael Proto To: "H. Wade Minter" Date: Mon, 10 Apr 2006 15:43:50 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" Cc: freebsd-stable@freebsd.org Subject: Re: Odd "phantom MFS mountpoint" issue X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Apr 2006 19:44:06 -0000 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