Page MenuHomeFreeBSD

lsvfs(1): Add EXAMPLES section
ClosedPublic

Authored by fernape on Dec 10 2020, 4:09 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 9 2024, 5:34 AM
Unknown Object (File)
Jan 19 2024, 1:43 PM
Unknown Object (File)
Dec 23 2023, 4:45 AM
Unknown Object (File)
Dec 15 2023, 7:56 AM
Unknown Object (File)
Dec 14 2023, 8:26 PM
Unknown Object (File)
Nov 29 2023, 6:37 AM
Unknown Object (File)
Oct 5 2023, 9:45 AM
Unknown Object (File)
Oct 5 2023, 12:54 AM

Details

Reviewers
None
Group Reviewers
manpages
Commits
rG0ce6e534d372: lsvfs(1): Add EXAMPLES section
Summary

Add one simple exapmle and contrast some of the information using mount(8)

Test Plan
  • mandoc -Tlint clean
  • igor clean
  • aspell happy
  • man ./lsvfs.1 renders the page properly

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

gbe added inline comments.
usr.bin/lsvfs/lsvfs.1
59

I am not sure about this example since on my system it reports '0', while the former example returns the same as yours.

usr.bin/lsvfs/lsvfs.1
59

Hummm, 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.

yuripv added inline comments.
usr.bin/lsvfs/lsvfs.1
59

"same" being for all fields, "Refs" included?

59

how about mount -t ufs | wc -l instead?

Shorten example as suggested by yuripv@

fernape added inline comments.
usr.bin/lsvfs/lsvfs.1
59

Shorter 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?

bcr added a subscriber: bcr.

Cool, thanks for yet another man page with EXAMPLEs.

This revision was not accepted when it landed; it landed in state Needs Review.Dec 29 2020, 6:39 PM
This revision was automatically updated to reflect the committed changes.
fernape marked an inline comment as done.
In D27544#621437, @bcr wrote:

Cool, thanks for yet another man page with EXAMPLEs.

Thank you all for the review!