[Fedora-livecd-list] need: mount -really-readonly, or a way to detect uncleanly unmounted FS
katzj at redhat.com
Sun Mar 19 22:57:01 UTC 2006
On Sat, 2006-03-18 at 13:51 -0800, Jane Dogalt wrote:
> So does anybody know of a simple tool which can, without modifying a partition,
> see if it's been cleanly unmounted. I suppose it's just a matter of reading a
> fs spec and reading some bit somewhere, but I'd rather not write the tool
> myself if possible.
You basically have to do it on a filesystem by filesystem basis, just
like labels and any of a number of other things. Yeah, kind of sucks.
anaconda has code for reading the superblock of most filesystem types,
then it's just a matter of unpacking the struct for the right bit
More information about the livecd