WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline andyj

  • Hero Member
  • *****
  • Posts: 1036
Large File Size support
« on: May 31, 2017, 09: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, 09:45:01 PM by andyj »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: Large File Size support
« Reply #1 on: June 01, 2017, 03: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, 03:25:58 AM by curaga »
The only barriers that can stop you are the ones you create yourself.

Offline andyj

  • Hero Member
  • *****
  • Posts: 1036
Re: Large File Size support
« Reply #2 on: June 01, 2017, 08: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.