[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: can't umount even though killed relevant buffers
From: |
Dan Jacobson |
Subject: |
Re: can't umount even though killed relevant buffers |
Date: |
11 Apr 2001 08:22:55 +0800 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
>>>>> "Dan" == Dan Jacobson <jidanni@kimo.FiXcomTHiS.tw> writes:
Dan> Mount some partition, read-only even, say. Do a dired and view a file
Dan> there or whatever. Now kill those buffers and try to umount that
Dan> partition... "Device is busy". Check *Buffer List*, or wherever to
Dan> hunt down the part of emacs that is still busying that partition, no
Dan> go. The only way to umount cleanly is to kill that emacs it seems.
Dan> Seen on Mandrake 7.2
I'm sorry to say that today when I tried it again, there was no such
bug. But that's not to say that it did happen once. Here's the
script I used to do the mounting/unmounting. Anyways thanks for
folks' concerned e-mails. I will try to find an different bug to make
it up to you :-)
case $1 in -u) umount /debian/home /debian/var /debian/usr /debian; exit;; esac
O="-o ro"
mount $O /dev/hdb9 /debian
mount $O /dev/hdb10 /debian/home
mount $O /dev/hdb11 /debian/var
mount $O /dev/hdb12 /debian/usr
--
http://www.geocities.com/jidanni Tel886-4-25854780 e-mail:restore .com.