<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Use blkid's as they are specific to a
      drive/Partition, else one can mess up when<br>
      changes in the configuration occur.The multiple disk environment
      is the reason<br>
      why blkid's are used, though names still work (sdXX etc).<br>
      <br>
      <br>
      <br>
      <br>
      On 04.01.2013 20:52, Truhn, Chad wrote:<br>
    </div>
    <blockquote
      cite="mid:8D8992C91E495A4FBD67801BAD24175D6529@UTSEXMB1.UIC.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
      <div style="direction: ltr;font-family: Tahoma;color:
        #000000;font-size: 10pt;">I would say "It depends".  I am not an
        expert here, just my own opinion from my experiences.<br>
        <br>
        The benefit of using the label is that you are not 'hard coding'
        the system to mount a disk at a specified location or can be
        used as an alias of sorts.  Using a label can be more flexible
        in dynamic environments where things can change.<br>
        <br>
        For example: <br>
        <br>
        There could be an environment where USB storage is randomly
        inserted in the system and rather than have the user's work
        through fdisk and decide which drive is which, label each
        partition with a label and have them mount it that way. 
        <br>
        <br>
        I have seen FC attached drives from a SAN go a bit crazy with
        which device name they show up as that day (sdX, sdY, sdZ) due
        to the order they were loaded in and labels can also help in
        that scenario (though that is just a workaround to the 'real'
        issue).<br>
        <br>
        If you are on a desktop system and don't notice any problems I
        would say that you can use whatever your heart desires.  I'm
        interested to hear if anyone else has other things to say as
        well since I have never really had a reason to use blkid.<br>
        <br>
        <br>
        Chad<br>
        <br>
        <div style="font-family: Times New Roman; color: rgb(0, 0, 0);
          font-size: 16px;">
          <hr tabindex="-1">
          <div style="direction: ltr;" id="divRpF832339"><font
              color="#000000" face="Tahoma" size="2"><b>From:</b>
              <a class="moz-txt-link-abbreviated" href="mailto:redhat-sysadmin-list-bounces@redhat.com">redhat-sysadmin-list-bounces@redhat.com</a>
              [<a class="moz-txt-link-abbreviated" href="mailto:redhat-sysadmin-list-bounces@redhat.com">redhat-sysadmin-list-bounces@redhat.com</a>] on behalf of
              Clift, Tom CIV NSWCDD, K55 [<a class="moz-txt-link-abbreviated" href="mailto:robert.clift@navy.mil">robert.clift@navy.mil</a>]<br>
              <b>Sent:</b> Friday, January 04, 2013 2:22 PM<br>
              <b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:redhat-sysadmin-list@redhat.com">redhat-sysadmin-list@redhat.com</a><br>
              <b>Subject:</b> adding to fstab<br>
            </font><br>
          </div>
          <div>
            <div><font color="#000000" face="Arial" size="2"> 
                <div dir="ltr" id="idOWAReplyText57782">
                  <div dir="ltr">All, I have created a new partition on
                    a spare drive and want to add it to the fstab. I
                    basically see three(3) different ways to do it. All
                    work but what is the preferred way.</div>
                  <div dir="ltr"> </div>
                  <div dir="ltr">1. Use Blkid</div>
                  <div dir="ltr">2. Use Label</div>
                  <div dir="ltr">3. Use physical device (/dev/sdb1)</div>
                  <div dir="ltr"> </div>
                  <div dir="ltr">All seem to work fine.Any preference?</div>
                </div>
              </font></div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">--
redhat-sysadmin-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:redhat-sysadmin-list@redhat.com">redhat-sysadmin-list@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list">https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list</a></pre>
    </blockquote>
    <br>
  </body>
</html>