Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #176082
| From | Pascal Hambourg <pascal@plouf.fr.eu.org> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Problem adding lines to /etc/fstab |
| Date | 2016-12-29 23:10 +0100 |
| Message-ID | <sTR3z-3VT-17@gated-at.bofh.it> (permalink) |
| References | <sTLhv-8sX-5@gated-at.bofh.it> <sTPXQ-32D-19@gated-at.bofh.it> <sTQhb-3qn-25@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Le 29/12/2016 à 22:14, The Wanderer a écrit : > On 2016-12-29 at 15:59, Pascal Hambourg wrote: > >> Le 29/12/2016 à 16:53, Richard Owlett a écrit : >> >>> I added these two lines to /etc/fstab: >>> /dev/sda7 /media/sda7 ext2 users,rw 0 0 >>> /dev/sda8 /media/sda8 ext2 users,rw 0 0 >> >> Don't do that. Really. >> >> 1) Don't use drive or partition device names such as /dev/sda7. They are >> unreliable. Use persistent identifiers such as UUID or LABEL instead. > > How does that work if these are for removable devices (as I think from > past threads may well be the case here), Then you should use "noauto" so that the system does not try to mount a non-existent filesystem at startup. > and you may be plugging > half-a-dozen different devices into the same port at different times > (and want each one to be mounted to this same place)? You can use the symlinks in /dev/disk/by-path/ which names are based on the connection path of the device. > AFAIK, both UUID and LABEL are device- or FS-specific. If that's not the > case, I'd be interested to learn about it. UUID and LABEL are metadata bound to the contents (filesystem or whatever), not to the device. PARTUUID and PARTLABEL are bound to the partitions and usable if the partition scheme (such as GPT), kernel and libblkid support it. You can create several filesystems on separate drives with the same UUID or LABEL, but I would not recommend it.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Problem adding lines to /etc/fstab Richard Owlett <rowlett@cloud85.net> - 2016-12-29 17:00 +0100
Re: Problem adding lines to /etc/fstab Pascal Hambourg <pascal@plouf.fr.eu.org> - 2016-12-29 22:00 +0100
Re: Problem adding lines to /etc/fstab The Wanderer <wanderer@fastmail.fm> - 2016-12-29 22:20 +0100
Re: Problem adding lines to /etc/fstab Pascal Hambourg <pascal@plouf.fr.eu.org> - 2016-12-29 23:10 +0100
Re: Problem adding lines to /etc/fstab Richard Owlett <rowlett@cloud85.net> - 2016-12-30 12:20 +0100
Re: Problem adding lines to /etc/fstab Greg Wooledge <wooledg@eeg.ccf.org> - 2016-12-30 14:20 +0100
Re: Problem adding lines to /etc/fstab Richard Owlett <rowlett@cloud85.net> - 2016-12-30 17:20 +0100
Re: Problem adding lines to /etc/fstab Greg Wooledge <wooledg@eeg.ccf.org> - 2016-12-30 17:20 +0100
Re: Problem adding lines to /etc/fstab deloptes <deloptes@gmail.com> - 2016-12-30 18:00 +0100
Re: Problem adding lines to /etc/fstab Richard Owlett <rowlett@cloud85.net> - 2016-12-30 18:40 +0100
Re: Problem adding lines to /etc/fstab Greg Wooledge <wooledg@eeg.ccf.org> - 2016-12-30 18:40 +0100
Re: Problem adding lines to /etc/fstab Nicholas Geovanis <nickgeovanis@gmail.com> - 2016-12-30 19:00 +0100
Re: Problem adding lines to /etc/fstab Ben Caradoc-Davies <ben@transient.nz> - 2016-12-30 20:30 +0100
Re: Problem adding lines to /etc/fstab deloptes <deloptes@gmail.com> - 2016-12-30 21:00 +0100
Re: Problem adding lines to /etc/fstab Richard Owlett <rowlett@cloud85.net> - 2016-12-31 10:40 +0100
Re: Problem adding lines to /etc/fstab "John L. Ries" <jries@salford-systems.com> - 2016-12-30 19:20 +0100
Re: Problem adding lines to /etc/fstab "John L. Ries" <jries@salford-systems.com> - 2016-12-30 19:20 +0100
Re: Problem adding lines to /etc/fstab Richard Owlett <rowlett@cloud85.net> - 2016-12-30 12:20 +0100
csiph-web