• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Determine if a file system supports files > 4GB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Determine if a file system supports files > 4GB


  • Subject: Re: Determine if a file system supports files > 4GB
  • From: Dragan Milić <email@hidden>
  • Date: Tue, 13 Aug 2013 02:47:06 +0200

On pon 12.08.2013., at 22.22, Phil Jordan wrote:

> Have you tried what happens on ftruncate() to the desired file size on such file systems? Granted, that might actually write 4GB of zeroes to the disk before you get a chance to fill it with real data, which might slow things down and unnecessarily stress the hardware as FAT32 also doesn't support sparse files.

Pretty much the same: FAT32 over cable: errno=EFBIG. FAT32 over SMB: errno=EINVAL.

getattrlist()/VOL_CAP_FMT_2TB_FILESIZE approach gives the same results: says the capability attribute is valid in both cases, for FAT32 over cable the VOL_CAP_FMT_2TB_FILESIZE bit is not set, but it is of FAT32 over SMB. I kind of expected it. Like Jim has said, there's not much one can do about network file systems that don't or can't expose the limitations of the file systems on the server.

-- Dragan
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Determine if a file system supports files > 4GB
      • From: Phil Jordan <email@hidden>
References: 
 >Determine if a file system supports files > 4GB (From: Dragan Milić <email@hidden>)
 >Re: Determine if a file system supports files > 4GB (From: Jim Luther <email@hidden>)
 >Re: Determine if a file system supports files > 4GB (From: Dragan Milić <email@hidden>)
 >Re: Determine if a file system supports files > 4GB (From: Jim Luther <email@hidden>)
 >Re: Determine if a file system supports files > 4GB (From: Dragan Milić <email@hidden>)
 >Re: Determine if a file system supports files > 4GB (From: Phil Jordan <email@hidden>)

  • Prev by Date: Re: Determine if a file system supports files > 4GB
  • Next by Date: Re: Determine if a file system supports files > 4GB
  • Previous by thread: Re: Determine if a file system supports files > 4GB
  • Next by thread: Re: Determine if a file system supports files > 4GB
  • Index(es):
    • Date
    • Thread