<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Codigo Manso &#187; uuid</title>
	<atom:link href="http://www.codigomanso.com/es/tag/uuid/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.codigomanso.com</link>
	<description>Programación, informática y tecnología</description>
	<lastBuildDate>Sun, 21 Aug 2011 10:54:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Cómo averiguar el UUID de un disco o partición en Ubuntu</title>
		<link>http://www.codigomanso.com/es/2009/11/como-averiguar-el-uuid-de-un-disco-o-particion-en-ubuntu/</link>
		<comments>http://www.codigomanso.com/es/2009/11/como-averiguar-el-uuid-de-un-disco-o-particion-en-ubuntu/#comments</comments>
		<pubDate>Mon, 23 Nov 2009 15:33:06 +0000</pubDate>
		<dc:creator>Pau Sanchez</dc:creator>
				<category><![CDATA[Administracion de Servidores]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[useful commands]]></category>
		<category><![CDATA[uuid]]></category>

		<guid isPermaLink="false">http://www.codigomanso.com/es/?p=757</guid>
		<description><![CDATA[A veces puede resultar bastante útil, e incluso otras veces imprescindible, averiguar el UUID (Universally Unique Identifier &#8211; Identificador Universalmente Unico) de un disco o partición en Linux.
Últimamente, sin ir más lejos, en la configuración para montar las particiones de linux (el archivo /etc/fstab) aparece el UUID de la partición en vez de el device [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">A veces puede resultar bastante útil, e incluso otras veces imprescindible, averiguar el UUID (Universally Unique Identifier &#8211; Identificador Universalmente Unico) de un disco o partición en Linux.</p>
<p style="text-align: justify;">Últimamente, sin ir más lejos, en la configuración para montar las particiones de linux (el archivo /etc/fstab) aparece el UUID de la partición en vez de el device (/dev/hda1, /dev/sda1, &#8230;).</p>
<p style="text-align: justify;">En fin, sea por el motivo que sea, si quieres saber cual es el UUID de un determinado device, no tienes más que ejecutar el comando <strong>blkid</strong>, por ejemplo:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> blkid <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sda1
<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sda1: <span style="color: #007800;">UUID</span>=<span style="color: #ff0000;">&quot;8b6ec31c-1f41-49f3-82da-d2ab0f0fa312&quot;</span> <span style="color: #007800;">TYPE</span>=<span style="color: #ff0000;">&quot;ext3&quot;</span></pre></div></div>

<p style="text-align: justify;">Dicho sea de paso, también existe otro método para averiguar el UUID de una unidad. Si tenemos udev (creo que es este el que se encarga), se puede ir a <strong>/dev/disks/by-uuid/</strong> y hacer un ls. Por ejemplo:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">ls</span> <span style="color: #660033;">-l</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>disks<span style="color: #000000; font-weight: bold;">/</span>by-uuid<span style="color: #000000; font-weight: bold;">/</span>
lrwxrwxrwx <span style="color: #000000;">1</span> root root <span style="color: #000000;">10</span> <span style="color: #000000;">2009</span>-<span style="color: #000000;">11</span>-<span style="color: #000000;">19</span> 07:<span style="color: #000000;">56</span> 8b6ec31c-1f41-49f3-82da-d2ab0f0fa312 -<span style="color: #000000; font-weight: bold;">&gt;</span> ..<span style="color: #000000; font-weight: bold;">/</span>..<span style="color: #000000; font-weight: bold;">/</span>sda1
lrwxrwxrwx <span style="color: #000000;">1</span> root root <span style="color: #000000;">10</span> <span style="color: #000000;">2009</span>-<span style="color: #000000;">11</span>-<span style="color: #000000;">19</span> 07:<span style="color: #000000;">56</span> 626adc53-<span style="color: #000000;">3478</span>-4eb1-9f68-dc0b6f9308e7 -<span style="color: #000000; font-weight: bold;">&gt;</span> ..<span style="color: #000000; font-weight: bold;">/</span>..<span style="color: #000000; font-weight: bold;">/</span>sda2
lrwxrwxrwx <span style="color: #000000;">1</span> root root <span style="color: #000000;">10</span> <span style="color: #000000;">2009</span>-<span style="color: #000000;">11</span>-<span style="color: #000000;">19</span> 07:<span style="color: #000000;">56</span> 9cfc5c6d-f343-411e-ac59-31eee6b12a9b -<span style="color: #000000; font-weight: bold;">&gt;</span> ..<span style="color: #000000; font-weight: bold;">/</span>..<span style="color: #000000; font-weight: bold;">/</span>sda3</pre></div></div>

<p style="text-align: justify;">La ventaja de este último comando es que no necesitamos tener permisos de administrador.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.codigomanso.com/es/2009/11/como-averiguar-el-uuid-de-un-disco-o-particion-en-ubuntu/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
	</channel>
</rss>

