|
|
Log in / Subscribe / Register

Finding the proper scope of a file collapse operation

Finding the proper scope of a file collapse operation

Posted Mar 13, 2014 22:01 UTC (Thu) by ohcamacj (guest, #45012)
In reply to: Finding the proper scope of a file collapse operation by PaulWay
Parent article: Finding the proper scope of a file collapse operation

I actually wrote something like that a few years ago, when I was a little kid. I called it offset_fs, instead of libnewfile. If a filename ended in -desc, it would be interpreted as
#comments
/path/to/file1: offset,length
/path/to/file2: offset,length
#etc
and the concatentation of the specified file slices would be obtained upon reading it back.

It's been useful occassionally.

src: http://ohcamacj.dyndns.org:8088/~jonathan/files-1e2a/offs...

However, it's been so long, I forgot how to compile it. -D_FILE_OFFSET_BITS=64 and -lpthread and maybe one or two other options. Sorry.


to post comments


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds