blksize Returns the native file system's block size. : blksize « File Directory « Ruby






blksize Returns the native file system's block size.



File.stat("testfile").blksize # 4096 

 

Related examples in the same category