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


Groups > linux.debian.user > #186102

Re: USB external hard drive -- mounting

From "James H. H. Lampert" <jamesl@touchtonecorp.com>
Newsgroups linux.debian.user
Subject Re: USB external hard drive -- mounting
Date 2017-08-29 02:20 +0200
Message-ID <ujCq6-3Ti-3@gated-at.bofh.it> (permalink)
References <ujzLB-2eP-35@gated-at.bofh.it> <ujBkm-3fm-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 8/28/17, 4:07 PM, Ben Caradoc-Davies wrote:

> I am not sure about the background automounting, but I get consistent
> mount points and mount settings with entries like these in /etc/fstab:
>
> LABEL=Backup            /media/backup   ext4
> noatime,noauto,user,errors=remount-ro                       0   0
. . .
> The above lines give me fixed mount points based on filesystem labels
> (LABEL). . .

That got me started on an idea, even before I undertake anything with 
fstab. Thanks, Mr. Caradoc-Davies.

First, I was able to relabel the drive as a suitably generic 
"ExternalHD," and when I unplugged it and plugged it back in, it mounted 
(albeit still under a user-specific, auto-created mount point) as that 
label.

With the drive automounted, I did a "umount" on it, created a mount 
point for it (directly in /media, and available to everybody, for now, 
at least), and then did a "mount" at the new mount point. It mounted 
successfully in that user-neutral location, and is available to any 
signed-on user.

Of course, if I then unmount it, pull the plug, and plug it back in, 
without an fstab entry, it auto-mounts to a created mount point in the 
user's subdirectory of /media, but at least the mount point I created 
doesn't go bye-bye, so that's a start.

But I still need all the help I can get understanding this.

--
JHHL

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


Thread

USB external hard drive -- mounting "James H. H. Lampert" <jamesl@touchtonecorp.com> - 2017-08-28 23:30 +0200
  Re: USB external hard drive -- mounting Ben Caradoc-Davies <ben@transient.nz> - 2017-08-29 01:10 +0200
    Re: USB external hard drive -- mounting "James H. H. Lampert" <jamesl@touchtonecorp.com> - 2017-08-29 02:20 +0200
      Re: USB external hard drive -- mounting Ben Caradoc-Davies <ben@transient.nz> - 2017-08-29 03:40 +0200
        Re: USB external hard drive -- mounting Frank <zuiderduin@gmx.com> - 2017-08-29 13:00 +0200
          Re: USB external hard drive -- mounting "James H. H. Lampert" <jamesl@touchtonecorp.com> - 2017-08-29 20:10 +0200
            Re: USB external hard drive -- mounting Frank <zuiderduin@gmx.com> - 2017-08-29 21:40 +0200
    Re: USB external hard drive -- mounting Mario Castelán Castro <marioxcc.MT@yandex.com> - 2017-08-29 04:40 +0200
  Re: USB external hard drive -- mounting Dominique Dumont <dod38fr@gmail.com> - 2017-08-29 13:30 +0200
    Re: USB external hard drive -- mounting "James H. H. Lampert" <jamesl@touchtonecorp.com> - 2017-08-29 20:50 +0200
      Re: USB external hard drive -- mounting Dominique Dumont <dod38fr@gmail.com> - 2017-08-29 21:10 +0200
        Re: USB external hard drive -- mounting "James H. H. Lampert" <jamesl@touchtonecorp.com> - 2017-08-29 21:20 +0200
        Re: USB external hard drive -- mounting "James H. H. Lampert" <jamesl@touchtonecorp.com> - 2017-08-30 00:00 +0200
    Re: USB external hard drive -- mounting Celejar <celejar@gmail.com> - 2017-09-03 04:00 +0200

csiph-web