From mboxrd@z Thu Jan 1 00:00:00 1970 From: wkt@tuhs.org (Warren Toomey) Date: Mon, 15 Aug 2016 10:59:04 +1000 Subject: [TUHS] fstat(2) on pipes? In-Reply-To: <20160815002711.3F3C418C096@mercury.lcs.mit.edu> References: <20160815002711.3F3C418C096@mercury.lcs.mit.edu> Message-ID: <20160815005904.GB21951@minnie.tuhs.org> 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