Re: enhacement to mdmfs

From: Michal Mertl (mime_at_traveller.cz)
Date: 11/30/04

  • Next message: Chris Hedley: "Re: GEOM: gpt partitions on a gmirror array possible?"
    Date: Tue, 30 Nov 2004 16:33:50 +0100
    To: Ruben de Groot <mail25@bzerk.org>
    
    

    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
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
    

  • Next message: Chris Hedley: "Re: GEOM: gpt partitions on a gmirror array possible?"