| | |
Filesize limit on vfat ?
![]() |
•
•
Join Date: Mar 2003
Posts: 3
Reputation:
Solved Threads: 0
I've recently tried to create an image from a DVD under Linux.
I wrote the image file to an vfat (fat32) partition previously mounted. The copying process stopped by about 2GB, the former file-size-limit of Linux. I've checked my binaries (dd and cat) they both support large files, and they work well on ext2-filesystems creating files larger than 2GB. I looked into kernel-documentation of vfat-filesystem drivers and the struct there says that the file-size is represented by 4 bytes (32bit integer). So the file-size-limit should be (if I'm correct) at 4GB (or 2^32) since it does not make any sens to use a signed integer to represent the file-size (it can't be negative
)
So has anybody a clue what the problem could be, please ?
I', using kernel 2.4.18 from SuSE (compiled from source with all large-file-support enabled). (btw. the original Suse 8.0 Kernel does have the same problem)
I would be really glad if someone could help me!
thanks !
Best regards,
Dietmar
[BlueICE]
I wrote the image file to an vfat (fat32) partition previously mounted. The copying process stopped by about 2GB, the former file-size-limit of Linux. I've checked my binaries (dd and cat) they both support large files, and they work well on ext2-filesystems creating files larger than 2GB. I looked into kernel-documentation of vfat-filesystem drivers and the struct there says that the file-size is represented by 4 bytes (32bit integer). So the file-size-limit should be (if I'm correct) at 4GB (or 2^32) since it does not make any sens to use a signed integer to represent the file-size (it can't be negative
)So has anybody a clue what the problem could be, please ?
I', using kernel 2.4.18 from SuSE (compiled from source with all large-file-support enabled). (btw. the original Suse 8.0 Kernel does have the same problem)
I would be really glad if someone could help me!
thanks !
Best regards,
Dietmar
[BlueICE]
•
•
•
•
Originally Posted by blueICE
So the file-size-limit should be (if I'm correct) at 4GB (or 2^32) since it does not make any sens to use a signed integer to represent the file-size (it can't be negative)[BlueICE]
I don't know if this relates to our issue here, but when troubleshooting massive filesytem corruption on Macs (HFS/HFS+ filesystems), I've actually seen files report their sizes as negative numbers.
•
•
•
•
Originally Posted by cscgal
On a windows machine using FAT32, the file size cannot exceed 2 gigs.
-- Michael RudasHow To Ask Questions The Smart Way (article by Eric Raymond).
Dealing with Malware
My Articles page.
My Best-of-Breed Free Software for Windows list
Other Windows- & Microsoft-related links
The Audio Tech's Page
My blog
The Oak Park Computer Club
PenguiCon 4.0 Open Source & Science Fiction convention, April 21-23, 2006.
Knoppix Linux (CD-bootable) download. information, & support.
•
•
•
•
Originally Posted by TallCool1
My reading on this indicates that there's a 4 GB range, but it's signed (for ± seeking within a file), so the limit is 1/2 the range, hence 2 GB total.
Could you elaborate on your explanation of "for ± seeking within a file" as it relates to the need for the filesize to be signed? (I'm not a programmer by any means, so I'd appreciate the illumination).
•
•
•
•
Originally Posted by DMR
Could you elaborate on your explanation of "for +/- seeking within a file" as it relates to the need for the filesize to be signed? (I'm not a programmer by any means, so I'd appreciate the illumination).
-- Michael RudasHow To Ask Questions The Smart Way (article by Eric Raymond).
Dealing with Malware
My Articles page.
My Best-of-Breed Free Software for Windows list
Other Windows- & Microsoft-related links
The Audio Tech's Page
My blog
The Oak Park Computer Club
PenguiCon 4.0 Open Source & Science Fiction convention, April 21-23, 2006.
Knoppix Linux (CD-bootable) download. information, & support.
![]() |
Other Threads in the *nix Hardware Configuration Forum
- Previous Thread: wireless net cards
- Next Thread: Hard drive
| Thread Tools | Search this Thread |
360 amazon amd asus atom audio babbage blackberry blind bluray broadband camera censorship ces china chips chipset data dell development digitalcamera dvd ebook eeepc environment epson europe fashion free freedom fsc gadget gaming gps graphics handset hardware hd hddvd history homersimpson homeworking hp ibm intel japan keyboardpc kindle ladies laptop linux markets memory microsoft mobile motoring museum netbook news nintendo nokia notebook nvidia nvidiago7600 opensource overclocking patents pc peripherals photography politics printer printing processor ps4 quadcore recycle replication report reviews robot satnav screenflicker simpsons smartphone sony spot startrek stephenfry supercomputing technology tomtom top10 toshiba tv ubuntu usb wireless workstation xbox






