Now I have been playing with "autofs" for two days (just for my own enjoyment) and I can't get it to work or I just don't understand something.
I made an entry in "/etc/auto.master":
Then I created file "auto.fat" in /etc and made following entry in it:
fat -fstype=vfat :/dev/hda5
I took a look at a few tutorials and one of them says that:
- "/windows" will be my mounting point
- "fat" is my key to invoke automount action
So as far as I understand only "/windows" folder needs to be created.
Now when I start "autofs", my windows folder stays the empty. If I type
it says that this folder doesn't exist.
If I create "fat" folder inside "/windows" and type
ls -al /windows/fat
, fat folder stays empty.
How do I make that when I go into that folder I would be able to see files on that partition.