[movitz-devel] ext2 fs support
Alessio Stalla
axcd at libero.it
Wed Aug 18 11:45:46 UTC 2004
I'm writing a module for los0 that aims to support the ext2 fs. So far it can only read regular files (i.e. no symlinks and no writing at all) and is quite slow, but it seems to work (I've tested it only on a bochs disk image formatted with an old version of ext2, but there should be no problems with newer versions). I've written also a sort of common file system interface so that different filesystems can be supported trasparently but it's actually quite a random thing, a real os would need something way better!
I don't expect adding writing support to be too easy because things change a bit from version to version, plus the docs I've found aren't that clear... We'll see. For now, I hope that what I've written can be useful.
Files attached:
partitions.lisp -- reading partition tables (no support for extended partitions)
fs.lisp -- common fs interface
ext2fs.lisp -- obvious... :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: partitions.lisp
Type: application/octet-stream
Size: 1248 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/movitz-devel/attachments/20040818/9b1c8422/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fs.lisp
Type: application/octet-stream
Size: 2346 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/movitz-devel/attachments/20040818/9b1c8422/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ext2fs.lisp
Type: application/octet-stream
Size: 15902 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/movitz-devel/attachments/20040818/9b1c8422/attachment-0002.obj>
More information about the movitz-devel
mailing list