freebsd-dev/bin
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
..
cat
chflags mdoc: drop redundant .Pp and .LP calls 2010-10-08 12:40:16 +00:00
chio
chmod Update sticky(7) cross references. 2011-05-13 16:29:57 +00:00
cp
csh When WITH_ICONV is set, use our in-tree iconv. 2011-02-26 18:54:54 +00:00
date
dd
df Fix typos - remove duplicate "the". 2011-02-21 09:01:34 +00:00
domainname
echo echo(1): Clarify portability and mention literal "--" handling. 2010-11-12 22:43:40 +00:00
ed Fix memory leaks in error cases. 2011-08-27 15:28:57 +00:00
expr Fix style, since this file has just been touched in a major way. 2011-07-09 12:20:15 +00:00
getfacl
hostname
kenv mdoc(7) markup. 2011-02-21 16:03:39 +00:00
kill kill: Note that this is used both as a normal program and a shell builtin. 2011-03-01 21:48:22 +00:00
ln bin: Prefer strrchr() to rindex(). 2011-03-15 22:22:11 +00:00
ls Get rid of major/minor number distinction. 2011-09-28 18:53:36 +00:00
mkdir
mv
pax Fix a bunch of typos and a couple of whitespace nits. 2011-05-22 14:03:38 +00:00
pkill Make sys_signame upper case. 2011-02-04 16:40:50 +00:00
ps Get rid of major/minor number distinction. 2011-09-28 18:53:36 +00:00
pwait
pwd
rcp Remove duplicated header files 2011-06-24 07:29:04 +00:00
realpath Make `realpath'' behave like `realpath .''. 2011-06-21 19:34:57 +00:00
rm bin: Prefer strrchr() to rindex(). 2011-03-15 22:22:11 +00:00
rmail
rmdir
setfacl Make it possible to use permission sets (full_set, modify_set, read_set 2011-04-09 07:42:25 +00:00
sh sh(1): Extend documentation about subshells. 2011-07-10 15:02:25 +00:00
sleep Document the new argument parser for sleep(1) and SIGINFO behaviour. 2010-08-02 10:59:23 +00:00
stty Don't call -f option's argument "stdin". 2011-05-03 10:08:11 +00:00
sync
test bin: Prefer strrchr() to rindex(). 2011-03-15 22:22:11 +00:00
uuidgen
Makefile Merge from tbemd: 2010-09-13 01:29:51 +00:00
Makefile.inc