freebsd-dev/usr.sbin
Nate Lawson 76ba4ecdad * Add CDRIOC{READ,WRITE}SPEED ioctls to cd(4). Units are in KB/sec.
* Change atapi-cd ioctls to use the same units.
* Change burncd, cdcontrol to convert CDROM speed to KB/sec before
calling the ioctl.  Add a "max" speed option for their command lines.

This change does not break ABI but does change the units passed through
the ioctl so 3rd party software that uses cdrio.h will have to convert
(most likely by multiplying CDROM speed by 177 to get KB/s).

PR:		kern/36845
Submitted by:	Philipp Mergenthaler <p@i609a.hadiko.de> (CAM ioctls)
Reviewed by:	sos, ken
MFC after:	1 month
2002-10-18 22:03:39 +00:00
..
ac Remove unused #includes. Eliminate castings by using size_t instead of int. 2002-10-17 13:19:47 +00:00
accton The .Nm utility 2002-07-14 14:47:15 +00:00
acpi Use __packed. 2002-10-09 19:46:09 +00:00
adduser Fix conjugation of exists and add full stops to the messages I changed. 2002-08-11 20:31:16 +00:00
amd Mark all internal libraries with INTERNALLIB. 2002-05-13 11:24:03 +00:00
ancontrol The .Nm utility 2002-07-14 14:47:15 +00:00
apm Add missing .Nm. Add FBSDID. fprintf -> warnx. Lowercase first letter inside 2002-10-15 16:28:21 +00:00
apmd The .Nm utility 2002-07-14 14:47:15 +00:00
arp Change 'int pid' to 'pid_t pid' 2002-07-25 01:48:19 +00:00
atm de-__P() 2002-10-10 00:32:55 +00:00
boot0cfg Split MBR and PC98 on-disk sliceformats out from disklabel.h, step 1: 2002-10-01 07:24:55 +00:00
boot98cfg The .Nm utility 2002-07-14 14:47:15 +00:00
bootparamd The .Nm utility 2002-07-14 14:47:15 +00:00
btxld Get howmany() macro from <sys/param.h>, instead of depending on its 2002-09-24 22:30:56 +00:00
burncd * Add CDRIOC{READ,WRITE}SPEED ioctls to cd(4). Units are in KB/sec. 2002-10-18 22:03:39 +00:00
cdcontrol * Add CDRIOC{READ,WRITE}SPEED ioctls to cd(4). Units are in KB/sec. 2002-10-18 22:03:39 +00:00
chkgrp Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
chown Fix a spelling mistake. 2002-07-17 16:22:24 +00:00
chroot The .Nm utility 2002-07-14 14:47:15 +00:00
ckdist mdoc(7) police: s/BSD/.Bx/ where appropriate. 2001-08-14 10:01:54 +00:00
config mdoc(7) police: Removed redundant .Ns calls. 2002-08-13 16:07:28 +00:00
cron Actually use the exitstatus value that we maintain. 2002-10-01 22:59:11 +00:00
crunch Put author name under .An/Aq. 2002-10-16 15:51:16 +00:00
ctm Make the threatened fts(3) ABI fix. FTSENT now avoids the use of the struct 2002-09-21 01:28:41 +00:00
daemon mdoc(7) police: minor formatting tweaks. 2001-08-31 12:52:50 +00:00
dev_mkdb The .Nm utility 2002-07-14 14:47:15 +00:00
devinfo o Don't print devices that aren't attached unless run with the newly 2002-09-20 02:26:58 +00:00
digictl The .Nm utility 2002-07-14 14:47:15 +00:00
editmap Add editmap, a new utility which comes with sendmail 8.12 for editing maps in 2002-02-17 22:02:59 +00:00
edquota Allow edquota(8) to be used for setting up quotas non-interactively (add a 2002-09-07 12:26:07 +00:00
elf2aout Set NO_WERROR to ignore the following warning which is emitted on 2002-07-11 18:06:09 +00:00
elf2exe The .Nm utility 2002-07-14 14:47:15 +00:00
extattr Document the -n option and fix manpage Fl usage. 2002-10-10 17:19:43 +00:00
extattrctl The .Nm utility 2002-07-14 14:47:15 +00:00
faithd The .Nm utility 2002-07-14 14:47:15 +00:00
fdcontrol mdoc(7) police: tidy up the markup. 2002-01-10 17:41:22 +00:00
fdformat Include <string.h> for some prototypes, rather than depending on 2002-04-01 21:13:17 +00:00
fdread Use `The .Nm utility' 2002-04-20 12:27:18 +00:00
fdwrite Use `The .Nm utility' 2002-04-20 12:27:18 +00:00
gifconfig Correctly handle ifr.ifr_flags/ifr.ifr_flagshigh like ifconfig(8) does. 2002-08-29 12:52:28 +00:00
i4b After dialling using -n, add the ability to wait for the first response 2002-08-27 14:46:22 +00:00
ifmcstat The .Nm utility 2002-07-14 14:47:15 +00:00
inetd When printing the wait status, break it down into a signal and a exit status. 2002-09-04 21:00:45 +00:00
iostat Use essentially the same formatting of the CPU stats percentages as in 2002-08-18 17:51:14 +00:00
ipftest * ipftest now compiles with IPFILTER_LOG and needs ip_log.c to be able to 2002-03-20 08:57:10 +00:00
ipresend Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
ipsend Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
iptest Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
IPXrouted The .Nm utility 2002-07-14 14:47:15 +00:00
jail The .Nm utility 2002-07-14 14:47:15 +00:00
kbdcontrol de-__P() 2002-07-11 21:13:37 +00:00
kbdmap C rewrite of kbdmap/vidfont. 2002-07-03 14:56:08 +00:00
kernbb Include <nlist.h> for nlist interfaces instead of depending on namespace 2002-08-18 17:57:08 +00:00
keyadmin Arrange to not have /* inside a comment. Typo fix. 2002-10-16 15:56:13 +00:00
keyserv Initiate deorbit burn for the i386-only a.out related support. Moves are 2002-09-17 01:49:00 +00:00
kgmon Fix int/size_t mismatch for sysctl arguments. Try not to introduce more 2002-07-30 04:45:14 +00:00
kgzip mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
kldxref This is a userland tool, not a kernel component or libstand client. 2002-07-17 23:41:58 +00:00
lastlogin The .Nm utility 2002-07-14 14:47:15 +00:00
lpr Fix typos; each file has at least one s/seperat/separat/ 2002-08-11 13:05:30 +00:00
lptcontrol The .Nm utility 2002-07-14 14:47:15 +00:00
mailstats Update build infrastructure for sendmail 8.12. 2002-02-17 22:05:07 +00:00
mailwrapper Drop support for COPY, -c has been the default mode of install(1) 2002-07-29 09:40:17 +00:00
makemap Update build infrastructure for sendmail 8.12. 2002-02-17 22:05:07 +00:00
manctl The .Nm utility 2002-07-14 14:47:15 +00:00
memcontrol Some BIOSs are using MTRR values that are only documented under NDA 2002-09-15 15:07:55 +00:00
mergemaster Suppress spurious warning messages about rm -rf TEMPROOT failing 2002-08-05 08:47:52 +00:00
mixer The .Nm utility 2002-07-14 14:47:15 +00:00
mld6query The .Nm utility 2002-07-14 14:47:15 +00:00
mlxcontrol Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
mount_nwfs s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
mount_portalfs s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
mount_smbfs Add bmake glue for src/contrib/smbfs and connect userland smbfs 2001-12-14 11:41:22 +00:00
mountd s/rpc.mountd/mountd/ 2002-10-16 16:04:50 +00:00
moused Replace various spelling with FALLTHROUGH which is lint()able 2002-08-25 13:30:43 +00:00
mptable
mrouted Check for FD_SET overruns. 2002-09-09 15:45:28 +00:00
mtest The .Nm utility 2002-07-14 14:47:15 +00:00
mtree Make the threatened fts(3) ABI fix. FTSENT now avoids the use of the struct 2002-09-21 01:28:41 +00:00
named Install the rfc 2317 notes 2002-07-01 01:23:59 +00:00
named.reload Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
named.restart Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
ndc Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
ndp Change 'int pid' to 'pid_t pid' 2002-07-25 01:48:19 +00:00
newsyslog Fix getopt(3) optstring: remove a flag we does not handle. 2002-10-16 14:20:20 +00:00
nfsd Update manpage to match the code, vfsload() is not used 2002-08-11 15:19:49 +00:00
ngctl Usage style sweep: spell "usage" with a small 'u'. 2002-04-22 13:44:47 +00:00
nghook The .Nm utility 2002-07-14 14:47:15 +00:00
nologin The .Nm utility 2002-07-06 19:34:18 +00:00
nslookup Install files via FILES. 2001-12-17 16:21:59 +00:00
nsupdate Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
ntp The .Nm utility 2002-07-14 14:47:15 +00:00
ofwdump Add a utility to examine the OpenFirmware device tree (on sparc64). This 2002-10-18 15:37:15 +00:00
pccard Remove bogus comments about why we do some silly things, and instead 2002-09-29 23:56:33 +00:00
pciconf Use consistent terminology in the usage message, the man page 2002-09-17 18:10:39 +00:00
pcvt Don't depend on <sys/types.h> pollution in <sys/fcntl.h>. 2002-09-17 17:59:51 +00:00
periodic The .Nm utility 2002-07-14 14:47:15 +00:00
pkg_install Teach pkg_add -r how to find 4.7-RELEASE packages with an appropriate 2002-10-08 05:15:21 +00:00
pnpinfo Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
ppp If the peer gives us 0.0.0.0 as his IP number, NAK it rather than accepting 2002-09-23 22:40:43 +00:00
pppctl The .Nm utility 2002-07-14 14:47:15 +00:00
pppd Check for FD_SET overruns. 2002-09-17 15:52:35 +00:00
pppstats Usage style sweep: spell "usage" with a small 'u'. 2002-04-22 13:44:47 +00:00
praliases Update build infrastructure for sendmail 8.12. 2002-02-17 22:05:07 +00:00
prefix The .Nm utility 2002-07-14 14:47:15 +00:00
procctl The .Nm utility 2002-07-14 14:47:15 +00:00
pstat Use struct xfile, not struct file. 2002-07-31 12:43:17 +00:00
pw The .Nm utility 2002-07-14 14:47:15 +00:00
pwd_mkdb The .Nm utility 2002-07-14 14:47:15 +00:00
quot Use POSIX-style sort syntax in example 2002-09-24 20:15:11 +00:00
quotaon The .Nm utility 2002-07-14 14:47:15 +00:00
rarpd Add "-t" to useage message and comment. (The -t option was added 2002-09-15 15:37:50 +00:00
raycontrol The .Nm utility 2002-07-14 14:47:15 +00:00
repquota The .Nm utility 2002-07-14 14:47:15 +00:00
rip6query The .Nm utility 2002-07-14 14:47:15 +00:00
rmt The .Nm utility 2002-07-14 14:47:15 +00:00
route6d The .Nm utility 2002-07-14 14:47:15 +00:00
rpc.lockd Remove a case of exposing 'struct ucred' to userspace. Use a struct xucred 2002-08-15 21:52:22 +00:00
rpc.statd use getaddrinfo() instead of gethostbyname(). 2002-07-15 19:02:45 +00:00
rpc.umntall The .Nm utility 2002-07-14 14:47:15 +00:00
rpc.yppasswdd Drop support for COPY, -c has been the default mode of install(1) 2002-07-29 09:40:17 +00:00
rpc.ypupdated Unbogotify the comment containing the RCS Id. 2002-02-15 00:46:32 +00:00
rpc.ypxfrd The .Nm utility 2002-07-14 14:47:15 +00:00
rpcbind Add 'break' to empty 'default' 'switch' statements. 2002-10-07 03:56:13 +00:00
rrenumd The .Nm utility 2002-07-14 14:47:15 +00:00
rtadvd The .Nm utility 2002-07-14 14:47:15 +00:00
rtprio Use `The .Nm utility' 2002-04-20 12:27:18 +00:00
rtsold The .Nm utility 2002-07-14 14:47:15 +00:00
rwhod Comment out WARNS?=4 to unbreak the Alpha build. 2002-07-15 17:11:20 +00:00
sa Get rid of %qd, and unbreak Alpha build. 2002-07-15 16:05:15 +00:00
sade Fix to check disk geometry. 2002-10-14 13:15:14 +00:00
sendmail Update build infrastructure for sendmail 8.12. 2002-02-17 22:06:20 +00:00
setkey Fix spacing for -P (policy) examples. 2002-07-27 21:06:06 +00:00
sgsc
sicontrol The .Nm utility 2002-07-14 14:47:15 +00:00
sliplogin The .Nm utility 2002-07-14 14:47:15 +00:00
slstat WARNS=2, de-__P() 2002-07-11 22:50:36 +00:00
spkrtest The .Nm utility 2002-07-14 14:47:15 +00:00
spray do not call clnt_spcreateerror nor clnt_sperror with a NULL pointer, instead 2002-07-15 18:53:52 +00:00
stallion Replace various spelling with FALLTHROUGH which is lint()able 2002-08-25 13:30:43 +00:00
sysinstall Fix to check disk geometry. 2002-10-14 13:15:14 +00:00
syslogd Sync usage() with reality and sort it alphabetically. 2002-10-18 11:48:46 +00:00
tcpdchk Don't clobber CFLAGS. 2001-08-04 21:48:18 +00:00
tcpdmatch Don't clobber the default for CFLAGS. 2001-08-31 11:05:24 +00:00
tcpdump Remove out-of-date -I. 2002-06-26 01:37:45 +00:00
timed The .Nm utility 2002-07-14 14:47:15 +00:00
traceroute Update for traceroute 1.4a12 2002-07-28 02:27:07 +00:00
traceroute6 Back out previous commit. I was a bit overzealous: the fd_set size is 2002-09-09 16:43:18 +00:00
trpt Unbreak Alpha build. 2002-07-16 09:58:36 +00:00
tzsetup The .Nm utility 2002-07-14 14:47:15 +00:00
ugidfw Cosmetic line-wrapping change that has the side-effect of not producing 2002-10-18 05:31:39 +00:00
usbd The .Nm utility 2002-07-14 14:47:15 +00:00
usbdevs The .Nm utility 2002-07-14 14:47:15 +00:00
vidcontrol Add a new -H' modifier, which when combined with -p' or `-P' allows to dump 2002-08-19 16:33:23 +00:00
vipw Don't use NULL when we really mean 0 for call to pw_edit. 2002-08-21 19:01:50 +00:00
vnconfig Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
watch Add break's to case blocks. 2002-08-10 08:42:10 +00:00
wicontrol Spell 'Temperature' correctly. 2002-10-08 19:41:12 +00:00
wlconfig The .Nm utility 2002-07-14 14:47:15 +00:00
xten KNF. 2002-06-12 04:18:35 +00:00
yp_mkdb The .Nm utility 2002-07-14 14:47:15 +00:00
ypbind xids are u_int32_ts, which are not necessarily the same size as time_ts or 2002-09-16 21:39:42 +00:00
yppoll The .Nm utility 2002-07-14 14:47:15 +00:00
yppush The .Nm utility 2002-07-14 14:47:15 +00:00
ypserv The resolver library does a pretty acceptable set of domain 2002-09-20 20:09:27 +00:00
ypset The .Nm utility 2002-07-14 14:47:15 +00:00
zic The .Nm utility 2002-07-14 14:47:15 +00:00
Makefile Connect ofwdump to the sparc64 build. 2002-10-18 15:38:39 +00:00
Makefile.inc