[master 3/6] Add dynamic mountpoint detection support

bcl installerbot-noreply at redhat.com
Wed Mar 18 20:58:38 UTC 2015


In reply to line 46 of blivet/mounts.py:

So every call to the systemMountpoint property is going to result in opening the /proc/mounts and hashing it. That's quite a bit of activity for a property to trigger.
I was going to complain and suggest using stat, but I see that's no help since the size is 0 and the timestamp for everything is now. Still, seems like there should be a better way -- or at the least change the property to a method call.

-- 
To view this comment on github, visit https://github.com/vojtechtrefny/blivet/commit/6ca637ed56de7aea7f4ecf8669186e712fae1556#commitcomment-10273655


More information about the anaconda-patches mailing list