157 lines
3.0 KiB
HTML
157 lines
3.0 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of FINDFS</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>FINDFS</H1>
|
|
Section: System Administration (8)<BR>Updated: March 2014<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
findfs - find a filesystem by label or UUID
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>findfs</B>
|
|
|
|
<B>NAME=</B><I>value</I>
|
|
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<B>findfs</B>
|
|
|
|
will search the block devices in the system looking for a filesystem or
|
|
partition with specified tag. The currently supported tags are:
|
|
<DL COMPACT>
|
|
<DT id="1"><B>LABEL=<label></B>
|
|
|
|
<DD>
|
|
Specifies filesystem label.
|
|
<DT id="2"><B>UUID=<uuid></B>
|
|
|
|
<DD>
|
|
Specifies filesystem UUID.
|
|
<DT id="3"><B>PARTUUID=<uuid></B>
|
|
|
|
<DD>
|
|
Specifies partition UUID. This partition identifier is supported for example for
|
|
GUID Partition Table (GPT) partition tables.
|
|
<DT id="4"><B>PARTLABEL=<label></B>
|
|
|
|
<DD>
|
|
Specifies partition label (name). The partition labels are supported for example for
|
|
GUID Partition Table (GPT) or MAC partition tables.
|
|
</DL>
|
|
<P>
|
|
|
|
If the filesystem or partition is found, the device name will be printed on
|
|
stdout.
|
|
<P>
|
|
The complete overview about filesystems and partitions you can get for example
|
|
by
|
|
<DL COMPACT><DT id="5"><DD>
|
|
<P>
|
|
<BR>
|
|
|
|
<B>lsblk --fs</B>
|
|
|
|
<BR>
|
|
|
|
<P>
|
|
<B>partx --show <disk></B>
|
|
|
|
<BR>
|
|
|
|
<P>
|
|
<B>blkid</B>
|
|
|
|
<BR>
|
|
|
|
<P>
|
|
</DL>
|
|
|
|
<P>
|
|
<P>
|
|
|
|
<A NAME="lbAE"> </A>
|
|
<H2>EXIT STATUS</H2>
|
|
|
|
<DL COMPACT><DT id="6"><DD>
|
|
|
|
<DL COMPACT>
|
|
<DT id="7"><B>0</B>
|
|
|
|
<DD>
|
|
success
|
|
<DT id="8"><B>1</B>
|
|
|
|
<DD>
|
|
label or uuid cannot be found
|
|
<DT id="9"><B>2</B>
|
|
|
|
<DD>
|
|
usage error, wrong number of arguments or unknown option
|
|
|
|
</DL>
|
|
</DL>
|
|
|
|
<A NAME="lbAF"> </A>
|
|
<H2>AUTHOR</H2>
|
|
|
|
<B>findfs</B>
|
|
|
|
was originally written by
|
|
|
|
Theodore Ts'o
|
|
|
|
and re-written for the util-linux package by
|
|
|
|
Karel Zak
|
|
|
|
<A NAME="lbAG"> </A>
|
|
<H2>ENVIRONMENT</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="10">LIBBLKID_DEBUG=all<DD>
|
|
enables libblkid debug output.
|
|
</DL>
|
|
<A NAME="lbAH"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?8+blkid">blkid</A></B>(8),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?8+lsblk">lsblk</A></B>(8),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?8+partx">partx</A></B>(8)
|
|
|
|
<A NAME="lbAI"> </A>
|
|
<H2>AVAILABILITY</H2>
|
|
|
|
The findfs command is part of the util-linux package and is available from
|
|
|
|
Linux Kernel Archive
|
|
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="11"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="12"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="13"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="14"><A HREF="#lbAE">EXIT STATUS</A><DD>
|
|
<DT id="15"><A HREF="#lbAF">AUTHOR</A><DD>
|
|
<DT id="16"><A HREF="#lbAG">ENVIRONMENT</A><DD>
|
|
<DT id="17"><A HREF="#lbAH">SEE ALSO</A><DD>
|
|
<DT id="18"><A HREF="#lbAI">AVAILABILITY</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:06:12 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|