[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH] idea to automatic LVM naming



This changes the automatic partitioning code to name volume groups using the hostname and naming logical volumes using the mount point. So, instead of getting something like this:

	/dev/VolGroup00/LogVol00

We would get:

	/dev/vg_loki/lv_home

Some decisions I made:

1) If the mount point is '/', use 'lv_root' as the naming template.
2) If the filesystem is swap, use 'lv_swap' as the naming template.
3) Do not use the FQDN, just use the hostname minus the domain.

This doesn't completely solve every problem, but maybe we can get some more unique and descriptive LVM names.

Thoughts?

Attachment: anaconda-auto-LVM-names.patch
Description: Binary data



--
David Cantrell <dcantrell redhat com>
Red Hat / Honolulu, HI


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]