Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
FINDFS(8)		      System Administration		       FINDFS(8)

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:

     LABEL=<label>
	 Specifies filesystem label.

     UUID=<uuid>
	 Specifies filesystem UUID.

     PARTUUID=<uuid>
	 Specifies  partition  UUID.  This partition identifier is supported for
	 example for GUID Partition Table (GPT) partition tables.

     PARTLABEL=<label>
	 Specifies partition label (name). The partition  labels  are  supported
	 for example for GUID Partition Table (GPT) or MAC partition tables.

     If the filesystem or partition is found, the device name will be printed on
     stdout.  If  the  input  is not in the format of NAME=value, then the input
     will be copied to the output without any modification.

     The complete overview about filesystems and partitions you can get for  ex-
     ample by

	lsblk --fs

	partx --show <disk>

	blkid

     -h, --help
	 Display help text and exit.

     -V, --version
	 Display version and exit.

EXIT STATUS
     0
	 success

     1
	 label or uuid cannot be found

     2
	 usage error, wrong number of arguments or unknown option

ENVIRONMENT
     LIBBLKID_DEBUG=all
	 enables libblkid debug output.

AUTHORS
     findfs was originally written by Theodore Ts'o <tytso@mit.edu> and re-writ-
     ten for the util-linux package by Karel Zak <kzak@redhat.com>.

SEE ALSO
     blkid(8), lsblk(8), partx(8)

REPORTING BUGS
     For	bug	  reports,	 use	   the	     issue	 tracker
     <https://github.com/util-linux/util-linux/issues>.

AVAILABILITY
     The findfs command is part of the util-linux package  which  can  be  down-
     loaded	       from	       Linux		Kernel		 Archive
     <https://www.kernel.org/pub/linux/utils/util-linux/>.

util-linux 2.41.2		   2025-09-22			       FINDFS(8)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=findfs&sektion=8&manpath=FreeBSD+Ports+15.1.quarterly>

home | help