Do not blindly allow the block count to overflow. Restrict newfs filesystem
authorMatthew Dillon <dillon@dragonflybsd.org>
Tue, 19 Jun 2007 19:18:20 +0000 (19:18 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Tue, 19 Jun 2007 19:18:20 +0000 (19:18 +0000)
commit5dde079eb1ff4bf42ff55ba51ed42f4665dc20a9
tree8e61aa3905d611ecec3afdcf63c374e0a687a819
parentaf255b6691ca5842900dcb2fa546c536ad058f16
Do not blindly allow the block count to overflow.  Restrict newfs filesystem
sizes to just under 1TB and report a fatal error if the media is too large.
sbin/newfs/newfs.c