I use hotplugd to attach my usbstick. I works well, but I miss a
detach script which I couldn't find as a example in the manual so I
wonder if it's necessary. I've tried once to just disconnect the stick
without umounting the FS manually, and it worked.

messages shows:
Aug 24 16:24:54 venus /bsd: umass1: SanDisk Corporation Cruzer Micro,
rev 2.00/0.10, addr 2
Aug 24 16:24:54 venus /bsd: umass1: using SCSI over Bulk-Only
Aug 24 16:24:54 venus /bsd: scsibus2 at umass1: 2 targets
Aug 24 16:24:54 venus /bsd: sd1 at scsibus2 targ 1 lun 0: <SanDisk,
Cruzer Micro, 0.1> SCSI2 0/direct removable
Aug 24 16:24:55 venus /bsd: sd1: 488MB, 488 cyl, 64 head, 32 sec, 512
bytes/sec, 1000944 sec total
Aug 24 16:36:57 venus /bsd: umass1: at uhub3 port 1 (addr 2) disconnected
Aug 24 16:36:57 venus /bsd: sd1 detached
Aug 24 16:36:57 venus /bsd: scsibus2 detached
Aug 24 16:36:57 venus /bsd: umass1 detached

Can it cause any damage on a FS if I remove a usb device that is
mounted by hotplugd?
/bkw

Reply via email to