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)
Sun, Nov 3, 2:40 AM
Unknown Object (File)
Fri, Oct 25, 3:25 PM
Unknown Object (File)
Wed, Oct 23, 8:49 AM
Unknown Object (File)
Mon, Oct 21, 7:07 PM
Unknown Object (File)
Oct 14 2024, 2:14 PM
Unknown Object (File)
Oct 13 2024, 12:45 AM
Unknown Object (File)
Oct 3 2024, 8:08 AM
Unknown Object (File)
Oct 2 2024, 6:13 PM

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!