Reading: Chapter 4 of Tanenbaum
proc
file system and discussion
of the next assignment.
proc
file system).
#includeHere is an example:#include caddr_t mmap(caddr_t addr, size_t len, int prot, int flags, int fildes, off_t off);
fildes = open(...) address = mmap((caddr_t) 0, len, (PROT_READ | PROT_WRITE), MAP_PRIVATE, fildes, offset) /* use data at address */
SKILL: Understand basics of filesystem management