Re: albods - loop with holes (does not work)

Pavel Machek (pavel@atrey.karlin.mff.cuni.cz)
Thu, 8 Jul 1999 20:29:32 +0200


Hi!

> Hi, all. I see this discussion is still going on. Here's an
> interesting idea for you (not mine, some other guy suggested it in
> private email, but he doesn't seem to have taken up my suggestion of
> posting it to linux-kernel).
>
> His idea is to used a modified loop driver, and build a filesystem in
> a regular file, then mount this FS if you want to access different
> data "streams".
>
> When creating the file, make it huge, but filled with holes. The
> modified loop block driver would fill in holes as required (assuming
> it doesn't do this already: I haven't looked).

loop does NOT work with holes, look at my prev. postings. It might be
non-trivial to fix.

> If you want to see the albod as atomic, just look at the file. Move
> it, ftp it, whatever. No kernel/libc hacks required. If you want to
> see the data "streams", mount the file. No new semantics required.

Hmm, and you ftp 100Meg file full of zeros :-).

Pavel

-- 
The best software in life is free (not shareware)!		Pavel
GCM d? s-: !g p?:+ au- a--@ w+ v- C++@ UL+++ L++ N++ E++ W--- M- Y- R+

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/