util-linux/misc-utils/findfs.8.adoc

78 lines
1.7 KiB
Plaintext
Raw Normal View History

//po4a: entry man manual
2021-03-19 11:12:57 -05:00
// Copyright 1993, 1994, 1995 by Theodore Ts'o. All Rights Reserved.
// This file may be copied under the terms of the GNU Public License.
= findfs(8)
:doctype: manpage
:man manual: System Administration
:man source: util-linux {release-version}
:page-layout: base
:command: findfs
== NAME
findfs - find a filesystem by label or UUID
== SYNOPSIS
*findfs* *NAME*=_value_
== DESCRIPTION
*findfs* will search the block devices in the system looking for a filesystem or partition with specified tag. The currently supported tags are:
2021-03-23 14:07:15 -05:00
*LABEL*=_<label>_::
Specifies filesystem label.
2021-03-19 11:12:57 -05:00
2021-03-23 14:07:15 -05:00
*UUID*=_<uuid>_::
Specifies filesystem UUID.
2021-03-19 11:12:57 -05:00
2021-03-23 14:07:15 -05:00
*PARTUUID*=_<uuid>_::
Specifies partition UUID. This partition identifier is supported for example for GUID Partition Table (GPT) partition tables.
2021-03-19 11:12:57 -05:00
2021-03-23 14:07:15 -05:00
*PARTLABEL*=_<label>_::
Specifies partition label (name). The partition labels are supported for example for GUID Partition Table (GPT) or MAC partition tables.
2021-03-19 11:12:57 -05:00
If the filesystem or partition is found, the device name will be printed on stdout.
The complete overview about filesystems and partitions you can get for example by
____
*lsblk --fs*
*partx --show <disk>*
*blkid*
____
== EXIT STATUS
*0*::
2021-03-23 14:07:15 -05:00
success
2021-03-19 11:12:57 -05:00
*1*::
2021-03-23 14:07:15 -05:00
label or uuid cannot be found
2021-03-19 11:12:57 -05:00
*2*::
2021-03-23 14:07:15 -05:00
usage error, wrong number of arguments or unknown option
2021-03-19 11:12:57 -05:00
== ENVIRONMENT
LIBBLKID_DEBUG=all::
2021-03-23 14:07:15 -05:00
enables libblkid debug output.
2021-03-19 11:12:57 -05:00
== AUTHORS
2021-03-23 14:07:15 -05:00
*findfs* was originally written by mailto:tytso@mit.edu[Theodore Ts'o] and re-written for the util-linux package by mailto:kzak@redhat.com[Karel Zak].
2021-03-19 11:12:57 -05:00
== SEE ALSO
*blkid*(8),
*lsblk*(8),
*partx*(8)
include::man-common/bugreports.adoc[]
2021-03-19 11:12:57 -05:00
include::man-common/footer.adoc[]
2021-03-19 11:12:57 -05:00
ifdef::translation[]
include::man-common/translation.adoc[]
2021-03-19 11:12:57 -05:00
endif::[]