Hotplug - How to unmount

2005-03-13 Thread Douglas Royds
Hotplug (running as root) mounts my usb drive, so only root can umount it. Is there any way I can allow the normal user to umount it? I do have the user option in /etc/fstab, but that's only useful if the user mounted it in the first place. I do also have a usb-storage.remover script, which

Re: Hotplug - How to unmount

2005-03-13 Thread Daniel Grant
Hotplug (running as root) mounts my usb drive, so only root can umount it. Is there any way I can allow the normal user to umount it? I do have the user option in /etc/fstab, but that's only useful if the user mounted it in the first place. Can you add the users option instead? It will

Re: Hotplug - How to unmount

2005-03-13 Thread Volker Kuhlmann
/media/usb if I just pull it out, but I want to unmount it before pulling it out. You don't really need to unmount before pulling the thing out, a sync should do (and then give it a second or two). Has always worked for me. No data loss. Volker -- Volker Kuhlmann is possibly

Re: Hotplug - How to unmount

2005-03-13 Thread Daniel Grant
/media/usb if I just pull it out, but I want to unmount it before pulling it out. You don't really need to unmount before pulling the thing out, a sync should do (and then give it a second or two). Has always worked for me. No data loss. Actually, you could also try to set it to mount

Re: Hotplug - How to unmount

2005-03-13 Thread Daniel Grant
/media/usb if I just pull it out, but I want to unmount it before pulling it out. You don't really need to unmount before pulling the thing out, a sync should do (and then give it a second or two). Has always worked for me. No data loss. Actually, you could also try to set it to

Re: Hotplug - How to unmount

2005-03-13 Thread Volker Kuhlmann
Actually, you could also try to set it to mount with the sync option, so all writes are done synchronously. I thought this is pretty much the default for hotplug devices like cameras and memory sticks, because the system never knows when the user pulls the plug, so to speak. (For big hard disks

Re: Hotplug - How to unmount

2005-03-13 Thread Douglas Royds
Daniel Grant wrote: Hotplug (running as root) mounts my usb drive, so only root can umount it. Is there any way I can allow the normal user to umount it? I do have the user option in /etc/fstab, but that's only useful if the user mounted it in the first place. Can you add the users option