How do I disable automount in Debian 8?Ubuntu automount behaviorHow to disable device in Linux Debian...

Old race car problem/puzzle

Current sense amp + op-amp buffer + ADC: Measuring down to 0 with single supply

What options are left, if Britain cannot decide?

My adviser wants to be the first author

How to simplify this time periods definition interface?

I need to drive a 7/16" nut but am unsure how to use the socket I bought for my screwdriver

RegionDifference for Cylinder and Cuboid

Instead of Universal Basic Income, why not Universal Basic NEEDS?

Professor being mistaken for a grad student

Making a sword in the stone, in a medieval world without magic

At what level can a dragon innately cast its spells?

What has been your most complicated TikZ drawing?

Have researchers managed to "reverse time"? If so, what does that mean for physics?

Provisioning profile doesn't include the application-identifier and keychain-access-groups entitlements

What is the greatest age difference between a married couple in Tanach?

Where is the 1/8 CR apprentice in Volo's Guide to Monsters?

How to explain that I do not want to visit a country due to personal safety concern?

Ban on all campaign finance?

Can hydraulic brake levers get hot when brakes overheat?

Does splitting a potentially monolithic application into several smaller ones help prevent bugs?

Know when to turn notes upside-down(eighth notes, sixteen notes, etc.)

Rejected in 4th interview round citing insufficient years of experience

Meaning of "SEVERA INDEOVI VAS" from 3rd Century slab

An Accountant Seeks the Help of a Mathematician



How do I disable automount in Debian 8?


Ubuntu automount behaviorHow to disable device in Linux Debian (Wheezy)linux splits one 3 TB external USB HDD into 2 physical drives?Unusable open souce ATI driver on Debian JessieDead SATA controller on ASUS motherboard?Debian installer hangs on network hardware detection due to Broadcom wlan chipCannot write to any USB device mounted via Thunar file manager. Can only read as “root?”No HDMI output on Debian 8 laptopgparted mounting partitions on its own?How to install Debian, not using ISO?













0















I've managed to override any automounting in Debian 7 by opening GParted before connecting any USB drive or hotplugging Sata drives.



But now in Debian 8, this doesn't work anymore since Gparted went over 0.3.7. They were adding an .fdi file somewhere in the system but now use the hal locking system.



I saw that you can blacklist the usb-storage kernel module but this won't work for Sata drives. Some also says that I can disable automount by unchecking an option somewhere but this is still not good since it depends on a desktop environment.



So the question is: How do I disable automounting (for USB and Sata) and make a lock like Gparted (prior to 0.3.7) in Debian 8 without depending on a desktop environment or disabling a kernel-module ?










share|improve this question














bumped to the homepage by Community 17 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • I've switched to Kali Linux 2.0/2016.1, where you can add to the "grub_cmdline_linux" the following options: noautomount noswap (using Kali's implementation in their forensics mode)

    – X.LINK
    Jan 28 '16 at 16:31
















0















I've managed to override any automounting in Debian 7 by opening GParted before connecting any USB drive or hotplugging Sata drives.



But now in Debian 8, this doesn't work anymore since Gparted went over 0.3.7. They were adding an .fdi file somewhere in the system but now use the hal locking system.



I saw that you can blacklist the usb-storage kernel module but this won't work for Sata drives. Some also says that I can disable automount by unchecking an option somewhere but this is still not good since it depends on a desktop environment.



So the question is: How do I disable automounting (for USB and Sata) and make a lock like Gparted (prior to 0.3.7) in Debian 8 without depending on a desktop environment or disabling a kernel-module ?










share|improve this question














bumped to the homepage by Community 17 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • I've switched to Kali Linux 2.0/2016.1, where you can add to the "grub_cmdline_linux" the following options: noautomount noswap (using Kali's implementation in their forensics mode)

    – X.LINK
    Jan 28 '16 at 16:31














0












0








0








I've managed to override any automounting in Debian 7 by opening GParted before connecting any USB drive or hotplugging Sata drives.



But now in Debian 8, this doesn't work anymore since Gparted went over 0.3.7. They were adding an .fdi file somewhere in the system but now use the hal locking system.



