View Full Version : Debian disable USB hotplug
PurposeOfReason
March 24th, 2008, 09:19 PM
I have a server that I recently put Debian minimal on. Is there a way to disable the hotplugging in the usb devices? I'd like to use them to charge my ipod and whatnot but if they get mounted I don't want the chance of just ripping them out and losing data.
kerry_s
March 24th, 2008, 09:40 PM
huh?
debian minimal doesn't auto mount. you would have to install like ivman or have a file manager that does that through hal.
i use pmount on mine using rox with a fstab entry for usb(sda1).
PurposeOfReason
March 24th, 2008, 10:20 PM
Maybe I just think it did because I had a USB thumb drive in when I booted (during installation) which would then get mounted?
kerry_s
March 24th, 2008, 10:28 PM
Maybe I just think it did because I had a USB thumb drive in when I booted (during installation) which would then get mounted?
it shouldn't, it would only be detected but not mounted, unless you have a fstab entry with "auto" in it. the only way it would mount is if you mount it> su && mount -t vfat /dev/sda1 /media/usb
something like that.
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.