summaryrefslogtreecommitdiff
path: root/sys/src/cmd/ramfs.c
AgeCommit message (Collapse)Author
2021-02-27ramfs: fix truncfile() for non multiple of extend size (64k)cinap_lenrek
The calculation of the last block size is wrong and we can only shrink the size of the last data block, not extend it.
2020-06-12ramfs: make Elocked[] more consistent (thanks fazlul)cinap_lenrek
Go expects the error to be one of the three errors returned in Bell Labs Plan 9. As listed in https://github.com/golang/go/blob/f7ba82d68f90e20aa9e6aa973cb6f12321abec71/src/cmd/go/internal/lockedfile/lockedfile_plan9.go#L16: // Opening an exclusive-use file returns an error. // The expected error strings are: // // - "open/create -- file is locked" (cwfs, kfs) // - "exclusive lock" (fossil) // - "exclusive use file already open" (ramfs) var lockedErrStrings = [...]string{ "file is locked", "exclusive lock", "exclusive use file already open", }
2020-03-07ramfs: don't use Srv.nopipecinap_lenrek
2016-11-17ramfs: remove unused variableftrvxmtrx
2015-06-13lib9p: fix lib9p wstat qid.type/mode checks (fixes lock(1) for ramfs/hjfs)cinap_lenrek
2014-09-15ramfs: allow changing mtime in wstatsmischief
2014-09-16ramfs: fix directory check in wstat() (thanks mischief)cinap_lenrek
2014-03-26ramfs: fix srvname; postmountsrv() already prepends /srv/BurnZeZ
2014-03-14ramfs: replace with new lib9p based implementationcinap_lenrek
old ramfs had a limit on the number of files it could serve and file size was limited to maximum allocaiton size. the new implementation uses multiple memory chunks to back file data in a private compactable memory pool to overcome these limits. files can be sparse. file metadata is maintained by 9pfile data structures of lib9p.
2014-02-10ramfs: remove mainmem pool limit when called with -u flagcinap_lenrek
2011-05-08extended ramfs (-abc)aiju
2011-03-30Import sources from 2011-03-30 iso image - libTaru Karttunen
2011-03-30Import sources from 2011-03-30 iso imageTaru Karttunen