Re: [2.1.4x] mount(2) bug

Brad Pepers (pepersb@cuug.ab.ca)
Thu, 31 Jul 1997 16:34:09 -0600 (MDT)


> > 1. Humm BUG or FEATURE ?
> > $ mount /dev/sdb2 /mnt/ext2
> > $ mount
> > /dev/sdb2 on / type ext2 (rw)
> > /dev/hdb1 on /boot type ext2 (rw)
> > none on
> > /proc type proc (rw)
> > /dev/sdb2 on /mnt/ext2 type ext2 (rw)
> >
> > No error as /dev/sdb2 is already mounted. If I do
> > $ unmount /mnt/ext2
> > I got a PANIC
>
> Stupid question here.. why are you trying to unmount the mount point,
> and not the DEVICE? that's probably the main reason why you're getting the
> panic.

No that is not a problem. Look at the umount man page. Either the
mount point or device are allowed.

I'm sure its just part of the general wackyness of the new dentry stuff
as it gets worked out.

-- 
Brad Pepers                             Proud supporter of Linux and
Ramparts Management Group Ltd.          Caldera in Canada!
ramparts@agt.net
http://www.agt.net/public/ramparts      Linux rules!