[lxc-devel] [RFC PATCH 00/11] Add support for devtmpfs in user namespaces
Michael H. Warfield
mhw at WittsEnd.com
Fri May 16 20:28:34 UTC 2014
On Fri, 2014-05-16 at 22:17 +0200, Christian Seiler wrote:
> Hi,
> (removed every CC but yourself and lxc-devel, don't need to spam LKML
> for this)
> > Woa! Time out... Sorry, this will be an off topic aside.
> >
> > Loop devices support partitions? I'd love to know how that works.
> Use util-linux >= 2.21 with Kernel >= 3.1:
> losetup -P -f filename
> Creates: /dev/loopXpY
> Remove with: losetup -d /dev/loopX
> (Also removes partition devices automatically.)
> Also, using device mapper is an option (supported by all Linux
> distributions that aren't completely ancient):
> losetup -f filename
> kpartx -a /dev/loopXpY
> Creates: /dev/mapper/loopXpY
> Remove with: kpartx -d /dev/loopX && losetup -d /dev/loopX
> (Note that not doing kpartx -d /dev/loopX is problematic.)
NICE! New toys to play with...
Many Thanks!
> Regards,
> Christian
Regards,
Mike
--
Michael H. Warfield (AI4NB) | (770) 978-7061 | mhw at WittsEnd.com
/\/\|=mhw=|\/\/ | (678) 463-0932 | http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in the best of all
PGP Key: 0x674627FF | possible worlds. A pessimist is sure of it!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 482 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20140516/f9c1af5f/attachment.sig>
More information about the lxc-devel
mailing list