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


Groups > linux.debian.user > #209973

Re: Intended question - was {Re: Forgot name of Debian "configuration" {wrong word?} file}

From Felix Miata <mrmazda@earthlink.net>
Newsgroups linux.debian.user
Subject Re: Intended question - was {Re: Forgot name of Debian "configuration" {wrong word?} file}
Date 2019-06-17 05:00 +0200
Message-ID <y9Q2d-2se-5@gated-at.bofh.it> (permalink)
References <y8Sps-8vL-9@gated-at.bofh.it> <y9gL7-6j0-3@gated-at.bofh.it> <y9FTb-4Gd-5@gated-at.bofh.it> <y9IR4-6t7-5@gated-at.bofh.it>
Organization less than infinite

Show all headers | View raw


Richard Owlett composed on 2019-06-16 14:17 (UTC-0500):

> David Wright wrote:

>> or, even easier,
 
>>    Use a LABEL to indicate the swap partition in all your own
...> I can't parse that.
 
I recommend learning to use LABELs on all your filesystems. They are massively
easier for humans to work with than UUIDs. You get to assign them in accordance
with how your brain functions, e.g.:

# <file system> 	<mount point>   <type>  <options>			<dump> <pass>
LABEL=m12P01esp 	/boot/efi	vfat	codepage=437			0 0
LABEL=m12p02swap		swap	swap	defaults			0 0
LABEL=m12p03usrlcl	/usr/local	ext4	noatime,data=ordered		0 2
LABEL=m12p04home	/home		ext4	noatime,acl,user_xattr,data=ordered 0 2
LABEL=m12p05stw		/disks/stw	ext4	noatime,acl,user_xattr,nofail	0 0
LABEL=m12p06s150	/disks/s150	ext4	noatime,acl,user_xattr,nofail	0 0
LABEL=m12p07s151	/disks/s151	ext4	noatime,acl,user_xattr,nofail	0 0
LABEL=m12p08deb10		/	ext4	noatime,errors=remount-ro	0 1
LABEL=m12p09Ubionic	/disks/buntu	ext4	noatime,acl,user_xattr,nofail	0 0
LABEL=m12p10mint19	/disks/mint	ext4	noatime,acl,user_xattr,nofail	0 0

In case you're wondering about the above naming logic, m12 is simply the last
three characters of the disk's serial number, something to reduce possibility
of label duplication when swapping disks around, or cloning.

Labeling makes output lines in blkid longer, but that enables making parsing much
easier for most human brains. Labels can be especially helpful with multiboot in
constructing custom boot stanzas much shorter and more easily parsable compared
to those generated by grub-mkconfig, e.g.:

menuentry "Debian 10 Buster" {
	search --no-floppy --set=root --hint-baremetal=ahci0,gpt8 --label m12p08deb10
	linux	/vmlinuz root=LABEL=m12p08deb10 noresume
	initrd	/initrd.img
}

The exercise might even make the string /etc/fstab more memorable. :-D
-- 
Evolution as taught in public schools is religion, not science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/

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


Thread

