History log of /freebsd-10.1-release/sbin/mknod/
Revision Date Author Comments
272461 03-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


215704 22-Nov-2010 brucec

Fix some more warnings found by clang.


213573 08-Oct-2010 uqs

mdoc: drop redundant .Pp and .LP calls

They have no effect when coming in pairs, or before .Bl/.Bd


203916 15-Feb-2010 uqs

Bump WARNS where possible.

Checked by: make universe
Approved by: ed (co-mentor)


203277 31-Jan-2010 ed

Allow mknod(8) to be only invoked with a pathname as an argument.

In 99% of the cases people just want to recreate device nodes they
removed from /dev. There is no reason to pass the additional "c 0 0"
anymore.

Also slightly improve the manpage. Remove references to non-existent
device names and platforms.


198768 01-Nov-2009 brueffer

Refine r198714, it's not as easy as just leaving the major number zero.

Submitted by: ed
MFC after: 1 week


198714 31-Oct-2009 brueffer

The majors file was removed long ago, 0 should be used instead.

PR: 139230
Submitted by: pluknet <pluknet@gmail.com>
MFC after: 1 week


170692 14-Jun-2007 delphij

In the previous changeset a cast of myminor to u_int were
removed, which will cause problems on architectures where
longs are longer than ints, for instance,
"mknod foo c 0 0xffff00ff"
would fail in such cases.

Use a proper cast instead.

Prompted by: bde


170653 13-Jun-2007 delphij

WARNS=6


141611 10-Feb-2005 ru

Sync program's usage() with manpage's SYNOPSIS.


138978 17-Dec-2004 jkoshy

Mark mknod(8) as deprecated. Add text in the 'COMPATIBILITY' section
describing the changes in device management since FreeBSD 4.0.

Reviewed by: ru


131488 02-Jul-2004 ru

Mechanically kill hard sentence breaks.


129327 17-May-2004 ru

Assorted markup, grammar, and spelling fixes.


128073 09-Apr-2004 markm

Remove advertising clause from University of California Regent's license,
per letter dated July 22, 1999.

Approved by: core, imp


126178 23-Feb-2004 johan

style.Makefile(5):
Use WARNS?= instead of WARNS=.


123946 29-Dec-2003 alfred

Document that mknod(8) can be used to undelete entries under devfs.


112627 25-Mar-2003 trhodes

Remove some more MAKEDEV information.

PR: 50294
Submitted by: Sergey A. Osokin <osa@FreeBSD.org.ru>


111448 24-Feb-2003 ru

Killed one more instance of pseudo-devices.


102231 21-Aug-2002 trhodes

s/filesystem/file system/g as discussed on -developers


99501 06-Jul-2002 charnier

The .Nm utility


91992 10-Mar-2002 dd

Minor English fixes.

PR: 35730
Submitted by: Gary W. Swearingen <swear@blarg.net>


87325 04-Dec-2001 obrien

Default to WARNS=2.
Binary builds that cannot handle this must explicitly set WARNS=0.

Reviewed by: mike


86049 04-Nov-2001 dd

Refer people looking to figure out what major to use for a device to
MAKEDEV and sys/conf/majors, not sys/conf/device.<arch>, which has
never existed in the history of FreeBSD (well, at least it isn't in
the repository).

PR: 31558


79754 15-Jul-2001 dd

Remove whitespace at EOL.


79530 10-Jul-2001 ru

mdoc(7) police: removed HISTORY info from the .Os call.


79366 06-Jul-2001 ru

mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2).


74815 26-Mar-2001 ru

- Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.


74531 20-Mar-2001 ru

Set the default manual section for sbin/ to 8.


72126 07-Feb-2001 ru

mdoc(7) police: Change -filled displays (which just happen
to be the same as -ragged in the current implementation) to
-ragged. With mdocNG, -filled displays produce the correct
output, formatted and justified to both margins.


71895 01-Feb-2001 ru

mdoc(7) police: split punctuation characters + misc fixes.


70152 18-Dec-2000 ru

Prepare for mdoc(7)NG.


68960 20-Nov-2000 ru

mdoc(7) police: use the new features of the Nm macro.


58512 24-Mar-2000 mpp

Spelling fix.


57668 01-Mar-2000 sheldonh

Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.


55496 06-Jan-2000 obrien

Add chown(8)-like functionality. This will allow us to not use chown(8)
in MAKEDEV(8) -- removing the need of having /usr mounted.


55479 05-Jan-2000 mjacob

Cast myminor/mymajor results to u_int so
comparisons to longs work correctly on
alpha.


50476 28-Aug-1999 peter

$Id$ -> $FreeBSD$


46859 10-May-1999 phk

Fix mknod which overloaded a little too much on "minor" and "major"


37422 06-Jul-1998 charnier

Remove unused #include. Add usage().


26674 16-Jun-1997 charnier

Use err(3).


23811 12-Mar-1997 bde

Fixed checking for a non-numeric minor number.


22990 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


22045 27-Jan-1997 obrien

I was porting something from sysV world and found our cross references
not quite as good as I would expect. So I'm introducing mknod to mkfifo,
and vice-versa.


21673 14-Jan-1997 jkh

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.


17787 23-Aug-1996 mpp

Use the .At macro where appropriate.


17348 30-Jul-1996 bde

Document that the major and minor numbers are parsed by strtoul().


17347 30-Jul-1996 bde

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".


17302 27-Jul-1996 joerg

Finally use strtoul() to convert the major an minor numbers, so
proper error-checking can be done, and octal and hexadecimal
numbers are allowed.


13922 05-Feb-1996 mpp

Correct some man page cross references and some file
locations.


1855 05-Aug-1994 wollman

Convert to our man installation style. Also fixed long-standing bug
in `fastboot'/`fasthalt' in which the interpreter would hang around
after `reboot' or `halt' is run, causing an irritating ``Killed'' message.


1559 26-May-1994 rgrimes

This commit was generated by cvs2svn to compensate for changes in r1558,
which included commits to RCS files with non-trunk default branches.