i downloaded a few images to look around in including the image for Fedora 28 amd64 (since i administered 15 Fedora machines a couple jobs ago (retired now)). i extracted rootfs.tar.xz from each under a non-root user because i only wanted to see the contents of some libraries, fully expecting tar to give me a flood of error messages. but for Fedora, there were no error messages. so my first curiosity, was /dev
even there … yes it was. so my second curiosity, what was in it … just null
… and it was a regular file. the contents were a couple of messages i guess were being thrown away. apparently /dev
didn’t get built except for the directory, and something inside the build container (or chroot) did >/dev/null
which created a file. if there was something testing for /dev
being empty (for failure) or not then that test was fooled.
i guess i need to download more images, now.