WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Large File Size support  (Read 1791 times)

Offline andyj

  • Hero Member
  • *****
  • Posts: 1020
Large File Size support
« on: May 31, 2017, 06:41:42 PM »
Why aren't large files >2GB supported?

andy@box:~$ version
8.0
andy@box:~$ uname -a
Linux box 4.8.17-tinycore64 #2017 SMP Sun Mar 5 17:17:31 UTC 2017 x86_64 GNU/Linux
andy@box:~$ getconf FILESIZEBITS /
32
« Last Edit: May 31, 2017, 06:45:01 PM by andyj »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10957
Re: Large File Size support
« Reply #1 on: June 01, 2017, 12:20:46 AM »
They are, that's just not implemented for tmpfs. I get the same when querying tmpfs on other distros, but big files can be created just fine.

edit: See glibc git:
http://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/unix/sysv/linux/pathconf.c;h=01d8c2beddc003f89986f8db5df97d6e2c3c41d9;hb=HEAD#l194
« Last Edit: June 01, 2017, 12:25:58 AM by curaga »
The only barriers that can stop you are the ones you create yourself.

Offline andyj

  • Hero Member
  • *****
  • Posts: 1020
Re: Large File Size support
« Reply #2 on: June 01, 2017, 05:57:35 AM »
The way I read that, it looks like tmpfs falls under the default. Looks like I'll need to hammer at it from a different angle. Thanks.