Cd into files
Created by: chebykinn
Reproduction: Try to cd to any regular file either on redoxfs
or on initfs
.
Like:
$ cd LICENSE
$ echo test > file
$ cat file
test
$ echo $PWD
file:root/LICENSE
Expected behavior: cd: not a directory: LICENSE
Actual behavior: Can, in fact, cd
to any file and create directories or files inside of it.
Build information:
rustc -V: rustc 1.14.0-nightly (e0111758e 2016-10-17)
git rev-parse HEAD: 104102777285c9e5573c0389ea8041fc57b380b8
qemu: version 2.7.0
uname -a: 4.7.6-1-ARCH #1 SMP PREEMPT x86_64