Page MenuHomeFreeBSD

lsvfs(1): Add EXAMPLES section
ClosedPublic

Authored by fernape on Dec 10 2020, 4:09 PM.

Details

Reviewers
None
Group Reviewers
manpages
Commits
R10:0ce6e534d372: 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
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

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

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
58

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
58

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

58

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

Shorten example as suggested by yuripv@

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

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!