summaryrefslogtreecommitdiffstats
path: root/sbin/mknod/mknod.c
Commit message (Collapse)AuthorAgeFilesLines
* Add chown(8)-like functionality. This will allow us to not use chown(8)obrien2000-01-061-5/+68
| | | | in MAKEDEV(8) -- removing the need of having /usr mounted.
* Cast myminor/mymajor results to u_int somjacob2000-01-051-1/+2
| | | | | comparisons to longs work correctly on alpha.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Fix mknod which overloaded a little too much on "minor" and "major"phk1999-05-101-6/+6
|
* Remove unused #include. Add usage().charnier1998-07-061-10/+12
|
* Use err(3).charnier1997-06-161-26/+12
|
* Fixed checking for a non-numeric minor number.bde1997-03-121-2/+2
|
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Use strtoul() more carefully.bde1996-07-301-12/+34
| | | | | | | | Check that the major and minor are valid. Don't print `.' at the end of error messages. Fixed all warnings from "cc -Wall".
* Finally use strtoul() to convert the major an minor numbers, sojoerg1996-07-271-2/+16
| | | | | proper error-checking can be done, and octal and hexadecimal numbers are allowed.
* BSD 4.4 Lite sbin Sourcesrgrimes1994-05-261-0/+82
Note: XNSrouted and routed NOT imported here, they shall be imported with usr.sbin.
OpenPOWER on IntegriCloud