How to automount "--bind" directory?

I am trying to map an existing directory to a new name, e.g. /dir1 to /dir2. I can already do this through mount --bind /dir1 /dir2. However, I am looking to auto mount this every boot. I have search all I could but there was no mention of what type of file system to put in the fstab file.

How do I automate the mounting of existing directories?

Thanks,

Peter

 

 

 

 

Top