summaryrefslogtreecommitdiff
path: root/src/ninep
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-30 21:40:57 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:17 -0300
commitf8710ab27b54bf0241ad2ed629ccc98aaa619709 (patch)
tree0448730ee44282b0adb2ee17fdb92d4451979911 /src/ninep
parent4e5719a133030e8ed29799d4959bb0b917092d7c (diff)
downloadpardes-f8710ab27b54bf0241ad2ed629ccc98aaa619709.tar.gz
pardes-f8710ab27b54bf0241ad2ed629ccc98aaa619709.zip
Edit's w and the other left-out sam commands fail EIO in words, never EOPNOTSUPP, and /os refuses a rename or a chmod as not permitted, EACCES
"w is not supported in pardes" read through a mount as EOPNOTSUPP, as if the file system lacked an operation, and a chmod under /os was answered "invalid truncate", EINVAL. An Edit command pardes leaves out now says so in words 9ns reads as EIO, and a rename or mode change of an /os file is "permission denied", EACCES. fs.md's Failure section and /os entry say both. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/ninep')
-rw-r--r--src/ninep/ctl.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ninep/ctl.zig b/src/ninep/ctl.zig
index 5a199f55..6e09084b 100644
--- a/src/ninep/ctl.zig
+++ b/src/ninep/ctl.zig
@@ -1854,6 +1854,7 @@ test "an error's words give the errno a mount reads: EINVAL for what is malforme
.{ .text = addressing.e_order, .malformed = false },
.{ .text = addressing.e_slow, .malformed = false },
.{ .text = "/tmp/x.txt: Modified (Exit again to discard)", .malformed = false },
+ .{ .text = "Edit: w is a sam command pardes's Edit leaves out (it has no file or shell commands)", .malformed = false },
}) |c| {
const says_einval = for (einval) |w| {
if (std.ascii.findIgnoreCase(c.text, w) != null) break true;