[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

weird autofs behaviour



I installed autofs, configured it to auto-mount removable devices
like cd-rom, cd-recorder, floppy under /var/autofs/console/

I have put the following symlinks in / :

cdrec -> /var/autofs/console/cdrec
cdrom -> /var/autofs/console/cdrom
floppy -> /var/autofs/console/floppy

now when I do a 'ls /' the kernel always tries to mount these 
three devices. Why is this happening? 
'ls' is aliased to 'ls --color=auto' in my .bashrc.

Strange enough, when i invoke '/bin/ls /' (that means 'pure' ls without 
any option) this doesn't happen.
Why?

Radu



Reply to: