I am havng a problem with my usbdisk. At first it's mounted at /media/sda1, then during hibernation (kernel23archck, hibernate-scripts, suspend to disk) the script unloads usb modules. When I start the computer again my usbdisk becomes /media/sdb1 and the previous directory becomes empty. Is it possible to force hal to mount my usbdisk always in the same directory e.g. /media/usbdisk ???
Thanks in advance.
set a proper entry in fstab like this
/dev/sda1 /media/usbdisk auto user,umask=000 0 0
The problem is, that after hibernation /dev/sda1 becomes /dev/sdb1 . After second hibernation it becomes /dec/sdc1 and so on.
Check wiki :
http://wiki.archlinux.org/index.php/Usi … o_a_device
I didn't work for me, so I just added 'pumount /dev/sda1' before hibernation. It works. Thanks anyway and a happy new year!
I have a similar problem, when ever I put in an usb pin in mounts it first as sda1, but if I take it out and put it in again, it mounts as sdb1, and sda1 is still mounted in the media directory, so now I have both sda1 and sdb1 mounted, although the sda1 directory is empty.
Why doesn't hal unmount the usb pin after I take it out?