Read in src/: every ufs_*extattr operation answers EOPNOTSUPP until
extattrctl start has run (ufs_extattr.c:1048, :1165, :1291, :1323; started
only through ufs_extattr_autostart, :637, which needs /.attribute); FFS
does not start it at mount and no rc.d script does. So on a default
install McdeSys' comment get/set answer MCDE_SYS_ENOTSUP ("This file system
keeps no comments"): the error mapping in netbsd.c is right, the feature does
nothing until an administrator sets it up. The immutable-flag lock does not
depend on it. Compile of netbsd.c with the cross gcc: clean. Not run: no
NetBSD here (build/vm is gone).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2.4 KiB
2.4 KiB
docs/reference/ -- documentation read before changing something
What it is for
The rule of the root AGENTS.md: read the documentation first, save what you
read here with source and date, quote the sentence that settled the question.
One topic per file, <topic>.txt.
What is in it
Records by area; each file's first lines name source and date.
- Install media and encrypted root:
boot-cfg-timeout,install-image-boot,installcd-console-and-cgd-boot,cgdroot-guide,cgdroot-tree,cgdroot-design,sysinst-survey,make-release-build.md,syspkgs. - Updating:
pkgdb-registration(making the set's packages visible to pkg_info and pkg_add -u, t0056),sysupgrade(the base system, t0055),update-verification(what is checked before an update runs as root: nothing for the sets, no signatures on the NetBSD packages, t0078). - MCDE and its system services:
cde-colours,cde-colorsets,frontpanel,motif-png,desktop-entry,shortcuts,photoshop-ui.csv,battery,borg,disks,dns-sd,netconfig,npf-default.conf,permissions,sharing,wifi,login-screen(what dtlogin and its greeter can do, t0098),dtmail(what dtmail and libDtMail can do: download not IMAP client, no TLS, t0127),calendar-libs(iCalendar/CalDAV libraries in pkgsrc and their cost, t0148),file-dialog(the stock open/save dialog and who uses it, t0189),clipboard-password-hint(the hint password managers put on the clipboard, and what dtlaunch does with it, t0080),netbsd-extattr(extended attributes on FFS are off until extattrctl starts them: the file comments of McdeSys are dormant on a default NetBSD, t0200). - Phone:
qbootctl. - Removed text kept whole:
agents-history-2026-11-13.txt(rootAGENTS.md),tools-agents-history-2026-11-13.txt(the AGENTS.md files oftools/,.claude/,www/,ext/,docs/,refs/before they were shortened).
What may be changed
Add a file for every area before you change it; do not paraphrase from memory. Correct a file by a dated note, not by silent rewriting.
What must not be touched
- Quoted upstream sentences are not edited.
- These are records of what was read, not of what is true now. A conclusion
that went into a change since dropped (the cgdroot work) is history. The
cgdroot guide says sysinst does not support an encrypted root: that is the
wiki on its date, to be checked against
src/usr.sbin/sysinst.