Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Nov 2004 16:33:50 +0100
From:      Michal Mertl <mime@traveller.cz>
To:        Ruben de Groot <mail25@bzerk.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: enhacement to mdmfs
Message-ID:  <41AC92DE.8080402@traveller.cz>
In-Reply-To: <20041130120856.GA44543@ei.bzerk.org>
References:  <41AC57BF.6060604@traveller.cz> <20041130120856.GA44543@ei.bzerk.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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