View Single Post
Old 07-26-07, 10:29 PM   #4
DiscipleDOC's Avatar
Join Date: Dec 2002
Location: Alabama, Planet Earth
Posts: 5,993
Default Re: Linking a directory to another partition?

Originally Posted by evilghost
You can either symlink it or actually create a new mount for it.

To symlink to /dev/sdb3 I'd do this.

mkdir -p /media/sdb3/apt_archives
cp -av /var/cache/apt/archives/* /media/sdb3/apt_archives
rm -rf /var/cache/apt/archives
ln -s /var/cache/apt/archives /media/sdb3/apt_archives
Ok...this didn't work. I linked it, but it is still putting these files in the /var/cache/apt/ location.

How can I mount this on a different partition?
DiscipleDOC is offline   Reply With Quote