You use tune2fs on the partition (not the disk).<br><br># tune2fs -l /dev/sda6 | grep UUID<br>Filesystem UUID:          [something here]<br><br><div class="gmail_quote">On Sat, Jan 16, 2010 at 10:39 AM, Charles M <span dir="ltr"><<a href="mailto:chaslinux@gmail.com">chaslinux@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Does anyone know how to add second drives to /etc/fstab by UUID method?<br>
<br>
How do I identify the UUID of /dev/sdb? Is there a tool that can be<br>
used to auto add the UUID entry to /etc/fstab?<br>
<br>
Cheers,<br>
<br>
Charles<br>
<br>
_______________________________________________<br>
<a href="http://kwlug-disc_kwlug.org" target="_blank">kwlug-disc_kwlug.org</a> mailing list<br>
<a href="http://kwlug-disc_kwlug.org" target="_blank">kwlug-disc_kwlug.org</a>@<a href="http://kwlug.org" target="_blank">kwlug.org</a><br>
<a href="http://astoria.ccjclearline.com/mailman/listinfo/kwlug-disc_kwlug.org" target="_blank">http://astoria.ccjclearline.com/mailman/listinfo/kwlug-disc_kwlug.org</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Khalid M. Baheyeldin<br><a href="http://2bits.com">2bits.com</a>, Inc.<br><a href="http://2bits.com">http://2bits.com</a><br>Drupal optimization, development, customization and consulting.<br>
Simplicity is prerequisite for reliability. --  Edsger W.Dijkstra<br>Simplicity is the ultimate sophistication. --   Leonardo da Vinci<br>