Page MenuHomeFreeBSD

Expose _SC_MIN_HOLE_SIZE as MIN_HOLE_SIZE via getconf(1).
AbandonedPublic

Authored by jmmv on Aug 23 2016, 10:53 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, May 4, 11:45 PM
Unknown Object (File)
Sun, Apr 28, 8:53 AM
Unknown Object (File)
Tue, Apr 16, 4:27 AM
Unknown Object (File)
Thu, Apr 11, 6:43 PM
Unknown Object (File)
Jan 14 2024, 4:29 AM
Unknown Object (File)
Dec 20 2023, 1:13 AM
Unknown Object (File)
Nov 26 2023, 12:44 PM
Unknown Object (File)
Oct 21 2023, 1:50 AM
Subscribers

Details

Reviewers
markm
ngie
Summary

The _SC_MIN_HOLE_SIZE pathconf(2) property provides information on
whether a file system supports holes (sparse files) or not. I intend to use
this information in the ls(1) shell tests, which attempt to create very
large sparse files and spuriously fail if their work directory happens to be
on, e.g., tmpfs.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 4893
Build 4956: arc lint + arc unit

Event Timeline

jmmv retitled this revision from to Expose _SC_MIN_HOLE_SIZE as MIN_HOLE_SIZE via getconf(1)..
jmmv updated this object.
jmmv edited the test plan for this revision. (Show Details)
jmmv added a reviewer: markm.
ngie added a reviewer: ngie.
ngie added a subscriber: ngie.

I just did the same thing in r304694 :/...

This revision is now accepted and ready to land.Aug 23 2016, 7:28 PM