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


Groups > linux.debian.user > #206054

Re: User rw Permissions on New Hard Drive

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: User rw Permissions on New Hard Drive
Date 2019-03-07 20:30 +0100
Message-ID <xz6Sl-5Nd-7@gated-at.bofh.it> (permalink)
References <xwAMV-LG-5@gated-at.bofh.it> <xz2lI-2TO-7@gated-at.bofh.it> <xz2OJ-3k9-3@gated-at.bofh.it> <xz4Qx-4y6-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu 07 Mar 2019 at 09:59:43 (-0700), Cousin Stanley wrote:
> Michael Stone wrote:
> > On Thu, Mar 07, 2019 at 07:11:36AM -0700, Cousin Stanley wrote:
> >>Stephen P. Molnar wrote:
> >>> ....
> >>> and my fstab is:
> >>>
> >>> # /etc/fstab: static file system information.
> >>> ....
> >>
> >>  I've found that labeling my disk partitions
> >>  and using  /dev/disk/by-label/xyzzy  lines
> >>  in the  /etc/fstab  file seems to be much easier
> >>  for my own small brain to comprehend.
> > 
> > If you want to use labels, it seems a lot more clear 
> > to use  LABEL=  rather than /dev/disk/by-label/
> 
>   I am aware of the  LABEL=  keyword for the disk labels
>   in the  /etc/fstab  file and would agree that
>   their use would be slightly more concise
>   and save a few key strokes.
> 
>   However, in my own mind not necessarily more clear
>   as  /dev/disk/by-label  shows me exactly
>   what sort of label is being referenced
>   and provides a reminder that I can check them
>   via  ls -Ahl /dev/disk/by-label .
> 
>   Taking a line from Tim Peters' Zen of Python ....
> 
>     Explicit is better than implicit

I prefer to populate fstab with canonical information that actually
belongs to the filesystems that are to be mounted. A filesystem
that has a label, has that label regardless of any OS. It's real,
defined in the filesystem's documentation.

All that stuff in /dev/disk/ is just an ephemeral bunch of
convenient symbolic links, presumably conjured up by udev or
somesuch, if not the linux kernel.

I'm not clear about which other sort of label might be referenced
by LABEL=.

Cheers,
David.

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


Thread

User rw Permissions on New Hard Drive "Stephen P. Molnar" <s.molnar@sbcglobal.net> - 2019-02-28 21:50 +0100
  Re: User rw Permissions on New Hard Drive Dekks Herton <dekkzz78@gmail.com> - 2019-03-01 02:00 +0100
  Re: User rw Permissions on New Hard Drive David Wright <deblis@lionunicorn.co.uk> - 2019-03-01 03:30 +0100
    Re: User rw Permissions on New Hard Drive Felix Miata <mrmazda@earthlink.net> - 2019-03-01 04:50 +0100
      Re: User rw Permissions on New Hard Drive Cindy-Sue Causey <butterflybytes@gmail.com> - 2019-03-01 07:40 +0100
        Re: string "defaults" in fstab options columns (was: User rw  Permissions on New Hard Drive) Felix Miata <mrmazda@earthlink.net> - 2019-03-01 09:00 +0100
          Re: string "defaults" in fstab options columns (was: User rw  Permissions on New Hard Drive) David Wright <deblis@lionunicorn.co.uk> - 2019-03-01 18:00 +0100
            Re: string "defaults" in fstab options columns Felix Miata <mrmazda@earthlink.net> - 2019-03-01 19:30 +0100
        Re: User rw Permissions on New Hard Drive David Wright <deblis@lionunicorn.co.uk> - 2019-03-01 18:00 +0100
          Re: User rw Permissions on New Hard Drive Greg Wooledge <wooledg@eeg.ccf.org> - 2019-03-01 18:10 +0100
            Re: User rw Permissions on New Hard Drive David Wright <deblis@lionunicorn.co.uk> - 2019-03-01 18:40 +0100
    Re: User rw Permissions on New Hard Drive Dekks Herton <dekkzz78@gmail.com> - 2019-03-01 08:40 +0100
      Re: User rw Permissions on New Hard Drive Michael Stone <mstone@debian.org> - 2019-03-01 15:40 +0100
        Re: User rw Permissions on New Hard Drive Stefan Monnier <monnier@iro.umontreal.ca> - 2019-03-01 18:50 +0100
          Re: User rw Permissions on New Hard Drive Reco <recoverym4n@enotuniq.net> - 2019-03-01 19:10 +0100
      Re: User rw Permissions on New Hard Drive David Wright <deblis@lionunicorn.co.uk> - 2019-03-01 18:20 +0100
    Re: User rw Permissions on New Hard Drive "Stephen P. Molnar" <s.molnar@sbcglobal.net> - 2019-03-05 15:20 +0100
      Re: User rw Permissions on New Hard Drive Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-03-05 20:20 +0100
      Re: User rw Permissions on New Hard Drive "Stephen P. Molnar" <s.molnar@sbcglobal.net> - 2019-03-06 23:50 +0100
  Re: User rw Permissions on New Hard Drive Cousin Stanley <cousinstanley@gmail.com> - 2019-03-07 15:40 +0100
    Re: User rw Permissions on New Hard Drive Michael Stone <mstone@debian.org> - 2019-03-07 16:10 +0100
      Re: User rw Permissions on New Hard Drive Cousin Stanley <cousinstanley@gmail.com> - 2019-03-07 18:20 +0100
        Re: User rw Permissions on New Hard Drive Michael Stone <mstone@debian.org> - 2019-03-07 19:10 +0100
        Re: User rw Permissions on New Hard Drive David Wright <deblis@lionunicorn.co.uk> - 2019-03-07 20:30 +0100
          Re: User rw Permissions on New Hard Drive Cousin Stanley <cousinstanley@gmail.com> - 2019-03-07 22:10 +0100
            Re: User rw Permissions on New Hard Drive Michael Stone <mstone@debian.org> - 2019-03-07 22:30 +0100
              Re: User rw Permissions on New Hard Drive Cousin Stanley <cousinstanley@gmail.com> - 2019-03-08 01:30 +0100
            Re: User rw Permissions on New Hard Drive David Wright <deblis@lionunicorn.co.uk> - 2019-03-08 03:20 +0100
              Re: User rw Permissions on New Hard Drive Cousin Stanley <cousinstanley@gmail.com> - 2019-03-08 07:10 +0100
          Re: User rw Permissions on New Hard Drive Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-03-07 23:20 +0100
            Re: User rw Permissions on New Hard Drive David Wright <deblis@lionunicorn.co.uk> - 2019-03-08 04:20 +0100
              Re: User rw Permissions on New Hard Drive Greg Wooledge <wooledg@eeg.ccf.org> - 2019-03-08 14:30 +0100
                Re: User rw Permissions on New Hard Drive David Wright <deblis@lionunicorn.co.uk> - 2019-03-09 05:30 +0100
              Re: User rw Permissions on New Hard Drive Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-03-09 20:40 +0100
                Re: User rw Permissions on New Hard Drive David Wright <deblis@lionunicorn.co.uk> - 2019-03-11 19:50 +0100
                Re: User rw Permissions on New Hard Drive Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-03-16 10:50 +0100
                Re: User rw Permissions on New Hard Drive David Wright <deblis@lionunicorn.co.uk> - 2019-03-17 16:30 +0100
    Re: User rw Permissions on New Hard Drive Felix Miata <mrmazda@earthlink.net> - 2019-03-07 18:20 +0100

csiph-web