yazgoo / linux-ftools

Automatically exported from code.google.com/p/linux-ftools
Other
22 stars 12 forks source link

fallocate is unable to increase the size of file #4

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. gcc fallocate.c 
2. ./a.out file.txt 10000000
3. ls -al

What is the expected output? What do you see instead?
upon ls -al the size should be increased by 10000000. Instead the file size 
remains same as it was before executing falloc.

What version of the product are you using? On what operating system?
linux 3.4 kernel ext4

Please provide any additional information below.
Please have look at the attached file depicting commands i have execute.Am i 
doing something wrong.

Original issue reported on code.google.com by soft...@gmail.com on 6 Aug 2012 at 10:20

Attachments: