freebsd-dev/usr.sbin/quot
David Malone bee3d34f79 The quot command expected all inodes contents to be valid, however
on UFS2 inodes are initialised as they are needed, rather than at
newfs time. When quot encountered these inodes it could produce
crazy results.

Now, on UFS2 filesystems, quot's get_inode function will bzero
unallicated inodes before passing them back to a caller. This is
how UFS2 initialises new inodes, so this should work OK.

Also, while I'm here, make quot exit with an error if it finds
inodes of an unknown type. This should help catch future problems
of this type.

Reviewed by:	iedowse
MFC after:	1 week
2006-02-25 23:50:15 +00:00
..
Makefile style.Makefile(5) 2003-04-04 17:49:21 +00:00
quot.8 Sort sections. 2005-01-18 20:02:45 +00:00
quot.c The quot command expected all inodes contents to be valid, however 2006-02-25 23:50:15 +00:00