[TUHS] fstat(2) on pipes?

Warren Toomey wkt at tuhs.org
Mon Aug 15 10:59:04 AEST 2016


Warren wrote:
>     > xv6 has fstat() but returns an error if the file descriptor isn't
>     > associated with an i-node.
 
On Sun, Aug 14, 2016 at 08:27:11PM -0400, Noel Chiappa wrote:
> ?? All pipe file descriptors should have an inode?

xv6 is a Unix-like OS written for teaching purposes. I'm
making changes to give it a decent runtime environment. URLs:

https://pdos.csail.mit.edu/6.828/2014/xv6.html
https://github.com/DoctorWkt/xv6-freebsd

and it comes with it's own Lions-style commentary:
https://pdos.csail.mit.edu/6.828/2014/xv6/book-rev8.pdf

Cheers, Warren


More information about the TUHS mailing list