You are not logged in.

#1 2012-03-09 16:32:35

Evert7
Member
From: Lier, Belgium
Registered: 2012-02-18
Posts: 63
Website

[SOLVED] Abstract layer on top of folder

Hi, I want to create an abstract layer on top of a folder, so that if a program tries to change/create/delete a file inside the folder, the original folder/file stays untouched and the changes are written to a different location. If the program tries to read the changed file, the layer should provide the changed file, not the original file. How can I accomplish this?

Last edited by Evert7 (2012-05-27 16:59:32)

Offline

#2 2012-03-09 18:25:31

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [SOLVED] Abstract layer on top of folder

You're describing what a union FS does. Either unionfs-fuse or aufs (requires a kernel rebuild) can be used to accomplish this.

Offline

#3 2012-03-09 20:30:19

Evert7
Member
From: Lier, Belgium
Registered: 2012-02-18
Posts: 63
Website

Re: [SOLVED] Abstract layer on top of folder

falconindy wrote:

You're describing what a union FS does. Either unionfs-fuse or aufs (requires a kernel rebuild) can be used to accomplish this.

Thanks, I'll take a look at it.

Offline

#4 2012-03-10 03:14:46

flan_suse
Member
Registered: 2010-10-28
Posts: 120

Re: [SOLVED] Abstract layer on top of folder

Evert7 wrote:
falconindy wrote:

You're describing what a union FS does. Either unionfs-fuse or aufs (requires a kernel rebuild) can be used to accomplish this.

Thanks, I'll take a look at it.

Look into aufs as well. It originally stood for "another union FS".

Offline

Board footer

Powered by FluxBB