On Mon, Jan 21, 2008 at 08:59:30AM +0400, Rakhesh Sasidharan wrote:
> 
> Colin Brace wrote:
> 
>> I use udev rules to do this. See:
>> 
>> <
>> http://www.linuxquestions.org/questions/linux-general-1/make-removable-usb-hdd-mount-at-fixed-mount-point-511917/
>>> 
> 
> That doesn't work on FreeBSD, does it? Udev's a Linux thing last I heard of 
> ...

You might be able to do that with devd(8). I don't know if you'll get
attach events on disk devices, you'll  have to try.

Keep in mind that you cannot use devd to unmount! You'll have to unmount
_before_ the device is detached/destroyed, or you might get a panic.

Roland
-- 
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

Attachment: pgp3nKhvXcW1O.pgp
Description: PGP signature

Reply via email to