3 ms·
The minix fs seems to be basically the classic Unix FS design, like UFS/FFS or Ext2, prior to the concept of cylinder groups (at least, per this description and
by loeg 7y ago
The minix fs seems to be basically the classic Unix FS design, like UFS/FFS or Ext2, prior to the concept of cylinder groups (at least, per this description and Wikipedia's) and without some of the more advanced features of those filesystems (softupdates, directory trees, etc).
- yjftsjthsd-h 7y agoI mean, that's what you'd expect from an OS that was originally for teaching, right? A worked example of the fundamental parts common to most other unix filesystems, just as I would naively expect the minix scheduler to just be round-robin or something, etc.
- loeg 7y agoWell, that was especially true for Minix 1 and 2. Minix 3 is purportedly a production operating system, and ships in every Intel CPU for the last decade or so, right? So while admittedly it may not have significant filesystem needs, it is not purely a teaching operating system anymore. Nowadays I might point at MIT's xv6, which implements a very similar simple unix filesystem: https://github.com/mit-pdos/xv6-public/blob/master/fs.c https://github.com/mit-pdos/xv6-public/blob/master/fs.c
- pavehawk2007 7y agoxv6 also was switched to RISC-V (not exactly sure when, but sometime in 2019), and it has a nice book for the actual course. Course: https://pdos.csail.mit.edu/6.828/2019/xv6.html https://pdos.csail.mit.edu/6.828/2019/xv6.html Book: https://pdos.csail.mit.edu/6.828/2019/xv6/book-riscv-rev0.pdf https://pdos.csail.mit.edu/6.828/2019/xv6/book-riscv-rev0.pd... Take a look at chapter 7 for the xv6 filesystem referenced here.