[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to hard link directories?



On Tue, 2010-03-16 at 23:00 -0500, Nathan Nutter wrote:
> On Tue, Mar 16, 2010 at 6:16 PM, Robert G. (Doc) Savage
> <dsavage@peaknet.net> wrote:
> > I'd like to create a hard link between
> >
> >        /pub/fedora/linux/development/13/
> >         and
> >        /pub/fedora/linux/updates/13/
> >
> > such that the contents of ./updates/13 exactly match those
> > of ./development/13 without consuming any more disk space.
> >
> > I've been hammering away at various combinations and permutations of
> > 'ln' without any luck. Is ln the correct utility to use? If so, what's
> > the syntax I should use?
> >
> > --Doc
> 
> Can't hard link but you can bind mount.
> 
> mount -o bind /path/source /path/destination
> 
> Can put it in /etc/fstab as well.

Nathan,

Thanks. This looks like it will meet my needs nicely.

What I'm trying to do is create what amounts to a working prototype of
what will be the F13 updates repository while the real thing is still
located in the development repository.

--Doc


-
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.