This is a discussion on CDROM mounting under 2.6 kernel within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Robby Workman wrote: [udev rule example] > [3] The device symlink and mountpoints are obviously customizable, and if you ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Robby Workman wrote: [udev rule example] > [3] The device symlink and mountpoints are obviously customizable, and if you > are so inclined, you could certainly make a mount/umount script to be > called on the desktop. That script could test whether the device is > currently mounted, and if not, mount it; if so, unmount it, and if > unsuccessful on either, return an error. Viewing that error message in an > X environment without running it in a terminal, though, is an exercise > left to the reader - I'm sure it's possible, it is. that's what xdialog is for. > but I've never given it any > thought, as the whole idea of a script to do it seems more complicated > than opening a terminal and doing it manually. YMMV. i use usbmount, which depends on udev, and mounts any usb storage devices automatically. i plug in the device, wait a few seconds and then the device is available under /media/usb1. if i plug in another device, it becomes available under /media/usb2, etc. (though if i first unplug the first device, and then plug in the other, it becomes /media/usb1.) i still have to manually unmount devices, though, but i do that through the mount plugin on the xfce panel. (usbmount by default mounts devices with the sync option, so that you don't even have to unmount before unplugging them. but that doesn't work for vfat file systems, so...) -- Joost Kremers joostkremers@yahoo.com Selbst in die Unterwelt dringt durch Spalten Licht EN:SiS(9) |
| |||
| On 1 Feb 2007 21:55:00 GMT, Joost Kremers <joostkremers@yahoo.com> wrote: >i still have to manually unmount devices, though, but i do that through the >mount plugin on the xfce panel. (usbmount by default mounts devices with >the sync option, so that you don't even have to unmount before unplugging ^^^^^^^^^^^ >them. but that doesn't work for vfat file systems, so...) Doesn't this option really slow down I/O performance to the USB device? Grant. -- http://bugsplatter.mine.nu/ |
| ||||
| Grant wrote: > On 1 Feb 2007 21:55:00 GMT, Joost Kremers <joostkremers@yahoo.com> wrote: > >>i still have to manually unmount devices, though, but i do that through the >>mount plugin on the xfce panel. (usbmount by default mounts devices with >>the sync option, so that you don't even have to unmount before unplugging > ^^^^^^^^^^^ >>them. but that doesn't work for vfat file systems, so...) > > Doesn't this option really slow down I/O performance to the USB device? i have no idea, since i've never used it. -- Joost Kremers joostkremers@yahoo.com Selbst in die Unterwelt dringt durch Spalten Licht EN:SiS(9) |