Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-06-02 | Remove the advertising clause in the UCB license which Berkeley | Todd C. Miller | |
rescinded 22 July 1999. Proofed by myself and Theo. | |||
2003-05-06 | remove FSIRAND define and make it non-optional. ok millert@ | Ted Unangst | |
2003-05-06 | after switch to mmap, we need to zero other malloc'd data. use calloc. | Ted Unangst | |
2003-05-03 | The 'memleft' calcuations assume that the data address starts at | Todd C. Miller | |
0, which is no longer the case. So instead of the hokey private malloc() implementation, just use mmap. From diffs I ran on anoncvs.usa 4 years ago. | |||
2003-04-16 | fix race between mount(2) and exit(2) for mount_mfs. | Markus Friedl | |
from netbsd (drochner, newfs.c 1.30, mkfs.c 1.29, no copyright changes) ok tedu@ | |||
2003-02-19 | Use pread/pwrite where sensible; also remove some bogus casts in | Todd C. Miller | |
printf to long and long long for things that are int32_t. | |||
2002-06-09 | rm trailing whitespace | Todd T. Fries | |
2002-05-29 | more snprintf | Theo de Raadt | |
2001-11-05 | kill more registers; | Mike Pechkin | |
millert@ ok | |||
2001-07-07 | major -Wall cleanup, almost complete | Theo de Raadt | |
2001-04-19 | Cleanup dirpref and synhronize superblock with freebsd. | Grigoriy Orlov | |
From FreeBSD with little changes. art@ ok. | |||
2001-04-13 | Fix overflow in superblock. From FreeBSD. | Grigoriy Orlov | |
FreeBSD's log: > The ffs superblock includes a 128-byte region for use by temporary > in-core pointers to summary information. An array in this region > (fs_csp) could overflow on filesystems with a very large number of > cylinder groups (~16000 on i386 with 8k blocks). When this happens, > other fields in the superblock get corrupted, and fsck refuses to > check the filesystem. > > Solve this problem by replacing the fs_csp array in 'struct fs' > with a single pointer, and add padding to keep the length of the > 128-byte region fixed. Update the kernel and userland utilities > to use just this single pointer. > > With this change, the kernel no longer makes use of the superblock > fields 'fs_csshift' and 'fs_csmask'. Add a comment to newfs/mkfs.c > to indicate that these fields must be calculated for compatibility > with older kernels. art@ ok. | |||
2001-04-04 | bye bye -U (soft updates). | Grigoriy Orlov | |
2001-01-16 | _exit() in signal handler | Theo de Raadt | |
2000-09-22 | If a cylinder group won't fit inside of one block, adjust secpercyl | Todd C. Miller | |
and ntracks until it does, if possible. This allows one to newfs disks with funky (usually BIOS-generated) geometries without cranking the block size. This is really just a hack and a better solution would be to fake the geometries of zone-recorded disks since secpercyl is never accurate in that case anyway... | |||
1999-12-03 | Allow enabling soft updates (with -U) on a new filesystem. | Artur Grabowski | |
Allow soft updates on mfs filesystems (even if it's stupid). | |||
1999-04-10 | Add -q flag to newfs and use it in the install | Todd C. Miller | |
1997-11-17 | Work around a stackframe bug in gcc alpha, who cannot deal with frames > 64k | Niklas Hallqvist | |
1997-06-03 | Make mkfs.c malloc its large buffers, which saves about 200K of bss size | grr | |
when newfs is used in instbin and is otherwise harmless. Also add a little pro-forma malloc fail parnoia, though it's not really needed when the local malloc routine is used. | |||
1997-06-03 | number of unallocated sectors message was based on modified fssize, make it ↵ | grr | |
deal with reality | |||
1997-05-29 | mkfs() should not play with fssize; grr, PR#189 | Theo de Raadt | |
1997-03-27 | if lost+found generation code is enabled, create it with a nice mode | Theo de Raadt | |
1997-02-23 | Inline fsirand(8) (at no noticable cost in speed). | Todd C. Miller | |
1997-02-21 | Don't expose private copies of malloc(), calloc(), free(). Ewwww. | Todd C. Miller | |
1997-02-11 | Remove occurences of headswitch and trackseek, they no longer | Todd C. Miller | |
exist in struct fs. | |||
1996-08-02 | proper column management for superblock backups; from freebsd, joerg/satoshi | Theo de Raadt | |
1996-06-23 | update rcsid | Theo de Raadt | |
1995-10-18 | initial import of NetBSD tree | Theo de Raadt | |