Re: enhacement to mdmfs

From: Michal Mertl <mime_at_traveller.cz>
Date: Tue, 30 Nov 2004 16:33:50 +0100
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
Received on Tue Nov 30 2004 - 14:34:06 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:23 UTC