Re: [PATCH 03/13] Add method to get size of existing filesystems.

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

 





Hans de Goede wrote:


Jeremy Katz wrote:
On Sunday, March 15 2009, David Lehman said:
Why not just do a temporary mount somewhere (if not already mounted) and
run statfs on it?  Wouldn't that be simpler?</hand_wave>
It would be. Attached is a new patch. I didn't know we could call statvfs() from Python (nor did I ever bother to look, but whatever).
Much nicer.

Mounting can entail side effects, though, such as journal recovery and
has also in some cases ended up with filesystems having new,
incompatible features enabled.  While I guess it's possible that running
dumpe2fs, etc on a filesystem could do similar things, it just feels a
lot less likely.


Another problem is this fails in the livecd case, as for example the live-usb stick there is usually already (auto) mounted, so this fails with a busy error, leading to
a traceback.

Not Good.


I'm sorry I'm not having a good day and that sounded a bit more harsh then intended.

Regards,

Hans

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux