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 file it is pointing to.
I think it is enough to make split handle file sizes up to the max of off_t. Any actual maximum file size will be smaller of equal to that. 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). nfsv3 also use this info, it is exchanged when a mount is done. tcpdump is able to show it. -Otto > > ICMan > > 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 limit in the future so I don't > > need to patch again when installing a new release? > > > > regards, > > > > Sebastian