summaryrefslogtreecommitdiff
path: root/sbin/disklabel/disklabel.c
AgeCommit message (Expand)Author
2009-01-11On *ppc disks shared with MacOS, walk the Apple partition map to find outMiod Vallat
2008-08-11fix a6 partition lookup where a static variable was incorrectly used inReyk Floeter
2008-08-10spacing; remove non-existent flag from synopsis.Igor Sobrado
2008-08-04fix extended partition support by handling chained EBRs correctlyReyk Floeter
2008-07-10Die -r, die! Eliminate stray -r in usage text. Spotted by James Hartley.Kenneth R Westerback
2008-07-09Read 'vendor' flag from ASCII disklabel since we print it. FixesKenneth R Westerback
2008-07-01Initialize variable before checking against NULL.Ray Lai
2008-06-25In interactive mode, always suggest offsets and sizes inside theOtto Moerbeek
2008-06-25allow to install and boot the OpenBSD A6 partition and disklabel in anReyk Floeter
2008-06-04setbootflag() must be done before checksum'ing the label. Bug introducedTheo de Raadt
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