1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/sbin
Craig Rodrigues 8d1a3b6998 Add a "kern.features.ata_cam" sysctl in the kernel when the ATA_CAM kernel
option is defined.  This sysctl can be queried by feature_present(3).

Query for this feature in /sbin/atacontrol and /usr/sbin/burncd.
If these utilities detect that ATA_CAM is enabled, then these utilities
will error out.  These utilities are compatible with the old ATA
driver, but are incomptible with the new ATA_CAM driver.  By erroring out,
we give end-users an idea as to what remedies to use, and reduce the need for them
to file PR's.  For atacontrol, camcontrol must be used instead,
and for burncd, alternative utilties from the ports collection must be used
such as sysutils/cdrtools.

In future, maybe someone can re-write burncd to work with ATA_CAM,
but at least for now, we give a somewhat useful error message to end users.

PR:		160979
Reviewed by:	jh, Arnaud Lacombe <lacombar at gmail dot com>
Reported by:	Joe Barbish <fbsd8 at a1poweruser dot com>
MFC after:	3 days
2011-10-09 21:42:02 +00:00
..
adjkerntz
atacontrol Add a "kern.features.ata_cam" sysctl in the kernel when the ATA_CAM kernel 2011-10-09 21:42:02 +00:00
atm MFtbemd: 2010-08-23 22:24:11 +00:00
badsect
bsdlabel Widen fields that display partition offset/length. 2011-03-10 08:24:33 +00:00
camcontrol Add descriptor sense support to CAM, and honor sense residuals properly in 2011-10-03 20:32:55 +00:00
ccdconfig mdoc: drop redundant .Pp and .LP calls 2010-10-08 12:40:16 +00:00
clri
comcontrol
conscontrol Changed "conscontrol unset" to accept an existing virtual 2011-04-18 20:28:07 +00:00
ddb Correct subcommand name 'unset' -> 'unscript'. 2011-06-18 22:32:55 +00:00
devd Typo. For USB devices, 'serial' should be 'sernum'. 2011-05-10 02:34:11 +00:00
devfs
dhclient Use resolvconf(8) to update /etc/resolv.conf. 2011-03-18 12:23:20 +00:00
dmesg
dump The dump, fsck_ffs, fsdb, fsirand, newfs, makefs, and quot utilities 2011-01-24 06:17:05 +00:00
dumpfs Use _PATH_DEV and make the format more consistent with GEOM_LABEL. 2011-07-14 17:43:23 +00:00
dumpon
fdisk The decimal() function was changed in r217808 to take the 2011-08-19 12:48:06 +00:00
fdisk_pc98
ffsinfo
fsck Fix typos and spelling mistakes. 2010-08-06 14:33:42 +00:00
fsck_ffs Forgot this nit in r221107. 2011-09-03 03:12:33 +00:00
fsck_msdosfs
fsdb Get rid of major/minor number distinction. 2011-09-28 18:53:36 +00:00
fsirand The dump, fsck_ffs, fsdb, fsirand, newfs, makefs, and quot utilities 2011-01-24 06:17:05 +00:00
gbde MFtbemd: 2010-08-23 22:24:11 +00:00
geom Don't use the whole free space when resizing partition to a larger size 2011-09-08 04:14:16 +00:00
ggate Because ggatel(8) operates on local GEOM providers, use unlimited queue size in 2011-04-02 06:59:05 +00:00
growfs Revert the mechanical change from 'file system' to 'filesystem', committed 2011-06-28 19:59:46 +00:00
gvinum * Add the readline(3) API to libedit. The libedit versions of 2011-04-05 18:41:01 +00:00
hastctl Prefer PJDLOG_ASSERT()/PJDLOG_ABORT() over assert(). 2011-09-27 08:21:00 +00:00
hastd Correct typo. 2011-09-28 13:25:27 +00:00
ifconfig - Document inet6 no_radr flag. 2011-09-19 16:01:53 +00:00
init init(8): Document that login(1) is now responsible for recording logouts. 2011-01-23 14:54:45 +00:00
ipf
ipfw Add support for IPv6 to ipfw fwd: 2011-08-20 17:05:11 +00:00
iscontrol Fix compilation with debug on. 2011-01-25 22:25:16 +00:00
kldconfig
kldload Make flags in usage() and SYNOPSYS more style(9)-ish. 2010-08-30 07:29:27 +00:00
kldstat In printfile(), exit the process instead of only printing the warning. 2010-11-13 16:49:07 +00:00
kldunload
ldconfig
mca
md5
mdconfig Somewhere around the 473rd time I mistyped "mdconfig file" instead of 2011-04-29 22:40:11 +00:00
mdmfs Do not try to change the mode or ownership of the root of the mountpoint 2011-09-13 20:16:11 +00:00
mknod Fix some more warnings found by clang. 2010-11-22 20:10:48 +00:00
mksnap_ffs Note that a UFS filesystem can have up to 20 active snapshots. 2011-02-15 07:25:54 +00:00
mount Clear the mountprog variable after each mountfs() call so that mountprog 2011-09-02 17:11:59 +00:00
mount_cd9660
mount_ext2fs
mount_hpfs
mount_msdosfs
mount_nfs Implemented a mount option "nocto" that disables cache coherency 2011-05-04 13:27:45 +00:00
mount_ntfs
mount_nullfs
mount_reiserfs Re-encode files from ISO-8859-1 to UTF-8 2011-05-22 14:03:30 +00:00
mount_std
mount_udf
mount_unionfs Fix SYNOPSIS. 2011-03-23 13:44:09 +00:00
natd Fix a typo. 2011-07-01 19:22:27 +00:00
newfs Advertise growfs(8) a little better. 2011-06-22 18:02:28 +00:00
newfs_msdos Use NULL instead of 0 for third argument of sigaction(2). 2011-07-12 10:07:07 +00:00
nfsiod
nos-tun
pfctl
pflogd Update packet filter (pf) code to OpenBSD 4.5. 2011-06-28 11:57:25 +00:00
ping
ping6 Add __unused. Ansi prototypes. 2010-12-19 13:40:38 +00:00
quotacheck
rcorder Gavin documented these alternate options in good faith in r222751 2011-08-06 09:13:09 +00:00
reboot Remove vestiges of disklabel(5). 2011-04-14 08:53:04 +00:00
recoverdisk recoverdisk(8): treat output file consistently and abort on EINVAL 2011-05-01 20:14:10 +00:00
resolvconf Add resolvconf(8) which manages resolv.conf. 2011-03-18 12:18:52 +00:00
restore mdoc: make pages render with mandoc 2010-10-21 12:27:13 +00:00
route - Fix array bounds checking. [1] 2010-12-08 15:12:37 +00:00
routed Fix use of AND operator: should be bitwise instead of logical. 2010-11-22 19:40:27 +00:00
rtsol Add dump.c to the rtsol build. It is needed now that sec2str is non-static 2011-06-08 21:59:07 +00:00
savecore Remove duplicated header files 2011-06-24 07:29:04 +00:00
sconfig
setkey mdoc: fix markup 2011-06-02 09:56:42 +00:00
shutdown Remove trailing whitespace in the shutdown(8) manual. 2011-07-14 03:08:10 +00:00
spppcontrol
sunlabel mdoc: drop even more redundant .Pp calls 2010-10-19 12:35:40 +00:00
swapon
sysctl Introduce signed and unsigned version of CTLTYPE_QUAD, renaming 2011-01-19 23:00:25 +00:00
tunefs Advertise growfs(8) a little better. 2011-06-22 18:02:28 +00:00
umount When using -A option (unmount all mounted filesystems), do not attempt 2011-07-14 20:17:05 +00:00
Makefile Add resolvconf(8) which manages resolv.conf. 2011-03-18 12:18:52 +00:00
Makefile.amd64 MF tbemd: Move to using Makefile.arch to select what to build. 2010-09-13 02:25:21 +00:00
Makefile.arm MF tbemd: Move to using Makefile.arch to select what to build. 2010-09-13 02:25:21 +00:00
Makefile.i386 MF tbemd: Move to using Makefile.arch to select what to build. 2010-09-13 02:25:21 +00:00
Makefile.ia64 MF tbemd: Move to using Makefile.arch to select what to build. 2010-09-13 02:25:21 +00:00
Makefile.inc
Makefile.mips MF tbemd: Move to using Makefile.arch to select what to build. 2010-09-13 02:25:21 +00:00
Makefile.pc98 MF tbemd: Move to using Makefile.arch to select what to build. 2010-09-13 02:25:21 +00:00
Makefile.sparc64 MF tbemd: Move to using Makefile.arch to select what to build. 2010-09-13 02:25:21 +00:00