summaryrefslogtreecommitdiffstats
path: root/usr.bin/lsvfs
Commit message (Collapse)AuthorAgeFilesLines
* Fix (uncritical) potential buffer overflow: the length of "buf" was notse2007-11-151-1/+1
| | | | | extended when "jaiL" was added to fmt_flags(). MFC after: 1 week
* Add security.jail.mount_allowed sysctl, which allows to mount andpjd2007-04-051-0/+5
| | | | | | | | | | | | | | | | | | unmount jail-friendly file systems from within a jail. Precisely it grants PRIV_VFS_MOUNT, PRIV_VFS_UNMOUNT and PRIV_VFS_MOUNT_NONUSER privileges for a jailed super-user. It is turned off by default. A jail-friendly file system is a file system which driver registers itself with VFCF_JAIL flag via VFS_SET(9) API. The lsvfs(1) command can be used to see which file systems are jail-friendly ones. There currently no jail-friendly file systems, ZFS will be the first one. In the future we may consider marking file systems like nullfs as jail-friendly. Reviewed by: rwatson
* spell "file system" correctlycharnier2005-01-241-1/+1
| | | | Approved by: ru
* Mechanically kill hard sentence breaks.ru2004-07-021-2/+4
|
* Uniformly refer to a file system as "file system".ru2002-12-121-3/+3
| | | | Approved by: re
* Add #include <sys/sysctl.h>. In my tree, mount.h includesmux2002-08-111-0/+1
| | | | | | sysctl.h and I was depending on this namespace pollution. Submitted by: jake
* - Introduce a new struct xvfsconf, the userland version of struct vfsconf.mux2002-08-102-11/+18
| | | | | | | | | | | | | | | | | | | | | | | - Make getvfsbyname() take a struct xvfsconf *. - Convert several consumers of getvfsbyname() to use struct xvfsconf. - Correct the getvfsbyname.3 manpage. - Create a new vfs.conflist sysctl to dump all the struct xvfsconf in the kernel, and rewrite getvfsbyname() to use this instead of the weird existing API. - Convert some {set,get,end}vfsent() consumers to use the new vfs.conflist sysctl. - Convert a vfsload() call in nfsiod.c to kldload() and remove the useless vfsisloadable() and endvfsent() calls. - Add a warning printf() in vfs_sysctl() to tell people they are using an old userland. After these changes, it's possible to modify struct vfsconf without breaking the binary compatibility. Please note that these changes don't break this compatibility either. When bp will have updated mount_smbfs(8) with the patch I sent him, there will be no more consumers of the {set,get,end}vfsent(), vfsisloadable() and vfsload() API, and I will promptly delete it.
* Consistently use FBSDIDobrien2002-06-301-1/+3
|
* More consistancy. file system > filesystemtrhodes2002-05-161-1/+1
|
* Very minor whitespace nit.markm2002-04-281-0/+1
|
* Remove leaf node WARNS?=2 (that mainly I added). This shouldmarkm2002-02-081-1/+0
| | | | help the GCC3 transition and CURRENT in general.
* Silence warning and set WARNS=2.dd2001-06-242-1/+2
| | | | | Submitted by: Mike Barcroft <mike@q9media.com> Reviewed by: md5(1)
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-1/+1
|
* .Nm changescharnier2000-03-261-5/+4
|
* $Id$ -> $FreeBSD$peter1999-08-283-3/+3
|
* getvfsbyname() returns zero on success.ru1999-06-031-2/+2
| | | | | PR: 12000 Submitted by: Anatoly A. Orehovsky <tolik@mpeks.tomsk.su>
* Fixed anachronisms (nuked vfs type number; don't give a 1/6-baked listbde1998-08-292-18/+13
| | | | of vfs flags in the man page).
* Started getting rid of the compatibility cruft for the Lite1 mount()bde1998-01-171-9/+11
| | | | | | | | and the pre-Lite2 vfsconf interfaces. For lsvfs, use the new interface for getvfsbyname(), and use the old interface for getvfsent() explicitly instead of depending on macro hacks in <sys/mount.h>. This is an intermediate step.
* Typo.charnier1997-07-231-2/+2
|
* Added missing #include, cleaned up #includes.bde1997-03-031-5/+11
| | | | Print VFCF_UNICODE flag in the unlikely event that it is set.
* Revert $FreeBSD$ to $Id$peter1997-02-223-3/+3
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-143-3/+3
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Fix a bunch of spelling errors in a bunch of man pages.mpp1996-01-301-2/+2
|
* Fix bonehead formatting error.wollman1995-03-161-2/+2
|
* Print out the new flags.wollman1995-03-161-2/+35
|
* Print out flags as text rather than a number.wollman1995-03-162-7/+19
|
* Fix compilation error and formatting mistake.wollman1994-09-221-2/+2
|
* Added lsvfs command to show loaded VFS modules (including statically-linkedwollman1994-09-223-0/+107
ones).
OpenPOWER on IntegriCloud