sysprog21 / simplefs

A simple native file system for Linux kernel
Other
365 stars 91 forks source link

Can't show current dir & parent dir #12

Closed Billy4195 closed 1 year ago

Billy4195 commented 3 years ago

As I followed the Build and Run section to test the mounted file system. The two directories . and .. didn't show correctly.

Step to reproduced

$ sudo mkdir dir1
$ ls -al
total 1
drwxr-xr-x 2 root root 4096  4月 10 17:34 dir1
$ cd dir1
$ ls -al
total 1
drwxr-xr-x 2 root root 4096  4月 10 17:32 .