I recently took out some specific directories from my
/home directory and put them on an external hard drive that is mounted on another path (
Inside my home directory I have created symlinks to some of the old directories in order to access them seamlessly (for instance, I moved my
Now, if I
cd into a directory that contains one of these symlinks (for instance, I created a symlink for
~/media/) and then I issue an
ls command, the external hard drive starts spinning and the output of
ls is blocked until some data (don't know what) is read from the disk (I suppose, since the spinning).
I was wondering the reason for which it happens. It doesn't seem to be necessary to load anything from the external hard drive just to show the symlink (
cding into the symlink and then
ls is another thing, though it's not what I'm referring to here). So why does this happen?
Thanks in advance