[Piuparts-devel] Bug#911334: Create /dev/ptmx like debootstrap does
Andreas Beckmann
anbe at debian.org
Wed Oct 24 09:28:58 BST 2018
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
"""
Andreas
More information about the Piuparts-devel
mailing list