Hi all,
I have something that isn't necessary, but that I'd *like* to do,
if possible (I think it should be possible, from my limited
knowledge of filesystems).
I have two directories - one of which is on a filesystem which is
full, the other which has quite a bit of space - which I would
like to have appear in one directory transparently. In other
words, I want to see all the files in /mnt/archive/src (say) when
I cd into /usr/local/src (say). Different partitions, so hard
links isn't an option. Symlinks would do the job, but the option
I'd prefer (if it were possible) would be to have real files in
the same directory from two different filesystems, transparently.
Is it a fool's chase? Is this impossible, or is there some
funniness that I can do? Or will it be cd $dir1; for i in
${dir2}/*; do ln -s $i .; done?
Dave.
--
David Neary,
Marseille, France
E-Mail: bolsh at gimp.org
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!