Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-06-26 | For all the mfs lovers: | Otto Moerbeek | |
- Make the root of an mfs file system inherit the permission and owner/group of the mountpoint. Work by david@. - Add the ability to populate an mfs file system with the contents of a directory or a file system immediately after creation, controlled by the new -P mount option. Discussed with and tested by many, ok djm@ david@ | |||
2004-06-22 | acg.cg_nextfreeoff is already relative to &acg so don't subtract | Todd C. Miller | |
&acg.cg_firstfield. Fixes a bogus "panic: cylinder group too big" I see sometimes when using mmap malloc. OK tholo@ | |||
2004-05-13 | provide a siginfo handler for -q run; idea from art's todo; millert@ ok | Michael Shalayeff | |
2004-01-13 | quiet warnings. better diff suggested by tom@ ok deraadt@ | Ted Unangst | |
2003-12-05 | madvise() the mfs storage area as randomly accessed as mfs does it's own ↵ | Michael Shalayeff | |
clustering; tedu@ ok | |||
2003-11-06 | don't write magic until the file system is really done. prevents | Ted Unangst | |
fsck/mount unhappiness. hint from freebsd-arch ml. ok deraadt@ | |||
2003-11-03 | NULL for NULL pointers, not 0 | Ted Unangst | |
2003-11-03 | combine ugly printf(), exit() combo statements into err() or errx(). | Ted Unangst | |
mostly from tom cosgrove. | |||
2003-10-17 | mention some defaults; noticed by John L. Scarfone | Jason McIntyre | |
ok tedu@ | |||
2003-10-07 | better guess for ncyls. allows chuck yerkes to make small file systems again. | Ted Unangst | |
2003-08-25 | rename struct dinode to ufs1_dinode. clears the namespace and makes | Ted Unangst | |
way for some future work. no function changes yet. help testing otto@ and markus@ | |||
2003-07-16 | remove default limit of 16 cylinders per group. it's now set to | Ted Unangst | |
as many as fit with the other parameters given. change default frag size to 2048, bumping block size to 16k. from freebsd. ok deraadt@ and co. | |||
2003-07-02 | missing protos | Theo de Raadt | |
2003-06-26 | rename -h files to -h avgfpdir in synopsis to match reality | Ted Unangst | |
2003-06-25 | proto repairs | Theo de Raadt | |
2003-06-20 | use .Bk/.Ek to keep SYNOPSIS tidy; | Jason McIntyre | |
2003-06-11 | ansification | Theo de Raadt | |
2003-06-10 | boring cleanups | Theo de Raadt | |
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-03-13 | lots of sprintf -> snprintf and strcpy -> strlcpy; checked by tedu | Theo de Raadt | |
2003-03-11 | mention that avgfilesize is in bytes. | Ted Unangst | |
2003-03-10 | filesystem -> file system for a little consistency | Ted Unangst | |
ok jmc@ millert@ | |||
2003-03-10 | document dirpref options -g and -h (w/ avgfpdir) | Ted Unangst | |
ok millert@ | |||
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. | |||
2003-02-07 | typos; | Jason McIntyre | |
2002-06-09 | rm trailing whitespace | Todd T. Fries | |
2002-05-29 | more snprintf | Theo de Raadt | |
2002-05-26 | pid_t cleanup | Theo de Raadt | |
2002-05-06 | Correct info in "-a maxcontig" section. | Todd C. Miller | |
2002-05-06 | Use the default calculation of maxcontig, based on fs_bsize and MAXPHYS, so | Todd C. Miller | |
that the cluster summary information is correct for bsize=4k and MAXPHYS=64k. From NetBSD (mycroft) | |||
2002-04-23 | In mount.h, rename field export -> export_info, to avoid collision with C++. | Marc Espie | |
Synch files that use that field. (This argument is an internal interface specific to OpenBSD, so it won't cause compatibility problems.) (No bump, not an ABI change). ok art, millert... | |||
2002-02-19 | We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft. | Todd C. Miller | |
2002-02-18 | Don't accept -N flag for mount_mfs. This flag is turned on automatically | Todd C. Miller | |
when invoked as mount_mfs but it has different semantics from what is described in the man page. | |||
2002-02-16 | Part one of userland __P removal. Done with a simple regexp with some minor ↵ | Todd C. Miller | |
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. | |||
2001-11-05 | kill more registers; | Mike Pechkin | |
millert@ ok | |||
2001-07-07 | major -Wall cleanup, almost complete | Theo de Raadt | |
2001-06-23 | join .%A entries; most by bk@rt.fm | Theo de Raadt | |
2001-04-19 | Cleanup dirpref and synhronize superblock with freebsd. | Grigoriy Orlov | |
From FreeBSD with little changes. art@ ok. | |||
2001-04-14 | Forgot remove 'U' from optstring; millert@ ok. ;) | Grigoriy Orlov | |
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-05 | Fix: | Grigoriy Orlov | |
- two overflow of static buffer by device name. - one overflow of dynamic buffer. | |||
2001-04-04 | bye bye -U (soft updates). | Grigoriy Orlov | |
2001-04-03 | mount_mfs should not take the -U flag sync mfs is async and you cannot | Todd C. Miller | |
have both aync and soft updates (not that it makes sense to have soft updates on mfs anyway). Also sync the usage in mount_mfs mode to the man page. | |||
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... | |||
2000-04-30 | #ifdef vax -> #ifdef __vax__ | Brandon Creighton | |