summaryrefslogtreecommitdiffstats
path: root/usr.bin/fstat
Commit message (Collapse)AuthorAgeFilesLines
...
* Dike out another kvm indiscretion.phk2005-03-161-0/+2
|
* Dike out unwarranted si_udev fondling.phk2005-03-151-1/+2
|
* Expand *n't contractions.ru2005-02-131-3/+3
|
* Add text about jail root directory as well.phk2005-01-301-5/+6
| | | | Submitted by: "Mark W. Krentel" <krentel@dreamscape.com>
* Report jail directory if set.phk2005-01-291-0/+15
| | | | | | | Sanity-check fd_lastfile. PR: 62699 Patch by: "Mark W. Krentel" <krentel@dreamscape.com>
* Sort sections.ru2005-01-181-5/+5
|
* Get the vnode from file.f_vnode instead of file.f_data.ssouhlal2005-01-111-2/+2
| | | | | | | | | | | Nowadays, f_data points to the vnode only if the underlying filesystem doesn't use it for other purposes (devfs uses it to store the cdev, for example). Found by: csjp Reviewed by: csjp Approved by: phk, wes, grehan (mentor) MFC after: 1 week
* filedesc0 is an internal detail of the kernel, don't look at it.phk2004-11-071-13/+9
|
* Add -D_KVM_VNODE to indicate that despite being a userland program,phk2004-10-211-0/+2
| | | | we want to know the vnode structures internals.
* 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
|
OpenPOWER on IntegriCloud