Fixing a USB disk to a specific device name
Roland Smith
rsmith at xs4all.nl
Mon Jan 21 08:53:31 PST 2008
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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080121/523b200b/attachment.pgp
More information about the freebsd-questions
mailing list