[Piuparts-devel] Bug#911334: Create /dev/ptmx like debootstrap does
Mathieu Parent
math.parent at gmail.com
Sun Oct 28 20:43:50 GMT 2018
Hi Andreas,
Le mer. 24 oct. 2018 à 10:29, Andreas Beckmann <anbe at debian.org> a écrit :
>
> So the underlying problem is
>
> # mkdir foo
> # touch foo/file
> # mknod foo/null c 1 3
> # touch foo/bindmntoverfile
> # mount --bind foo/null foo/bindmntoverfile
> # ls -lis foo
> total 0
> 3857271640 0 crw-r--r-- 1 root root 1, 3 Oct 24 07:50 bindmntoverfile
> 3857120264 0 -rw-r--r-- 1 root root 0 Oct 24 07:49 file
> 3857271640 0 crw-r--r-- 1 root root 1, 3 Oct 24 07:50 null
> # find foo -type f -ls
> 3857271640 0 crw-r--r-- 1 root root 1, 3 Oct 24 07:50 foo/bindmntoverfile
> 3857120264 0 -rw-r--r-- 1 root root 0 Oct 24 07:49 foo/file
>
> please find/file a bug against findutils
>
> and the commit message should not mention debootstrap but
> something like
> """
> p: use mknod instead of touch to create missing /dev/ptmx mountpoint
>
> working around findutils bug #xxxxxx
>
> mkdir foo
> mknod foo/null c 1 3
> touch foo/bindmntoverfile
> mount --bind foo/null foo/bindmntoverfile
> find foo -type f -ls
> 3857271640 0 crw-r--r-- 1 root root 1, 3 Oct 24 07:50 foo/bindmntoverfile
> """
Thanks. I've done the findutils bug (#912180, with even a patch) and
I've updated the MR (see also the attached patch).
If the commit message is too verbose, you can amend it.
Regards
--
Mathieu Parent
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-p-use-mknod-instead-of-touch-to-create-missing-dev-p.patch
Type: text/x-patch
Size: 3108 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/piuparts-devel/attachments/20181028/d61903aa/attachment.bin>
More information about the Piuparts-devel
mailing list