On Mon, Mar 01, 2004 at 08:13:01PM +0200, Ehud Karni wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Mon, 1 Mar 2004 17:06:04 +0200, Yedidyah Bar-David <[EMAIL PROTECTED]> wrote:
> >
> > On Mon, Mar 01, 2004 at 03:26:35PM +0200, Iftach Hyams wrote:
> > > Question 1 :
> > > ---------------
> > > Having 3 iso files (Fedora) mounted (-o loop...), I would
> > > like to have them all in one directory - each has Fedora/RPMS/
> > > and the result should be one tree which symbolic link of all files
> > > from 3 of them.
> >
> > What you want is called union-mount. Linux doesn't have that (yet?).
> > I personally simply create a directory and manually (or with a script)
> > create links to all the rpms. Something like:
> > mkdir -p /isos/{cd1,cd2,cd3,allrpms}
> > mount -o loop image1.iso /isos/cd1
> > mount -o loop image2.iso /isos/cd2
> > mount -o loop image3.iso /isos/cd3
> > cd /isos/allrpms
> > find .. -name "*.rpm" -type f -print | xargs -n 1 ln -s
> 
> This was already discussed on IGLU on Oct 2002 (but searching the
> archive is almost impossible if you don't have the mail in front
> of your eyes). Anyway,  have a look at:
>   http://www.mail-archive.com/[EMAIL PROTECTED]/msg22478.html
> It has a pointer and a bash script to achieve "union mount".

Well, I admit that I did not recall that, thanks. I also guess, without
actually reading, that your script has more thought put into it than
my quick hack, and of course will generally be better. However, my
own thing has a specific use yours doesn't specifically allow: If you
have few CDs with different ideas of where to put RPMs, and you still
want the convinience of having them all in the same dir, and exact
"union mount" will be less good.
And, BTW: Does anyone follow any progress on real union mounts for
Linux? A quick google search shows that this has been discussed on
lkml several times in the past, with nothing getting generally accepted.
-- 
Didi


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to