Messages in this thread | | | Date | Tue, 19 Aug 2008 16:33:45 -0400 | From | Rik van Riel <> | Subject | Re: HSM (was Re: [malware-list] TALPA - a threat model? well sorta.) |
| |
On Tue, 19 Aug 2008 21:20:27 +0200 Pavel Machek <pavel@suse.cz> wrote:
> > If you think FUSE+unionfs is a cleaner solution than one > > hook in the VFS, I've got a bridge to sell you. > > If you can do it with one clean enough hook, I'll buy that bridge. > > [If you want to do 'list directory before files are there' -- and you > seem to want to from description above -- fuse seems like a way to > go.]
For a poor man's HSM, it may be a possibility to simply restore all the files as sparse files, fetching the content on demand.
The files can be marked as HSM-empty files with some kind of bit flag or xattr.
Restoring sparse files takes very little time.
This scheme could even work for directories, so you can start using the filesystem before the whole directory tree has been restored.
All it needs is block-on-open when the file has a special flag or xattr set.
-- All rights reversed.
| |