summaryrefslogtreecommitdiff
path: root/sys/src/cmd/iostats.c
AgeCommit message (Collapse)Author
2020-12-13iostats: dup 9p pipe to both fd 0 and fd 1 for exportfscinap_lenrek
2020-05-02make bind(2) error handling consistentcinap_lenrek
The mount() and bind() syscalls return -1 on error, and the mountid sequence number on success. The manpage states that the mountid sequence number is a positive integer, but the kernels implementation currently uses a unsigned 32-bit integer and does not guarantee that the mountid will not become negative. Most code just cares about the error, so test for the -1 error value only.
2015-07-31iostats: add -C to usagecinap_lenrek
2014-08-03iostats: properly distribute exit status and give usefull error messagescinap_lenrek
2014-08-03iostats: remove unused fcallfmt, dont leak our mount pipe end into exportfs proccinap_lenrek
2014-08-03iostats: bring back standard filedescriptor spyingcinap_lenrek
2014-08-02iostats: isolate fs from interrupt notescinap_lenrek
interrupt notes go to the child process, not the filesystem and filter process.
2014-08-02iostats: cannot spy on fd 0,1,2 as /fd is per processcinap_lenrek
2014-08-02iostats: dont prefix /bin to argv[0] when already absolute or relative pathcinap_lenrek
2014-08-02iostats: cleanup, remove bogus Maxrpc constantcinap_lenrek
2014-08-02iostats: reimplement iostats as a 9p filter instead of duplicating exportfscinap_lenrek
old iostats failed to work when builidng the kernel due to old bugs that where already fixed in exportfs. instead of backporting the fixes, reimplement iostats as a filter that sits between exportfs and the process mount. from users perspective, theres no difference. the result is much smaller and can handle everything that exportfs can like /srv.