need to unplug USB drive

D. Michael McIntyre michael.mcintyre at rosegardenmusic.com
Sun Oct 28 20:50:13 GMT 2007


On Sunday 28 October 2007, Sylviane et Perry White wrote:
> > SUBSYSTEM=="usb_device",                MODE="0000"
>
> You probably mean MODE="0777"

I was thinking umask, so I meant 0, but the original 0664 and the name "MODE" 
are probably an indication that my thinking on that was somewhat stupid.  :)

> I still do not understand what happens when you mount a device, it appears
> as though the mount point is a placeholder that gets replaced by the
> mounted stuff.

Exactly.  Once you mount something, the directory becomes a doorway through 
which you get to the contents.  Anything you mount covers up any existing 
contents while the device is mounted.  This can lead to fun confusion.

I don't really understand where these permissions are coming from either.  I 
know if you're mounting something by hand, there are parameters you can pass 
to mount that control permissions on USB volumes.  But with this automagic 
stuff, I really have no idea exactly what is issuing the hidden mount 
command, or how to tweak it.  I obviously didn't find what I was looking for 
with that apparently useless suggestion I made.

We need a real guru here, not just a duffer.

Any takers?
-- 
D. Michael McIntyre 



More information about the kubuntu-users mailing list