[Pkg-sysvinit-devel] Bug#616560: umountfs: nothing to unmount if / is on UBI volume

Jonathan Michalon johndescs at gmail.com
Tue Jun 14 09:57:15 UTC 2011


Hi,

Just installed a netboot'ed Sheevaplug with UBIFS yesterday and I ran into this
problem (and only this one :)) too.
I applied a quick ugly fix in the same way as the author.

I neither know what would be the right way here, but certainly not that one.
Would a pattern searching for any ' / ' without ^rootfs do the trick?
Or if rootfs is always the first line, replace the 0 in the current expression
by a 1 (see man sed) and just search for a "/" as second field?
Or perhaps a match with both a '/' or a ':' (think of NFS mounted / or similar).

It may also be possible to get ride of that PROTECTED_MOUNTS hack completely. I
see that several mountpoints are already skipped, why not add "rootfs" and
"none"? These are the only skipped entries on both sheevaplug and my desktop.
But I'm for sure no specialist and may not be aware of much more complicated
setups…

I hope to make this bug one step forward on its fix path.

--
Jonathan Michalon
IT student in Strasbourg





More information about the Pkg-sysvinit-devel mailing list