From c63dd9c4ecfcc4d0008d312450b7b9a1bfc6b3cc Mon Sep 17 00:00:00 2001 From: Vojtech Trefny Date: Mon, 14 Aug 2017 10:00:16 +0200 Subject: [PATCH 1/3] Allow using "noload" mount option Resolves https://bugs.freedesktop.org/show_bug.cgi?id=98858 --- src/udiskslinuxfilesystem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/udiskslinuxfilesystem.c b/src/udiskslinuxfilesystem.c index bd927d459e..55b45cf64b 100644 --- a/src/udiskslinuxfilesystem.c +++ b/src/udiskslinuxfilesystem.c @@ -332,7 +332,7 @@ static const gchar *hfsplus_allow_gid_self[] = { "gid=", NULL }; /* ------------------------------------------------ */ /* TODO: support context= */ -static const gchar *any_allow[] = { "exec", "noexec", "nodev", "nosuid", "atime", "noatime", "nodiratime", "ro", "rw", "sync", "dirsync", NULL }; +static const gchar *any_allow[] = { "exec", "noexec", "nodev", "nosuid", "atime", "noatime", "nodiratime", "ro", "rw", "sync", "dirsync", "noload", NULL }; static const FSMountOptions fs_mount_options[] = { From bf11d905dac3e34fbdff61d5f27c48dd5c04ee04 Mon Sep 17 00:00:00 2001 From: Vojtech Trefny Date: Mon, 14 Aug 2017 10:22:20 +0200 Subject: [PATCH 2/3] Ignore Asus Zendisk virtual CDROM It contains only installers for Windows only drivers/tools. Resolves https://bugs.freedesktop.org/show_bug.cgi?id=101999 --- data/80-udisks2.rules | 3 +++ 1 file changed, 3 insertions(+) diff --git a/data/80-udisks2.rules b/data/80-udisks2.rules index 3c3ef1960e..fa37604248 100644 --- a/data/80-udisks2.rules +++ b/data/80-udisks2.rules @@ -145,6 +145,9 @@ ENV{ID_VENDOR}=="Sony", ENV{ID_MODEL}=="PRS*Launcher", ENV{UDISKS_IGNORE}="1" # non-Linux software KERNEL=="sr*", ENV{ID_VENDOR}=="SanDisk", ENV{ID_MODEL}=="Cruzer", ENV{ID_FS_LABEL}=="U3_System", ENV{UDISKS_IGNORE}="1" +# Virtual Windows tools installation on Asus Zendisk (0b05:17b4) +KERNEL=="sr*", ENV{ID_VENDOR}=="ASMT",ENV{ID_MODEL}=="VirtualCDROM", ENV{ID_FS_LABEL}=="ASUS_+Speed_ZENDISK*", ENV{UDISKS_IGNORE}="1" + # Content created using isohybrid (typically used on CDs and USB # sticks for bootable media) is a bit special insofar that the # interesting content is on a DOS partition with type 0x00* ... which From 0c9cd4bff5d192831d958001b6f2de91d587c3cb Mon Sep 17 00:00:00 2001 From: Vojtech Trefny Date: Mon, 14 Aug 2017 10:29:04 +0200 Subject: [PATCH 3/3] Ignore ZFS member partitions Resolves https://bugs.freedesktop.org/show_bug.cgi?id=100864 --- data/80-udisks2.rules | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/data/80-udisks2.rules b/data/80-udisks2.rules index fa37604248..cc81484e66 100644 --- a/data/80-udisks2.rules +++ b/data/80-udisks2.rules @@ -126,6 +126,11 @@ ENV{ID_PART_ENTRY_SCHEME}=="gpt", \ ENV{ID_PART_ENTRY_TYPE}=="c12a7328-f81f-11d2-ba4b-00a0c93ec93b|21686148-6449-6e6f-744e-656564454649|a19d880f-05fc-4d3b-a006-743f0f84911e|e6d6d379-f507-44c2-a23c-238f2a3df928|e3c9e316-0b5c-4db8-817d-f92df00215ae|de94bba4-06d1-4d40-a16a-bfd50179d6ac", \ ENV{UDISKS_IGNORE}="1" +# ZFS member partitions +ENV{ID_PART_ENTRY_SCHEME}=="gpt", \ + ENV{ID_FS_TYPE}=="zfs_member", ENV{ID_PART_ENTRY_TYPE}=="6a898cc3-1dd2-11b2-99a6-080020736631", \ + ENV{UDISKS_IGNORE}="1" + # MAC recovery/tool partitions/devices which are useless on Linux ENV{ID_PART_ENTRY_SCHEME}=="mac", \ ENV{ID_CDROM}=="?*", ENV{ID_FS_TYPE}=="udf", ENV{ID_FS_LABEL}=="WD*SmartWare", \