Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #158332

Re: How to disable automatic mounting of CDROM?

From Richard Owlett <rowlett@cloud85.net>
Newsgroups linux.debian.user
Subject Re: How to disable automatic mounting of CDROM?
Date 2015-09-27 00:20 +0200
Message-ID <qd5YZ-4Gv-3@gated-at.bofh.it> (permalink)
References <qcYuu-2mn-15@gated-at.bofh.it> <qcZAe-3T8-13@gated-at.bofh.it> <qd0wi-5ew-13@gated-at.bofh.it> <qd3DQ-1aw-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Brian wrote:
> On Sat 26 Sep 2015 at 11:27:46 -0500, Richard Owlett wrote:
>
>> Brian wrote:
>>> On Sat 26 Sep 2015 at 09:13:27 -0500, Richard Owlett wrote:
>>>
>>>> I'm trying to troubleshoot a problem.
>>>> That Jessie (and IIRC Squeeze) automatically mount the cdrom drive every
>>>> time the drawer is closed is a nuisance requiring to manually run umount
>>>> before I can proceed.
>>>>
>>>> /etc/fstab has noauto under options.
>>>
>>> Probably nothing to do with your problem. From fstab(5)
>>>
>>>    noauto do not mount when "mount -a" is given (e.g., at boot time)
>>>
>>>> Where else should I look.
>>>> I would prefer to disable on a per session basis.
>>>> Total disabling is acceptable.
>>>
>>> Automounting is usually handled by the file manager of whatever DE you
>>> are using.
>>>
>>
>> I'm using Debian 8.0 with Mate as DE. There have been no updates installed
>> as internet is not physically available to that machine.
>
> Updates wouldn't matter because they would not (or should not) alter
> such a fundamental process.
>
>> I went to
>> Applications->System Tools->Caja then to
>> Edit->Preferences which displayed "File Management Preferences"
>> chose Media
>>    selected "Never prompt or start program on media insertion"
>>    deselected "Browse media when inserted"
>
> Very useful. I think the deselection just stops the CD's contents being
> displayed when the CD tray is closed and doesn't affect automounting.
>
>> It still mounts everything :<
>
> I see what you mean.
>
> Try
>
>    gsettings set org.mate.media-handling automount false
>

"apparently" works
*NOTE BENE* the quotation marks
I ran one DVD
am now running a second

HOWEVER I suspect I've made system wide changes without being 
asked for root permission

*ALSO* it affected BOTH flash drives and CDs

http://manpages.debian.org/cgi-bin/man.cgi?query=gsettings+&apropos=0&sektion=0&manpath=Debian+8+jessie&format=html&locale=en
*NOT* informative

It also does not address pre-systemd

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How to disable automatic mounting of CDROM? Richard Owlett <rowlett@cloud85.net> - 2015-09-26 16:20 +0200
  Re: How to disable automatic mounting of CDROM? Brian <ad44@cityscape.co.uk> - 2015-09-26 17:30 +0200
    Re: How to disable automatic mounting of CDROM? Richard Owlett <rowlett@cloud85.net> - 2015-09-26 18:30 +0200
      Re: How to disable automatic mounting of CDROM? rlharris@oplink.net - 2015-09-26 20:30 +0200
      Re: How to disable automatic mounting of CDROM? Brian <ad44@cityscape.co.uk> - 2015-09-26 21:50 +0200
        Re: How to disable automatic mounting of CDROM? Richard Owlett <rowlett@cloud85.net> - 2015-09-27 00:20 +0200
          Re: How to disable automatic mounting of CDROM? Brian <ad44@cityscape.co.uk> - 2015-09-27 13:30 +0200
            Re: How to disable automatic mounting of CDROM? Richard Owlett <rowlett@cloud85.net> - 2015-10-04 16:50 +0200
              Re: How to disable automatic mounting of CDROM? Lisi Reisz <lisi.reisz@gmail.com> - 2015-10-04 17:10 +0200
                Re: How to disable automatic mounting of CDROM? Richard Owlett <rowlett@cloud85.net> - 2015-10-04 17:20 +0200
                Re: How to disable automatic mounting of CDROM? Lisi Reisz <lisi.reisz@gmail.com> - 2015-10-04 17:50 +0200
                Re: How to disable automatic mounting of CDROM? Richard Owlett <rowlett@cloud85.net> - 2015-10-04 18:10 +0200

csiph-web