June 2017
Intermediate to advanced
478 pages
13h 14m
English
A device table is a text file that lists the files, directories, device nodes, and links that go into an archive or filesystem image. The overwhelming advantage is that it allows you to create entries in the archive file that are owned by the root user, or any other UID, without having root privileges yourself. You can even create device nodes without needing root privileges. All this is possible because the archive is just a data file. It is only when it is expanded by Linux at boot time that real files and directories get created, using the attributes you have specified.
The kernel has a feature that allows us to use a device table when creating an initramfs. You write the device table file, and ...
Read now
Unlock full access