summaryrefslogtreecommitdiffstats
path: root/usr.bin/find/find.1
diff options
context:
space:
mode:
authordwmalone <dwmalone@FreeBSD.org>2013-03-03 20:10:56 +0000
committerdwmalone <dwmalone@FreeBSD.org>2013-03-03 20:10:56 +0000
commit8bb3da133f0682d6d4de1df7fcc02836faaddb68 (patch)
tree0b46db9b2f431142315be4b5f8be443ed56f2e40 /usr.bin/find/find.1
parent86693db26f9c8a1f2d05bf4404db92af6158471c (diff)
downloadFreeBSD-src-8bb3da133f0682d6d4de1df7fcc02836faaddb68.zip
FreeBSD-src-8bb3da133f0682d6d4de1df7fcc02836faaddb68.tar.gz
Add an option for finding sparse files.
Reviewed by: iedowse MFC after: 3 weeks
Diffstat (limited to 'usr.bin/find/find.1')
-rw-r--r--usr.bin/find/find.16
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/find/find.1 b/usr.bin/find/find.1
index 47c40d8..cffeacf 100644
--- a/usr.bin/find/find.1
+++ b/usr.bin/find/find.1
@@ -816,6 +816,10 @@ terabytes (1024 gigabytes)
.It Cm P
petabytes (1024 terabytes)
.El
+.It Ic -sparse
+True if the current file is sparse,
+i.e. has fewer blocks allocated than expected based on its size in bytes.
+This might also match files that have been compressed by the filesystem.
.It Ic -type Ar t
True if the file is of the specified type.
Possible file types are as follows:
@@ -997,7 +1001,7 @@ and
as well as
.Ic -amin , -anewer , -cmin , -cnewer , -delete , -empty , -fstype ,
.Ic -iname , -inum , -iregex , -ls , -maxdepth , -mindepth , -mmin ,
-.Ic -path , -print0 , -regex
+.Ic -path , -print0 , -regex, -sparse
and all of the
.Ic -B*
birthtime related primaries are extensions to
OpenPOWER on IntegriCloud