Reserving Space on Disk

Paul Davey pd at ixi.uucp
Mon Jul 23 19:44:08 AEST 1990


If you using SunOs, (and other systems supporting NFS booting) would
not mkfile(8) be suitable?

     mkfile creates one or more files that are suitable  for  use
     as  NFS-mounted  swap  areas,  or  as local swap areas.  The
     sticky bit is set, and the file is  padded  with  zeroes  by
     default.   The  default  size  is  in  bytes,  but it can be
     flagged as kilobytes, blocks, or megabytes, with the  k,  b,
     or m suffixes, respectively.

OK so it's meant for NFS swap, but its esentially a (contiguous?)
totally allocated file. I don't see that you couldn't use it for any
other purpose.

--
 Regards,			 pd at x.co.uk          IXI Limited
	Paul Davey		 pd at ixi.uucp         62-74 Burleigh St.
				 ...!uunet!ixi!pd    Cambridge  U.K.
 "These are interesting times"   +44 223 462 131     CB1  1OJ      



More information about the Comp.unix.wizards mailing list