Question about enable polling.

David Zeuthen zeuthen at gmail.com
Tue Oct 5 07:09:38 PDT 2010


Hi,

On Tue, Oct 5, 2010 at 7:48 AM, Stef Bon <stef at bononline.nl> wrote:
> Yes, that's it. Ive tried it here myself, and indeed this behaviour.
>
> The polling is started also with a command like udisks --enumerate
>
> Thus the way to enable polling for all removable devices is to start at boot
> time:
>
> udisks --enumerate >> /dev/null ?
>
> in some init script.

Something like that.

> Futher what's the mount options for? I've seen already that it mounts at
> /media. Can I tell it where to mount?

Via /etc/fstab.

> And how are the default options determined??

Read the docs that I already pointed you to? :-)

Specifically, look at

http://hal.freedesktop.org/docs/udisks/Device.html#Device.FilesystemMount

Right now users can set/override default mount options / mount-point
using /etc/fstab. In the future there will be something that replaces
/etc/fstab along with a GUI frontend to configure it.

> I'm specially interested cause I'm building system which provides users
> easy, powerfull en intuitive access to all kinds of resources, also USB
> disks, CDroms and Harddisk.

Sure. Note that GNOME and other desktops already supports this quite
well with GVfs.

> Does udisks supports more than one mountpoint?

http://hal.freedesktop.org/docs/udisks/Device.html#Device:DeviceMountPaths


More information about the devkit-devel mailing list