yes, but then it's still irrelevant how big a file the source
filesystem supports, which was the original question.
The filesystem reference in my original question was meant as an
example. My point was just that split(1) could need an upgrade since it is
not too uncommon anymore to split files
On Tue, 2006-10-17 at 10:39 -0700, Ted Unangst wrote:
On 10/17/06, Otto Moerbeek [EMAIL PROTECTED] wrote:
There is no uniform way to ask the max file size of a given
file system. ffs filestems do have that info in therir superblock,
though, you can see it with dumpfs(8).
it hardly
On 10/19/06, Shawn K. Quinn [EMAIL PROTECTED] wrote:
On Tue, 2006-10-17 at 10:39 -0700, Ted Unangst wrote:
On 10/17/06, Otto Moerbeek [EMAIL PROTECTED] wrote:
There is no uniform way to ask the max file size of a given
file system. ffs filestems do have that info in therir superblock,
On Mon, 16 Oct 2006, Sebastian Dehne wrote:
Replacing the long data type with a bigger type, so that split(1)
supports bigger splits, works good enough for me.
Don't make it harder that needed. If you have a tested diff, send it in.
-Otto
On Mon, 16 Oct 2006, Sebastian Dehne wrote:
Hi,
I noticed that split(1) can only handle files which's size = 2GB. I
adjusted my version so that it support larger files.
Why is this limit never increased. I mean, the fs supports much bigger
files. Are there any plans to increased this
The following diff works on my amd64. I split an 8GB file into two
chunks: 5GB and 3GB
Index: split.c
===
RCS file: /cvs/src/usr.bin/split/split.c,v
retrieving revision 1.13
diff -u -r1.13 split.c
--- split.c 2006/08/10 22:44:17
Otto,
Thanks for considering it. Here is the patch which worked for me:
#
# BEGIN PATCH SPLIT(1)
#
--- split.c Tue Oct 17 09:19:24 2006
+++ split_new.c Tue Oct 17 09:20:15 2006
@@ -59,7 +59,7 @@
#define DEFLINE1000/* Default num lines per
file. */
-long
On Mon, 16 Oct 2006, ICMan wrote:
My $0.02:
Is there a way to query the file system to find out what the max-file-size is?
If there is, I don't know how to do it, but it could be added to split(1) so
that split(1) will handle the largest file allowed by whichever file system is
holding the
On Tue, 17 Oct 2006, Sebastian Dehne wrote:
Otto,
Thanks for considering it. Here is the patch which worked for me:
This is not enough at least the call to strtol() in the -b case
and the limit check needs to be fixed as well. ckuethe@ is working on
something.
-Otto
On 10/17/06, Otto Moerbeek [EMAIL PROTECTED] wrote:
There is no uniform way to ask the max file size of a given
file system. ffs filestems do have that info in therir superblock,
though, you can see it with dumpfs(8).
it hardly matters. if the file is on the filesystem, the filesystem
On Tue, 17 Oct 2006, Ted Unangst wrote:
On 10/17/06, Otto Moerbeek [EMAIL PROTECTED] wrote:
There is no uniform way to ask the max file size of a given
file system. ffs filestems do have that info in therir superblock,
though, you can see it with dumpfs(8).
it hardly matters. if the
Hi,
I noticed that split(1) can only handle files which's size = 2GB. I
adjusted my version so that it support larger files.
Why is this limit never increased. I mean, the fs supports much bigger
files. Are there any plans to increased this limit in the future so I
don't need to patch again
Hi Sebastian,
Why is this limit never increased. I mean, the fs supports much bigger
files. Are there any plans to increased this limit in the future so I
don't need to patch again when installing a new release?
Have you tried sending a diff?
HTH and thanks... Nico :-)
My $0.02:
Is there a way to query the file system to find out what the
max-file-size is? If there is, I don't know how to do it, but it could
be added to split(1) so that split(1) will handle the largest file
allowed by whichever file system is holding the file it is pointing to.
ICMan
Replacing the long data type with a bigger type, so that split(1)
supports bigger splits, works good enough for me.
Sebastian
ICMan ([EMAIL PROTECTED]) wrote:
My $0.02:
Is there a way to query the file system to find out what the
max-file-size is? If there is, I don't know how to do it,
15 matches
Mail list logo