You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "dlukian (via GitHub)" <gi...@apache.org> on 2023/03/31 17:43:45 UTC
[GitHub] [nuttx] dlukian opened a new issue, #8933: FS_LARGEFILE config disabled is causing issue with df -h output.
dlukian opened a new issue, #8933:
URL: https://github.com/apache/nuttx/issues/8933
I am using the cxd56xx board. Installing 32GB SDHC card into the system, formatted FAT32 and running `df` displays correct block size, block number, and remaining blocks adding up to correct volume. Using `-h` parameter outputs incorrect _Size_ and _Available_ columns. Recent Spresense SDK update adapted Nuttx 11.0.0, and FS_LARGEFILE is now disabled by default. Manually enabling FS_LARGEFILE allows correct display of total and remaining memory with `df -h` option. Perhaps the `-h` option calculation is using incorrect parameters that have to do with the maximum file size instead of actual mounted media volume?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [nuttx] laoniaokkk commented on issue #8933: FS_LARGEFILE config disabled is causing issue with df -h output.
Posted by "laoniaokkk (via GitHub)" <gi...@apache.org>.
laoniaokkk commented on issue #8933:
URL: https://github.com/apache/nuttx/issues/8933#issuecomment-1493346966
When disable FS_LARGEFILE, the max size is 2^32 = 4GB. So when use the SD card > 4GB, you should enable FS_LARGEFILE.The same as USB msc device
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] FS_LARGEFILE config disabled is causing issue with df -h output. [nuttx]
Posted by "PetervdPerk-NXP (via GitHub)" <gi...@apache.org>.
PetervdPerk-NXP commented on issue #8933:
URL: https://github.com/apache/nuttx/issues/8933#issuecomment-1804062917
@davids5 FS_LARGEFILE is for files not for partition size although it bugs out the partition size display value.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [nuttx] dishilov commented on issue #8933: FS_LARGEFILE config disabled is causing issue with df -h output.
Posted by "dishilov (via GitHub)" <gi...@apache.org>.
dishilov commented on issue #8933:
URL: https://github.com/apache/nuttx/issues/8933#issuecomment-1496804311
@acassis @laoniaokkk I was under impression the 'df' command has nothing to do with file sizes and is used to display volume information - which it does correctly when used without '-h' option. Is the option not supposed to convert the block+block size data to human readable format only?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [nuttx] acassis commented on issue #8933: FS_LARGEFILE config disabled is causing issue with df -h output.
Posted by "acassis (via GitHub)" <gi...@apache.org>.
acassis commented on issue #8933:
URL: https://github.com/apache/nuttx/issues/8933#issuecomment-1496776044
Good point @laoniaokkk it is not a BUG! Maybe we should select FS_LARGEFILE automatically when enabling SD/MMC driver because probably most of users will be using a SDCard bigger than 4GB.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org