We know the root directory is /
, and according to POSIX, there is another directory //
which differs from /
.
When you ls /
and ls //
, the output is the same, so is stat
, however if you cd /
and cd //
, they are different, though the directory content are the same.
That really confused me. Anyone got an answer?