summaryrefslogtreecommitdiffstats
path: root/usr.bin/fstat
Commit message (Collapse)AuthorAgeFilesLines
* Rename struct specinfo to the more appropriate struct cdev.phk2002-09-271-2/+2
| | | | Agreed on: jake, rwatson, jhb
* Userland changes to go with vnode->v_tag change.njl2002-09-141-23/+18
|
* Unbreak building of fstat following version 1.23 ofbmilekic2002-08-141-1/+1
| | | | src/sys/ufs/ufs/quota.h by including mount.h before ufs/quota.h.
* Consistently use FBSDIDobrien2002-06-303-6/+8
|
* This commit adds basic support for the UFS2 filesystem. The UFS2mckusick2002-06-211-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | filesystem expands the inode to 256 bytes to make space for 64-bit block pointers. It also adds a file-creation time field, an ability to use jumbo blocks per inode to allow extent like pointer density, and space for extended attributes (up to twice the filesystem block size worth of attributes, e.g., on a 16K filesystem, there is space for 32K of attributes). UFS2 fully supports and runs existing UFS1 filesystems. New filesystems built using newfs can be built in either UFS1 or UFS2 format using the -O option. In this commit UFS1 is the default format, so if you want to build UFS2 format filesystems, you must specify -O 2. This default will be changed to UFS2 when UFS2 proves itself to be stable. In this commit the boot code for reading UFS2 filesystems is not compiled (see /sys/boot/common/ufsread.c) as there is insufficient space in the boot block. Once the size of the boot block is increased, this code can be defined. Things to note: the definition of SBSIZE has changed to SBLOCKSIZE. The header file <ufs/ufs/dinode.h> must be included before <ufs/ffs/fs.h> so as to get the definitions of ufs2_daddr_t and ufs_lbn_t. Still TODO: Verify that the first level bootstraps work for all the architectures. Convert the utility ffsinfo to understand UFS2 and test growfs. Add support for the extended attribute storage. Update soft updates to ensure integrity of extended attribute storage. Switch the current extended attribute interfaces to use the extended attribute storage. Add the extent like functionality (framework is there, but is currently never used). Sponsored by: DARPA & NAI Labs. Reviewed by: Poul-Henning Kamp <phk@freebsd.org>
* Factor out some code in preparation for un-kmeming fstat(1).des2002-06-061-18/+43
| | | | Sponsored by: DARPA, NAI Labs
* Replace /kernel with /boot/kernel/kernel.joe2002-05-091-1/+1
| | | | | PR: docs/37757 Submitted by: Hiten Pandya <hiten@uk.FreeBSD.org>
* Use `The .Nm utility'charnier2002-04-201-2/+3
|
* .Ar filename ... is equivalent to .Ar.charnier2002-04-121-2/+2
|
* Fix constness warnings.dwmalone2002-03-302-13/+14
| | | | | | Remove register keyword. Don't initialise "badtype" in declaration - it was initialised below anyway. Remove prototype for strcpy.
* Don't use gcc specific flags.dwmalone2002-03-301-1/+0
|
* Use a slightly less obscure title than "file status".wollman2002-03-271-2/+2
|
* remove __Pimp2002-03-222-15/+15
|
* Add support for devfs. In other words, for -CURRENT, make work at allgreen2001-12-171-0/+41
| | | | again for normal device nodes.
* Anding the fsid with 0xffff was causing aliasing problems.dwmalone2001-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
* Compensate for "Compensate for header dethreading" by backing it out.bde2001-10-101-1/+0
|
* Userland part of nfs client/server split and cleanup.peter2001-09-181-2/+2
|
* SECURITY: Drop `setgid kmem' bit as early as possible.ru2001-08-311-0/+1
|
* Fix 64 bit issues so that sockstat && fstat work correctly on alpha.mjacob2001-07-251-9/+8
| | | | | | PR: 29231 Submitted by: pherman@frenchfries.net MFC after: 2 weeks
* Remove whitespace at EOL.dd2001-07-151-1/+1
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* Teach fstat(1) about FIFO's - it's OK to display them as regular files.roam2001-06-181-3/+10
| | | | | | While I'm here, fix two second-level indents to be four spaces. Reviewed by: dd, -audit
* Remove MFSphk2001-05-291-4/+0
|
* - sys/msdosfs moved to sys/fs/msdosfsru2001-05-251-5/+5
| | | | | - msdos.ko renamed to msdosfs.ko - /usr/include/msdosfs moved to /usr/include/fs/msdosfs
* define _KERNEL before including <sys/conf.h>phk2001-05-231-1/+1
|
* Removed -I${.CURDIR}/.../sys from CFLAGS.ru2001-05-181-1/+0
|
* Compensate for header dethreading.markm2001-05-011-0/+1
|
* Revert consequences of changes to mount.h, part 2.grog2001-04-292-3/+0
| | | | Requested by: bde
* Include correct header files, in preparation for fixing sys/mount.h.grog2001-04-232-0/+3
| | | | Suggested-by: phk
* Fix `fstat -m' (show memory-mapped files), which was broken byiedowse2001-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.
* Prepare for mdoc(7)NG.ru2000-12-191-1/+1
|
* Change the proc information returned from the kernel so that itmckusick2000-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.
* remove struct mount from useland visibilityalfred2000-12-041-1/+1
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-5/+5
|
* Add a new options: -m enables searching for memory-mapped files.green2000-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>
* Support more filesystems in fstat(1): now you can use fstat(1) togreen2000-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>
* Fixed a little bit strange INET6 output.shin2000-02-191-0/+1
| | | | | Specified by: Ben Smithurst <ben@scientia.demon.co.uk> Approved by: jkh
* Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"peter1999-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.
* Make fstat work with file arguments again after being broken by dev_tgreen1999-11-131-1/+28
| | | | | | changes. Thanks, Mr. Edwards! Submitted by: Peter Edwards <peter.edwards@ireland.com>
* Add xrefs to the {f,net,sock}stat.1 manpages. While I'm in there, fixsheldonh1999-09-061-0/+3
| | | | | | | the sockstat.1 document title, which still remembers when sockstat was called lsock. Reviewed by: mpp
* $Id$ -> $FreeBSD$peter1999-08-283-3/+3
|
* Add $Id$, to make it simpler for members of the translation teams tonik1999-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
* o use getprotobynumber(3) instead of hardcoded protocol names.ru1999-07-022-27/+15
| | | | | | | | | Divert(4) sockets will now appear as "internet raw divert" instead of "internet raw 254". o -Wall tweak. Reviewed by: bde
* Fixed printf format errors.bde1998-07-061-25/+27
|
* Include correct header to get definition of struct sockaddr_un.markm1998-05-161-1/+2
|
* Use -literal to make for a more pleasing list.steve1998-01-251-1/+1
| | | | | PR: 5547 Submitted by: Matthew Hunt <mph@pobox.com>
* Fix argument string for getopt.dima1997-09-181-2/+2
| | | | Submitted by: dillon@best.net
* Display file size as an unsigned long.alex1997-08-311-2/+2
|
* -I/sys converstion and Id linejmg1997-08-221-1/+2
|
* Typo.charnier1997-07-101-2/+2
|
OpenPOWER on IntegriCloud