[EMAIL PROTECTED] wrote:
> 
> After a power outage, files have been dissappearing from my /tmp device,
> and so I wanted to fun fsck.ext2 -c /dev/sda7 on it. To do this, I need
> to unmount it, but I can't unmount because the device is busy.
> 
> Any way to run fsck on it?
> 
Yes, two:
1.) telinit to single-user mode (should kill all processes that use
/tmp) and unmount
2.) mount -o remount,ro /mount/point, then run fsck.

Marc

-- 
Marc Mutz <[EMAIL PROTECTED]>                    http://marc.mutz.com/
University of Bielefeld, Dep. of Mathematics / Dep. of Physics

PGP-keyID's:   0xd46ce9ab (RSA), 0x7ae55b9e (DSS/DH)

Reply via email to