Robert Millan <[EMAIL PROTECTED]> writes: > Hi there, > > I recently came across the "e2tools" [1] package which is basicaly like > "mtools" but for ext2. (btw I even made a Debian package [2] which is now used > by GRUB to produce these nice GRUB rescue floppies automagicaly [3]) > > The interesting point for the Hurd is that e2tools uses library calls in > e2fslibs to access the underlying ext2 filesystem. I don't have much clue > with filesystem implementation so this might sound silly; Would it be > feasible to rewrite the ext2fs server for using e2fslibs?
This doesn't sound logical to me. > At a fast glance, I can see interesting calls like: > > ext2fs_mkdir > ext2fs_file_open > ext2fs_file_get_size > ext2fs_file_lseek > ext2fs_file_read Ext2fs doesn't have a mkdir like function. It is all in libdiskfs. See ext2fs/dir.c to find out how it works. Same for most other functions you talk about. file_read doesn't exists for example. What libdiskfs does is using the file pager to read the file contents. -- Marco _______________________________________________ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd