klange / toaruos

A completely-from-scratch hobby operating system: bootloader, kernel, drivers, C library, and userspace including a composited graphical UI, dynamic linker, syntax-highlighting text editor, network stack, etc.
https://toaruos.org/
University of Illinois/NCSA Open Source License
6.13k stars 487 forks source link

Can't create files/directories in root directory #100

Closed gerow closed 6 years ago

gerow commented 9 years ago

Recreation steps:

touch /a

cat /a

cat: /a: no such file or directory

ls shows an entry called "/a", but that's it.

I went back to 478835401ecf44391a3b32cfa178b1d56bde1c11 to check and see if this is a regression caused by the symlink stuff, but it appears to have existed since before then.

gerow commented 9 years ago

markdown, plz, just let me type

klange commented 9 years ago

This is probably why we end up with random /tmp directories in our root... I suspect a weird edge case in the path parsing when we're at the root.