Changeset View
Changeset View
Standalone View
Standalone View
usr.bin/lsvfs/lsvfs.1
Show All 38 Lines | |||||
.It Num | .It Num | ||||
the filesystem type number. | the filesystem type number. | ||||
.It Refs | .It Refs | ||||
the number of references to this VFS; i.e., the number of currently | the number of references to this VFS; i.e., the number of currently | ||||
mounted file systems of this type | mounted file systems of this type | ||||
.It Flags | .It Flags | ||||
flag bits. | flag bits. | ||||
.El | .El | ||||
.Sh EXAMPLES | |||||
Show information about the | |||||
.Ql ufs | |||||
and | |||||
.Xr devfs 5 | |||||
filesystems and check the number of mounts for the former: | |||||
.Bd -literal -offset indent | |||||
$ lsvfs ufs devfs | |||||
Filesystem Num Refs Flags | |||||
-------------------------------- ---------- ----- --------------- | |||||
ufs 0x00000035 2 | |||||
devfs 0x00000071 1 synthetic, jail | |||||
$ mount -p | awk '$3 == "ufs"' | wc -l | |||||
gbe: I am not sure about this example since on my system it reports '0', while the former example… | |||||
fernapeAuthorUnsubmitted Done Inline ActionsHummm, that is weird. The example was taken from a 12.1-RELEASE. This is what I get in current: [fernape@vm-current ~]$ lsvfs ufs Filesystem Num Refs Flags -------------------------------- ---------- ----- --------------- ufs 0x00000035 0 [fernape@vm-current ~]$ mount -p | awk '$3 == "ufs"' | wc -l 0 Same result except I don't have any ufs filesystems. fernape: Hummm, that is weird. The example was taken from a 12.1-RELEASE. This is what I get in current… | |||||
yuripvUnsubmitted Not Done Inline Actions"same" being for all fields, "Refs" included? yuripv: "same" being for all fields, "Refs" included? | |||||
yuripvUnsubmitted Done Inline Actionshow about mount -t ufs | wc -l instead? yuripv: how about `mount -t ufs | wc -l` instead? | |||||
fernapeAuthorUnsubmitted Done Inline ActionsShorter and clearer. Thanks! P.S: I'm a bit pissed off with arcanist. Since I changed my .login_conf to this: me:\ :charset=UTF-8:\ :lang=es_ES.UTF-8: so I can have git config user.name "Fernando Apesteguía" (with the tilde), I can not create or update reviews. I get: Exception Undefined index: Repository UUID (Run with `--trace` for a full exception trace.) If I fall back to the default login class, it works. arcanist-lib is supposed to support encondings: $ pkg info arcanist-lib-php72 | grep -A1 Options Options : ENCODINGS : on Any ideas? fernape: Shorter and clearer. Thanks!
P.S: I'm a bit pissed off with arcanist. Since I changed my . | |||||
2 | |||||
.Ed | |||||
.Sh SEE ALSO | .Sh SEE ALSO | ||||
.Xr mount 2 , | .Xr mount 2 , | ||||
.Xr getvfsbyname 3 , | .Xr getvfsbyname 3 , | ||||
.Xr mount 8 | .Xr mount 8 | ||||
.Sh HISTORY | .Sh HISTORY | ||||
A | A | ||||
.Nm | .Nm | ||||
command appeared in | command appeared in | ||||
.Fx 2.0 . | .Fx 2.0 . |
I am not sure about this example since on my system it reports '0', while the former example returns the same as yours.