On Thu, 28 Aug 2008 13:56:27 +0700 (ICT), Olivier Nicole <[EMAIL PROTECTED]> 
wrote:
> Hello,
> 
> Is there a command in FreeBSD that ejects a USB disk like in Windows?
> [...]
> I would like to have a command that makes the disk/USB port physically
> inaccessible, so at the end of the script a user cannot access the
> disk again.

If the USB disk is accessed via a device that is listed when
you do

        # camcontrol devlist

you should be able to use camcontrol's eject or stop command
on that device, usually /dev/da[0-9].


-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to