Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F173240770
D59588.id186577.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D59588.id186577.diff
View Options
diff --git a/bin/chflags/chflags.1 b/bin/chflags/chflags.1
--- a/bin/chflags/chflags.1
+++ b/bin/chflags/chflags.1
@@ -29,7 +29,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd August 26, 2026
+.Dd September 12, 2026
.Dt CHFLAGS 1
.Os
.Sh NAME
@@ -130,7 +130,7 @@
.Bl -tag -offset indent -width ".Cm opaque"
.It Cm arch , archived
set the archived flag (super-user only)
-.It Cm nocache
+.It Cm nocache, noucache
set the nocache flag (owner or super-user only)
.It Cm nodump
set the nodump flag (owner or super-user only)
diff --git a/lib/libc/gen/strtofflags.c b/lib/libc/gen/strtofflags.c
--- a/lib/libc/gen/strtofflags.c
+++ b/lib/libc/gen/strtofflags.c
@@ -81,11 +81,10 @@
{ "nousparse", 0, UF_SPARSE },
{ "nosystem", 0, UF_SYSTEM },
/* Needed for some Linux cross-build that uses a stale stat.h. */
-#ifdef UF_NOCACHE
{ "nousystem", 0, UF_SYSTEM },
+#ifdef UF_NOCACHE
+ { "nocache", 1, UF_NOCACHE },
{ "noucache", 1, UF_NOCACHE }
-#else
- { "nousystem", 0, UF_SYSTEM }
#endif
};
#define nmappings (sizeof(mapping) / sizeof(mapping[0]))
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Sep 25, 2:54 PM (15 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39543653
Default Alt Text
D59588.id186577.diff (1 KB)
Attached To
Mode
D59588: chflags: Alias nocache to noucache for consistency
Attached
Detach File
Event Timeline
Log In to Comment