Remove last remnants of acd(4), mcd(4), and scd(4) drivers.

Approved by:	jhb
This commit is contained in:
Alex Kozlov
2016-08-25 19:36:58 +00:00
parent 0f2d97838d
commit c650c2f355
6 changed files with 14 additions and 24 deletions
+5 -13
View File
@@ -1,6 +1,6 @@
.\" $FreeBSD$
.\"
.Dd June 27, 2008
.Dd August 25, 2016
.Dt CDCONTROL 1
.Os
.Sh NAME
@@ -17,9 +17,7 @@ The
utility is a program to control audio features of a CD drive.
The device is a name such
as
.Pa cd0
or
.Pa acd0 .
.Pa cd0 .
.Pp
If no
.Ar command
@@ -37,9 +35,7 @@ Verbose mode.
Print as much information as possible.
.It Fl f Ar device
Specify a device, such as
.Pa /dev/cd0
or
.Pa acd0 .
.Pa /dev/cd0 .
Both absolute path and relative to
.Pa /dev
filename are possible.
@@ -56,9 +52,7 @@ option is specified,
tries opening first
.Pa /dev/cdrom ,
then
.Pa /dev/cd0 ,
and finally
.Pa /dev/acd0 .
.Pa /dev/cd0 .
.El
.Pp
The available commands are listed below.
@@ -206,10 +200,8 @@ These variables have been deprecated in favour of
.Ev CDROM .
.El
.Sh FILES
.Bl -tag -width ".Pa /dev/mcd0" -compact
.Bl -tag -width ".Pa /dev/cd0" -compact
.It Pa /dev/cd0
.It Pa /dev/mcd0
.It Pa /dev/acd0
.El
.Sh HISTORY
The
-2
View File
@@ -1292,8 +1292,6 @@ open_cd(void)
fd = open(dev = "/dev/cdrom", O_RDONLY);
if (fd < 0 && errno == ENOENT)
fd = open(dev = "/dev/cd0", O_RDONLY);
if (fd < 0 && errno == ENOENT)
fd = open(dev = "/dev/acd0", O_RDONLY);
}
if (fd < 0) {
@@ -82,7 +82,7 @@ opt_mount()
do
# Loop though and look for an installation disk
for i in `ls -1 /dev/acd* /dev/cd* /dev/scd* /dev/rscd* 2>/dev/null`
for i in `ls -1 /dev/cd* 2>/dev/null`
do
# Find the CD Device
/sbin/mount_cd9660 $i ${CDMNT}