lkml.org 
[lkml]   [2008]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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.


\
 
 \ /
  Last update: 2008-08-19 22:39    [W:0.144 / U:1.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site