findfs: add page (#3850)

client-spec/clarity
MT 2020-02-13 12:23:48 +11:00 committed by GitHub
parent 8169ae1edc
commit a0f11588eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 0 deletions

20
pages/linux/findfs.md Normal file
View File

@ -0,0 +1,20 @@
# findfs
> Finds a filesystem by label or UUID.
> More information: <https://mirrors.edge.kernel.org/pub/linux/utils/util-linux>.
- Search block devices by filesystem label:
`findfs LABEL={{label}}`
- Search by filesystem UUID:
`findfs UUID={{uuid}}`
- Search by partition label (GPT or MAC partition table):
`findfs PARTLABEL={{partition_label}}`
- Search by partition UUID (GPT partition table only):
`findfs PARTUUID={{partition_uuid}}`