summaryrefslogtreecommitdiff
path: root/lib/libutil/opendev.c
AgeCommit message (Expand)Author
2011-06-30Do not mask errno if we fail to open /dev/diskmap. Also, fall throughJoel Sing
2010-12-22Do not attempt to prepend /dev/ to path if it already contains a slash.Todd C. Miller
2010-12-21Always return a pointer to the static buffer in realpath, even ifTodd C. Miller
2010-12-17opendev() path argument should be const. OK deraadt@Todd C. Miller
2010-11-15Factor out DUID identification code so that it can easily be reused.Joel Sing
2010-06-28add missing headers needed for close() and ioctl().Charles Longeau
2010-06-18If a request to opendev(3) is given in the form of a disklabel UID,Joel Sing
2004-05-28knf; otto okTheo de Raadt
2002-06-09some -Wall and spaces cleanup, scsi.c left.Federico G. Schwindt
2000-04-30Add OPENDEV_BLCK flag for opening the block devices (the characterTodd C. Miller
1996-09-16Bring prototypes into scopeThorsten Lockert
1996-07-02Use getrawpartition().Jason Downs
1996-06-20only write to realpath if non-NULLTheo de Raadt
1996-06-17util.h: new resting placeJason Downs
1996-06-17Add opendev(3) to libutil. Used by mt(1), soon by disklabel(8), maybeJason Downs