Raymond Chung
2005-04-17 21:45:39 UTC
Hi. I just started project 5.
And I am writing Sys_Format(), Format(), and GOSFS_Format();
However, When I call Format() in vfs.c, it didn't get the
filesystem (device) right, or similar.
( I can't see what exactly the situation is. )
Following is my trace errors with debugSwitches on.
I appreciate any helps.
Welcome to GeekOS!
Spawning init process (/c/shell.exe)
VFS: path=/c/shell.exe
VFS: prefix=c, suffix=/shell.exe
VFS: Stat: lookup mount point for c
VFS: Lookup mount point: c,c
VFS: Stat: found mount point, dispatching to filesystem
VFS: path=/c/shell.exe
VFS: prefix=c, suffix=/shell.exe
VFS: Lookup mount point: c,c
$ format ide1 gosfs
VFS: path=format
VFS: path=/c/format.exe
VFS: prefix=c, suffix=/format.exe
VFS: Stat: lookup mount point for c
VFS: Lookup mount point: c,c
VFS: Stat: found mount point, dispatching to filesystem
VFS: path=/c/format.exe
VFS: prefix=c, suffix=/format.exe
VFS: Lookup mount point: c,c
VFS: Found gosfs filesystem type
Block device format fail in Sys_Format
Sys_Format Errorcode: -6
Error: Could not format ide1 as gosfs: Resource in use
$ ========================================================================
Bochs is exiting with the following message:
[ ] SIGNAL 2 caught
========================================================================
Thanks for helping.
And I am writing Sys_Format(), Format(), and GOSFS_Format();
However, When I call Format() in vfs.c, it didn't get the
filesystem (device) right, or similar.
( I can't see what exactly the situation is. )
Following is my trace errors with debugSwitches on.
I appreciate any helps.
Welcome to GeekOS!
Spawning init process (/c/shell.exe)
VFS: path=/c/shell.exe
VFS: prefix=c, suffix=/shell.exe
VFS: Stat: lookup mount point for c
VFS: Lookup mount point: c,c
VFS: Stat: found mount point, dispatching to filesystem
VFS: path=/c/shell.exe
VFS: prefix=c, suffix=/shell.exe
VFS: Lookup mount point: c,c
$ format ide1 gosfs
VFS: path=format
VFS: path=/c/format.exe
VFS: prefix=c, suffix=/format.exe
VFS: Stat: lookup mount point for c
VFS: Lookup mount point: c,c
VFS: Stat: found mount point, dispatching to filesystem
VFS: path=/c/format.exe
VFS: prefix=c, suffix=/format.exe
VFS: Lookup mount point: c,c
VFS: Found gosfs filesystem type
Block device format fail in Sys_Format
Sys_Format Errorcode: -6
Error: Could not format ide1 as gosfs: Resource in use
$ ========================================================================
Bochs is exiting with the following message:
[ ] SIGNAL 2 caught
========================================================================
Thanks for helping.