Re: [gentoo-user] mount point with hal and kde

2005-08-18 Thread Norberto Bensa
Pupeno wrote:
 I'd like a couple of this devices to be mounted at a specific place,
 like /media/backup and /media/home. Is it possible ?
 Thanks.

Yup.

Read:

   /usr/share/hal/fdi/90defaultpolicy/storage-policy.fdi

Basically you'll be forcing (using the device-id) the path where it is 
mounted. Then just drop your changes into:

   /usr/share/hal/fdi/95userpolicy/storage-policy.fdi


There are examples on Google, but since I'm temporally on dial-up, I don't 
have the sites at hand right now.

Regards,
Norberto

-- 
Norberto Bensa
4544-9692 / 15-4190-6344
Ciudad de Buenos Aires, Argentina


pgpiCXbvgfnZe.pgp
Description: PGP signature


Re: [gentoo-user] mount point with hal and kde

2005-08-18 Thread Neil Bothwick
On Wed, 17 Aug 2005 23:38:16 -0300, Pupeno wrote:

 I'd like a couple of this devices to be mounted at a specific place, 
 like /media/backup and /media/home. Is it possible ?

Set up udev rules to give them their own names in /dev, these names are
also used as the mount point under /media. It is the actual name that is
used, not any symlinks, so set up your rules accordingly.

See http://www.reactivated.net/udevrules.php for details on writing custom
udev rules.


-- 
Neil Bothwick

Bother, said Pooh, as the Death Star exploded around him.


pgpjx2WiJLQJN.pgp
Description: PGP signature


Re: [gentoo-user] mount point with hal and kde

2005-08-18 Thread Pupeno
On Thursday 18 August 2005 09:47, Norberto Bensa wrote:
 Read:

/usr/share/hal/fdi/90defaultpolicy/storage-policy.fdi

 Basically you'll be forcing (using the device-id) the path where it is
 mounted. Then just drop your changes into:

/usr/share/hal/fdi/95userpolicy/storage-policy.fdi
This looks like a configuration file. Why is it located on /usr instead 
of /etc ?

-- 
Pupeno [EMAIL PROTECTED] (http://pupeno.com)
Reading ? Science Fiction ? http://sfreaders.com.ar


pgpesGTfDfNZe.pgp
Description: PGP signature


Re: [gentoo-user] mount point with hal and kde

2005-08-18 Thread Norberto Bensa
Pupeno wrote:
 On Thursday 18 August 2005 09:47, Norberto Bensa wrote:
  Read:
 
 /usr/share/hal/fdi/90defaultpolicy/storage-policy.fdi
 
  Basically you'll be forcing (using the device-id) the path where it is
  mounted. Then just drop your changes into:
 
 /usr/share/hal/fdi/95userpolicy/storage-policy.fdi

 This looks like a configuration file. Why is it located on /usr instead
 of /etc ?

Hm... Perhaps it's the same maintainer that puts swat on /usr/share/doc (swat, 
is a configuration tool for samba...)

Honestly, I have no idea. It's like KDE dropping its config files 
on /usr/kde/3.4/ instead of /etc/kde3. And I guess thousand of more 
examples.

-- 
Norberto Bensa
4544-9692 / 15-4190-6344
Ciudad de Buenos Aires, Argentina


pgpNjNWCdB1vU.pgp
Description: PGP signature


[gentoo-user] mount point with hal and kde

2005-08-17 Thread Pupeno
Hello,
I have various computers running KDE and hald and I also have various USB mass 
storages, some of the HDs and some of them memories.
When I plug them I get an icon on the desktop and the first one to be plugged 
gets monted on /media/usbdisk, the second on /media/usbdisk1, the third 
on /media/usbdisk2 and so on.
I'd like a couple of this devices to be mounted at a specific place, 
like /media/backup and /media/home. Is it possible ?
Thanks.
-- 
Pupeno [EMAIL PROTECTED] (http://pupeno.com)
Reading ? Science Fiction ? http://sfreaders.com.ar


pgpYSu8ZlOheI.pgp
Description: PGP signature