set partition disk labels ext3 and other filesystems
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4043
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
Good overview here

:: Quote ::
There are three tools to make volume labels: mke2fs, tune2fs and e2label.

Simple invocation
e2label /dev/hdb1 pubsw
tune2fs -L pubsw /dev/hdb1
Either of thse two commands will label the first partition of the second drive "pubsw". That label stays with that particular partition, even if the drive is moved to another controller or even another computer.
mke2fs -L pubsw /dev/hdb1
mkfs.ext3 -L pubsw /dev/hdb1

Back to top
Display posts from previous:   

All times are GMT - 8 Hours