What of the following statements are true regarding /dev/ when using udev? (Choose TWO correct answers.)
What of the following statements are true regarding /dev/ when using udev? (Choose TWO correct answers.)
Additional rules for udev can be created by adding them to /etc/udev/rules.d/, allowing for customization and configuration of device handling. The /dev/ directory is a filesystem of type tmpfs and is mounted by udev during system startup, implying that it is dynamically populated by udev as devices are detected. This means that entries are not pre-created on boot for all possible devices, contrary to what option A suggests. Contrary to option C, it is possible to manually create block or character devices using mknod, but this is generally managed by udev. Option E is incorrect as /dev/ is managed dynamically by udev and not stored or restored from a directory.
BD Correct
B. Additional rules for udev can be created by adding them to /etc/udev/rules.d/. D. The /dev/ directory is a filesystem of type tmpfs and is mounted by udev during system startup. Explanation: A. This statement is not true. udev creates entries for devices dynamically based on the devices that are connected to the system. It does not create entries for all possible devices on boot. C. You can create block or character devices in /dev/ using mknod, even when udev is in use. However, udev will typically manage device creation and permissions, and manual creation with mknod is usually not necessary. E. The content of /dev/ is not stored in /etc/udev/dev, and it is not restored during system startup. /dev/ is managed by udev and populated dynamically. So, options B and D are the correct answers