LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   File system for saving bigger files as splits? (https://www.linuxquestions.org/questions/linux-general-1/file-system-for-saving-bigger-files-as-splits-718546/)

Dassu 04-12-2009 01:30 AM

File system for saving bigger files as splits?
 
Hello,

I'm looking for a file system the saves files as splits if the file size exceeds certain limit.

To help you guys to understand what I'm looking for.
Let's assume we have file.avi which has size of 30MB.
Diagram:

split-directory.-----------------------join-directory
file.avi.01 <-------File system----> file.avi
file.avi.02
file.avi.03



file.avi is only saved as splits but file system would convert it to appear as a whole.


I found: http://www.scharrer-online.de/softwa...fs-0.01.tar.gz ( http://article.gmane.org/gmane.comp....use.devel/5365 )

But what that does is to either show one file as splits or show splits as one file. But neither does it convert files to splits or work with directories.

Ps. Wouldn't be too hard to create one but that work would be wasted if that has already been done.

abolishtheun 04-12-2009 06:14 PM

Why? modern file systems can handle large files just as well as small ones. You can use the split command if you need smaller chunks for, say, burning onto a disk.

Dassu 04-13-2009 08:38 AM

Well, for example lets assume that you have a iso which is 8GB big. This Can be burned on two 4GB DVD's by splitting it but in order to reuse it you would have to recombine it to the 8GB iso and mount it. If you had a file system that would support splits and two DVD drives then it would be possible to directly mount the iso without using extra 8GB space. This is just one of the many ways such a file system would be really useful.

IBall 04-13-2009 09:52 AM

So essentially you are after a file system that can deal with fragmented files, but allows the user to control it rather than being transparent?

Many common file systems already will fragment a file across different blocks, and the file is accessed transparently as if it were all contiguous.

I am not aware of any file system where the user can control the process - ie: see two separate files as one without physically combining them.

--Ian

i92guboj 04-13-2009 10:00 AM

Quote:

Originally Posted by Dassu (Post 3507317)
Well, for example lets assume that you have a iso which is 8GB big. This Can be burned on two 4GB DVD's by splitting it but in order to reuse it you would have to recombine it to the 8GB iso and mount it. If you had a file system that would support splits and two DVD drives then it would be possible to directly mount the iso without using extra 8GB space. This is just one of the many ways such a file system would be really useful.

There are ways to combine two fs's into one, like unionfs for example. However that doesn't help you with an iso which is fragmented into many pieces. I know of no way to mount it without first joining the pieces.

For other purposes it might be possible to cat both pieces into a pipe to do whatever with them, but that won't help with the concrete case of mounting the iso.

Dassu 04-13-2009 12:15 PM

Thanks for the tip!
But it appears that fusionfs doens't seem to support files that are bigger than the rw_dir supports.

edit: Found rarfs but it only supports reading :(.


All times are GMT -5. The time now is 04:40 AM.