summaryrefslogtreecommitdiff
path: root/sys/src/cmd/cfs/cfs.c
AgeCommit message (Collapse)Author
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.
2018-09-19cfs: close mount half of pipe, fixes cfs not exiting when unmountedmischief
2017-01-06cfs: fix cfsctl interaction with mount cache (mount -C flag)cinap_lenrek
the root fileserver is mounted with the mount cache enabled causing the contents of the cfsctl file to be cached as well leading to wrong results. so after we generated the new stat buffer, we increment the qid.vers so the cache starts out clean.
2016-07-24make error handling in 9p service loops consistentcinap_lenrek
when we get eof, stop the loop immidiately and do not rely on the read to eventually return an error. when convM2S() fails to decode the message, error out and stop the loop. there is no point in continuing.
2014-12-11cfs: change default mountpoint to /mnt/cfs and fix the manual (thanks mischief)cinap_lenrek
2014-10-29fix syslog() use with linefeeds for various programscinap_lenrek
2013-06-16make filesystem handling of read9pmsg() consistentcinap_lenrek
2012-02-11cfs: fix bad memory deref in rstat (from yk's patch/cfs-rstatctlbug)cinap_lenrek
2011-03-30Import sources from 2011-03-30 iso image - libTaru Karttunen
2011-03-30Import sources from 2011-03-30 iso imageTaru Karttunen