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


Groups > linux.debian.user > #228407

Re: Mounting a USB device

From Mick Ab <recoverymail123890@gmail.com>
Newsgroups linux.debian.user
Subject Re: Mounting a USB device
Date 2020-11-01 13:00 +0100
Message-ID <B6kbE-5Oo-3@gated-at.bofh.it> (permalink)
References (2 earlier) <B4E4O-7Ls-17@gated-at.bofh.it> <B5k41-lE-3@gated-at.bofh.it> <B5kQq-RG-5@gated-at.bofh.it> <B5l9M-Y9-9@gated-at.bofh.it> <B67R7-52b-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Many thanks for your email, David.

Apologies for any contradictory messages i have posted. My understanding of
the automatic mount of USB devices has been rapidly evolving.

I have now seen that people have had various problems with usbmount over
the years, so I can quite understand why it might not be in the  most
recent Debian distributions.

My plan is to update my distribution very soon, but first I need to do a
backup of the system to a USB portable hard drive (which uses NTFS).

I would like this backup to go as smoothly as possible.
On 31 Oct 2020 22:41, "David Wright" <deblis@lionunicorn.co.uk> wrote:

> On Thu 29 Oct 2020 at 18:40:53 (+0000), Mick Ab wrote:
> > I am fairly convinced that the USB 3 port previously mentioned has a
> loose
> > connection.
> >
> > It also seems to me that a FAT32 device such as a memory stick is
> > automatically mounted when inserted in a USB port while the system
> > is running, if such a device is not referenced in /etc/fstab.
>
> Call that paragraph ¶ 2.
>
> > What is not clear to me is what happens to an NTFS device such as a
> > portable drive when it is inserted in a USB port while the system is
> > running, if the device is not referenced in /etc/fstab.
> >
> > The following point is observed :-
> >
> > USB devices referenced in /etc/fstab are automatically mounted when the
> > system is rebooted, even though their entries include the noauto option
> > (the devices are already plugged in when a reboot is performed).
>
> As I thought, this observation contradicts the first thought expressed
> in your Tue, 27 Oct 2020 20:43:52 +0000 post (the last paragraph of
> quote below). I presume that although mounting is disallowed for   mount -a
> (by noauto), your automounter is not constrained in this way.
>
> > What happens to a USB device that is not referenced in /etc/fstab,
> > when it is plugged into a USB port while the system is running :-
> >
> > If the filesystem is FAT32 (e.g. a memory stick) will it always be
> > automatically mounted or will it always have to be manually mounted ?
>
> Isn't that just what you answered in ¶ 2 above?
>
> > If the filesystem is NTFS (e.g. a portable hard drive) will it always
> > be automatically mounted or will it always have to be manually mounted ?
> >
> > The automount system appears to be usbmount.
>
> I guess your answer lies there then. AFAICT usbmount hasn't been
> included in the last two stable distributions (stretch and buster).
> I've never used it. I assume there are others here for which this
> all works. (I've left it a day before replying.) I can't work out
> where your questions are leading, and whether you have a problem
> to solve (besides having flaky hardware).
>
> > On 29 Oct 2020 17:33, "David Wright" <deblis@lionunicorn.co.uk> wrote:
> > > On Tue 27 Oct 2020 at 20:43:52 (+0000), Mick Ab wrote:
> > > >
> > > > 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.
> > > >
>
> 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