History log of /freebsd-10.0-release/usr.bin/fstat/fstat.1
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 250223 03-May-2013 jhb

Similar to 233760 and 236717, export some more useful info about the
kernel-based POSIX semaphore descriptors to userland via procstat(1) and
fstat(1):
- Change sem file descriptors to track the pathname they are associated
with and add a ksem_info() method to copy the path out to a
caller-supplied buffer.
- Use the fo_stat() method of shared memory objects and ksem_info() to
export the path, mode, and value of a semaphore via struct kinfo_file.
- Add a struct semstat to the libprocstat(3) interface along with a
procstat_get_sem_info() to export the mode and value of a semaphore.
- Teach fstat about semaphores and to display their path, mode, and value.

MFC after: 2 weeks


# 225847 28-Sep-2011 ed

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).


# 216370 11-Dec-2010 joel

Remove the advertising clause from UCB copyrighted files in usr.bin. This
is in accordance with the information provided at
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change

Also add $FreeBSD$ to a few files to keep svn happy.

Discussed with: imp, rwatson


# 210933 06-Aug-2010 joel

Fix typos and spelling mistakes.


# 195502 09-Jul-2009 trasz

Add manual page links to advertise procstat(1) a little better.

Approved by: re (kib)


# 178652 29-Apr-2008 pjd

Fix some section references.


# 141846 13-Feb-2005 ru

Expand *n't contractions.


# 141030 30-Jan-2005 phk

Add text about jail root directory as well.

Submitted by: "Mark W. Krentel" <krentel@dreamscape.com>


# 140420 18-Jan-2005 ru

Sort sections.


# 132669 26-Jul-2004 charnier

Introduce options list the standard way.


# 131507 02-Jul-2004 ru

Deal with double whitespace.


# 131491 02-Jul-2004 ru

Mechanically kill hard sentence breaks.


# 127451 26-Mar-2004 ru

Correct the description of the -N option.


# 107788 12-Dec-2002 ru

Uniformly refer to a file system as "file system".

Approved by: re


# 96247 09-May-2002 joe

Replace /kernel with /boot/kernel/kernel.

PR: docs/37757
Submitted by: Hiten Pandya <hiten@uk.FreeBSD.org>


# 95124 20-Apr-2002 charnier

Use `The .Nm utility'


# 94559 12-Apr-2002 charnier

.Ar filename ... is equivalent to .Ar.


# 93300 27-Mar-2002 wollman

Use a slightly less obscure title than "file status".


# 79755 15-Jul-2001 dd

Remove whitespace at EOL.


# 79535 10-Jul-2001 ru

mdoc(7) police: removed HISTORY info from the .Os call.


# 70197 19-Dec-2000 ru

Prepare for mdoc(7)NG.


# 68963 20-Nov-2000 ru

mdoc(7) police: use the new features of the Nm macro.


# 59029 05-Apr-2000 green

Add a new options: -m enables searching for memory-mapped files.

It is not default because it's an expensive option by nature, making the
search take 2-3 times as long.

PR: 17555
Submitted by: Ian Dowse <iedowse@maths.tcd.ie>


# 51015 06-Sep-1999 sheldonh

Add xrefs to the {f,net,sock}stat.1 manpages. While I'm in there, fix
the sockstat.1 document title, which still remembers when sockstat was
called lsock.

Reviewed by: mpp


# 50477 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 48792 12-Jul-1999 nik

Add $Id$, to make it simpler for members of the translation teams to
track.

The $Id$ line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;

.\" $Id$
.\"

If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.

Approved by: bde


# 32770 25-Jan-1998 steve

Use -literal to make for a more pleasing list.

PR: 5547
Submitted by: Matthew Hunt <mph@pobox.com>


# 17813 24-Aug-1996 peter

Locate the text inode, closes PR#1070


# 15082 06-Apr-1996 mpp

Correct some man page cross references and file location references.


# 13511 20-Jan-1996 mpp

Fix a variety of minor typos and cross references in a bunch of
man pages.

Masanobu Saitoh <msaitoh@spa.is.uec.ac.jp>
Giles Lean <giles@nemeton.com.au>
<soda@sra.co.jp>


# 1856 05-Aug-1994 dg

Converted 'vmunix' to 'kernel'.


# 1591 27-May-1994 rgrimes

This commit was generated by cvs2svn to compensate for changes in r1590,
which included commits to RCS files with non-trunk default branches.


# 1590 27-May-1994 rgrimes

BSD 4.4 Lite Usr.bin Sources