Date: Mon, 21 Mar 2005 14:02:40 +0100 From: Ruben de Groot <mail25@bzerk.org> To: "Raphael H. Becker" <rabe@p-i-n.com> Cc: freebsd-stable@freebsd.org Subject: Re: Mounting a filesystem-in-a-file via fstab? (md/mfs) Message-ID: <20050321130240.GB87158@ei.bzerk.org> In-Reply-To: <20050321114205.A95974@p-i-n.com> References: <20050321114205.A95974@p-i-n.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 21, 2005 at 11:42:05AM +0100, Raphael H. Becker typed:
>
> 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.
There's a PR (and patch) on this issue. It was about to be committed
somewhere in November, but unfortunately not yet.
http://www.freebsd.org/cgi/query-pr.cgi?pr=57641
Ruben
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050321130240.GB87158>
