[blivet][PATCH] Bypass name setter in several places.

David Lehman dlehman at redhat.com
Wed Jun 11 20:25:06 UTC 2014


On 06/11/2014 10:21 AM, David Lehman wrote:
> In PartitionDevice the name is already set in actuality and is only being
> retrieved and accounted for in updateName.
>
> In LoopDevice the name is either already set as in PartitionDevice
> (updateName) or it is being set to a placeholder name that should never be
> used for anything.
>
> In BTRFSVolumeDevice the name is never actually used for anything, so it
> is okay that we set it directly from any filesystem label.

I'm withdrawing this patch in favor of a different approach. Since we 
cannot actually set names for partitions, loop devices, or btrfs volumes 
under any circumstances it is cleaner to override _setName in those 
classes. New patch coming along soon.

David


More information about the anaconda-patches mailing list