Where is /home/dsl?Forum: Other Help Topics Topic: Where is /home/dsl? started by: gjhicks Posted by gjhicks on Mar. 11 2006,11:49
Hi,Am using a frugal install of DSL 2.2b. Included in the boot cheat codes 'home=hda9 opt=hda9'. After boot, the 'home' and 'opt' directories are duly mounted as '/mnt/hda9/home/dsl' and '/mnt/hda9/opt'. But am confused about where the '/home/dsl' directory actually 'exists'. ls -l /ramdisk/home/dsl ls -l /home/dsl ls -l /mnt/hda9/home/dsl All give exactly the same result. Can anyone explain the connection (or precedence?) between '/ramdisk/home/dsl' and '/mnt/hda9/home/dsl' ? Thanks, Geoff Posted by roberts on Mar. 11 2006,13:02
If you do an ls -l / you will see that /home/dsl is linked to /ramdisk/home/dsl to they point to the same place. Now if you type the mount comand you will see that /mnt/hda9/home/dsl is mounted on /home/dsl via bind so all of them now point to the same location, /mnt/hda9/home/dsl.
Posted by gjhicks on Mar. 12 2006,05:32
Hi,Thanks for your help. When I tried the 'ls -l /home/dsl' there was no sign of the link to the ramdisk. But 'ls -l /home' sure does give '/ramdisk/home'. Also, thanks for the hint about the 'mount' and 'bind', more reading to do! Geoff. |