[TriLUG] OT: mounting a directory on a different volume
Gregory Woodbury
ggw at wolves.homeip.net
Tue Apr 29 22:52:36 EDT 2003
"It was written once upon a time (by Greg Brown):"
>
> It's late and I must be doing something wrong.
>
> I have two disks in my system, one of which contains the home directory
> and one of which contains my /opt directory.
>
> df -h output:
> /dev/hda3 7906196 3940416 3564156 53% /
> /dev/hda2 248895 10197 225846 5% /boot
> /dev/hda4 10449900 2686836 7232116 28% /home
> /dev/hdb1 76920416 36622148 36390860 51% /opt
>
> I would like to mount /opt/backups/g-mac on /home/gwbrown1/g-mac so
> that anything created in /home/gwbrown1/g-mac to /opt/backup/g-mac
>
> This seems easy enough yet I seem to be doing something obviously
> wrong. Any ideas on how to get this to work?
>
> Oh yeah - the machine in question is RH 8.0.
That sort of thing isn't done with mount. I'd use a symbolic link from
one place to the other.
--
Gregory G. "Wolfe" Woodbury `-_-' Owner/Admin: wolves.durham.nc.us
ggw at wolves.durham.nc.us U
"The Line Eater is a Hug your wolf.
Boojum Snark"
More information about the TriLUG
mailing list