[Rpm-maint] [rpm-software-management/rpm] Auto-enable optimizations for non-rotational disks on Linux (#949)

Florian Festi notifications at github.com
Mon Dec 2 11:00:01 UTC 2019


Detecting SSDs automatically is a great step IMHO. This will in the end result in may be half a dozen OS specific code pieces in `getRotational()`. That's fine with me.
Not setting these config macros is probably the best way to set those values to "autodetect" which should be the default (`%_minimize_writes` is currently set to `0` in `macros.in`).

I am wondering if having one rotary disk holding rpm back to the old behavior is really what we want in the long run. May be we nee something a bit smarter there. But that will require hard coding parts of the FHS into rpm. May be it is enough to ignore a few known paths like /mnt, /media and /home.

Anyway, this is not a reason to not start with this more simpler version.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/949#issuecomment-560345938
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20191202/8986dd7b/attachment.html>


More information about the Rpm-maint mailing list