Date: Thu, 3 Feb 2011 13:20:10 GMT From: "Valery V.Smirnov" <valery@smirnov.tv> To: freebsd-bugs@FreeBSD.org Subject: Re: conf/154484: [patch] request for new functionality. jail zfs dataset on jail start up by /etc/rc.d/jail Message-ID: <201102031320.p13DKApZ079109@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/154484; it has been noted by GNATS. From: "Valery V.Smirnov" <valery@smirnov.tv> To: <bug-followup@FreeBSD.org>, <freebsd-pr@smirnov.tv>, <freebsd-bugs@FreeBSD.org> Cc: Subject: Re: conf/154484: [patch] request for new functionality. jail zfs dataset on jail start up by /etc/rc.d/jail Date: Thu, 03 Feb 2011 15:50:56 +0300 --=_26deb3ebfbc3c5e9bfd38dc635588063 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=UTF-8; format=flowed Yes, please. Sorry for double sent. On Thu, 3 Feb 2011 12:36:05 GMT, linimon@FreeBSD.org wrote: > Synopsis: [patch] request for new functionality. jail zfs dataset on > jail start up by /etc/rc.d/jail > > State-Changed-From-To: open->feedback > State-Changed-By: linimon > State-Changed-When: Thu Feb 3 12:35:46 UTC 2011 > State-Changed-Why: > sorry, looks like the patch got stripped. Can you re-send? > > http://www.freebsd.org/cgi/query-pr.cgi?pr=154484 -- Best regards mailto: freebsd-pr@smirnov.tv Valery V.Smirnov --=_26deb3ebfbc3c5e9bfd38dc635588063 Content-Transfer-Encoding: base64 Content-Type: text/x-patch; charset=UTF-8; name=jail.patch Content-Disposition: attachment; filename=jail.patch KioqIGphaWwJV2VkIEZlYiAgMiAxMjo1MzozMiAyMDExCi0tLSBqYWlsLnVwZGF0ZWQJVGh1IEZl YiAgMyAxMjo0NDoyNSAyMDExCioqKioqKioqKioqKioqKgoqKiogMSw3ICoqKioKICAjIS9iaW4v c2gKICAjCiEgIyAkRnJlZUJTRDogc3JjL2V0Yy9yYy5kL2phaWwsdiAxLjQzLjIuMS42LjEgMjAx MC8xMi8yMSAxNzowOToyNSBrZW5zbWl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VuL2phaWxfJHtfamFpbH0uaWQpCiAgCQkJaWYg WyAhIC16ICIke19qYWlsX2lkfSIgXTsgdGhlbgogIAkJCQlpbml0X3ZhcmlhYmxlcyAkX2phaWwK KyAJCQkJaWYgWyAiJF96ZnNkYXRhc2V0IiAhPSAiTk9ORSIgXTsgdGhlbgorIAkJCQkJL3NiaW4v emZzIHVuamFpbCAke19qYWlsX2lkfSAkX3pmc2RhdGFzZXQKKyAJCQkJZmkKICAKICAJCQkJaT0w CiAgCQkJCXdoaWxlIDogOyBkbwo= --=_26deb3ebfbc3c5e9bfd38dc635588063--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102031320.p13DKApZ079109>