657
664
// XXX: Note that in the case where writable=true, this isn't a simple
658
665
// toggle - if the partition is already mounted read-only, it needs to
659
666
// be unmounted, fsck(8)'d, then (re-)mounted read-write.
661
668
other := p.otherRootPartition()
664
671
// r/o -> r/w: initially r/o, so no need to fsck before
666
673
err = p.unmountOtherRootfs()