projtool.pl: add [set]hooks command
[girocco/readme.git] / fstab / devfsctl_chroot_ruleset
blobb013571ca5143ce36ee60d02b8db456421543c8f
1 # devfsctl ruleset suitable for chroot devfs mount
2 # (devfsctl is DragonFly BSD specific)
4 # This ruleset can be applied to a <chroot>/dev mount
5 # of the devfs filesystem like so:
7 #  devfsctl -c -m <chroot>/dev
8 #  devfsctl -r -m <chroot>/dev
9 #  devfsctl -a -f <absolute_path_to_this_file> -m <chroot>/dev
11 # Note that this file MUST be owned by root or devfsctl will fail.
13 # For that reason it's most convenient if the chroot creation script
14 # installs this file to <chroot>/etc/devfs.conf with chown 0:0 and
15 # chmod 0444 for easy access when running the devfsctl commands.
17 group devs null zero crypto random urandom
18 group pty1 ptyl* ptym* ptyn* ptyo* ptyL* ptyM* ptyN* ptyO*
19 group pty2 ptyp* ptyq* ptyr* ptys* ptyP* pytQ* pytR* ptyS*
20 group tty1 ttyl* ttym* ttyn* ttyo* ttyL* ttyM* ttyN* ttyO*
21 group tty2 ttyp* ttyq* ttyr* ttys* ttyP* ttyQ* ttyR* ttyS*
22 group pttys @pty1 @pty2 @tty1 @tty2 ptmx pts pts/*
23 group fds fd fd/* stdin stdout stderr
24 group chroot @devs @pttys @fds
26 hide *
27 show @chroot