I saw that you can blacklist the usb-storage kernel module but this won't work for Sata drives. Some also says that I can disable automount by unchecking an option somewhere but this is still not good since it depends on a desktop environment.



So the question is: How do I disable automounting (for USB and Sata) and make a lock like Gparted (prior to 0.3.7) in Debian 8 without depending on a desktop environment or disabling a kernel-module ?










share|improve this question














I've managed to override any automounting in Debian 7 by opening GParted before connecting any USB drive or hotplugging Sata drives.



But now in Debian 8, this doesn't work anymore since Gparted went over 0.3.7. They were adding an .fdi file somewhere in the system but now use the hal locking system.



I saw that you can blacklist the usb-storage kernel module but this won't work for Sata drives. Some also says that I can disable automount by unchecking an option somewhere but this is still not good since it depends on a desktop environment.



So the question is: How do I disable automounting (for USB and Sata) and make a lock like Gparted (prior to 0.3.7) in Debian 8 without depending on a desktop environment or disabling a kernel-module ?







usb debian mount sata gparted






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Dec 8 '15 at 13:37









X.LINKX.LINK

1,30931229




1,30931229





bumped to the homepage by Community 17 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 17 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • I've switched to Kali Linux 2.0/2016.1, where you can add to the "grub_cmdline_linux" the following options: noautomount noswap (using Kali's implementation in their forensics mode)

    – X.LINK
    Jan 28 '16 at 16:31



















  • I've switched to Kali Linux 2.0/2016.1, where you can add to the "grub_cmdline_linux" the following options: noautomount noswap (using Kali's implementation in their forensics mode)

    – X.LINK
    Jan 28 '16 at 16:31

















I've switched to Kali Linux 2.0/2016.1, where you can add to the "grub_cmdline_linux" the following options: noautomount noswap (using Kali's implementation in their forensics mode)

– X.LINK
Jan 28 '16 at 16:31





I've switched to Kali Linux 2.0/2016.1, where you can add to the "grub_cmdline_linux" the following options: noautomount noswap (using Kali's implementation in their forensics mode)

– X.LINK
Jan 28 '16 at 16:31










1 Answer
1






active

oldest

votes


















0














This worked for me on ubuntu, so it's probably also good for bare debian:
http://www.tuxradar.com/answers/706






share|improve this answer



















  • 1





    Could you expand on that Assume linkrot.

    – Hennes
    Dec 8 '15 at 15:06











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
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',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1010606%2fhow-do-i-disable-automount-in-debian-8%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









0














This worked for me on ubuntu, so it's probably also good for bare debian:
http://www.tuxradar.com/answers/706






share|improve this answer



















  • 1





    Could you expand on that Assume linkrot.

    – Hennes
    Dec 8 '15 at 15:06
















0














This worked for me on ubuntu, so it's probably also good for bare debian:
http://www.tuxradar.com/answers/706






share|improve this answer



















  • 1





    Could you expand on that Assume linkrot.

    – Hennes
    Dec 8 '15 at 15:06














0












0








0







This worked for me on ubuntu, so it's probably also good for bare debian:
http://www.tuxradar.com/answers/706






share|improve this answer













This worked for me on ubuntu, so it's probably also good for bare debian:
http://www.tuxradar.com/answers/706







share|improve this answer












share|improve this answer



share|improve this answer










answered Dec 8 '15 at 15:04









Mark WallaceMark Wallace

562




562








  • 1





    Could you expand on that Assume linkrot.

    – Hennes
    Dec 8 '15 at 15:06














  • 1





    Could you expand on that Assume linkrot.

    – Hennes
    Dec 8 '15 at 15:06








1




1





Could you expand on that Assume linkrot.

– Hennes
Dec 8 '15 at 15:06





Could you expand on that Assume linkrot.

– Hennes
Dec 8 '15 at 15:06


















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • 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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1010606%2fhow-do-i-disable-automount-in-debian-8%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

Why not use the yoke to control yaw, as well as pitch and roll? Announcing the arrival of...

Couldn't open a raw socket. Error: Permission denied (13) (nmap)Is it possible to run networking commands...

VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...