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 17, 3:13 AM
Unknown Object (File)
Thu, May 15, 1:00 AM
Unknown Object (File)
Apr 11 2025, 5:08 PM
Unknown Object (File)
Mar 13 2025, 3:44 PM
Unknown Object (File)
Feb 23 2025, 1:19 AM
Unknown Object (File)
Feb 22 2025, 5:52 AM
Unknown Object (File)
Feb 22 2025, 3:54 AM
Unknown Object (File)
Jan 12 2025, 4:03 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