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


Groups > linux.debian.user > #178732

Disabling automount, and mounting/ unmounting the "old way"

From David Christensen <dpchrist@holgerdanske.com>
Newsgroups linux.debian.user
Subject Disabling automount, and mounting/ unmounting the "old way"
Date 2017-03-12 21:20 +0100
Message-ID <tki89-6tx-15@gated-at.bofh.it> (permalink)
References <tjTjr-65c-7@gated-at.bofh.it> <tk6JH-75l-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 03/11/2017 11:59 PM, Thomas Schmitt wrote:
> I am very happy that i disabled automounting on my system. Life becomes
> so clear and straightforward if one does it the old way.

I use Jesse and Xfce:

2017-03-12 12:42:20 dpchrist@jesse ~
$ cat /etc/debian_version; uname -a
8.7
Linux jesse 3.16.0-4-amd64 #1 SMP Debian 3.16.39-1+deb8u2 (2017-03-07) 
x86_64 GNU/Linux
2017-03-12 12:47:05 dpchrist@jesse ~

$ dpkg-query --list xfce4
Desired=Unknown/Install/Remove/Purge/Hold
| 
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-=================================
ii  xfce4          4.10.1       all          Meta-package for the Xfce 
Lightwe


I believe Xfce came with automounting disabled OOTB.  I can adjust it 
via Application Menu -> File Manager -> (Thunar) Edit -> Preferences -> 
Advanced -> Volume Management -> Configure -> (Removable Drives and 
Media) Storage -> Removable Storage -> Mount removable drives when 
hot-plugged and Mount removable media when inserted.


When I insert a USB drive or optical disk, an icon appears on the 
desktop and in the side (left) pane of Thunar.  Right-clicking either 
provides a pop-up menu with a "mount" option.  Once mounted, 
right-clicking either provides a pop-up menu with "unmount" and/or 
"eject" options.


I typically use dmesg(1) with USB drives to determine which device file 
(/dev/*) to use with mount(8).  But for optical discs, dmesg(1) doesn't 
provide any clues.


lsblk(8) lists connected USB drives, unmounted or mounted, and lists the 
optical drive (sr0), empty, unmounted, or mounted.  The SIZE, TYPE, 
and/or MOUNTPOINT fields appear to when a file system is mounted.  When 
a USB device is removed, lsblk(8) no longer lists it.  But when an 
optical disc is ejected, lsblk(8) continues to display the unmounted 
information.


blkid(8) against a device file seems to provide information that does 
not change with mounting or unmounting.


Could you please describe how you mount/unmount devices and file systems 
"the old way"?


David

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


Thread

Re: Some help with dd backing up into an iso "Thomas Schmitt" <scdbackup@gmx.net> - 2017-03-09 18:00 +0100
  Re: Some help with dd backing up into an iso | now xorriso help GiaThnYgeia <GiaThnYgeia@openmailbox.org> - 2017-03-09 19:30 +0100
    Re: Some help with dd backing up into an iso "Thomas Schmitt" <scdbackup@gmx.net> - 2017-03-09 19:50 +0100
      Re: Some help with dd backing up into an iso GiaThnYgeia <GiaThnYgeia@openmailbox.org> - 2017-03-11 18:50 +0100
        Re: Some help with dd backing up into an iso "Thomas Schmitt" <scdbackup@gmx.net> - 2017-03-12 09:10 +0100
          Re: Some help with dd backing up into an iso GiaThnYgeia <GiaThnYgeia@openmailbox.org> - 2017-03-12 14:20 +0100
            Re: Some help with dd backing up into an iso "Thomas Schmitt" <scdbackup@gmx.net> - 2017-03-12 15:10 +0100
              Re: Some help with dd backing up into an iso GiaThnYgeia <GiaThnYgeia@openmailbox.org> - 2017-03-13 01:00 +0100
                Re: Some help with dd backing up into an iso David Wright <deblis@lionunicorn.co.uk> - 2017-03-13 04:30 +0100
                Re: Some help with dd backing up into an iso "Thomas Schmitt" <scdbackup@gmx.net> - 2017-03-13 09:20 +0100
                Re: Some help with dd backing up into an iso GiaThnYgeia <GiaThnYgeia@openmailbox.org> - 2017-03-13 13:20 +0100
                Re: Some help with dd backing up into an iso Greg Wooledge <wooledg@eeg.ccf.org> - 2017-03-13 14:00 +0100
                Re: Some help with dd backing up into an iso "Thomas Schmitt" <scdbackup@gmx.net> - 2017-03-13 14:30 +0100
                Re: Some help with dd backing up into an iso GiaThnYgeia <GiaThnYgeia@openmailbox.org> - 2017-03-13 14:10 +0100
                Re: Some help with dd backing up into an iso "Thomas Schmitt" <scdbackup@gmx.net> - 2017-03-13 14:40 +0100
                Re: Some help with dd backing up into an iso "Thomas Schmitt" <scdbackup@gmx.net> - 2017-03-13 17:50 +0100
                Re: Some help with dd backing up into an iso GiaThnYgeia <GiaThnYgeia@openmailbox.org> - 2017-03-13 19:40 +0100
                Re: Some help with dd backing up into an iso "Thomas Schmitt" <scdbackup@gmx.net> - 2017-03-13 21:10 +0100
          Disabling automount, and mounting/ unmounting the "old way" David Christensen <dpchrist@holgerdanske.com> - 2017-03-12 21:20 +0100
            Re: Disabling automount, and mounting/ unmounting the "old way" "Thomas Schmitt" <scdbackup@gmx.net> - 2017-03-12 22:00 +0100

csiph-web