How do I make a mountable image of directories

view full story

http://www.linuxquestions.org – Hi guys! I'm a newbie and am learning bash. I have a couple of directories that I want to turn into an image. For example: Quote: /usr/dir1 /usr/dir2 I want to end up with two imgs (dir1.img and dir2.img). I wanna be able to type in: Quote: mkdir /usr/dir1 mount dir1.img /usr/dir1 How can I do that? If I can't use mount than what should I use? (HowTos)