REMOVE(9P)
π¦ NAME π¦
okay so bestie, this is REMOVE(9P), the page for remove β remove a file from a server. itβs giving βdelete request but make it protocolβ π
β¨
β¨ SYNOPSIS β¨
size[4] Tremove tag[2] fid[4]
size[4] Rremove tag[2]
π DESCRIPTION π
The remove request asks the file server both to remove the file represented by fid and to clunk the fid β even if the remove fails. yes, the clunk is non-negotiable, bestie π«Ά. This request will fail if the client does not have write permission in the parent directory.
It is correct to consider remove to be a clunk with the side effect of removing the file if permissions allow. so like: clunk with a delete side quest, and permissions decide if the side quest actually lands β¨.
If a file has been opened as multiple fids, possibly on different connections, and one fid is used to remove the file, whether the other fids continue to provide access to the file is implementation-defined. The Plan 9 file servers remove the file immediately: attempts to use the other fids will yield a phase error. π (yes, the quoted βphase error.β vibe). U9fs follows the semantics of the underlying Unix file system, so other fids typically remain usable. ngl thatβs a whole different energy between Plan 9 and U9fs π.
πΈ ENTRY POINTS πΈ
Fsremoveβ see9pclient(3). it generates remove messages. yes bestie, thatβs the entry point, and itβs literally generating the remove messages π.
sign-off, bestie: the footer is just REMOVE(9P) β no source/version line and no date line are included on this page ππ
π¦ where this page comes from
- alpine 3.24: plan9port-doc 0_git20260208-r0 Β· LPL-1.02
- arch rolling: plan9port 20261021-2 Β· custom
- nixos 26.05: plan9port 0-unstable-2025-11-10
- nixos 26.05: plan9port-wayland 0-unstable-2025-11-26
- nixpkgs unstable: plan9port 0-unstable-2025-11-10
- nixpkgs unstable: plan9port-wayland 0-unstable-2025-11-26
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms