Subject: Re: i386 20000213 snapshot glitches
To: David Brownlee <abs@netbsd.org>
From: John Nemeth <jnemeth@victoria.tc.ca>
List: current-users
Date: 02/29/2000 22:56:10
On Jun 14, 10:03pm, David Brownlee wrote:
} On Sun, 27 Feb 2000, John Nemeth wrote:
} 
} > } 	MAKEDEV needing grep:
} > } 		This sounds distinctly bogus, could you submit a PR?
} > 
} > The line that has grep was added in revision 1.84 by christos
} >
} > [..]
} > 
} > That was done 8.5 months ago (the current revision is 1.101).  Do you
} > still feel that it is a bug?
} 
} 	Definitely - as does christos :)

     So, should I still file a PR, or will christos deal with it?

} 	I don't have a fdesc enabled kernel anywhere near... Could someone
} 	test this - its a suggested fix from Christos, lightly tweaked
} 	(potentially broken :), by me...
} 
} > # Check if we have fdesc mounted
} > if [ -d fd ]; then
} >         case "`df fd`" in
} >       fdesc*) nofdesc=false;;
} >       *) nofdesc=true;;
} >       esac
} > fi

     I just tried mounting fdesc and this is what df /dev/fd produced:

# df /dev/fd
Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
fdesc               1        1        0   100%    /dev/fd

Without fdesc mounted, it produced:

# df /dev/fd
Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
/dev/sd0a       19791    17316     1485    92%    /

Assuming your code can deal with the fact that "df fd" returns two
lines, it should be okay.  I didn't actually try it.

}-- End of excerpt from David Brownlee