public inbox for speakup@linux-speakup.org
 help / color / mirror / Atom feed
From: "Joseph C. Lininger" <jbahm@pcdesk.net>
To: sdawes@telus.net,
	"Speakup is a screen review system for Linux."
	<speakup@braille.uwo.ca>
Subject: RE: making a directory tree:
Date: Fri, 17 Jun 2005 02:55:28 -0600 (Mountain Daylight Time)	[thread overview]
Message-ID: <Pine.WNT.4.63.0506170245400.1392@merlin> (raw)
In-Reply-To: <KCEEIMDNLJHPIDNANLPLCEDDCLAA.sdawes@telus.net>

Hello,
To my knolege, there is no way to make the contents of several
directories appear as if they are in one directory. For example, you
couldn't mount several iso images as you say and then have all of their
contents appear in one directory. (But see my proposed solution later)
There are several reasons for this, one of which has already been
pointed out by another list member (name conflicts). There are other
technical reasons that the system as it stands at the moment doesn't
support this. You must access each of the volumes separately.

You do have one option if you can be absolutely sure there will be no
named conflicts. Let's say you have the first image mounted on /mnt/iso1
the second on /mnt/iso2 and the third on /mnt/iso3. You could create one
directory, say in /home/jbahm/isos or something and place a symbolic
link to every file in there, like this:

cd /home/jbahm/isos
ln -s /mnt/iso1/* ./
ln -s /mnt/iso2/* ./
ln -s /mnt/iso3/* ./

You could probably also get away with:

ln -s /mnt/iso*/* ./

to do it all at once, but haven't tried so can't be absolutely sure.
Again, you must take care that there are absolutely no name conflicts.
It won't be pretty if their are.

Equal causes can produce very unequal effects.
Joseph C. Lininger
jbahm@pcdesk.net
Verification: 5eab38a77ac40416e075be8f50607ff7

And so it came to pass that on Thu, 16 Jun 2005, Steve Dawes said

> no, think about it.
> You have a set of isos that you have mounted and now you want to make
them
> appear as a single volume. That is what I am trying to do.
>
>
> Steve
>
>
>
> -----Original Message-----
> From: speakup-bounces@braille.uwo.ca
> [mailto:speakup-bounces@braille.uwo.ca]On Behalf Of Sina Bahram
> Sent: Thursday, June 16, 2005 8:35 AM
> To: 'Speakup is a screen review system for Linux.'
> Subject: RE: making a directory tree:
>
>
> Symbolic links could definitely work, but that's just one level away.
>
> As for having all the files from different directories in one
directory ...
> wouldn't this be impossible to do with any command?
>
> Think about it .. If I have the directories, 1 and 2, and inside 1 I
have a
> file called a.txt and inside 2 I have a file called a.txt .. That's
> perfectly fine, but if they merge ... *whistle*
>
> Take care,
> Sina
>
> -----Original Message-----
> From: speakup-bounces@braille.uwo.ca [
mailto:speakup-bounces@braille.uwo.ca]
> On Behalf Of Joseph C. Lininger
> Sent: Thursday, June 16, 2005 10:00 AM
> To: sdawes@telus.net; Speakup is a screen review system for Linux.
> Subject: Re: making a directory tree:
>
> Hello,
> You can't use the mount --bind call to mount more than one directory
or file
> at a time. In other words, you can only specify a single source and a
single
> target. If you want to have all subdirectories available in a single
> directory, I suggest using the "ln" command to create symbolic links
to the
> directories you are attempting to access.
>
> Equal causes can produce very unequal effects.
> Joseph C. Lininger
> jbahm@pcdesk.net
> Verification: 5eab38a77ac40416e075be8f50607ff7
>
> And so it came to pass that on Wed, 15 Jun 2005, Steve Dawes said
>
>> Can anyone give me any suggestions as to how they would resolve the
>> following:
>>
>> I have four directories, let's call them 1 2 3 4.
>> Now what I would like to do is have the contents of these directories
>> available in a single directory tree, let's call it alldirs.
>>
>> I am quite familiar with mount --bind and its strengths, but I cannot
> figure
>> out how .
>> For example, mount --bind 1 alldirs, will expose the contents of 1 in
>> alldirs, as though the contents of 1 are actually now in alldirs.
>> However, I cannot figure how to do something similar that would allow
> me to
>> combine four directories into one directory tree.
>> I have tried:
>> mount --bind 1,2,3,4 alldirs
>> mount --bind 1 2 3 4 alldirs
>> mount --bind 1:2:3:4 alldirs
>> and none of these work.
>>
>> Any ideas?
>>
>> Steve
>>
>> Steve Dawes
>> Calgary Canada.
>>
>>
>> _______________________________________________
>> Speakup mailing list
>> Speakup@braille.uwo.ca
>> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>>
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>



  parent reply	other threads:[~ UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
 speakup speakfreely reflecter JAMES DOSMAN
 ` Kirk Reiser
   ` Jim Grimsby
     ` Nick Gawronski
       ` Thomas Stivers
         ` making a directory tree: Steve Dawes
           ` Joseph C. Lininger
             ` Sina Bahram
               ` Joseph C. Lininger
                 ` Janina Sajka
               ` Steve Dawes
                 ` Sina Bahram
                   ` Ralph W. Reid
                     ` Janina Sajka
                 ` Joseph C. Lininger [this message]
     ` speakup speakfreely reflecter Garrett Klein
       ` Gene Collins

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.WNT.4.63.0506170245400.1392@merlin \
    --to=jbahm@pcdesk.net \
    --cc=sdawes@telus.net \
    --cc=speakup@braille.uwo.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).