summaryrefslogblamecommitdiffstats
path: root/misc-utils/findfs.8
blob: 1469df2dc80eb02cb0990ce50f5af4f832a7c5b9 (plain) (tree)
1
2
3
4
5
6
7



                                                                      
                                                              
        
                                            















                                                                      













                                                        

          







                                            


                         
            
              
            

                                                                          


                                                              
.\" -*- nroff -*-
.\" Copyright 1993, 1994, 1995 by Theodore Ts'o.  All Rights Reserved.
.\" This file may be copied under the terms of the GNU Public License.
.\"
.TH FINDFS 8 "March 2014" "util-linux" "System Administration"
.SH NAME
findfs \- find a filesystem by label or UUID
.SH SYNOPSIS
.B findfs
.BI LABEL= label
.sp
.B findfs
.BI UUID= uuid
.SH DESCRIPTION
.B findfs
will search the disks in the system looking for a filesystem which has
a label matching
.I label
or a UUID equal to
.IR uuid .
If the filesystem is found, the device name for the filesystem will
be printed on stdout.
.PP
.SH "EXIT STATUS"
.RS
.PD 0
.TP
.B 0
success
.TP
.B 1
label or uuid cannot be found
.TP
.B 2
usage error, wrong number of arguments or unknown option
.PD
.RE
.SH AUTHOR
.B findfs
was originally written by
.MT tytso@mit.edu
Theodore Ts'o
.ME
and re-written for the util-linux package by
.MT kzak@redhat.com
Karel Zak
.ME .
.SH ENVIRONMENT
.IP LIBBLKID_DEBUG=0xffff
enables debug output.
.SH SEE ALSO
.BR blkid (8),
.BR fsck (8)
.SH AVAILABILITY
The findfs command is part of the util-linux package and is available from
.UR ftp://\:ftp.kernel.org\:/pub\:/linux\:/utils\:/util-linux/
Linux Kernel Archive
.UE .