Forgot name of Debian "configuration" {wrong word?} file Richard Owlett <rowlett@cloud85.net> - 2019-06-14 13:20 +0200
  Re: Forgot name of Debian "configuration" {wrong word?} file john doe <johndoe65534@mail.com> - 2019-06-14 13:30 +0200
    Re: Forgot name of Debian "configuration" {wrong word?} file Richard Owlett <rowlett@cloud85.net> - 2019-06-14 13:50 +0200
  Re: Forgot name of Debian "configuration" {wrong word?} file Erwan David <erwan@rail.eu.org> - 2019-06-14 13:30 +0200
  Re: Forgot name of Debian "configuration" {wrong word?} file Erik Christiansen <dvalin@internode.on.net> - 2019-06-14 13:30 +0200
    Re: Forgot name of Debian "configuration" {wrong word?} file Richard Owlett <rowlett@cloud85.net> - 2019-06-14 14:00 +0200
      Re: Forgot name of Debian "configuration" {wrong word?} file Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-06-14 19:50 +0200
  Re: Forgot name of Debian "configuration" {wrong word?} file Jonas Smedegaard <jonas@jones.dk> - 2019-06-14 13:30 +0200
  Re: Forgot name of Debian "configuration" {wrong word?} file songbird <songbird@anthive.com> - 2019-06-14 14:40 +0200
  Re: Forgot name of Debian "configuration" {wrong word?} file Elimar Riesebieter <riesebie@lxtec.de> - 2019-06-14 18:10 +0200
  Re: Forgot name of Debian "configuration" {wrong word?} file Felix Miata <mrmazda@earthlink.net> - 2019-06-14 20:20 +0200
  Intended question - was {Re: Forgot name of Debian "configuration"  {wrong word?} file} Richard Owlett <rowlett@cloud85.net> - 2019-06-15 15:20 +0200
    Re: Intended question - was {Re: Forgot name of Debian  "configuration" {wrong word?} file} Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-06-15 16:30 +0200
      Re: Intended question Felix Miata <mrmazda@earthlink.net> - 2019-06-15 21:20 +0200
        Re: Intended question Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-06-15 21:30 +0200
      Re: Intended question - was {Re: Forgot name of Debian  "configuration" {wrong word?} file} Richard Owlett <rowlett@cloud85.net> - 2019-06-15 21:30 +0200
    Re: Intended question - was {Re: Forgot name of Debian  "configuration" {wrong word?} file} David Wright <deblis@lionunicorn.co.uk> - 2019-06-16 18:10 +0200
      Re: Intended question - was {Re: Forgot name of Debian  "configuration" {wrong word?} file} Richard Owlett <rowlett@cloud85.net> - 2019-06-16 21:20 +0200
        Re: Intended question - was {Re: Forgot name of Debian  "configuration" {wrong word?} file} john doe <johndoe65534@mail.com> - 2019-06-16 21:40 +0200
        Re: Intended question - was {Re: Forgot name of Debian  "configuration" {wrong word?} file} Nicholas Geovanis <nickgeovanis@gmail.com> - 2019-06-17 00:30 +0200
        Re: Intended question - was {Re: Forgot name of Debian  "configuration" {wrong word?} file} David Wright <deblis@lionunicorn.co.uk> - 2019-06-17 04:10 +0200
          The use of VMs in experimentation schenarios (Was: Re: Intended          question - was...) Linux-Fan <Ma_Sys.ma@web.de> - 2019-06-17 23:00 +0200
            Re: The use of VMs in experimentation schenarios (Was: Re: Intended  question - was...) Nicholas Geovanis <nickgeovanis@gmail.com> - 2019-06-17 23:10 +0200
          Re: Intended question - was {Re: Forgot name of Debian  "configuration" {wrong word?} file} Nicholas Geovanis <nickgeovanis@gmail.com> - 2019-06-17 23:50 +0200
        Re: Intended question - was {Re: Forgot name of Debian  "configuration" {wrong word?} file} Felix Miata <mrmazda@earthlink.net> - 2019-06-17 05:00 +0200
          Re: Intended question - was {Re: Forgot name of Debian  "configuration" {wrong word?} file} Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-06-17 20:40 +0200
          Re: Intended question - was {Re: Forgot name of Debian  "configuration" {wrong word?} file} David Wright <deblis@lionunicorn.co.uk> - 2019-06-18 18:20 +0200
            Re: Intended question Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-06-20 20:10 +0200
              Re: Intended question David Wright <deblis@lionunicorn.co.uk> - 2019-06-21 04:40 +0200
  Bonus answers - was [Re: Forgot name of Debian "configuration" {wrong  word?} file] Richard Owlett <rowlett@cloud85.net> - 2019-06-15 15:40 +0200
    Re: Bonus answers - was [Re: Forgot name of Debian "configuration"  {wrong word?} file] songbird <songbird@anthive.com> - 2019-06-15 22:50 +0200
      Re: Bonus answers - was [Re: Forgot name of Debian "configuration"  {wrong word?} file] Richard Owlett <rowlett@cloud85.net> - 2019-06-16 11:50 +0200
    Re: Bonus answers - was [Re: Forgot name of Debian "configuration" {wrong word?} file] Jonas Smedegaard <jonas@jones.dk> - 2019-06-16 13:30 +0200
    Re: Bonus answers - was [Re: Forgot name of Debian "configuration"  {wrong word?} file] Dan Ritter <dsr@randomstring.org> - 2019-06-17 15:20 +0200

csiph-web