[PATCH][RFC] Complex filesystem operations: split and join

2010-06-09 Thread Nikanth Karthikesan
I had a need to split a file into smaller files on a thumb drive with no free space on it or anywhere else in the system. When the filesystem supports sparse files(truncate_range), I could create files, while punching holes in the original file. But when the underlying fs is FAT, I couldn't. Also

Re: [PATCH][RFC] Complex filesystem operations: split and join

2010-06-13 Thread OGAWA Hirofumi
Nikanth Karthikesan writes: > I had a need to split a file into smaller files on a thumb drive with no > free space on it or anywhere else in the system. When the filesystem > supports sparse files(truncate_range), I could create files, while > punching holes in the original file. But when the un

Re: [PATCH][RFC] Complex filesystem operations: split and join

2010-06-15 Thread Nikanth Karthikesan
Hi OGAWA Hirofumi Thanks a lot for looking at this and reply. On Sunday 13 June 2010 17:12:57 OGAWA Hirofumi wrote: > Nikanth Karthikesan writes: > > I had a need to split a file into smaller files on a thumb drive with no > > free space on it or anywhere else in the system. When the filesystem

Re: [PATCH][RFC] Complex filesystem operations: split and join

2010-06-15 Thread OGAWA Hirofumi
Nikanth Karthikesan writes: >> I have no objections to such those operations (likewise make hole, >> truncate any range, etc. etc.). > > As far as FAT is concerned, Sparse files would break the on-disk format? Yes. In the case of making hole on FAT, I guess it will return the error, or emulate i

Re: [PATCH][RFC] Complex filesystem operations: split and join

2010-06-15 Thread David Pottage
On 15/06/10 11:41, Nikanth Karthikesan wrote: > I had a one-off use-case, where I had no free-space, which made me > think along this line. > > 1. We have the GNU split tool for example, which I guess, many of us > use to split larger files to be transfered via smaller thumb drives, > for example.

Re: [PATCH][RFC] Complex filesystem operations: split and join

2010-06-17 Thread Hubert Kario
On Tuesday 15 June 2010 17:16:06 David Pottage wrote: > On 15/06/10 11:41, Nikanth Karthikesan wrote: > > I had a one-off use-case, where I had no free-space, which made me > > think along this line. > > > > 1. We have the GNU split tool for example, which I guess, many of us > > use to split larg

Re: [PATCH][RFC] Complex filesystem operations: split and join

2010-06-21 Thread Stewart Smith
On Tue, 15 Jun 2010 16:16:06 +0100, "David Pottage" wrote: > On the other hand, perhaps databases such as SQLite or MySQL would > benifit from this feature for improving their backend storage, especaly > if large amounts of BLOB data is inserted or deleted? unlikely. 1) these operations aren't