History log of /freebsd-10.1-release/share/man/man4/cd.4
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

# 264522 16-Apr-2014 mav

MFC r264295:
Remove support of LUN-based CD changers from cd(4) driver.

This code was heavily broken few months ago during CAM locking changes.
Fixing it would require almost complete rewrite. Since there are no
known devices on market using this interface younger then ~15 years, and
they are CD, not even DVD, I don't see much reason to rewrite it.

This change does not mean those devices won't work. They will just work
slower due to inefficient disks load/unload schedule if several LUNs
accessed same time.


# 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


# 254929 26-Aug-2013 jmg

none of the drivers in the tree support CDIOCCAPABILITY or CDIOCPITCH..
remove the documentation so people won't get confused and think they
are supported...


# 233510 26-Mar-2012 joel

mdoc: terminate quoted strings.

Reviewed by: brueffer


# 231244 09-Feb-2012 gjb

Fix some Xr references:

- ada(4): ad(4) - removed, ada(4) would be a self-referencing entry
- cd(4): ad(4) -> ada(4)
- da(4): ad(4) -> ada(4)
- DEVICE_PROBE(9): ugen(5) -> ugen(4)
- ed(4): dhclinet(8) -> dhclient(8) (typo)
- lmc(4): Netgraph(4) -> netgraph(4)
- security(7): rc.conf(8) -> rc.conf(5)
- sfxge(4): cpuset(8) -> cpuset(1)
- sbp(4): sysctl(1) -> sysctl(8)
- portindex(5): build(1) -> build(7)
- u3g(4): usbconfig(5) -> usbconfig(8)
- usb_quirk(4): usbconfig(5) -> usbconfig(8)

Found with: textproc/igor
MFC after: 3 days


# 220617 14-Apr-2011 pluknet

Remove vestiges of disklabel(5).

Reviewed by: uqs
MFC after: 5 days


# 213573 08-Oct-2010 uqs

mdoc: drop redundant .Pp and .LP calls

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


# 204705 04-Mar-2010 mav

Add links to cam(4).


# 186903 08-Jan-2009 imp

First cut at documenting hw.cam.cd.retry_count. Moved
kern.cam.cd.%d.minimum_cmd_size to new SYSCTL VARIABLES section.


# 140561 21-Jan-2005 ru

Sort sections.


# 131530 03-Jul-2004 ru

Mechanically kill hard sentence breaks and double whitespaces.


# 131472 02-Jul-2004 ru

Removed trailing whitespace.


# 119893 08-Sep-2003 ru

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


# 119708 03-Sep-2003 ken

Move dynamic sysctl(8) variable creation for the cd(4) and da(4) drivers
out of cdregister() and daregister(), which are run from interrupt context.

The sysctl code does blocking mallocs (M_WAITOK), which causes problems
if malloc(9) actually needs to sleep.

The eventual fix for this issue will involve moving the CAM probe process
inside a kernel thread. For now, though, I have fixed the issue by moving
dynamic sysctl variable creation for these two drivers to a task queue
running in a kernel thread.

The existing task queues (taskqueue_swi and taskqueue_swi_giant) run in
software interrupt handlers, which wouldn't fix the problem at hand. So I
have created a new task queue, taskqueue_thread, that runs inside a kernel
thread. (It also runs outside of Giant -- clients must explicitly acquire
and release Giant in their taskqueue functions.)

scsi_cd.c: Remove sysctl variable creation code from cdregister(), and
move it to a new function, cdsysctlinit(). Queue
cdsysctlinit() to the taskqueue_thread taskqueue once we
have fully registered the cd(4) driver instance.

scsi_da.c: Remove sysctl variable creation code from daregister(), and
move it to move it to a new function, dasysctlinit().
Queue dasysctlinit() to the taskqueue_thread taskqueue once
we have fully registered the da(4) instance.

taskqueue.h: Declare the new taskqueue_thread taskqueue, update some
comments.

subr_taskqueue.c:
Create the new kernel thread taskqueue. This taskqueue
runs outside of Giant, so any functions queued to it would
need to explicitly acquire/release Giant if they need it.

cd.4: Update the cd(4) man page to talk about the minimum command
size sysctl/loader tunable. Also note that the changer
variables are available as loader tunables as well.

da.4: Update the da(4) man page to cover the retry_count,
default_timeout and minimum_cmd_size sysctl variables/loader
tunables. Remove references to /dev/r???, they aren't used
any longer.

