mirror of
https://github.com/ebrandi/FDD-book.git
synced 2026-12-06 00:23:30 +00:00
Organize companion code and materials by book part: part-01/ Foundations part-02/ Kernel & driver fundamentals part-03/ Character & block devices part-04/ Networking & storage part-05/ Buses & advanced topics part-06/ Debugging & performance part-07/ Real-world drivers appendices/ Supplementary material README.md Overview and build instructions
15 lines
602 B
Text
15 lines
602 B
Text
# Example /etc/devfs.rules fragment for the Chapter 8 myfirst driver.
|
|
#
|
|
# devfs.rules defines named rulesets that a jail can reference in
|
|
# jail.conf through devfs_ruleset = N. See devfs(8) and
|
|
# devfs.rules(5) for the full format.
|
|
#
|
|
# The ruleset below makes everything under /dev/myfirst/ visible
|
|
# inside a jail, with group-readable/writable access for the
|
|
# operator group. It is suitable for a lab jail that needs to run
|
|
# probe_myfirst against the driver running on the host.
|
|
|
|
[myfirst_lab=10]
|
|
add path 'myfirst' unhide
|
|
add path 'myfirst/*' unhide
|
|
add path 'myfirst/*' mode 0660 group operator
|