udisks and eSATA: a question about the meaning of "detachable"

Phillip Susi psusi at cfl.rr.com
Mon Jul 11 18:41:41 PDT 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/11/2011 10:46 AM, David Zeuthen wrote:
> Note that this is now controllable via the UDISKS_AUTOMOUNT_HINT property, see

I thought all such malarkey was simply supposed to go away because there
is just no good way to decide what the correct value is.

>  http://cgit.freedesktop.org/udisks/commit/?id=858adbac9dce63da52764b2d2157bc7782b304a5
> 
> so enthusiasts and distros can set this at will for devices they know
> are eSATA or whatever. It should be honored by the GVfs shipped with
> GNOME 3.2.

And how are they supposed to determine that?

At the end of the day, you either need to decide if you want to auto
mount new, unrecognized filesystems, and either do so or do not.  Trying
to guess when the user might want to or not based on how it is connected
just isn't workable.

How about when udisks sees a new uncrecognized disk, why not ask the
user what they want to do with it.  It could be a 4 way choice: auto
mount it, do not auto mount it, mount it just this once, or do nothing.
 The first two choices would save an entry in /etc/fstab with the auto
and noauto options respectively so you would know what to do next time
without prompting.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk4bplIACgkQJ4UciIs+XuKTXQCgpEf7A18h/NEOGq+drbcka2C5
ChcAoLtN2HmhzOY4kTRF+rZI/cGb7/Sz
=YODq
-----END PGP SIGNATURE-----


More information about the devkit-devel mailing list