Fwd: [Milkymist-devel] [PATCH] imfs: give a default value to st_blksize

Chris Johns chrisj at rtems.org
Sat Jun 4 07:28:42 UTC 2011


On 4/06/11 2:33 PM, Ralf Corsepius wrote:
>
> My point is: I feel RTEMS lacks a device-call/device-method to retrieve
> a device's blocksize.
>

The stat call returns st_blksize. We also support 'statvfs' [1]. I 
thought these where suitable.

Chris

[1] Not all file systems support this call yet.



More information about the users mailing list