Page MenuHomeFreeBSD

lsvfs(1): Add EXAMPLES section
ClosedPublic

Authored by fernape on Dec 10 2020, 4:09 PM.
Tags
None
Referenced Files
F106130849: D27544.id81318.diff
Wed, Dec 25, 10:08 PM
F106099227: D27544.diff
Wed, Dec 25, 9:33 AM
Unknown Object (File)
Mon, Dec 23, 4:28 AM
Unknown Object (File)
Tue, Dec 10, 5:41 AM
Unknown Object (File)
Wed, Dec 4, 10:47 AM
Unknown Object (File)
Nov 22 2024, 12:38 PM
Unknown Object (File)
Nov 15 2024, 4:53 PM
Unknown Object (File)
Nov 15 2024, 2:56 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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 35306
Build 32238: arc lint + arc unit

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!