Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Where is /home/dsl?, using cheat code home=hdax< Next Oldest | Next Newest >
gjhicks Offline





Group: Members
Posts: 108
Joined: April 2004
Posted: Mar. 11 2006,11:49 QUOTE

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
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Mar. 11 2006,13:02 QUOTE

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.
Back to top
Profile PM WEB 
gjhicks Offline





Group: Members
Posts: 108
Joined: April 2004
Posted: Mar. 12 2006,05:32 QUOTE

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.
Back to top
Profile PM 
2 replies since Mar. 11 2006,11:49 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Where is /home/dsl?

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code