freebsd-dev/usr.sbin
Ed Schouten 9f365aa1d6 Get rid of major/minor number distinction.
As of FreeBSD 6, devices can only be opened through devfs. These device
nodes don't have major and minor numbers anymore. The st_rdev field in
struct stat is simply based a copy of st_ino.

Simply display device numbers as hexadecimal, using "%#jx". This is
allowed by POSIX, since it explicitly states things like the following
(example taken from ls(1)):

	"If the file is a character special or block special file, the
	size of the file may be replaced with implementation-defined
	information associated with the device in question."

This makes the output of these commands more compact. For example, ls(1)
now uses approximately four columns less. While there, simplify the
column length calculation from ls(1) by calling snprintf() with a NULL
buffer.

Don't be afraid; if needed one can still obtain individual major/minor
numbers using stat(1).
2011-09-28 18:53:36 +00:00
..
ac
accton
acpi Purge _USE_BERKELEY_YACC definition from Makefile. This ugly hack is no 2011-04-15 21:47:10 +00:00
adduser
amd
ancontrol Remove duplicated header files 2011-06-24 07:05:20 +00:00
apm
apmd
arp
arpaname bmake and other updates necessary for the BIND 9.8.x upgrade. 2011-07-16 11:20:54 +00:00
asf
audit
auditd
auditreduce
authpf
bluetooth Remove redundant assignments to WARNS. 2011-06-06 20:24:17 +00:00
boot0cfg
boot98cfg
bootparamd
bsdinstall Inquire about terminal type if starting from a serial console and do 2011-09-17 09:25:45 +00:00
bsnmpd Fix broken mdoc. 2011-08-01 22:21:18 +00:00
btxld
burncd
cdcontrol
chkgrp
chown
chroot
ckdist
clear_locks
config Improve portability of config(8). 2011-07-03 20:59:57 +00:00
cpucontrol
crashinfo
cron
crunch
ctm
daemon
dconschat
ddns-confgen bmake and other updates necessary for the BIND 9.8.x upgrade. 2011-07-16 11:20:54 +00:00
devinfo
digictl
diskinfo Fix diskinfo -t operation for disks smaller then 8GB or bigger then 2TB. 2011-07-21 19:39:40 +00:00
dnssec-dsfromkey
dnssec-keyfromlabel
dnssec-keygen
dnssec-revoke bmake and other updates necessary for the BIND 9.8.x upgrade. 2011-07-16 11:20:54 +00:00
dnssec-settime bmake and other updates necessary for the BIND 9.8.x upgrade. 2011-07-16 11:20:54 +00:00
dnssec-signzone bmake and other updates necessary for the BIND 9.8.x upgrade. 2011-07-16 11:20:54 +00:00
dumpcis
editmap
edquota
eeprom
extattr
extattrctl
faithd Provide a more user friendly URL to the IETF site in faithd(8). 2011-08-02 11:35:28 +00:00
fdcontrol
fdformat
fdread Open the floppy disk device with O_RDONLY rather than O_RDWR. After 2011-06-17 18:56:51 +00:00
fdwrite
fifolog
flowctl Conditionally compile in the IPv4/IPv6 address family support. 2011-07-06 15:18:32 +00:00
freebsd-update Make freebsd-update(8) smarter in how it handles $FreeBSD$ tags in 2011-05-11 15:23:27 +00:00
ftp-proxy Update packet filter (pf) code to OpenBSD 4.5. 2011-06-28 11:57:25 +00:00
fwcontrol
genrandom bmake and other updates necessary for the BIND 9.8.x upgrade. 2011-07-16 11:20:54 +00:00
getfmac
getpmac
gpioctl Bump the date of the man page to the date of the actual commit. 2011-05-25 21:04:11 +00:00
gssd
gstat
i2c
ifmcstat Remove duplicated header files 2011-06-24 07:05:20 +00:00
inetd
iostat
ip6addrctl
ipfwpcap
IPXrouted
isc-hmac-fixup bmake and other updates necessary for the BIND 9.8.x upgrade. 2011-07-16 11:20:54 +00:00
jail Always disable mount and unmount for jails with enforce_statfs==2. 2011-08-02 19:44:40 +00:00
jexec
jls Fix jls backward compat mode broken in r222465, correctly 2011-08-13 13:49:11 +00:00
kbdcontrol
kbdmap Don't try to close the stream if fopen(3) fails. 2011-06-01 15:48:43 +00:00
keyserv
kgmon
kgzip
kldxref
lastlogin Allow custom files to be opened and allow sorting by timestamp. 2011-06-06 18:40:01 +00:00
lmcconfig
lpr - Fix the code that matches userids in match_jobspec(). It needs to check 2011-04-13 00:36:19 +00:00
lptcontrol
mailstats
mailwrapper
makefs Fix buffer overflow and possible ISO image corruption in wrong 2011-08-23 19:49:06 +00:00
makemap
manctl
memcontrol
mergemaster Make clear that the -U option can be dangerous. [1] 2011-08-09 07:42:19 +00:00
mfiutil Improve battery capacity reporting 2011-09-27 14:28:07 +00:00
mixer
mld6query
mlxcontrol
mount_nwfs
mount_portalfs
mount_smbfs
mountd Use calloc() instead of an explicit memset. 2011-07-14 07:35:28 +00:00
moused
mptable
mptutil
mtest Don't die if either of INET or INET6 aren't in the running kernel. 2011-06-24 17:54:45 +00:00
mtree
named Upgrade to BIND version 9.8.1. Release notes at: 2011-09-03 07:13:45 +00:00
named-checkconf bmake and other updates necessary for the BIND 9.8.x upgrade. 2011-07-16 11:20:54 +00:00
named-checkzone
named-journalprint bmake and other updates necessary for the BIND 9.8.x upgrade. 2011-07-16 11:20:54 +00:00
ndiscvt
ndp
newsyslog Add new modifier - "R", when it is specified the path to pid file 2011-05-14 03:00:55 +00:00
nfscbd
nfsd Remove duplicated header files 2011-06-24 07:05:20 +00:00
nfsdumpstate
nfsrevoke
nfsuserd Change the NFSv4 nfsuserd(8) daemon so that it doesn't preload the 2011-06-21 21:07:33 +00:00
ngctl
nghook
nologin
nscd
nsec3hash bmake and other updates necessary for the BIND 9.8.x upgrade. 2011-07-16 11:20:54 +00:00
ntp * Add the readline(3) API to libedit. The libedit versions of 2011-04-05 18:41:01 +00:00
nvram
ofwdump
pc-sysinstall Fix a logic bug in pc-sysinstall creating partitions. 2011-09-19 05:12:53 +00:00
pciconf
periodic
pkg_install Shift head from 9.0-CURRENT to 10.0-CURRENT in preparation for releasing 2011-09-26 02:27:04 +00:00
pmcannotate
pmccontrol Fix logical_cpus_mask retrieving by using, correctly, cpuset_t. 2011-07-15 11:46:54 +00:00
pmcstat Convert pmcstat about using cpuset_t rather than relying on plain 32 bit 2011-08-07 18:37:05 +00:00
pnpinfo
portsnap
powerd
ppp Remove duplicated header files 2011-06-24 07:05:20 +00:00
pppctl
praliases
praudit
procctl
pstat Get rid of major/minor number distinction. 2011-09-28 18:53:36 +00:00
pw Backout r223115 which potentially caused a POLA violation, by restoring 2011-07-31 03:00:00 +00:00
pwd_mkdb Only increment the ypcnt once per data record. The old implementation 2011-07-06 06:34:08 +00:00
quot
quotaon
rarpd
repquota
rip6query
rmt
rndc bmake and other updates necessary for the BIND 9.8.x upgrade. 2011-07-16 11:20:54 +00:00
rndc-confgen bmake and other updates necessary for the BIND 9.8.x upgrade. 2011-07-16 11:20:54 +00:00
route6d
rpc.lockd Fix the nfs related daemons so that they don't intermittently 2011-06-02 19:49:47 +00:00
rpc.statd Fix the nfs related daemons so that they don't intermittently 2011-06-02 20:15:32 +00:00
rpc.umntall
rpc.yppasswdd Remove duplicated header files 2011-06-24 07:05:20 +00:00
rpc.ypupdated Remove duplicated header files 2011-06-24 07:05:20 +00:00
rpc.ypxfrd
rpcbind Use prototype. While I'm there, add a pair of parenthesis to mark an if 2011-07-14 07:28:49 +00:00
rrenumd
rtadvctl - Fix a bug that can lead to displaying an incorrect value. (r224210) 2011-09-12 23:52:55 +00:00
rtadvd Remove RA timer on an interface with !IFF_UP actively after starting to send 2011-09-20 00:32:30 +00:00
rtprio
rtsold - Add ":origin" label to the interface id for resolvconf(8). (r223149) 2011-09-12 23:55:23 +00:00
rwhod Check return code of setuid(), setgid(), and setgroups() in rwhod. 2011-04-23 13:42:03 +00:00
sa
sade
sendmail
service Fix a silly typo on my part. 2011-08-06 09:11:30 +00:00
services_mkdb
setfib
setfmac
setpmac
sicontrol
smbmsg
snapinfo
spkrtest
spray
sysinstall Remove duplicated header files 2011-06-24 07:05:20 +00:00
syslogd Add a new option, -N to disable the default and recommended syslogd(8) 2011-07-14 07:33:53 +00:00
tcpdchk
tcpdmatch
tcpdrop Include param.h for CACHE_LINE_SIZE to unbreak the build. 2011-06-06 17:07:38 +00:00
tcpdump
timed Check return code of setuid() in timedc. 2011-04-23 13:57:12 +00:00
traceroute
traceroute6
trpt
tzsetup - add missing options and arguments to program's usage() 2011-05-20 17:35:10 +00:00
uathload
ugidfw
uhsoctl
usbconfig
usbdump Minor wording adjustments to usbdump(8). 2011-05-31 07:13:07 +00:00
utxrm
vidcontrol
vipw
wake
watch
watchdogd
wlandebug
wlconfig
wpa Remove duplicated header files 2011-06-24 07:05:20 +00:00
yp_mkdb
ypbind
yppoll
yppush
ypserv Add missing argument for -h in usage. 2011-06-20 15:22:47 +00:00
ypset
zic
zzz
Makefile The named.reload script is no longer useful in the age of rc.d 2011-07-18 08:10:49 +00:00
Makefile.amd64
Makefile.arm
Makefile.i386
Makefile.ia64
Makefile.inc
Makefile.mips
Makefile.powerpc
Makefile.sparc64