Logically connect/reconnect USB device

Karl Larsen k5di at zianet.com
Thu Jun 19 13:46:01 UTC 2008


Brian McKee wrote:
> On Sat, Jun 14, 2008 at 7:53 PM, NoOp <glgxg at sbcglobal.net> wrote:
>   
>> Anyone know of a way to logically connect and reconnect a USB device
>> without unplugging/plugging or turning off/on?
>>     
>
> Wild guess - killall --signal SIGHUP dbus-daemon or some other
> variation of restarting dbus/hal ?
>
> I haven't tried it - If your cat marries your best friend, I'm not
> responsible.....
>
> Brian
>
>   
    Here is a an easier way to do it. Plug in the USB device and look on 
/media and see what it is called. Then in a Terminal do $df and this 
will tell you for example that your device is actually /dev/sdf1 and now 
you can do what you want.

    To un-mount your USB device use $sudo umount /dev/sdf1 and it will 
fine. To remount the device just pull it out and put back in. You need 
to know this if your putting a new file system on your USB device :-)


Karl








-- 

	Karl F. Larsen, AKA K5DI
	Linux User
	#450462   http://counter.li.org.
   PGP 4208 4D6E 595F 22B9 FF1C  ECB6 4A3C 2C54 FE23 53A7





More information about the ubuntu-users mailing list