aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/fstat
Commit message (Collapse)AuthorAgeFilesLines
* Fix constness warnings.David Malone2002-03-302-13/+14
| | | | | | | | | Remove register keyword. Don't initialise "badtype" in declaration - it was initialised below anyway. Remove prototype for strcpy. Notes: svn path=/head/; revision=93427
* Don't use gcc specific flags.David Malone2002-03-301-1/+0
| | | | Notes: svn path=/head/; revision=93426
* Use a slightly less obscure title than "file status".Garrett Wollman2002-03-271-2/+2
| | | | Notes: svn path=/head/; revision=93300
* remove __PWarner Losh2002-03-222-15/+15
| | | | Notes: svn path=/head/; revision=92920
* Add support for devfs. In other words, for -CURRENT, make work at allBrian Feldman2001-12-171-0/+41
| | | | | | | again for normal device nodes. Notes: svn path=/head/; revision=88051
* Anding the fsid with 0xffff was causing aliasing problems.David Malone2001-11-053-4/+4
| | | | | | | | | | PR: 17405, 16320 Submitted by: Mark W. Krentel <krentel@dreamscape.com> Submitted by: Peter Edwards <peter.edwards@ireland.com> MFC after: 2 weeks Notes: svn path=/head/; revision=86100
* Compensate for "Compensate for header dethreading" by backing it out.Bruce Evans2001-10-101-1/+0
| | | | Notes: svn path=/head/; revision=84768
* Userland part of nfs client/server split and cleanup.Peter Wemm2001-09-181-2/+2
| | | | Notes: svn path=/head/; revision=83653
* SECURITY: Drop `setgid kmem' bit as early as possible.Ruslan Ermilov2001-08-311-0/+1
| | | | Notes: svn path=/head/; revision=82664
* Fix 64 bit issues so that sockstat && fstat work correctly on alpha.Matt Jacob2001-07-251-9/+8
| | | | | | | | | PR: 29231 Submitted by: pherman@frenchfries.net MFC after: 2 weeks Notes: svn path=/head/; revision=80355
* Remove whitespace at EOL.Dima Dorfman2001-07-151-1/+1
| | | | Notes: svn path=/head/; revision=79755
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79535
* Teach fstat(1) about FIFO's - it's OK to display them as regular files.Peter Pentchev2001-06-181-3/+10
| | | | | | | | | While I'm here, fix two second-level indents to be four spaces. Reviewed by: dd, -audit Notes: svn path=/head/; revision=78401
* Remove MFSPoul-Henning Kamp2001-05-291-4/+0
| | | | Notes: svn path=/head/; revision=77435
* - sys/msdosfs moved to sys/fs/msdosfsRuslan Ermilov2001-05-251-5/+5
| | | | | | | | - msdos.ko renamed to msdosfs.ko - /usr/include/msdosfs moved to /usr/include/fs/msdosfs Notes: svn path=/head/; revision=77162
* define _KERNEL before including <sys/conf.h>Poul-Henning Kamp2001-05-231-1/+1
| | | | Notes: svn path=/head/; revision=77099
* Removed -I${.CURDIR}/.../sys from CFLAGS.Ruslan Ermilov2001-05-181-1/+0
| | | | Notes: svn path=/head/; revision=76812
* Compensate for header dethreading.Mark Murray2001-05-011-0/+1
| | | | Notes: svn path=/head/; revision=76169
* Revert consequences of changes to mount.h, part 2.Greg Lehey2001-04-292-3/+0
| | | | | | | Requested by: bde Notes: svn path=/head/; revision=76117
* Include correct header files, in preparation for fixing sys/mount.h.Greg Lehey2001-04-232-0/+3
| | | | | | | Suggested-by: phk Notes: svn path=/head/; revision=75853
* Fix `fstat -m' (show memory-mapped files), which was broken byIan Dowse2001-02-151-2/+2
| | | | | | | | | | revision 1.25. When evaluating the termination condition for the iteration over all map entries, we must take care to use the kernel versions of all pointers. The code was comparing a kernel pointer to a pointer within a local variable, so the loop never terminated. Notes: svn path=/head/; revision=72527
* Prepare for mdoc(7)NG.Ruslan Ermilov2000-12-191-1/+1
| | | | Notes: svn path=/head/; revision=70197
* Change the proc information returned from the kernel so that itKirk McKusick2000-12-121-20/+17
| | | | | | | | | | | | | | | no longer contains kernel specific data structures, but rather only scalar values and structures that are already part of the kernel/user interface, specifically rusage and rtprio. It no longer contains proc, session, pcred, ucred, procsig, vmspace, pstats, mtx, sigiolst, klist, callout, pasleep, or mdproc. If any of these changed in size, ps, w, fstat, gcore, systat, and top would all stop working. The new structure has over 200 bytes of unassigned space for future values to be added, yet is nearly 100 bytes smaller per entry than the structure that it replaced. Notes: svn path=/head/; revision=69896
* remove struct mount from useland visibilityAlfred Perlstein2000-12-041-1/+1
| | | | Notes: svn path=/head/; revision=69564
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-5/+5
| | | | Notes: svn path=/head/; revision=68963
* Add a new options: -m enables searching for memory-mapped files.Brian Feldman2000-04-052-3/+81
| | | | | | | | | | | 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> Notes: svn path=/head/; revision=59029
* Support more filesystems in fstat(1): now you can use fstat(1) toBrian Feldman2000-03-165-22/+316
| | | | | | | | | | | | find out if files on msdosfs and cd9660 filestores are open. There was also a movement of some common things to a header, a small cleanup. PR: bin/16364 bin/7043 Submitted by: Peter Edwards <peter.edwards@openet-telecom.com> Notes: svn path=/head/; revision=58125
* Fixed a little bit strange INET6 output.Yoshinobu Inoue2000-02-191-0/+1
| | | | | | | | Specified by: Ben Smithurst <ben@scientia.demon.co.uk> Approved by: jkh Notes: svn path=/head/; revision=57345
* Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"Peter Wemm1999-12-291-2/+2
| | | | | | | | | is an application space macro and the applications are supposed to be free to use it as they please (but cannot). This is consistant with the other BSD's who made this change quite some time ago. More commits to come. Notes: svn path=/head/; revision=55206
* Make fstat work with file arguments again after being broken by dev_tBrian Feldman1999-11-131-1/+28
| | | | | | | | | changes. Thanks, Mr. Edwards! Submitted by: Peter Edwards <peter.edwards@ireland.com> Notes: svn path=/head/; revision=53133
* Add xrefs to the {f,net,sock}stat.1 manpages. While I'm in there, fixSheldon Hearn1999-09-061-0/+3
| | | | | | | | | | the sockstat.1 document title, which still remembers when sockstat was called lsock. Reviewed by: mpp Notes: svn path=/head/; revision=51015
* $Id$ -> $FreeBSD$Peter Wemm1999-08-283-3/+3
| | | | Notes: svn path=/head/; revision=50477
* Add $Id$, to make it simpler for members of the translation teams toNik Clayton1999-07-121-0/+1
| | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=48792
* o use getprotobynumber(3) instead of hardcoded protocol names.Ruslan Ermilov1999-07-022-26/+14
| | | | | | | | | | | | Divert(4) sockets will now appear as "internet raw divert" instead of "internet raw 254". o -Wall tweak. Reviewed by: bde Notes: svn path=/head/; revision=48463
* Fixed printf format errors.Bruce Evans1998-07-061-25/+27
| | | | Notes: svn path=/head/; revision=37453
* Include correct header to get definition of struct sockaddr_un.Mark Murray1998-05-161-1/+2
| | | | Notes: svn path=/head/; revision=36110
* Use -literal to make for a more pleasing list.Steve Price1998-01-251-1/+1
| | | | | | | | PR: 5547 Submitted by: Matthew Hunt <mph@pobox.com> Notes: svn path=/head/; revision=32770
* Fix argument string for getopt.Dima Ruban1997-09-181-2/+2
| | | | | | | Submitted by: dillon@best.net Notes: svn path=/head/; revision=29592
* Display file size as an unsigned long.Alexander Langer1997-08-311-2/+2
| | | | Notes: svn path=/head/; revision=28948
* -I/sys converstion and Id lineJohn-Mark Gurney1997-08-221-1/+2
| | | | Notes: svn path=/head/; revision=28591
* Typo.Philippe Charnier1997-07-101-2/+2
| | | | Notes: svn path=/head/; revision=27311
* Use err(3).Philippe Charnier1997-07-081-34/+23
| | | | Notes: svn path=/head/; revision=27272
* Removed `#define KERNEL'. This was a hack-around for nfs.h being brokenBruce Evans1997-03-291-4/+0
| | | | | | | | | | | in the Lite2 merge to not export some nfs constants. It started causing warnings when I added a kernel-only #define for DIRBLKSIZ. Removed `#define NFS'. This was an old, bad interface for telling <sys/mount.h> to export nfs stuff. Notes: svn path=/head/; revision=24382
* compare return value from getopt against -1 rather than EOF, per the finalWarner Losh1997-03-291-1/+1
| | | | | | | posix standard on the topic. Notes: svn path=/head/; revision=24360
* Merge from Lite2Peter Wemm1997-03-111-3/+8
| | | | Notes: svn path=/head/; revision=23693
* Include <fcntl.h> so that this doesn't depend on the KERNEL versionBruce Evans1996-09-291-0/+1
| | | | | | | | of <sys/file.h> including <sys/fcntl.h>. Only the !KERNEL version of <sys/file.h> will do that when I unspam the kernel headers. Notes: svn path=/head/; revision=18570
* Locate the text inode, closes PR#1070Peter Wemm1996-08-242-2/+7
| | | | Notes: svn path=/head/; revision=17813
* Quick attempt to decode DTYPE_PIPE files and print something meaningfulPeter Wemm1996-08-241-7/+53
| | | | | | | for them. Otherwise, it does strange things when it hits one.. Notes: svn path=/head/; revision=17808
* Correct some man page cross references and file location references.Mike Pritchard1996-04-071-1/+1
| | | | Notes: svn path=/head/; revision=15082
* Fix a variety of minor typos and cross references in a bunch ofMike Pritchard1996-01-201-2/+2
| | | | | | | | | | | man pages. Masanobu Saitoh <msaitoh@spa.is.uec.ac.jp> Giles Lean <giles@nemeton.com.au> <soda@sra.co.jp> Notes: svn path=/head/; revision=13511