History log of /freebsd-10.1-release/share/man/man9/make_dev.9
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 272461 02-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


# 244584 22-Dec-2012 jh

Reject spaces and double quotation marks in device names. devctl(4)
and devd(8) can't handle names with such characters properly.

PR: bin/144736, kern/161912
Discussed with: imp, kib, pjd


# 233422 24-Mar-2012 joel

Remove superfluous paragraph macro.


# 221490 05-May-2011 ae

Formatting fixes:
o Fix date
o Break sentences
o Remove trailing whitespaces
o Sort xrefs by section number

Requested by: ru
MFC after: 2 weeks


# 221398 03-May-2011 ae

Document make_dev_alias_p().

MFC after: 2 weeks


# 217719 22-Jan-2011 jh

Fix typos.


# 214278 24-Oct-2010 jh

Use .Dv with NULL.


# 214277 24-Oct-2010 jh

Document make_dev_p(9).

Reviewed by: brueffer, kib


# 213526 07-Oct-2010 jh

Check the device name validity on device registration.

A new function prep_devname() sanitizes a device name by removing
leading and redundant sequential slashes. The function returns an error
for names which already exist or are considered invalid.

A new flag MAKEDEV_CHECKNAME for make_dev_p(9) and make_dev_credf(9)
indicates that the caller is prepared to handle an error related to the
device name. An invalid name triggers a panic if the flag is not
specified.

Document the MAKEDEV_CHECKNAME flag in the make_dev(9) manual page.

Idea from: kib
Reviewed by: kib


# 212233 05-Sep-2010 kib

Document MAKEDEV_ETERNAL.

MFC after: 3 days


# 210737 01-Aug-2010 pjd

Correct function name.

MFC after: 3 days


# 208732 02-Jun-2010 uqs

mdoc cleanup

Garbage collect unused sections, macros and arguments. Fix prologue and
remove empty lines.

Found by: mdocml


# 207730 06-May-2010 kib

Document MAKEDEV_NOWAIT flag for make_dev_credf(9).

Reviewed by: jh
MFC after: 2 weeks


# 206622 14-Apr-2010 uqs

mdoc: order prologue macros consistently by Dd/Dt/Os

Although groff_mdoc(7) gives another impression, this is the ordering
most widely used and also required by mdocml/mandoc.

Reviewed by: ru
Approved by: philip, ed (mentors)


# 183442 28-Sep-2008 ed

Several documentation fixups related to device minor/major numbers:

- Document the minor(3), major(3) and makedev(3) macro's. They also
apply to umajor() and uminor() in the kernel, but hopefully we'll sort
that out one day.

- Briefly dev2unit() inside the make_dev(9) manual page, since this is
now the preferred macro to obtain character device unit numbers inside
the kernel.

- Remove the device_ids(9) manual page. It contains highly inaccurate
information, such as a description of the nonexistent major().


# 183382 26-Sep-2008 ed

Rename the `minor' argument of make_dev(9) to `unit'.

To prevent any further confusion about device minor and unit numbers,
we'd better just refer to device unit numbers. Many people still think
the numbers we show inside devfs have any relation to the numbers passed
to make_dev(9), which is not the case.

Discussed with: kib


# 182929 11-Sep-2008 kib

Document make_dev_credf(9), destroy_dev_sched(9) and destroy_dev_drain(9)
functions.

Reviewed by: brueffer


# 169401 09-May-2007 brueffer

Bump date for previous commit, also new sentence -> new line.


# 169322 06-May-2007 jmg

Document the additional fields, si_drv1 and si_drv2 that are available
for the user to use...

MFC after: 1 week


# 164587 24-Nov-2006 imp

Make it clear that the device name may contain '/' characters to place
a device in a subdirectory. Also explicitly state that the name is
constructed using fmt like printf would print it.

MFC After: 3 days


# 158355 08-May-2006 jmg

match w/ prototype...

MFC after: 3 days


# 154500 18-Jan-2006 imp

Bump date to Sept 20, the date of the last content change


# 150356 20-Sep-2005 imp

Sprinkle a few stars where they belong.


# 144217 28-Mar-2005 brueffer

Bump .Dd for the previous commit.


# 144201 28-Mar-2005 brueffer

The make_dev(9) functions no longer handle dev_ts, but struct cdevs.

PR: 78172
Submitted by: "Wojciech A. Koszek" <dunstan@freebsd.czest.pl>
MFC after: 3 days


# 121380 22-Oct-2003 hmp

Mdoc Janitor:

* Fix hard sentence breaks.

* NOTE: devstat(9) requires more mdoc(7) work.


# 119893 08-Sep-2003 ru

mdoc(7): Use the new feature of the .In macro.


# 115441 31-May-2003 hmp

Various mdoc(7) fixes:

Add devfs(5) reference - make_dev.9
Change .Xr from VFS_VGET(9) to vget(9) - vnode.9
Spelling fix, 'useage' to 'usage' - zone.9

Approved by: des (mentor)


# 90500 10-Feb-2002 dd

The routine is dev_depends(); consistently spell it that way.

PR: 34047
Submitted by: Maxime Henrion <mux@sneakerz.org>
Pointy hat to: dd


# 89124 09-Jan-2002 mpp

ispell sweep of share/man/man9/*.


# 84438 04-Oct-2001 bde

Fixed wrong include in synopsis.

Fixed bitrot in synopsis. Const'ification of make_dev() and
make_dev_alias() had not reached here.


# 84306 01-Oct-2001 ru

mdoc(7) police: Use the new .In macro for #include statements.


# 79727 14-Jul-2001 schweikh

Removed whitespace at end-of-line; no content changes. I simply did
cd src/share; find man[1-9] -type f|xargs perl -pi -e 's/[ \t]+$//'

BTW, what editors are the culprits? I'm using vim and it shows
me whitespace at EOL in troff files with a thick blue block...

Reviewed by: Silence from cvs diff -b
MFC after: 7 days


# 79221 04-Jul-2001 ru

mdoc(7) police: cosmetics.


# 77379 29-May-2001 dd

Document depends_dev.

Reviewed by: phk


# 75670 18-Apr-2001 ru

mdoc(7) police: normalize .Nd.


# 74155 12-Mar-2001 ru

mdoc(7) police:
removed hard sentence breaks, use Ft for function return type.


# 74114 11-Mar-2001 mjacob

Document the make_dev_alias function.


# 55046 23-Dec-1999 bde

"Fixed" assorted bitrot. remove_dev() was renamed to destroy_dev().
VOP_ABORTOP() went away. at_shutdown() was replaced by undocumented
event handling. Rename remove_dev() here too, and remove the dead
and dead wrong man pages.


# 51664 25-Sep-1999 chris

Document the make_dev(9) and remove_dev(9) facilities.
remove_dev(9) is created as a link to the existing make_dev(9) page.

Reviewed by: phk