[TUHS] Help with a Unix-ish project?

Ronald Natalie ron at ronnatalie.com
Sat Jul 16 11:56:58 AEST 2016

BRL modified our kernel to support both the V6 and V7 file systems.   Yes there were indeed two versions of stat with hacky-conversions between the two.
We already had the kludge of “JHU Ownership” which allowed the V6 systems to work in an instrucitonal situation with more than 256 users.
If your GID >=200, your “effective” uid was the combination of the UID and GID.

> On Jul 15, 2016, at 9:44 PM, Warren Toomey <wkt at tuhs.org> wrote:
> On Fri, Jul 15, 2016 at 09:32:42PM -0400, Random832 wrote:
>> Wouldn't it be easier to simply change the xv6 stat structure itself,
>> and possibly the filesystem structure as well?
> Yes, but the xv6 book from MIT is something that I can't change, and I
> want to keep their goals of a minimalist OS.
> I've just committed a change where the syscall is now called _Fstat(),
> and I've written a fstat() function to convert the minimal struct stat
> into a more POSIX stat structure.
> I don't want to use this list as the discussion area for the project.
> I'll set another one up and we can move the conversation there.
> Cheers, Warren

More information about the TUHS mailing list