summaryrefslogtreecommitdiff
path: root/sbin/disklabel/disklabel.c
AgeCommit message (Expand)Author
2008-04-07Since Alpha is NUMBOOT=0, no need for #ifdef __alpha__ code inside aKenneth R Westerback
2008-04-07Restore boot block (-B) support that was incorrectly deleted duringKenneth R Westerback
2008-04-06nwflag is never set now that '-r' is no more, so remove it and the warningKenneth R Westerback
2008-04-06Fix logic botch I introduced with r1.123 which effectively disabledKenneth R Westerback
2008-03-23Nuke disklabel -r. All labels come from the kernel via ioctl.Kenneth R Westerback
2008-01-24"read(..., ..., sizeof Y) < sizeof Y" is a dangerous idiom because itKenneth R Westerback
2008-01-21changes to disklabel's usage:Igor Sobrado
2007-10-17- Be more careful about pre-existing SIGCHLD handlers (or SIG_IGN) byTheo de Raadt
2007-10-15specifying int instead of just unsigned is better styleTheo de Raadt
2007-06-25some trivial delintingTheo de Raadt
2007-06-23expand size/offset to 16 characters, and drop the Cyl comments whichTheo de Raadt
2007-06-18If disklabel(8) is run against unreadable media (e.g. a blank cd)Kenneth R Westerback
2007-06-18-r will die. Until then, make sure any labels it dredges up areKenneth R Westerback
2007-06-17On Sun machines, disklabels coming from the kernel will now have a d_flagsTheo de Raadt
2007-06-08second pass, some fields slipped through the first time aroundOtto Moerbeek
2007-06-08Make disklabel(8) aware of the new fields, allowing for larger thanOtto Moerbeek
2007-06-07do not complain about c not being a multiple of lp->d_secpercyl; ok millertTheo de Raadt
2007-05-29Updated disklabel format to support larger disks and partitions. WeOtto Moerbeek
2007-05-24Make 'disklabel -w -d <disk>' work. i.e. write the default disklabelKenneth R Westerback
2007-05-13Sync editit() with sendbug.Ray Lai
2007-04-26Eliminate CPU_BIOS from userland and wd(4) by always using the BIOSKenneth R Westerback
2007-04-26Copy sendbug's editit() to disklabel.Ray Lai
2007-02-24Correct comment calling FILE *f a file descriptor.Ray Lai
2007-02-20Change hard coded numbers to sizeof(buf). Also change someRay Lai
2006-10-14Friends don't let friends look for disklabels in Free/NetBSD MBRKenneth R Westerback
2006-10-14Friends don't let friends look for disklabels in Free/NetBSD MBRKenneth R Westerback
2006-09-27Oops. Missed a line. Fix so disklabel(8) compiles again.Kenneth R Westerback
2006-09-26Zap D_REMOVABLE flag from disklabel. If you didn't already know thatKenneth R Westerback
2006-09-24Eliminate D_CHAIN, D_ECC and D_RAMDISK flags from disklabel. They wereKenneth R Westerback
2006-07-01Eliminate redundant get_le() in favour of letoh32(). Add letoh32()Kenneth R Westerback
2005-11-13missing fclose(); from dhill@mindcry.orgTheo de Raadt
2005-11-12use snprintf; ok cloder dhill@mindcry.orgTheo de Raadt
2005-04-30Better header at the top:Theo de Raadt
2005-01-07Print disk size and free space in requested unit. Some refactoring toOtto Moerbeek
2004-10-04Allow one more char for fstype, to avoid truncation of ISO9660 fstype.Otto Moerbeek
2004-09-28Tidy disklabel output for todays big disks. Based on a diff from fOtto Moerbeek
2004-09-18remove unused var, and then fix the code to watch for waitpid() errorsTheo de Raadt
2004-08-08spacingTheo de Raadt
2004-08-03Handle geometry parameters as unsigned quantities, getting rid ofOtto Moerbeek
2004-05-20Typo from Jared Yanovich phirerunner@comcast.netMarco Peereboom
2004-04-07Remove those option letters from the getopt string which do not have a caseAaron Campbell
2003-12-20make disklabel docs more readable: more logical SYNOPSIS; sort options;Jason McIntyre
2003-07-29spacesTheo de Raadt
2003-07-16new default frag/block sizes.Ted Unangst
2003-07-02missing protosTheo de Raadt
2003-06-25remove junk protosTheo de Raadt
2003-06-11ansificationTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-04-06string handling; ok millertTheo de Raadt
2003-02-13add support for printing disklabels in units other than sectors fromTed Unangst