Re: mount/umount hangs after I messed with /etc/mtab

2001-05-22 Thread Chris Majewski
Fixed in kernel 2.4.3 (broken in 2.4.2). 
-chris

Chris Majewski [EMAIL PROTECTED] writes:

 Turns out the loop device is  broken in kernel 2.4.*, and when I tried
 to  mount it,  the mount  hung, causing  a lock  that  prevented other
 mounts/umounts from happening. 
 -chris




Re: mount/umount hangs after I messed with /etc/mtab

2001-05-18 Thread Chris Majewski
Turns out the loop device is  broken in kernel 2.4.*, and when I tried
to  mount it,  the mount  hung, causing  a lock  that  prevented other
mounts/umounts from happening. 
-chris

Krzys Majewski [EMAIL PROTECTED] writes:

 I am unable  to mount/umount anything after messing  with my /etc/mtab
 last  night (I  had removed  a floppy  without umounting  it,  and was
 getting Device  busy when I tried  to remount/umount it,  so I nuked
 the floppy line  in mtab, without backing it up, yay).  Now when I try
 to mount or umount something, the command just hangs.  Any idea how to
 reset  this? Renaming  /etc/mtab doesn't  seem to  help!  Neither does
 rebooting! (Of  course, the box  won't shutdown cleanly since  it can't
 umount  anything, although  for some  reason  it does  mount stuff  on
 boot-up.) 
 -chris



Re: mount/umount hangs after I messed with /etc/mtab

2001-05-17 Thread Karsten M. Self
on Wed, May 16, 2001 at 09:17:10AM -0700, Krzys Majewski ([EMAIL PROTECTED]) 
wrote:
 I am unable  to mount/umount anything after messing  with my /etc/mtab
 last  night 

$ cat /proc/mounts  /etc/mtab

...and don't do that again.

-- 
Karsten M. Self kmself@ix.netcom.comhttp://kmself.home.netcom.com/
 What part of Gestalt don't you understand?   There is no K5 cabal
  http://gestalt-system.sourceforge.net/ http://www.kuro5hin.org


pgpHtnlv2Qrya.pgp
Description: PGP signature


mount/umount hangs after I messed with /etc/mtab

2001-05-16 Thread Krzys Majewski
I am unable  to mount/umount anything after messing  with my /etc/mtab
last  night (I  had removed  a floppy  without umounting  it,  and was
getting Device  busy when I tried  to remount/umount it,  so I nuked
the floppy line  in mtab, without backing it up, yay).  Now when I try
to mount or umount something, the command just hangs.  Any idea how to
reset  this? Renaming  /etc/mtab doesn't  seem to  help!  Neither does
rebooting! (Of  course, the box  won't shutdown cleanly since  it can't
umount  anything, although  for some  reason  it does  mount stuff  on
boot-up.) 
-chris



Re: mount/umount hangs after I messed with /etc/mtab

2001-05-16 Thread Hall Stevenson
 I am unable  to mount/umount anything after messing
 with my /etc/mtab last  night (I  had removed  a floppy

You shouldn't touch /etc/mtab. It's somewhat of a live file. It's
a real-time representation of what's currently mounted.

The file you would normally edit is /etc/fstab.

 Any idea how to reset  this? Renaming  /etc/mtab doesn't
 seem to  help!  Neither does rebooting! (Of  course, the box
 won't shutdown cleanly since  it can't umount  anything,
 although  for some  reason  it does  mount stuff  on
 boot-up.)

I'm real surprised that rebooting doesn't fix it... Maybe try
mount -a. That will attempt to mount or re-mount devices spec'd in
/etc/fstab and in the process, re-write your /etc/mtab file.

Hall