How did GNOME avoid mounting my Windows Recovery USB drive?

Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
Sequence:
- Create Windows 10 Recovery Drive (USB drive).
- Eject drive from Windows.
- Now use a Linux, with the USB drive plugged in.
(The next step would be to open GNOME Disks, ensure the filesystem is not mounted, and save the recovery image. Then I can re-use the USB drive).
Result:
- Oops, I meant to log in to Linux with my administrator account. The admin account was supposed to be the only one with access to system files like these.
- However GNOME didn't mount the Recovery Drive, or advertise it in the file manager.
This is an 8GB USB stick, and Windows has formatted it as FAT. Windows happily mounts it. (In fact when you create it, Windows leaves it mounted; the user is responsible for unmounting it ("Eject")).
Previously GNOME has quite happily mounted Linux boot media. I actually suspect that this mounting causes Fedora Live media to fail the default boot option, which checks that the media matches the original checksum.
Does GNOME deliberately avoid mounting Windows Recovery media?
What specific aspect of this USB stick causes GNOME to treat it specially?? Is it just checking the filesystem label, "RECOVERY"??
On second thoughts, I imagine GNOME might try to avoid mounting Windows recovery partitions on your hard drive. Is this USB drive falling under the same check?
gnome udisks
add a comment |
up vote
1
down vote
favorite
Sequence:
- Create Windows 10 Recovery Drive (USB drive).
- Eject drive from Windows.
- Now use a Linux, with the USB drive plugged in.
(The next step would be to open GNOME Disks, ensure the filesystem is not mounted, and save the recovery image. Then I can re-use the USB drive).
Result:
- Oops, I meant to log in to Linux with my administrator account. The admin account was supposed to be the only one with access to system files like these.
- However GNOME didn't mount the Recovery Drive, or advertise it in the file manager.
This is an 8GB USB stick, and Windows has formatted it as FAT. Windows happily mounts it. (In fact when you create it, Windows leaves it mounted; the user is responsible for unmounting it ("Eject")).
Previously GNOME has quite happily mounted Linux boot media. I actually suspect that this mounting causes Fedora Live media to fail the default boot option, which checks that the media matches the original checksum.
Does GNOME deliberately avoid mounting Windows Recovery media?
What specific aspect of this USB stick causes GNOME to treat it specially?? Is it just checking the filesystem label, "RECOVERY"??
On second thoughts, I imagine GNOME might try to avoid mounting Windows recovery partitions on your hard drive. Is this USB drive falling under the same check?
gnome udisks
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
Sequence:
- Create Windows 10 Recovery Drive (USB drive).
- Eject drive from Windows.
- Now use a Linux, with the USB drive plugged in.
(The next step would be to open GNOME Disks, ensure the filesystem is not mounted, and save the recovery image. Then I can re-use the USB drive).
Result:
- Oops, I meant to log in to Linux with my administrator account. The admin account was supposed to be the only one with access to system files like these.
- However GNOME didn't mount the Recovery Drive, or advertise it in the file manager.
This is an 8GB USB stick, and Windows has formatted it as FAT. Windows happily mounts it. (In fact when you create it, Windows leaves it mounted; the user is responsible for unmounting it ("Eject")).
Previously GNOME has quite happily mounted Linux boot media. I actually suspect that this mounting causes Fedora Live media to fail the default boot option, which checks that the media matches the original checksum.
Does GNOME deliberately avoid mounting Windows Recovery media?
What specific aspect of this USB stick causes GNOME to treat it specially?? Is it just checking the filesystem label, "RECOVERY"??
On second thoughts, I imagine GNOME might try to avoid mounting Windows recovery partitions on your hard drive. Is this USB drive falling under the same check?
gnome udisks
Sequence:
- Create Windows 10 Recovery Drive (USB drive).
- Eject drive from Windows.
- Now use a Linux, with the USB drive plugged in.
(The next step would be to open GNOME Disks, ensure the filesystem is not mounted, and save the recovery image. Then I can re-use the USB drive).
Result:
- Oops, I meant to log in to Linux with my administrator account. The admin account was supposed to be the only one with access to system files like these.
- However GNOME didn't mount the Recovery Drive, or advertise it in the file manager.
This is an 8GB USB stick, and Windows has formatted it as FAT. Windows happily mounts it. (In fact when you create it, Windows leaves it mounted; the user is responsible for unmounting it ("Eject")).
Previously GNOME has quite happily mounted Linux boot media. I actually suspect that this mounting causes Fedora Live media to fail the default boot option, which checks that the media matches the original checksum.
Does GNOME deliberately avoid mounting Windows Recovery media?
What specific aspect of this USB stick causes GNOME to treat it specially?? Is it just checking the filesystem label, "RECOVERY"??
On second thoughts, I imagine GNOME might try to avoid mounting Windows recovery partitions on your hard drive. Is this USB drive falling under the same check?
gnome udisks
gnome udisks
asked Dec 29 '16 at 10:47
sourcejedi
22.5k43499
22.5k43499
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
accepted
On my Fedora 28 system, it is hidden by /lib/udev/rules.d/80-udisks2.rules. The specific rule is:
# recovery partitions
ENVID_FS_TYPE=="ntfs|vfat",
ENVID_FS_LABEL=="Recovery|RECOVERY|Lenovo_Recovery|HP_RECOVERY|Recovery_Partition|DellUtility|DellRestore|IBM_SERVICE|SERVICEV001|SERVICEV002|SYSTEM_RESERVED|System_Reserved|WINRE_DRV|DIAGS|IntelRST",
ENVUDISKS_IGNORE="1"
So it needs two things to match: the filesystem type, and the filesystem label.
I imagine this could cause some surprise. Imagine if you happened to set the filesystem label to "Recovery" on your USB stick or SDHC card, which likely uses vfat :-).
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f333517%2fhow-did-gnome-avoid-mounting-my-windows-recovery-usb-drive%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
accepted
On my Fedora 28 system, it is hidden by /lib/udev/rules.d/80-udisks2.rules. The specific rule is:
# recovery partitions
ENVID_FS_TYPE=="ntfs|vfat",
ENVID_FS_LABEL=="Recovery|RECOVERY|Lenovo_Recovery|HP_RECOVERY|Recovery_Partition|DellUtility|DellRestore|IBM_SERVICE|SERVICEV001|SERVICEV002|SYSTEM_RESERVED|System_Reserved|WINRE_DRV|DIAGS|IntelRST",
ENVUDISKS_IGNORE="1"
So it needs two things to match: the filesystem type, and the filesystem label.
I imagine this could cause some surprise. Imagine if you happened to set the filesystem label to "Recovery" on your USB stick or SDHC card, which likely uses vfat :-).
add a comment |
up vote
0
down vote
accepted
On my Fedora 28 system, it is hidden by /lib/udev/rules.d/80-udisks2.rules. The specific rule is:
# recovery partitions
ENVID_FS_TYPE=="ntfs|vfat",
ENVID_FS_LABEL=="Recovery|RECOVERY|Lenovo_Recovery|HP_RECOVERY|Recovery_Partition|DellUtility|DellRestore|IBM_SERVICE|SERVICEV001|SERVICEV002|SYSTEM_RESERVED|System_Reserved|WINRE_DRV|DIAGS|IntelRST",
ENVUDISKS_IGNORE="1"
So it needs two things to match: the filesystem type, and the filesystem label.
I imagine this could cause some surprise. Imagine if you happened to set the filesystem label to "Recovery" on your USB stick or SDHC card, which likely uses vfat :-).
add a comment |
up vote
0
down vote
accepted
up vote
0
down vote
accepted
On my Fedora 28 system, it is hidden by /lib/udev/rules.d/80-udisks2.rules. The specific rule is:
# recovery partitions
ENVID_FS_TYPE=="ntfs|vfat",
ENVID_FS_LABEL=="Recovery|RECOVERY|Lenovo_Recovery|HP_RECOVERY|Recovery_Partition|DellUtility|DellRestore|IBM_SERVICE|SERVICEV001|SERVICEV002|SYSTEM_RESERVED|System_Reserved|WINRE_DRV|DIAGS|IntelRST",
ENVUDISKS_IGNORE="1"
So it needs two things to match: the filesystem type, and the filesystem label.
I imagine this could cause some surprise. Imagine if you happened to set the filesystem label to "Recovery" on your USB stick or SDHC card, which likely uses vfat :-).
On my Fedora 28 system, it is hidden by /lib/udev/rules.d/80-udisks2.rules. The specific rule is:
# recovery partitions
ENVID_FS_TYPE=="ntfs|vfat",
ENVID_FS_LABEL=="Recovery|RECOVERY|Lenovo_Recovery|HP_RECOVERY|Recovery_Partition|DellUtility|DellRestore|IBM_SERVICE|SERVICEV001|SERVICEV002|SYSTEM_RESERVED|System_Reserved|WINRE_DRV|DIAGS|IntelRST",
ENVUDISKS_IGNORE="1"
So it needs two things to match: the filesystem type, and the filesystem label.
I imagine this could cause some surprise. Imagine if you happened to set the filesystem label to "Recovery" on your USB stick or SDHC card, which likely uses vfat :-).
answered Dec 7 at 23:42
sourcejedi
22.5k43499
22.5k43499
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f333517%2fhow-did-gnome-avoid-mounting-my-windows-recovery-usb-drive%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown