[Parted-maintainers] Bug#762236: parted: [kfreebsd] use of kern.geom.debugflags is unsafe

Colin Watson cjwatson at debian.org
Sat Sep 27 23:49:14 UTC 2014


On Mon, Sep 22, 2014 at 09:11:22AM -0400, Phillip Susi wrote:
> As for the performance implications, yes, parted should not be using
> O_RDWR when it do doesn't need it and does take care not to on linux.

It does?  linux_open appears to just open read-write, and only falls
back to read-only if a read-write mount fails.  I can't find anything
special that arranges to do read-only mounts when write support isn't
needed.  Can you point me to the bit I'm missing?

Thanks,

-- 
Colin Watson                                       [cjwatson at debian.org]



More information about the Parted-maintainers mailing list