[xubuntu-users] Designate automount location
Marko Oreskovic
markoresko at gmail.com
Wed Feb 18 15:04:04 UTC 2009
dojero wrote:
> I have a USB drive with two partitions. When I attach the USB, both
> partitions automatically mount...one becomes /media/disk and the other
> becomes /media/disk-1. But which becomes which changes each time I
> connect the USB.
>
> I would like to control this...to designate one partition to always
> mount as /media/disk and the other to always mount as /media/disk-1.
>
> I'm using Thunar volume manager (I think...it's activated anyway) to
> manage the automount process.
I have an idea. Maybe you could find UUID of partition on that usb drive
and put its designation in /etc/fstab with appropriate path where you
want it to mount :)
Put usb in
do df -h to figure out what is device for that usb
do vol_id device_name
put new line in /etc/fstab with path where to mount next time.
I didn`t try it, but I think it could work :)
Try ;)
More information about the xubuntu-users
mailing list