Re: [Hampshire] Ubuntu Disks

Etusivu

Vastaa
Lähettäjä: Nick Chalk
Päiväys:  
Vastaanottaja: hampshire
Aihe: Re: [Hampshire] Ubuntu Disks
Philip Stubbs <philip@???> wrote:
> If I wanted to add a new drive, how on earth
> would I know what UUID to use? Also, given a
> UUID, how would I know which drive and/or
> partition it pertains to.


You can use dumpe2fs to read the UUID of a given
Ext2 or Ext3 partition:
dumpe2fs -h /dev/hda1
for example. Near the top of the output will be
"Filesystem UUID".

I don't know of a command to show a table of
partitions and UUIDs. Anyone else?

Nick.

--
Nick Chalk ................. once a Radio Designer
Confidence is failing to understand the problem.