mount folders

Ask questions regarding Gentoox, Gentoo and Linux in general in these forums and we'll do our best to help you!
Post Reply
krischan
Novice
Posts: 21
Joined: Fri Sep 05, 2003 7:47 am
Location: Germany

mount folders

Post by krischan »

Hi gentoox-users!!

I want to mount a folder!

I want the content of the folder /mnt/fatx/f/mldonkey in /home/p2p/.mldonkey/incoming!

How do I have to do this and is this possible??

Thanks for your help in advance!!

Krischan=)
krischan
Novice
Posts: 21
Joined: Fri Sep 05, 2003 7:47 am
Location: Germany

Post by krischan »

I readed on http://www.gentoo.org that it has something to do with hard links.

Maybe it can help you.

Thx
Code-X
Novice
Posts: 36
Joined: Tue Jan 27, 2004 11:36 pm
Location: UK
Contact:

Post by Code-X »

wouldn't a simple "mv" work
eg
mv /mnt/fatx/f/mldonkey /home/p2p/.mldonkey/incoming
Code The Future
nobspangle
Gentoox Guru!
Posts: 1681
Joined: Sun Sep 28, 2003 11:59 am
Location: Manchester, UK

Post by nobspangle »

To make the link

Code: Select all

cp -r /home/p2p/.mldonkey/incoming/* /mnt/fatx/f/mldonkey/
rm -rf /home/p2p/.mldonkey/incoming
ln -sf /mnt/fatx/f/mldonkey /home/p2p/.mldonkey/incoming
(this isn't the same as mounting)
If you keep an open mind, will your brain fall out?
krischan
Novice
Posts: 21
Joined: Fri Sep 05, 2003 7:47 am
Location: Germany

Post by krischan »

great!!

Thanks alot for your help!!
Post Reply