Subject: Re: fix for bin/5680
To: Simon Burge <simonb@wasabisystems.com>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: tech-kern
Date: 10/15/2000 15:24:07
On Sun, Oct 15, 2000 at 10:25:42PM +1100, Simon Burge wrote:
> Folks,
> 
> The following patch works for me as fix for bin/5680 (Mounting and
> using broken mfs results into kernel panic).  My question is - should
> the newfs fail for the non-MFS case as well?  When I try to 'cd' to a
> directory created with "newfs -s 100" I get the following:
> 
> 	euclid:~ 16# cd /mnt
> 	/mnt: Not a directory.
> 
> At least it's not a panic case like a small MFS is (although the
> filesystem is still mountable).  Should such a small filesystem on a
> physical disk have a zero'd superblock so that it isn't mountable at
> all?

I think so. Maybe you've just been lucky here.

--
Manuel Bouyer <bouyer@antioche.eu.org>
--