Messages in this thread | | | Date | Mon, 16 Dec 2002 11:17:48 -0700 | From | Steven Dake <> | Subject | Re: Unmounting a busy RO-Filesystem |
| |
Denis Vlasenko wrote:
>On 16 December 2002 23:06, Bourne wrote: > > >>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" >> >> > >How do you imagine unmounting a directory when you are in it? ;) > > This is possible with a kernel patch called forced unmount. It will blow away the mount point even if there are files open in it or not. The best part is it properly closes the superblock so the filesystem doesn't have to be fsck'ed.
> >
- 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/
| |