[clug] Volume names

Brendan Jurd direvus at gmail.com
Sun Apr 10 16:40:37 MDT 2011


On 10 April 2011 09:06, Keith Sayers <keiths at apex.net.au> wrote:
>        Can Linux ascribe a volume name to a hard drive, please?

Not to a hard drive, but if you're looking for something like Windows'
"volume label" a la the Format Disk program, you want to put a label
on a _filesystem_, not a hard drive.

The method for doing so depends on the filesystem.  For example, for
an ext2 or ext3 filesystem, `tune2fs -L <label> <device>` will get you
there.

HTH.

Cheers,
BJ


More information about the linux mailing list