Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Mar 2005 11:42:05 +0100
From:      "Raphael H. Becker" <rabe@p-i-n.com>
To:        freebsd-stable@freebsd.org
Subject:   Mounting a filesystem-in-a-file via fstab? (md/mfs)
Message-ID:  <20050321114205.A95974@p-i-n.com>

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

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



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