summaryrefslogtreecommitdiff
path: root/sbin/fsck_ext2fs/setup.c
AgeCommit message (Collapse)Author
2011-03-12These utilities can currently only operate with a 32-bit block number range,Theo de Raadt
so use daddr32_t ok jasper
2010-05-18dont let sys/ioctl.h imply that you get the ioctls in dkio.h. thisDavid Gwynne
gets rid of #include <sys/dkio.h> in sys/ioctl.h and adds #include <sys/dkio.h> to the places that actually want and use the disk ioctls. this became an issue when krw@'s X build failed when he was testing a change to dkio.h. tested by krw@ help from and ok miod@
2010-03-08if ncg == 1, there's no alternate superblock; from NetBSD; ok deraadt@Otto Moerbeek
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-05-29Updated disklabel format to support larger disks and partitions. WeOtto 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@
2005-04-30Support checking filesystems which have or once had large files (>4 GB)Niall O'Higgins
on them. From NetBSD
2003-07-29spacesTheo de Raadt
2003-06-11ansificationTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2002-06-09rm trailing whitespaceTodd T. Fries
2002-02-16Part 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-09-18cleanups and endianness fixes. Mostly from NetBSDArtur Grabowski
2000-04-26Support for ext2fs rev. 1jasoni
1999-08-17More <sys/file.h> vs. <fcntl.h> and open() flags fixes.Todd C. Miller
1997-06-14s/malloc.h/stdlib.h in pass5.c, and actually malloc() enough memory inJason Downs
setup() for the superblock!
1997-06-14Add tags, fix man page. Purely cosmetic.Jason Downs
1997-06-14Sync with NetBSD. Purely cosmetic.Jason Downs
1997-05-30Initial import of Manuel's fsck_ext2fs, unmodified.Jason Downs