From owner-freebsd-stable@FreeBSD.ORG Mon Mar 21 10:42:09 2005 Return-Path: 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 9D92F16A4CE for ; Mon, 21 Mar 2005 10:42:09 +0000 (GMT) Received: from dns.p-i-n.com (dns.p-i-n.com [145.253.185.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id C5EEE43D53 for ; Mon, 21 Mar 2005 10:42:08 +0000 (GMT) (envelope-from rabe@p-i-n.com) Received: from p-i-n.com (inside.p-i-n.com [129.10.9.21]) by dns.p-i-n.com (8.12.9p2/8.12.9) with ESMTP id j2LAg5JP089723 for ; Mon, 21 Mar 2005 11:42:06 +0100 (CET) (envelope-from rabe@p-i-n.com) Received: (from rabe@localhost) by p-i-n.com (8.11.6/8.11.6) id j2LAg6F00563 for freebsd-stable@freebsd.org; Mon, 21 Mar 2005 11:42:06 +0100 (CET) (envelope-from rabe) Date: Mon, 21 Mar 2005 11:42:05 +0100 From: "Raphael H. Becker" To: freebsd-stable@freebsd.org Message-ID: <20050321114205.A95974@p-i-n.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Organization: PHOENIX Pharmahandel AG & Co KG, Mannheim, Deutschland Subject: Mounting a filesystem-in-a-file via fstab? (md/mfs) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 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, 21 Mar 2005 10:42:09 -0000 Hi *, I recently tried to move my newsspool into a seperate filesystem in a flatfile and mounted it as a md device. Works perfectly with hands-on, but there doesn't seem to exist a proper way to do this during startup (/etc/fstab). Actually I have this line in /etc/fstab, but everytime that filesystem is mounted via fstab, it will be formatted using newfs: md /var/spool/news mfs rw,-F/data/spool_news.ufs,-U 0 0 How do I disable the newfs from mount_mfs? Is there any proper way in the bootscripts, to set up md-devices and mount them automatically? It should even destroy /dev/md${n} on umount. Any solutions? TIA. Regards, Raphael Becker