Wow, each new release is richer than the previous one

Home Forums Community Wow, each new release is richer than the previous one

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #3921
    Mr Leslie
    Participant

    The subject line says it all.

    Mr P.
    Want to show you a few lines from my fstab. I wrote a utility to xref the fstab. (GPL)
    #
    # /etc/fstab
    # Created by anaconda on Thu Sep 29 01:17:13 2016
    #
    # Accessible filesystems, by reference, are maintained under ‘/dev/disk’
    # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
    #
    #<file system> <mount> <type> <options> <dmpPass> <xref> <label or uuid>
    UUID=da3d4352-99a1-48aa-a60c-016918c9a66d / xfs defaults 0 0 #/dev/sdc8 sdc8SlashCH

    ……

    UUID=c280160b-48e9-486c-a47e-41eff541ed3b swap swap defaults 0 0 #/dev/sdc10 sdc10swapCH

    At the tail end we see for example,….
    inserted header….<options> <dmpPass> <xref> <label or uuid>
    over the ….defaults 0 0 #/dev/sdc10 sdc10swapCH

    fstab is easy to eyeball and it tells me on which of my 6 disk partitions the UUID entry is located.

    Free if you are interested to have a copy (source in C) for whatever gpl disposition you choose.

    If you have UUID= then at the far right I show the label (I label my partitions).
    If instead of UUID= you have LABEL= then at the far right the xref would show the UUID for the LABEL.

    #3922
    Mr Leslie
    Participant
    #
    # /etc/fstab
    # Created by anaconda on Thu Sep 29 01:17:13 2016
    #
    # Accessible filesystems, by reference, are maintained under '/dev/disk'
    # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
    #
    #<file system>                              <mount>     <type>  <options> <dmpPass> <xref>      <label or uuid>
    UUID=da3d4352-99a1-48aa-a60c-016918c9a66d   /           xfs     defaults    0  0    #/dev/sdc8  sdc8SlashCH
    UUID=d32530f7-b82c-4fb8-b080-5568e3b83e96   /boot       xfs     defaults    0  0    #/dev/sdc7  sdc7bootCH
    UUID=417bbfa9-85cc-467e-9e12-380f1a5cadf1   /home       xfs     defaults    0  0    #/dev/sdc9  sdc9homeCH
    UUID=6e488205-8791-41c2-8043-5051f8d0b185   /scratch    ext4    defaults    1  2    #/dev/sdb2  sdb2scratch
    UUID=c280160b-48e9-486c-a47e-41eff541ed3b   swap        swap    defaults    0  0    #/dev/sdc10 sdc10swapCH
    [leslie@Chapeau24 LinuxStuff]$ 
    
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Comments are closed.