summaryrefslogtreecommitdiff
path: root/sbin/newfs_msdos/newfs_msdos.c
AgeCommit message (Expand)Author
2024-04-28gmtime(3) / locatime(3) can fail when timestamps are way off.Florian Obser
2021-07-11Correct various min/max cluster numbers for FAT12/16/32. From NetBSD.Mark Kettenis
2015-11-23Use pledge "disklabel" as needed. The theory here is these tools become moreTheo de Raadt
2015-04-18Convert many atoi() calls to strtonum(), adding range checks and failureTheo de Raadt
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-07-10Not initializing "next free cluster" is better than pointing at a clusterTobias Stoeckmann
2014-07-10Put boot signature always at end of 512 byte sector, even on disks withTobias Stoeckmann
2013-11-22Whole bunch of (unsigned char) casts carefully added for ctype calls.Theo de Raadt
2013-11-05Replace direct references to p_size, p_offset and d_secperunit withKenneth R Westerback
2010-05-18dont let sys/ioctl.h imply that you get the ioctls in dkio.h. thisDavid Gwynne
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-07-27As is already the case for ffs, do not allow creation of msdos file systemsAlexander Hall
2007-09-28sort options;Jason McIntyre
2007-09-26some cleanup. remove #ifdef __FreeBSD__ code, last sync to FreeBSD wasPierre-Yves Ritschard
2004-10-01add some missing $, ok djm@ 'That looks fine to me' millert@Jonathan Gray
2003-06-10boring cleanupsTheo de Raadt
2002-05-29more snprintfTheo de Raadt
2002-02-21use sizeof w/ defines; niklas@ millert@ ok.Federico G. Schwindt
2001-07-07major -Wall cleanup, almost completeTheo de Raadt
2000-02-06Upgrade newfs_msdos to latest freebsd version. This one knows how to handleimp
1999-04-10ignore -q for now since we are already quiet. Makes "newfs -q -t msdos" does...Todd C. Miller
1997-04-30clone boot sector that existed there? bad idea. No idea why thoughTheo de Raadt
1997-04-14if -s not specified, attempt to grok the disklabelTheo de Raadt
1997-03-29Use arc4random() not random().Todd C. Miller
1997-03-22removed code that was inside #if 0 ... #endifkstailey
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1997-01-10use opendev(3) + man page correctionkstailey
1996-12-04do not freak out if we see a -t argumentTheo de Raadt
1996-06-10add newfs_msdos (from freebsd); does not know how to make non-floppy filesyst...Theo de Raadt