View previous topic :: View next topic |
Author |
Message |
eventhorizon Tux's lil' helper
Joined: 14 Jun 2003 Posts: 104 Location: OV, Belgium
|
Posted: Wed May 12, 2004 11:50 am Post subject: question with making hardlinks of maps |
|
|
Hello;
Probably a stupid question ( NooB ) . Does somebody knows how to make a hardlink of the home directory on a different HD. I installed Gentoo on a little HD and want to use the other HD to put some directory's ( home, var,etc,.. ) I mounted the other HD on a map , but next??
Greetz _________________ Never underestimate the power of LInux |
|
Back to top |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Wed May 12, 2004 2:49 pm Post subject: |
|
|
You can't.
man ln if you want to know why.
But what do you need hard links for in the first place ? _________________ >>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen |
|
Back to top |
|
|
eventhorizon Tux's lil' helper
Joined: 14 Jun 2003 Posts: 104 Location: OV, Belgium
|
Posted: Wed May 12, 2004 2:56 pm Post subject: |
|
|
Hello;
I installed linux on a little HD (2G) and I wan't to install software, so I wanted to hardlink it to another drive and mv everything from the original map ( also I wanted to use ccache )
If it can't be done, is there an alternative??
Greetz and thanks in advance _________________ Never underestimate the power of LInux |
|
Back to top |
|
|
hielvc Advocate
Joined: 19 Apr 2002 Posts: 2805 Location: Oceanside, Ca
|
Posted: Wed May 12, 2004 2:56 pm Post subject: |
|
|
Use soft links and RTFM
You can also do this From my /etc/fstab
/dev/hda1 /boot ext2 noauto,defaults 1 1
/dev/hda3 / ext3 defaults 0 2
/dev/hda2 none swap sw 0 0
/dev/hda5 /home ext3 defaults 0 2
/dev/hda6 /room ext3 defaults 0 2
/dev/hda7 /home/hielvc/gentoo ext3 defaults 0 0
/dev/hda8 /home/cifs reiserfs notail,defaults 0 2
/dev/hdc /mnt/cdrom iso9660 noauto,ro,users 0 0
/dev/fd0 /mnt/floppy vfat noauto,users,rw 0 0
IN other words its the same as when you installed Gentoo, make a dir and mount a partion on it. |
|
Back to top |
|
|
eventhorizon Tux's lil' helper
Joined: 14 Jun 2003 Posts: 104 Location: OV, Belgium
|
Posted: Wed May 12, 2004 6:33 pm Post subject: |
|
|
Thank you very much, where would I be without all the Gentoo-enth.
It worked . I wanted to put my home-dir onto another Hd, just in case my linux, I know... linux is very stable , should stop to function
Greetz an thanks again _________________ Never underestimate the power of LInux |
|
Back to top |
|
|
|