Re: [Pcbsd-developer] removage storage unmounting (devd.conf)
Status: Beta
Brought to you by:
kmoore134
From: Federico L. <flo...@gm...> - 2006-08-25 05:18:05
|
On Thursday 24 August 2006 23:15, Andrei Kolu wrote: > 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"; Just one problem... ATM we cant unmount a device after it has been taken out, as it can cause file loss and the like. And if you do, you are left with the entry still in /dev... Maybe a good thing to find out is if there is a way to disable WB-caching for certain disks? Cheers |