On Thu, Jun 01, 2000 at 05:53:09PM -0700, H. Peter Anvin wrote:
> "Kenneth C. Arnold" wrote:
> > Actually, no.
> > # mkdir /home/test
> > # mkdir /home/test/again
> > # mount -t bind /home/test /home/test/again
> > # ls /home/test
> > again
> > # ls /home/test/again
> > # echo "Not."
> > Not.
> > But I would like a fs that _could_ do that.
> > Kenneth
> Fine, then:
> while [ $g -lt 10000 ]; do
> mkdir /home/user/junk/$g
> mount -t bind /home/user/megadir /home/user/junk/$g
> g=`expr $g + 1`
Ewww... 10,000 extra mounts is _not_ what I had in mind! (can Linux
even support that much? Even if so, it would seriously bog stuff
Then again, there isn't much use for recursion anyway. Although
it would be fun to play with...
On the other hand,
$ cd /home/test/
$ ln -s /home/test again
$ ls /home/test/again/again/again/again/again/
$ echo "Ha."
Have fun with bash's tab autocomplete (cd /home/test/<tab><tab><tab><tab>...)
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to email@example.com
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Wed Jun 07 2000 - 21:00:13 EST