On Tue, Aug 02, 2011 at 10:12:33AM +0800, Andrew Lowe wrote:
> Greetings all,
>       I'm probably in the situation where I can't see the wood for the trees 
> so a bit of help would be appreciated. I've decided to go the LABEL 
> route in fstab and have set the labels on my partitions a few days ago. 
> I now want to update fstab but can't remember the names. I can't find a 
> command that will list the partitions and the names I've given them. I'm 
> sure fdisk does not list them when I do just "fdisk" at the command 
> prompt, but then again as I said above, I think I'm in the wood/forest 
> mode at the moment. Any idea on the command?
> 
>       Any thoughts greatly appreciated,
>               Andrew

Others have replied with possible options, here is another one, maybe
the easiest one that shows all the labels/uuids at once ;)


ls -l /dev/disk/by-label/

and

ls -l /dev/disk/by-uuid/


yoyo

Reply via email to