summaryrefslogtreecommitdiff
path: root/sbin/disklabel
AgeCommit message (Expand)Author
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-08-01cats went awayTheo de Raadt
2007-07-24rearrange newline printing code during editor startup; ok millert krwTheo 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-20if a 4.2BSD partition falls partly within the area defined by theOtto Moerbeek
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-18typoTheo de Raadt
2007-06-17On Sun machines, disklabels coming from the kernel will now have a d_flagsTheo de Raadt
2007-06-16OK, landisk needs NUMBOOT=1Theo de Raadt
2007-06-16i386/amd64/zaurus/landisk are not NUMBOOT=1 or NUMBOOT=2 architectures.Theo de Raadt
2007-06-08Simplify rounding to cylinders.Todd C. Miller
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-08Fix setting total # sectors in the 'e' command.Todd C. Miller
2007-06-07Add missing parens, fixes a bug aded in rev 1.112 where maxval wouldTodd C. Miller
2007-06-07do not complain about c not being a multiple of lp->d_secpercyl; ok millertTheo de Raadt
2007-06-06fix the cylinder rounding calculation for "totally using the space" typeTheo de Raadt
2007-06-04avoid rounding down to zero cylinders. ok marco@Otto Moerbeek
2007-06-02installboot not just for i386; ok krwJason McIntyre
2007-06-01add RAID to the list of partition types for which we do not prompt for aTodd T. Fries
2007-05-31convert to new .Dd format;Jason McIntyre
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-29fix rounding in the modify case; ok millert@ miod@Otto Moerbeek
2007-04-26includes that are not needed anymoreTheo de Raadt
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-03-18Check for zero divisor _before_ dividing; do not use floatingOtto Moerbeek
2007-03-13Refactor & fix computation of offset for next partition. Now theOtto Moerbeek
2007-03-02If a default label has been created with the -d command line option orKenneth R Westerback
2007-02-24Correct comment calling FILE *f a file descriptor.Ray Lai
2007-02-22Always write the disklabel to disk when asked, even if it appears toKenneth R Westerback
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-10-12Should be correct for landisk.Dale Rahn
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-11Let armish and cats recognize MBR partitioning, to come up with properMiod Vallat
2006-07-01Eliminate redundant get_le() in favour of letoh32(). Add letoh32()Kenneth R Westerback
2006-05-16change only use of slice to 'partition letter' to be consistent withKevin Steves
2006-04-26man page is gzip'd, should store as unsigned char array.Theo de Raadt
2006-04-14Remove duplicate code, okay ray@Pedro Martelletto
2005-12-05Avoid an out-of-bounds array access in editor_delete() for invalid partitionMiod Vallat
2005-11-16Fix conversion of K units to handle case where sector size > 1024. e.g.Kenneth R Westerback
2005-11-13missing fclose(); from dhill@mindcry.orgTheo de Raadt