On Fri, Apr 25, 2014 at 6:06 PM, Michael H. Warfield <[email protected]> wrote:
> Check for symlinks before attempting create.
>
> When attempting to create the compulsory symlinks in /dev,
> check for the existence of the link using stat first before
> blindly attempting to create the link.
>
> This works around an apparent quirk in the kernel VFS on read-only
> file systems where the returned error code might be EEXIST or EROFS
> depending on previous access to the /dev directory and its entries.
>
> Signed-off-by: Michael H. Warfield <[email protected]>

Reported-by: William Dauchy <[email protected]>
Tested-by: William Dauchy <[email protected]>

-- 
William
_______________________________________________
lxc-devel mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to