gnome-shell/js/misc
Hans de Goede 9745e97e14 Add support for inhibiting automount
When connecting to virtual machines with usb-device redirection, such as Spice
enabled vms, automount may get in the way. Specifically if auto-usbredir is
enabled in the vm-viewer, then the usbredir code and the automount code race
for who gets to the device first.

If the automount code wins the race this is a problem, since usbredir causes a
device-disconnect (iow the usb mass storage driver sees an unplug), so in the
end usbredir always wins, and we end up with a non clean potentially corrupt
filesystem. Also see:
https://bugzilla.redhat.com/show_bug.cgi?id=812972

There for the need exists to be able to inhibit gnome-shell's automounting,
since all other inhibits run through gnome-session, I've chosen to do the same
for the automount-inhibiting. I've also submitted a patch to gnome-session to
reserve flag value 16 for this, see bug 678595.

This patch adds support to gnome-shell to honor this new inhibit flag.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>

https://bugzilla.gnome.org/show_bug.cgi?id=678597
2012-07-06 08:28:29 +02:00
..
config.js.in shell: Remove ContactSystem 2012-06-29 11:21:50 +02:00
extensionUtils.js extensionUtils: Create and load the extension object when scanning 2012-06-12 17:16:08 -04:00
fileUtils.js fileUtils: Fix recursivelyDeleteDir 2011-11-30 22:04:00 -05:00
gnomeSession.js Add support for inhibiting automount 2012-07-06 08:28:29 +02:00
history.js Port everything to class framework 2011-11-24 09:50:04 +01:00
jsParse.js lookingGlass: Add tab-completion 2011-11-05 13:05:11 -04:00
modemManager.js ModemManager: fix dbus parameters 2012-02-13 19:28:25 +01:00
params.js *.js: Make emacs modelines consistent 2011-10-11 08:05:12 -04:00
screenSaver.js screensaver, gnomesession: port to GDBus based bindings 2011-11-11 11:15:38 -05:00
util.js Util: update trySpawn to new gjs GError mapping 2012-06-21 18:28:26 +02:00