obrien
f614e0ccf6
Add chown(8)-like functionality. This will allow us to not use chown(8)
...
in MAKEDEV(8) -- removing the need of having /usr mounted.
2000-01-06 05:20:14 +00:00
mjacob
1a9afadba9
Cast myminor/mymajor results to u_int so
...
comparisons to longs work correctly on
alpha.
2000-01-05 20:18:16 +00:00
peter
76f0c923fe
$Id$ -> $FreeBSD$
1999-08-28 00:22:10 +00:00
phk
073fc64b49
Fix mknod which overloaded a little too much on "minor" and "major"
1999-05-10 04:50:27 +00:00
charnier
2f22f79b32
Remove unused #include. Add usage().
1998-07-06 07:06:15 +00:00
charnier
ad63a4c160
Use err(3).
1997-06-16 06:35:23 +00:00
bde
7c6cdff7fb
Fixed checking for a non-numeric minor number.
1997-03-12 19:03:40 +00:00
peter
4968036f61
Revert $FreeBSD$ to $Id$
1997-02-22 14:40:44 +00:00
jkh
808a36ef65
Make the long-awaited change from $Id$ to $FreeBSD$
...
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.
1997-01-14 07:20:47 +00:00
bde
5c5a23135a
Use strtoul() more carefully.
...
Check that the major and minor are valid.
Don't print `.' at the end of error messages.
Fixed all warnings from "cc -Wall".
1996-07-30 17:43:21 +00:00
joerg
2fbfe97775
Finally use strtoul() to convert the major an minor numbers, so
...
proper error-checking can be done, and octal and hexadecimal
numbers are allowed.
1996-07-27 17:24:55 +00:00
rgrimes
d038e02fd6
BSD 4.4 Lite sbin Sources
...
Note: XNSrouted and routed NOT imported here, they shall be imported with
usr.sbin.
1994-05-26 06:35:07 +00:00