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 (/mnt).
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 ~/media/music to /mnt/media/music).
Now, if I cd into a directory that contains one of these symlinks (for instance, I created a symlink for /mnt/media/music into ~/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
ls -fprobably wouldn't.lsan alias (or function)? If yes, to what?ls -vC --color=auto --group-directories-first. Is the sorting the problem? Anyway, I'll tryls -fas soon as my drive stops spinning.ls -fdoes not block... So it can be the sorting or the colorization...