enhacement to mdmfs
Michal Mertl
mime at traveller.cz
Tue Nov 30 07:34:07 PST 2004
Ruben de Groot wrote:
> On Tue, Nov 30, 2004 at 12:21:35PM +0100, Michal Mertl typed:
>
>>Hello,
>>
>>I've recently shot my foot with mdmfs. Of course it was a pilot error but
>>the funcioanility I was looking for might be usefull.
>>
>>I want to mount vnode-backed md(4) on boot without formatting it (e.g. for
>>a jail). Is it possible with current boot scripts?
>>
>>I wrote a simple patch to mdmfs so such md disk can be put in /etc/fstab.
>>It adds '-K' option do mdmfs(8) to Keep contents. The line to attach such
>>disk in fstab looks like this:
>>
>>md /jail mfs rw,-K,-F=/var/jailfile 0 0
>>
>>Comments welcome. If people find it usefull I'd like to have it commited. I
>>can fill the PR with enhancement request.
>
>
> I filed a PR about this allready in October 2003:
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=57641
>
> Ruben
>
Indeed. The patch is almost the same.
Last update is from today stating it will be commited. Hurray.
--
Michal
More information about the freebsd-current
mailing list