[Bug 223015] [tmpfs] [patch] tmpfs does not support sparse files

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Oct 23 13:08:39 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223015

--- Comment #8 from Keith White <kwhite at site.uottawa.ca> ---
I read but probably misunderstood! If I create a file with holes I don't want
to be "charged" for it until the holes are filled in.  I may want to create a
disk image file, say, that is 4g but I know that I will only be storing 20m in
total.  ffs-like filesystems allow this.  tmpfs has a more straight-forward
idea of a file (allocate up-front, no hole management?).  A "BUGS" section in
tmpfs(5) would have guided me away from attempting to use tmpfs for sparse
files. Othersize tmpfs is an excellent fit for me since I'm running
diskless+swapless.

I'll re-read your comments. I see a drawing-board over there that I should get
back to...

...keith

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-fs mailing list