Bahadir Balban
730e7c210f
Added resolving of current directory in case lookup starts from current dir.
2008-04-16 14:48:05 +01:00
Bahadir Balban
e722ee0115
Root was a child of itself, removed that relationship.
...
Root is only a parent of itself, it shouldn't show up in its children.
2008-04-16 00:20:59 +01:00
Bahadir Balban
ab588c279b
Fixed the component-consumption-every-lookup problem.
...
Now components only consumed on child lookup recursions.
2008-04-16 00:04:54 +01:00
Bahadir Balban
9a66893288
lookup return value was changed from -ENOENT to 0 when vnode not found,
...
Fixed a point in code that expected 0.
Next: lookups should not consume from path every time called but only
when moving to children to lookup.
2008-04-15 23:45:46 +01:00
Bahadir Balban
9ba6638d01
Added new path parsing functions that work cleaner, better.
...
Input paths are now parsed at the beginning and components
put into an ordered linked list headed by struct pathdata.
Lookup functions use these components to look up vnodes.
2008-04-15 19:36:07 +01:00
Bahadir Balban
fb249b0c5b
Fixed wrong directory name issue, strlen() was off by one.
2008-04-15 01:51:13 +01:00
Bahadir Balban
a9420d3dc9
mkdir almost working.
...
Added changes to pathname lookup code so that the root
directory special case is handled properly.
2008-04-15 00:51:58 +01:00
Bahadir Balban
287b7705da
Towards working mkdir.
2008-04-14 14:38:04 +01:00
Bahadir Balban
09bd001e1a
Added sys_mkdir and memfs_vnode_mkdir() functions. Untested but all implemented.
2008-02-15 17:32:41 +00:00
Bahadir Balban
5de93f707c
Fixed lookup return value. Now using generic_lookup directy, i.e.
...
not through a vnode, because it really isn't fs-specific.
2008-02-15 12:22:07 +00:00
Bahadir Balban
7bbc21d105
Another minor fix in lookup.c
2008-02-14 21:32:39 +00:00
Bahadir Balban
329dc53982
FS0 compiles with the changes, also caught an unparanthesised double-statement
...
if clause in lookup.c
2008-02-14 21:23:49 +00:00
Bahadir Balban
d3b6817887
Some more additional changes in same places.
2008-02-14 15:13:08 +00:00
Bahadir Balban
cab2e8bdd3
Finished adding untested bare functionality vfs
...
Finished adding untested shm syscalls.
Finished adding untested l4 send/recv helpers
Everything compiles. Now going to fix lots of bugs ;-)
2008-02-03 17:42:38 +00:00