aboutsummaryrefslogtreecommitdiff
path: root/sbin/bsdlabel/bsdlabel.c
Commit message (Expand)AuthorAgeFilesLines
* Closing file descriptors when it's doneKevin Lo2010-12-011-0/+2
* Fix some more warnings found by clang.Rebecca Cran2010-11-221-1/+1
* Don't attempt to write label with GEOM_BSD based method if the class isJaakko Heinonen2010-08-271-1/+32
* - Check that strtoul(3) succeeds to convert the entire string in a fewJaakko Heinonen2010-08-151-7/+14
* - Don't assign the return value from read(2) to a variable of typeJaakko Heinonen2010-06-301-6/+8
* Use setresuid/setresgid to drop privilegesKevin Lo2010-05-161-2/+8
* Remove the dependency on the kernel -- in particular the gctl request toMarcel Moolenaar2009-08-191-18/+23
* - A call to close(2) might overwrite errno and thus give a wrong error messageUlf Lilleengen2008-09-301-1/+2
* - Improve error message given on g_providername call failure.Ulf Lilleengen2008-09-301-1/+1
* - Make bsdlabel use libgeom to determine provider name, device path, the mediaUlf Lilleengen2008-09-181-22/+40
* Remove comment about "-r" flag from readlabel. "-r" is a no-op.Craig Rodrigues2008-03-231-1/+0
* Allow bsdlabel to operate on labels that have at most 26 partitionsMarcel Moolenaar2007-12-091-3/+5
* o '-s' flag was killed in rev. 1.75. Clean getopt(3).Maxim Konovalov2006-10-201-1/+1
* Attempt to improve the logic for automatically sizing partitionsIan Dowse2005-08-141-5/+62
* Fix the derivation of the GEOM name from the specified device name byRalf S. Engelschall2005-01-071-0/+3
* The disk labels generated by bsdlabel can no address more thanBrooks Davis2004-09-091-0/+3
* The multiplier prefix is actually a multiplier suffix.Dag-Erling Smørgrav2004-08-091-1/+1
* Use fallthrough to simplify the multiplier logic; optimistically addDag-Erling Smørgrav2004-08-081-9/+14
* Fix some whitespace issues, and move a curly brace out of an #ifdef toDag-Erling Smørgrav2004-08-081-13/+14
* Implement a '-f' flag to teach bsdlabel to work on files instead ofLuigi Rizzo2004-03-301-6/+33
* When installing boot blocks into an Alpha BSD label, setup the location,John Baldwin2004-03-151-0/+10
* Only automatically create an 'a' partition when there is nothingPoul-Henning Kamp2003-10-181-4/+22
* Remove the hardcoded default block/frag/cpg values from bsdlabelIan Dowse2003-10-051-44/+5
* When we initialize a disk with a virgin label, create also an 'a'Poul-Henning Kamp2003-08-271-0/+4
* Augh! Fix the sparc64 build:Poul-Henning Kamp2003-06-071-0/+8
* Sanitize setting of labeloffset and labelsector.Poul-Henning Kamp2003-06-071-11/+4
* Give ia64 the exact same semantics as i386 with respect to non-512Poul-Henning Kamp2003-06-041-1/+2
* Unbreak ia64. 'nuff said.Marcel Moolenaar2003-06-041-0/+4
* Fix sectorsize != 512 on i386 and pc98. Add test cases for same.Poul-Henning Kamp2003-06-021-6/+19
* Simplify the GEOM OAM api: Drop the request type, and let everythingPoul-Henning Kamp2003-06-011-6/+6
* Protext copyright[].David E. O'Brien2003-05-311-3/+2
* Add pc98 archtecture entry.Poul-Henning Kamp2003-05-131-0/+4
* Before reading an ascii label, initialize with defaults so thatPoul-Henning Kamp2003-05-091-0/+1
* Sigh, this shows just how much one can be conditioned my the environment:Poul-Henning Kamp2003-05-091-9/+7
* Add transparent handling of mbroffset for backwards compatibility.Poul-Henning Kamp2003-05-041-1/+25
* More axe-work:Poul-Henning Kamp2003-05-031-102/+115
* Some minor remodelling with a large axe.Poul-Henning Kamp2003-05-031-279/+171
* Use new geom.ctl based OAM instead of ioctls.Poul-Henning Kamp2003-05-031-95/+94
* bsd_disklabel_le_dec() takes an extra argument now.Poul-Henning Kamp2003-05-021-1/+2
* Vastly simplify architecture handling: Use properties of label asPoul-Henning Kamp2003-05-021-124/+19
* Default the location to the compiled for architecture if no -m arg specified.Poul-Henning Kamp2003-05-021-3/+9
* Add three global variables which contain the location, size and a flagPoul-Henning Kamp2003-05-021-37/+20
* Remove the well-intentioned, but ill thought out check which prevents usPoul-Henning Kamp2003-05-021-7/+0
* First scrub of s/disklabel/bsdlabel/Poul-Henning Kamp2003-04-181-8/+8
* Don't die of SIGSEGV on a missing fstype fieldYaroslav Tykhiy2003-04-011-0/+4
* Teach disklabel(8) about different hardware architectures.Ruslan Ermilov2003-03-161-101/+164
* Deal with vestiges of d_boot[01].Ruslan Ermilov2003-02-231-16/+2
* If we fail to open O_RDWR, try opening O_RDONLY, if we use ioctlsPoul-Henning Kamp2003-01-261-0/+6
* IA64 still needs to be able to run on MBR+BSD combination, so put disklabelPoul-Henning Kamp2003-01-261-0/+1
* Drop the silly notion that i386 has two bootstrap files now that sys/bootPoul-Henning Kamp2003-01-261-138/+24