public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] mount point with hal and kde
@ 2005-08-18  2:38 Pupeno
  2005-08-18 12:47 ` Norberto Bensa
  2005-08-18 14:37 ` Neil Bothwick
  0 siblings, 2 replies; 5+ messages in thread
From: Pupeno @ 2005-08-18  2:38 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 568 bytes --]

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 <pupeno@pupeno.com> (http://pupeno.com)
Reading ? Science Fiction ? http://sfreaders.com.ar

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] mount point with hal and kde
  2005-08-18  2:38 [gentoo-user] mount point with hal and kde Pupeno
@ 2005-08-18 12:47 ` Norberto Bensa
  2005-08-19  0:35   ` Pupeno
  2005-08-18 14:37 ` Neil Bothwick
  1 sibling, 1 reply; 5+ messages in thread
From: Norberto Bensa @ 2005-08-18 12:47 UTC (permalink / raw
  To: gentoo-user; +Cc: Pupeno

[-- Attachment #1: Type: text/plain, Size: 629 bytes --]

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

[-- Attachment #2: Type: application/pgp-signature, Size: 190 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] mount point with hal and kde
  2005-08-18  2:38 [gentoo-user] mount point with hal and kde Pupeno
  2005-08-18 12:47 ` Norberto Bensa
@ 2005-08-18 14:37 ` Neil Bothwick
  1 sibling, 0 replies; 5+ messages in thread
From: Neil Bothwick @ 2005-08-18 14:37 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 568 bytes --]

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.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] mount point with hal and kde
  2005-08-18 12:47 ` Norberto Bensa
@ 2005-08-19  0:35   ` Pupeno
  2005-08-19  3:39     ` Norberto Bensa
  0 siblings, 1 reply; 5+ messages in thread
From: Pupeno @ 2005-08-19  0:35 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 505 bytes --]

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 <pupeno@pupeno.com> (http://pupeno.com)
Reading ? Science Fiction ? http://sfreaders.com.ar

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] mount point with hal and kde
  2005-08-19  0:35   ` Pupeno
@ 2005-08-19  3:39     ` Norberto Bensa
  0 siblings, 0 replies; 5+ messages in thread
From: Norberto Bensa @ 2005-08-19  3:39 UTC (permalink / raw
  To: gentoo-user; +Cc: Pupeno

[-- Attachment #1: Type: text/plain, Size: 797 bytes --]

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

[-- Attachment #2: Type: application/pgp-signature, Size: 190 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-08-19  3:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-18  2:38 [gentoo-user] mount point with hal and kde Pupeno
2005-08-18 12:47 ` Norberto Bensa
2005-08-19  0:35   ` Pupeno
2005-08-19  3:39     ` Norberto Bensa
2005-08-18 14:37 ` Neil Bothwick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox