On Mon, Aug 1, 2011 at 10:12 PM, Andrew Lowe <a...@wht.com.au> 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?

file -s /dev/sda
file -s /dev/sda1

I tend to use UUID, which you can figure out by poking around
/dev/disk/by-uuid and looking where the symlinks point.

-- 
:wq

Reply via email to