[Pcbsd-developer] removage storage unmounting (devd.conf)
Status: Beta
Brought to you by:
kmoore134
From: Andrei K. <an...@bs...> - 2006-08-24 21:15:47
|
I found this interesting feature for /etc/devd.conf: ------------------------------------------------------------- attach 0 { device-name "umass0"; action "sleep 2 && test -c /dev/da0s1 && /sbin/mount_msdosfs -m 777 /dev/da0s1 /mnt/flash"; }; detach 0 { device-name "umass0"; action "umount -f /mnt/flash"; ------------------------------------------------------------- It worked on 5.2 but haven't tested it in 6.1. |