[master] Protect/hide zRAM devices properly

Vratislav Podzimek vpodzime at redhat.com
Mon Aug 4 06:42:42 UTC 2014


On Fri, 2014-08-01 at 18:17 -0500, David Lehman wrote:
> On 07/29/2014 08:42 AM, Vratislav Podzimek wrote:
> > On Tue, 2014-07-29 at 15:40 +0200, Vratislav Podzimek wrote:
> >> We use zRAM devices as swaps so they should be protected and hidden from the
> >> user.
> > Forgot to mention that I don't understand why only removable protected
> > devices were hidden. If anybody has a clue, please share that wisdom.
> >
> 
> An internal disk can be the install source and the user may still want 
> to format and/or mount partitions from that disk. We only hide drives 
> that are both removable and protected because they presumably have no 
> business playing a permanent role in the post-install system.
There have been some complaints (and maybe even a bug report) that we
allow installation to the same disk as the one used as an installation
source.

But even if we want to allow that, I think only the partition with that
install source should be protected, not the whole disk. So that looks
like a bug somewhere else to me.

-- 
Vratislav Podzimek

Anaconda Rider | RHCE | Red Hat, Inc. | Brno - Czech Republic




More information about the anaconda-patches mailing list