Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-01-05 | handle 64-bit blkno's in format string | Otto Moerbeek | |
2007-07-07 | Initialize the first 2 block's worth of inodes for ffs1 as well as ffs2. | Todd C. Miller | |
This was not happening since acg.cg_initediblk gets cleared for the ffs1 case. OK otto@ | |||
2007-06-26 | Enable creation of larger than 1TB FFS2 filesystems. Note that this | Otto Moerbeek | |
won't work yet. There remains sys/ufs work. ok deraadt@ | |||
2007-06-10 | remove last instances of daddr_t; ok thib@ | Otto Moerbeek | |
2007-06-01 | ufs1_daddr_t cleanup, okay otto@ | Pedro Martelletto | |
2007-06-01 | daddr64_t changes; not fssize is still an int; ok pedro@ | Otto Moerbeek | |
2007-06-01 | convert ufs2_daddr_t -> daddr64_t for greater clarity; ok pedro otto thib | Theo de Raadt | |
2007-05-29 | Updated disklabel format to support larger disks and partitions. We | Otto Moerbeek | |
free room in struct partition by packing fragment size and fragments/block more tighlty and use the resulting space to make offset and size 48 bits. For the disk part we use spare fields in struct disklabel. Kernel converts in-mem copy of the on-disk label if needed, disklabel(8) writes new version. We are careful to only change fields not used by bootloaders. Conception of basic scheme by deraadt. ok deraadt@ krw@ | |||
2007-05-19 | Now that the amd64 floppy and cd image -c setting have been fixed, | Otto Moerbeek | |
recommit the -c changes. For now, we warn only if we cannot honour -c. ok millert@ deraadt@ | |||
2007-05-19 | backout -c changes; they were not tested on all the media. all newfs | Theo de Raadt | |
changes obviously *MUST* be checked against whatever weird things the floppies do to fit | |||
2007-05-18 | The unit of the -c options is fragments, so adjust man page and | Otto Moerbeek | |
variable name; correct the loop packing more inodes into the cg: in some cases it could put more fragments into the cg than requested; give an error if the -c option cannot be honoured. ok millert@ pedro@ | |||
2007-05-18 | Do a bounds check to see if the inode table fits on the disk. | Otto Moerbeek | |
Prevents a core dump found by djm@ when doing mount_mfs -s 80 (yeah, that's a tiny file system); ok millert@ pedro@ | |||
2007-05-03 | Update CGSIZE macro so that it is no longer based on fs_cpg. | Todd C. Miller | |
This was part of the ffs2 changes but was not committed earlier in order to make the userland and kernel changes independent. NOTE: the change to newfs require an updated fs.h; building an updated newfs with the old fs.h may result in a broken filesystem. OK otto@ | |||
2007-04-23 | Remove 'cg_space' from 'struct cg'. Due to the alignment on 64-bit | Pedro Martelletto | |
architectures, CGSIZE() was returning something sligthly over one block. The 'new' fsck would round this value up to a fragment boundary, and end up trying to access memory beyond allocated space. From mickey@, okay pedro@, millert@ and otto@. | |||
2007-04-18 | don't let fpg and spc get out of sync. solves a few cases where newfs | Otto Moerbeek | |
produces a bad cg when -c is used. ok pedro@ millert@ | |||
2007-04-17 | Fix merge error; fs_inodefmt was not being set for the ffs2 case | Todd C. Miller | |
2007-04-13 | Add support for creating ffs2 filesystems. Note that the concept | Todd C. Miller | |
of a constant-sized track is obsolete in today's world of variable blocks per track disks so the cylinder group packing algorithm has been updated. Based on the ufs2 changes in FreeBSD by Kirk McKusick. From pedro@ with changes by me as well as a few from NetBSD. OK pedro@ beck@ thib@ and tested by more... | |||
2007-04-03 | Remove obsolete options for superblock fields that are no longer used. | Todd C. Miller | |
OK deraadt @, OK in principle tedu@ | |||
2007-04-03 | Minor cleanup: remove rcsids, remove #ifdef'd out code, COMPAT is | Todd C. Miller | |
the default, quiet gcc. OK deraadt@ | |||
2007-04-02 | Modern disks do bad sector replacement themselves. There is no | Todd C. Miller | |
need to reserve space for them in the filesystem itself. OK deraadt@ pedro@ | |||
2007-03-19 | Add FFS2 fields to the superblock, change file system tools to keep | Pedro Martelletto | |
accessing FFS1 fields, okay art@, quite some testing by ckuethe@, simon@ and thib@, thanks. | |||
2006-03-09 | Remove option -n from newfs as well as all references to fs_postbl() | Pedro Martelletto | |
Various testing for a while, okay krw@ | |||
2005-12-19 | Add and use a few more constants and macros needed by UFS2 | Pedro Martelletto | |
No functional change | |||
2005-08-08 | More informative error message when trying to create a filesystem | Otto Moerbeek | |
larger than 1TB. ok deraadt@ | |||
2005-04-14 | handle snprintf out of range conditions; otto ok | Theo de Raadt | |
2005-01-06 | validate mfs size to avoid wrapping. ok miod@ | Otto Moerbeek | |
2004-10-14 | Do not generate either a too large super block or a negative number | Otto Moerbeek | |
of inodes per cylinder group for large block or fragment sizes. This allows for creation of filesystems with any legal block/fragment size combination. ok tedu@. | |||
2004-09-10 | Bail out on errors when making very small filesystems. ok deraadt@ | Otto Moerbeek | |
2004-08-12 | Prevent core dump on large block sizes by checking block size against | Otto Moerbeek | |
MAXBSIZE. ok millert@ | |||
2004-07-06 | delint: offset arg to mmap is off_t and remove dead code | Otto Moerbeek | |
ok millert@ | |||
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-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-25 | proto repairs | Theo de Raadt | |
2003-06-11 | ansification | 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-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 | |