 <p>Have a look at the quota implementation; this is a mechanism (ok, presumably not available on vfat) which reads/writes files from the kernel.</p> <p>Additionally, the "loop" block device is another example of a kernel facility which does file IO.</p>