1 |
On Mon, Aug 1, 2011 at 10:12 PM, Andrew Lowe <agl@×××××××.au> wrote: |
2 |
> Greetings all, |
3 |
> I'm probably in the situation where I can't see the wood for the |
4 |
> trees so a bit of help would be appreciated. I've decided to go the LABEL |
5 |
> route in fstab and have set the labels on my partitions a few days ago. I |
6 |
> now want to update fstab but can't remember the names. I can't find a |
7 |
> command that will list the partitions and the names I've given them. I'm |
8 |
> sure fdisk does not list them when I do just "fdisk" at the command prompt, |
9 |
> but then again as I said above, I think I'm in the wood/forest mode at the |
10 |
> moment. Any idea on the command? |
11 |
|
12 |
file -s /dev/sda |
13 |
file -s /dev/sda1 |
14 |
|
15 |
I tend to use UUID, which you can figure out by poking around |
16 |
/dev/disk/by-uuid and looking where the symlinks point. |
17 |
|
18 |
-- |
19 |
:wq |