summaryrefslogtreecommitdiffstats
path: root/usr.bin/fstat
Commit message (Collapse)AuthorAgeFilesLines
* Introduce options list the standard way.charnier2004-07-261-2/+2
|
* Slide pipe.h include after the _KERNEL define in preparation for disallowingsilby2004-07-211-1/+1
| | | | non-_KERNEL inclusions of pipe.h
* Deal with double whitespace.ru2004-07-031-1/+1
|
* Mechanically kill hard sentence breaks.ru2004-07-021-7/+14
|
* 1) ANSIfy.dwmalone2004-06-295-45/+21
| | | | | | | 2) Use %p to print a pointer. 3) Use longs for fileids and ino to avoid comparing signed and unsigned. 4) Make the KVM_READ macro a little more cranky. 5) Set WARNS while I'm here.
* Second half of the dev_t cleanup.phk2004-06-172-7/+7
| | | | | | | | | | | The big lines are: NODEV -> NULL NOUDEV -> NODEV udev_t -> dev_t udev2dev() -> findcdev() Various minor adjustments including handling of userland access to kernel space struct cdev etc.
* Teach fstat(1) about new location for socket state flags relating torwatson2004-06-141-2/+2
| | | | | | | socket buffer state. Submitted by: rik Reminded by: le
* Correct the description of the -N option.ru2004-03-261-2/+2
|
* Do not cache and correctly free() dosmount entry in case of errors.fjoe2003-09-231-3/+4
| | | | PR: 53980 (partially)
* fix this code properly. msdosfs can't have device nodes on them.jmg2003-06-243-3/+7
| | | | | | | comment how to read device nodes from ufs (if an adventurous soul wants to fix it!). Reviewed by: bde
* o Fix rev. 1.41, print a header. -STABLE is OK.maxim2003-06-231-0/+1
| | | | | PR: bin/53585 Submitted by: Alexey Dokuchaev <danfe@regency.nsu.ru>
* correct spelling of struct cdev * from dev_t which is a 32bit type andjmg2003-06-192-3/+3
| | | | | | isn't very useful for passing pointers on LP64 systems. device names on sparc64 and alpha should now work.
* Bow to the whining masses and change a union back into void *. Retaindillon2003-01-131-4/+4
| | | | | removal of unnecessary casts and throw in some minor cleanups to see if anyone complains, just for the hell of it.
* Change struct file f_data to un_data, a union of the correct structdillon2003-01-121-6/+4
| | | | | | | | | | pointer types, and remove a huge number of casts from code using it. Change struct xfile xf_data to xun_data (ABI is still compatible). If we need to add a #define for f_data and xf_data we can, but I don't think it will be necessary. There are no operational changes in this commit.
* Uniformly refer to a file system as "file system".ru2002-12-121-6/+6
| | | | Approved by: re
* 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>
OpenPOWER on IntegriCloud