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


Groups > linux.debian.user > #228385

Re: Mounting a USB device

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: Mounting a USB device
Date 2020-10-29 18:40 +0100
Message-ID <B5k41-lE-3@gated-at.bofh.it> (permalink)
References <B4zya-4VG-3@gated-at.bofh.it> <B4BTj-6wK-1@gated-at.bofh.it> <B4E4O-7Ls-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue 27 Oct 2020 at 20:43:52 (+0000), Mick Ab wrote:
> On 27 Oct 2020 18:20, "Kenneth Parker" <sea7kenp@gmail.com> wrote:
> > On Tue, Oct 27, 2020, 11:51 AM Mick Ab <recoverymail123890@gmail.com> wrote:
> >
> >> If a filesystem in /etc/fstab has a noauto entry, can that filesystem
> >> only be mounted manually using the mount command or
> >> is there any chance that it will be automatically mounted by
> >> usbmount ?
> >>
> >> The filesystem is used in a USB port.
> >
> > I have a dislike of Gnome, because it seems to mount  *every*  Filesystem
> > I have, even ones that I consider sensitive.
> >
> > But it doesn't occur until the GUI comes up.  (I set the SystemD Default
> > Target to multi-user and only type "systemctl start graphical.target" after
> > I finish my "Apt Ritual").
> >
> > Not sure what Gnome Package does this.  Any Gnome Experts here?
> >
> Thanks for the replies.
> 
> It seems to me that the situation is as follows :-
> 
> Filesystems in /etc/fstab which have the noauto option are not
> automatically mounted at boot time, so if these filesystems are already
> plugged into USB ports at boot time, they would subsequently have to be
> manually mounted in order to be used.
> 
> Filesystems which are plugged into a port after the system has been booted
> are automatically mounted.

I have no idea whether your automounter (presumably in use) detects
and mounts sticks when booting up completes, or even before. So is
your "It seems to me that the situation is" based on a gut feeling,
or on some observations?

As I've mentioned before, I don't have sticks mounted automatically,
but I do have udev create and destroy mounts points when sticks are
inserted and removed. In the syslog, I can see my udev scripts running
on a stick (left already inserted) before, say, setting up swap.
(PIDs in the high 200s for udev, in the mid 400s for swap.)

In view of your previous thread "Problem unplugging a USB drive",
is the situation you describe above satisfactory for you, or are
you indirectly asking how to change something?

With flaky ports like those described, it sounds as if Brian's
post would be worth trying out. My own query on that would be
how to implement this approach without populating fstab with
a list of specific devices' LABELs/UUIDs.

Cheers,
David.

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


Thread

Mounting a USB device Mick Ab <recoverymail123890@gmail.com> - 2020-10-27 17:00 +0100
  Re: Mounting a USB device David Wright <deblis@lionunicorn.co.uk> - 2020-10-27 19:10 +0100
  Re: Mounting a USB device Kenneth Parker <sea7kenp@gmail.com> - 2020-10-27 19:30 +0100
    Re: Mounting a USB device <tomas@tuxteam.de> - 2020-10-27 21:10 +0100
    Re: Mounting a USB device Mick Ab <recoverymail123890@gmail.com> - 2020-10-27 21:50 +0100
      Re: Mounting a USB device David Wright <deblis@lionunicorn.co.uk> - 2020-10-29 18:40 +0100
        Re: Mounting a USB device Mick Ab <recoverymail123890@gmail.com> - 2020-10-29 19:30 +0100
          Re: Mounting a USB device Mick Ab <recoverymail123890@gmail.com> - 2020-10-29 19:50 +0100
            Re: Mounting a USB device David Wright <deblis@lionunicorn.co.uk> - 2020-10-31 23:50 +0100
              Re: Mounting a USB device Mick Ab <recoverymail123890@gmail.com> - 2020-11-01 13:00 +0100
                Re: Mounting a USB device David <bouncingcats@gmail.com> - 2020-11-02 11:00 +0100
                Re: Mounting a USB device David <bouncingcats@gmail.com> - 2020-11-02 12:30 +0100
                Re: Mounting a USB device Mick Ab <recoverymail123890@gmail.com> - 2020-11-03 13:30 +0100
                Re: Mounting a USB device ellanios82 <ellanios82@gmail.com> - 2020-11-03 15:10 +0100
                Re: Mounting a USB device The Wanderer <wanderer@fastmail.fm> - 2020-11-03 15:20 +0100
                Re: Mounting a USB device Mick Ab <recoverymail123890@gmail.com> - 2020-11-03 17:20 +0100
                Re: Mounting a USB device Charles Curley <charlescurley@charlescurley.com> - 2020-11-03 18:10 +0100
                Re: Mounting a USB device Joe <joe@jretrading.com> - 2020-11-03 18:40 +0100
                Re: Mounting a USB device David Wright <deblis@lionunicorn.co.uk> - 2020-11-03 21:50 +0100
                Re: Mounting a USB device Joe <joe@jretrading.com> - 2020-11-04 00:40 +0100
                Re: Mounting a USB device David Wright <deblis@lionunicorn.co.uk> - 2020-11-04 03:00 +0100
                Local shared storage configuration Andrei POPESCU <andreimpopescu@gmail.com> - 2020-11-10 11:10 +0100
                Re: Local shared storage configuration Didar Hossain <didar@purlo.in> - 2020-11-11 06:30 +0100
                Re: Local shared storage configuration Andrei POPESCU <andreimpopescu@gmail.com> - 2020-11-11 13:40 +0100
                Re: Mounting a USB device Keith Bainbridge <ke1thozgroups@gmx.com> - 2020-11-04 02:00 +0100
  Re: Mounting a USB device Brian <ad44@cityscape.co.uk> - 2020-10-27 20:00 +0100
  Re: Mounting a USB device Nicolas George <george@nsup.org> - 2020-10-27 20:00 +0100
    Re: Mounting a USB device Nicolas George <george@nsup.org> - 2020-10-27 20:30 +0100
    Re: Mounting a USB device ghe2001 <ghe2001@pm.me> - 2020-10-27 20:30 +0100
      Re: Mounting a USB device Reco <recoverym4n@enotuniq.net> - 2020-10-27 20:30 +0100
  Re: Mounting a USB device ghe2001 <ghe2001@pm.me> - 2020-10-27 20:00 +0100
  Re: Mounting a USB device Cindy Sue Causey <butterflybytes@gmail.com> - 2020-10-27 20:10 +0100
  Re: Mounting a USB device Dominique Dumont <dominique.dumont@netc.fr> - 2020-10-29 16:10 +0100

csiph-web