[prev in list] [next in list] [prev in thread] [next in thread]
List: lxc-users
Subject: Re: [lxc-users] add device unix-char not yet implemented?
From: Janjaap Bos <janjaapbos () gmail ! com>
Date: 2015-05-22 21:46:14
Message-ID: CAPiR6YhQiwNH-Y05p7-yZx0mgtJ88PF5Ab_Y9qeLRsthDcC3gQ () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
2015-05-22 2:54 GMT+02:00 Serge Hallyn <serge.hallyn@ubuntu.com>:
>
>
> D'oh, yeah, you can add it to the configuration, but when you try
> to start the container you'll see
>
> case "unix-char":
> return nil, fmt.Errorf("Not implemented")
>
> I'm actually not sure what the best thing to do here is. lxd
> doesn't mount the rootfs itself, so if it's say a lvm block device
> we can't just mknod the device in there. So perhaps lxd should
> mknod the device under $lxcpath/$container/devices, then add a
> lxc.mount.entry line to the (ephemeral) container configuration.
>
> Patches welcome :)
>
Thanks for the feedback.
I'll have a go at it, and will send follow up on the dev list if needed.
-Janjaap
[Attachment #5 (text/html)]
<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2015-05-22 \
2:54 GMT+02:00 Serge Hallyn <span dir="ltr"><<a \
href="mailto:serge.hallyn@ubuntu.com" \
target="_blank">serge.hallyn@ubuntu.com</a>></span>:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><span class=""><br> <br>
</span>D'oh, yeah, you can add it to the configuration, but when you try<br>
to start the container you'll see<br>
<br>
case "unix-char":<br>
return nil, fmt.Errorf("Not implemented")<br>
<br>
I'm actually not sure what the best thing to do here is. lxd<br>
doesn't mount the rootfs itself, so if it's say a lvm block device<br>
we can't just mknod the device in there. So perhaps lxd should<br>
mknod the device under $lxcpath/$container/devices, then add a<br>
lxc.mount.entry line to the (ephemeral) container configuration.<br>
<br>
Patches welcome :)<br></blockquote><div><br></div><div>Thanks for the \
feedback.</div><div>I'll have a go at it, and will send follow up on the dev list \
if needed.</div><div><br></div><div>-Janjaap</div></div></div></div>
[Attachment #6 (text/plain)]
_______________________________________________
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic