putting a label on a disk
Sven Schumacher
schumacher at tfd.uni-hannover.de
Thu Jul 16 18:37:58 CEST 2015
Yes, ist can...
For example (using label as fstabkey should be possible):
> disk_config disk1 preserve_always:1 disklabel:msdos bootable:1 fstabkey:uuid
> primary - 161061273600B - -
> primary / 20GB ext4 rw,noatime,errors=remount-ro createopts="-L ROOT"
> primary swap 20GB swap sw
> primary /home_lokal 20GB- ext4 rw,errors=remount-ro,rw createopts="-L HOME"
> Am 16.07.2015 um 18:22 schrieb John G Heim <jheim at math.wisc.edu>:
>
> All,
>
> Question related to those I asked earlier in the week... Can setup-storage put a label on a disk partition so that it can be mounted via the label rather than the uuid? I am guessing not beccause parted doesn't do that (as far as I can tell). I guess I can use e2label and xfs_admin in a script. But But I think I am going to have to reproduce some of the logic in setup-storage in order to make sure the label matches the partition.
>
> --
> John Heim, jheim at math.wisc.edu, skype:john.g.heim
More information about the linux-fai
mailing list