i think i have a brain freeze @ the moment... any suggestions are welcomed:
The ideal outcome:
mount to the default location, either first partition of the USB drive or all partitions into corresponding subdirs, e.g /media/usb/part1, /media/usb/part2
Situation:
there is a generic usb drive or for this matter any device (usb/ndd/sdd) with one or many partitions.
I want to have an easier way to mount/umount the device then "su-", check for partitions and mount.
What i have done:
a. dug out old udev scrips that map devices to a link e,g /dev/cardreader/SD*
b. in case of one partition i'll have /dev/cardreader/SD1, in case of 2 partitions - /dev/cardreader/SD1, /dev/cardreader/SD2
c. blindly staring @ fstab with semi-retarded ideas of writing 10^12 lines for each possible partition.
d. gave up and posted a question here in hopes of help