summaryrefslogtreecommitdiffstats
path: root/sbin/mknod
Commit message (Collapse)AuthorAgeFilesLines
* Fix some more warnings found by clang.brucec2010-11-221-1/+1
|
* mdoc: drop redundant .Pp and .LP callsuqs2010-10-081-1/+0
| | | | They have no effect when coming in pairs, or before .Bl/.Bd
* Bump WARNS where possible.uqs2010-02-151-1/+0
| | | | | Checked by: make universe Approved by: ed (co-mentor)
* Allow mknod(8) to be only invoked with a pathname as an argument.ed2010-01-312-32/+40
| | | | | | | | | 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.
* Refine r198714, it's not as easy as just leaving the major number zero.brueffer2009-11-011-1/+0
| | | | | Submitted by: ed MFC after: 1 week
* The majors file was removed long ago, 0 should be used instead.brueffer2009-10-311-4/+2
| | | | | | PR: 139230 Submitted by: pluknet <pluknet@gmail.com> MFC after: 1 week
* In the previous changeset a cast of myminor to u_int weredelphij2007-06-141-1/+1
| | | | | | | | | | | 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
* WARNS=6delphij2007-06-131-11/+6
|
* Sync program's usage() with manpage's SYNOPSIS.ru2005-02-101-2/+2
|
* Mark mknod(8) as deprecated. Add text in the 'COMPATIBILITY' sectionjkoshy2004-12-171-1/+26
| | | | | | describing the changes in device management since FreeBSD 4.0. Reviewed by: ru
* Mechanically kill hard sentence breaks.ru2004-07-021-1/+2
|
* Assorted markup, grammar, and spelling fixes.ru2004-05-171-9/+9
|
* Remove advertising clause from University of California Regent's license,markm2004-04-092-8/+0
| | | | | | per letter dated July 22, 1999. Approved by: core, imp
* style.Makefile(5):johan2004-02-231-1/+1
| | | | Use WARNS?= instead of WARNS=.
* Document that mknod(8) can be used to undelete entries under devfs.alfred2003-12-291-0/+13
|
* Remove some more MAKEDEV information.trhodes2003-03-251-17/+2
| | | | | PR: 50294 Submitted by: Sergey A. Osokin <osa@FreeBSD.org.ru>
* Killed one more instance of pseudo-devices.ru2003-02-241-1/+1
|
* s/filesystem/file system/g as discussed on -developerstrhodes2002-08-211-1/+1
|
* The .Nm utilitycharnier2002-07-061-2/+2
|
* Minor English fixes.dd2002-03-101-2/+2
| | | | | PR: 35730 Submitted by: Gary W. Swearingen <swear@blarg.net>
* Default to WARNS=2.obrien2001-12-041-0/+1
| | | | | | Binary builds that cannot handle this must explicitly set WARNS=0. Reviewed by: mike
* Refer people looking to figure out what major to use for a device todd2001-11-041-9/+3
| | | | | | | | 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
* Remove whitespace at EOL.dd2001-07-151-1/+1
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2).ru2001-07-061-2/+2
|
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-0/+1
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for sbin/ to 8.ru2001-03-201-1/+1
|
* mdoc(7) police: Change -filled displays (which just happenru2001-02-071-1/+1
| | | | | | 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.
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-011-1/+1
|
* Prepare for mdoc(7)NG.ru2000-12-181-2/+2
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-2/+2
|
* Spelling fix.mpp2000-03-241-1/+1
|
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-1/+2
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* Add chown(8)-like functionality. This will allow us to not use chown(8)obrien2000-01-062-6/+98
| | | | 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-282-2/+2
|
* Fix mknod which overloaded a little too much on "minor" and "major"phk1999-05-101-6/+6
|
* Remove unused #include. Add usage().charnier1998-07-062-12/+15
|
* 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
|
* I was porting something from sysV world and found our cross referencesobrien1997-01-271-0/+1
| | | | | not quite as good as I would expect. So I'm introducing mknod to mkfifo, and vice-versa.
* 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 the .At macro where appropriate.mpp1996-08-231-1/+2
|
* Document that the major and minor numbers are parsed by strtoul().bde1996-07-301-2/+3
|
* 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-272-2/+23
| | | | | proper error-checking can be done, and octal and hexadecimal numbers are allowed.
* Correct some man page cross references and some filempp1996-02-051-1/+1
| | | | locations.
* Convert to our man installation style. Also fixed long-standing bugwollman1994-08-051-1/+1
| | | | | in `fastboot'/`fasthalt' in which the interpreter would hang around after `reboot' or `halt' is run, causing an irritating ``Killed'' message.
* BSD 4.4 Lite sbin Sourcesrgrimes1994-05-263-0/+187
Note: XNSrouted and routed NOT imported here, they shall be imported with usr.sbin.
OpenPOWER on IntegriCloud