On Thu, 8 Sep 2016 01:37:17 +0300 Thanos Baloukas <[email protected]> wrote:
> The kernel creates a tmpfs and populates it with device nodes. > That tmpfs is mounted on /dev either by the kernel it's self > if CONFIG_DEVTMPFS_MOUNT is set, or by systemd if it's not set. > > If that is correct, the answer to the question "When is /dev populated?" > is "when that tmpfs is mounted on it (on /dev). And since this mount > can be done by systemd, systemd can populate /dev. > So William is right too. Basically, CONFIG_DEVTMPFS doesn't have the kernel automount. CONFIG_DEVTMPFS_MOUNT has the kernel mount devtmpfs. Systemd sets up mounts in src core: https://github.com/systemd/systemd/blob/master/src/core/mount-setup.c Since Systemd does not require the running kernel to be configured with CONFIG_DEVTMPFS_MOUNT, it will end up mounting devtmpfs. Once again, read the Systemd README in the source directory for required and recommended options. Sincerely, William Harrington -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
