Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #186103
| From | Ben Caradoc-Davies <ben@transient.nz> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: USB external hard drive -- mounting |
| Date | 2017-08-29 03:40 +0200 |
| Message-ID | <ujDFv-4xu-5@gated-at.bofh.it> (permalink) |
| References | <ujzLB-2eP-35@gated-at.bofh.it> <ujBkm-3fm-5@gated-at.bofh.it> <ujCq6-3Ti-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 29/08/17 12:19, James H. H. Lampert wrote: > 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. Permissions are likely to be main problem for multiuser access. User-private groups, the sgid bit, and careful selection of umask may help. > 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. Good. This is the expected behaviour for media with labels. I have not tried this but a udev rule might be your next step: https://www.axllent.org/docs/view/auto-mounting-usb-storage/ There is also a thing called udisks, but I have not used that either. Kind regards, -- Ben Caradoc-Davies <ben@transient.nz> Director Transient Software Limited <http://transient.nz/> New Zealand
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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