Unmounting a busy RO-Filesystem

From: Bourne (bourne@ToughGuy.net)
Date: Mon Dec 16 2002 - 20:06:35 EST


I have 3 partitions. /dev/hda3 for '/' , /dev/hda1 for /boot and
/dev/hda2 for swap.

I boot & then i do a CTRL+ALT+SYSRQ+U. '/' and '/boot' are now
remounted ReadOnly.

1) cd '/boot'
2) umount /boot ----> This gives me an error "Device Busy"
3) cd /
4) umount / -------> No error
5) echo $? -----> outputs '0' indicating success. !!!!!!!!

When i do the above by skipping the Sysrq part, i get the usual expected
errors.

So is the above behaviour expected ? I tried this on 2.4.19 & 2.5.51.
Same results.

I am subscribed to the list

TIA
Bourne

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Dec 23 2002 - 22:00:13 EST