Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Linux is preferable, but that would be nice if there's a Windows solution :)


I have two USB HDDs, and each has category folders: e.g. "Music" and "Video" - kinda archive. Later, when they're full, i will add more devices.

Is there a way to join the two dir trees (from different devices) into one virtual filesystem? So that i can access its root, and see all files joined into one tree?

share|improve this question
    
Are you looking to cluster them, or just have them mounted as different subdirectories? –  Keith Jul 17 '09 at 18:43
    
Smth like clustering into one big virtual joined filesystem, that is called "union mount" –  kolypto Jul 17 '09 at 19:34

2 Answers 2

up vote 2 down vote accepted

The UnionFS stuff might help

Some information here, it allows you to overlay multiple mounts and directories onto one another.

share|improve this answer
    
That's it, thank you! Obvious FS name, really) –  kolypto Jul 17 '09 at 18:33
    
No worries. It is actually pretty nifty. I use it sometimes for odd source-code management practice :) –  Aiden Bell Jul 17 '09 at 19:01

Linux have this already. You can do e.g.

mount --bind /old/dir /new/dir

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.