cd.9: Update the cd(9) man page to describe the CD_Q_10_BYTE_ONLY
quirk.

taskqueue.9: Update the taskqueue(9) man page to describe the new thread
task queue, and the taskqueue_swi_giant queue.

MFC after: 3 days


# 117011 28-Jun-2003 ru

Hiten's patchset for section four manpages, slightly edited by me.


# 115773 03-Jun-2003 hmp

Mdoc: fix hard sentence breaks.

Approved by: des (mentor)


# 89610 21-Jan-2002 mpp

Ispell sweep of share/man/man4.


# 84877 13-Oct-2001 yokota

Update man pages in the section 4 to match the reality in -CURRENT.

- Change lines referring to kernel configuration file:
device foo0 at isa port xxx irq yyy...
to
device foo
Describe resource "hints" in /boot/device.hints.

- Try to describe resource allocation and probe/attach behavior in the
newbus framework.


# 81622 14-Aug-2001 ru

mdoc(7) police: s/BSD/.Bx/ where appropriate.


# 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


# 79538 10-Jul-2001 ru

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


# 79454 09-Jul-2001 dd

mdoc(7) police: remove extraneous .Pp before and/or after .Sh.


# 76064 27-Apr-2001 ru

mdoc(7) police: shrink list width by one character.


# 75742 20-Apr-2001 dd

Remove references to block devices.

PR: 26734
Submitted by: Philipp Mergenthaler <un1i@rz.uni-karlsruhe.de>


# 72089 06-Feb-2001 asmodai

Fix typo: seperate -> separate.

Seperate does not exist in the english language.

Submitted to look at by: kris


# 70466 29-Dec-2000 ru

Prepare for mdoc(7)NG.


# 68962 20-Nov-2000 ru

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


# 67627 26-Oct-2000 asmodai

Update @freebsd.org email addresses to @FreeBSD.org as is the
precedent.


# 62879 10-Jul-2000 roberto

Correct one reference to wd.4 by ad.4.


# 57676 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.


# 50476 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 49831 15-Aug-1999 mpp

Various man page cleanup:

- Sort xrefs
- FreeBSD.ORG -> FreeBSD.org
- Be consistent with section names as outlined in mdoc(7).
- Other misc mdoc cleanup.

PR: doc/13144
Submitted by: Alexey M. Zelkin <phantom@cris.net>


# 46733 08-May-1999 ken

Devices are hardwired with "unit 0", not "lun 0" as was in these man pages.

Also, update the pass(4) man page to indicate that some CCBs must be
sent through the xpt(4) device and cannot be sent through a pass device.

PR: 8826


# 44316 27-Feb-1999 ken

Fix misspelling of Julian's last name. Oops.


# 40246 12-Oct-1998 ken

Update the cd(4) man page for the CAM cd driver.

This includes a description of the changer timeout kernel options and
sysctl variables. I didn't check to make sure the ioctl descriptions are
up to date; that will come sometime later. (The ioctls haven't changed in
the CAM driver, but I'm not sure if the man page was in sync with even the
old driver.)


# 24091 21-Mar-1997 mpp

Use the .Fx macro for FreeBSD references for releases prior to 2.0.
Use the .Tn macro for generic FreeBSD references. Cleanup other
formatting problems noticed while making the above changes.


# 22986 22-Feb-1997 peter

Revert $FreeBSD$ back to $Id$


# 22949 20-Feb-1997 jmg

added man page for /dev/sysmouse. (and activate it)

plus add appropriate xrefs now that we have {cd,sd,st}.9


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


# 20920 26-Dec-1996 wosch

Sort cross references.


# 19026 18-Oct-1996 julian

After prodding, add a BSD style copyright to those man pages I think
I probably originally wrote. Also take my name OUT of the ddb
man page.. I did NOT port it from mach.


# 14038 11-Feb-1996 mpp

Correct a bunch of man page cross references and generally
try and silence "manck".

ncurses, rpc, and some of the gnu stuff are still a big mess, however.


# 13744 30-Jan-1996 mpp

Fix a bunch of spelling errors in a bunch of man pages.


# 13472 16-Jan-1996 wollman

Update to reflect the reality of the header files.
Make more effective use of -mdoc.


# 6813 01-Mar-1995 dufault

Updated man pages to reflect new configuration options. These man pages
are getting pretty out of date and need to be visited some more.


# 5884 25-Jan-1995 dg

Added more missing manual pages from 1.1.5.