fstab and mounting devices
so far i have an fstab entry for when i mount the ipod shuffle /dev/sdf1 to be mounted in /mnt/ipod..
additionally i have a flash drive that i use quite often which i would like to mount on /mnt/memory whenever i have it plugged in.
as you may have guessed the problem that arises is that the first usb device i plug in will be on /dev/sdf1 and that will me mounted on /mnt/ipod regardless of whether it is the ipod indeed. then if i plug in the 2nd device , it will be /dev/sdg1 and will be mounted on /mnt/memory..
is it possible that i can somehow tell the system to mount the ipod shuffle nomatter what the /dev/ entry to /mnt/ipod always? and the respective for the flash drive?
thank you for your help
you'd presuambly use udev under slack to create /dev/ipod as a device when certain criteria of the associated device is matched, e.g. vendor of serial no. http://www.reactivated.net/writing_udev_rules.html
thank you very much! i read the doc, applied it and voila!
works like a charm!
|All times are GMT -5. The time now is 05:12 PM.|