From: Anders E. C (KI/EAB) <and...@er...> - 2004-09-23 12:00:21
|
Hi, I recently discovered I was running out of space on my main partition and needed to allcoate a new file to host a subset of it (/usr portage in this case). I checked the wiki, and it suggests using fsutil (available on xp only, though ntfs supports spare files on any windows version afaik) or making a non-sparse file using dd. I knocked up this util to create sparse files. It works at least in cygwin, so that solved the problem for me. Now I have what appears to be a 1GB filesystem, using only 110MB of diskspace with a reiserfs on it (/usr/portage used to live on ext3 which made it occupy 420MB disk space). have fun, YMMV /Anders <<mksparse.c>> |