You are not logged in.

#1 2005-12-24 09:32:21

mdv
Member
From: Poland
Registered: 2005-04-09
Posts: 145

hal, usbdisk, kde - a problem with /media/* directory

Hello,
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.
mdv

Offline

#2 2005-12-25 23:39:17

demonus
Member
Registered: 2005-01-31
Posts: 62

Re: hal, usbdisk, kde - a problem with /media/* directory

set a proper entry in fstab like this

/dev/sda1 /media/usbdisk auto user,umask=000 0 0

Offline

#3 2005-12-26 11:10:07

mdv
Member
From: Poland
Registered: 2005-04-09
Posts: 145

Re: hal, usbdisk, kde - a problem with /media/* directory

The problem is, that after hibernation /dev/sda1 becomes /dev/sdb1 sad . After second hibernation it becomes /dec/sdc1 and so on.

Offline

#4 2005-12-26 14:18:09

sami
Member
From: Finland
Registered: 2004-10-14
Posts: 17

Re: hal, usbdisk, kde - a problem with /media/* directory

Offline

#5 2006-01-01 19:57:28

mdv
Member
From: Poland
Registered: 2005-04-09
Posts: 145

Re: hal, usbdisk, kde - a problem with /media/* directory

I didn't work for me, so I just added 'pumount /dev/sda1'  before hibernation.  It works. Thanks anyway and a happy new year!

Offline

#6 2006-01-02 01:39:26

Avenger
Member
Registered: 2005-11-11
Posts: 65

Re: hal, usbdisk, kde - a problem with /media/* directory

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?

Offline

Board footer

Powered by FluxBB