View Single Post
Old 07-24-07, 01:52 PM   #2
evilghost
Registered User
 
Join Date: Jul 2005
Posts: 3,606
Default Re: Linking a directory to another partition?

You can either symlink it or actually create a new mount for it.

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

Code:
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
evilghost is offline   Reply With Quote