Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: comp.unix.questions Subject: Re: sparse files Message-ID: <2700@auspex.auspex.com> Date: 8 Dec 89 18:48:36 GMT References: <21581@adm.BRL.MIL> <235@dg.dg.com> Reply-To: guy@auspex.auspex.com (Guy Harris) Organization: Auspex Systems, Santa Clara Lines: 18 >UNIX treats the "holes" as 0's when read. In fact, UNIX has only >minimal support for sparse files. Backing up sparse files often >involves copying large amounts of nulls. Once an area of a file is >written, it cannot be returned to its previous sparse state. Not in general, anyway. At least the first version of AIX for the RT PC claimed, in its documentation, that it had an "fclear()" call to punch holes in files; I think this may show up in future releases of other UNIXes as well. >In arguments that UNIX is not suitable for DP applications, sparse >files usually come up if the conversation goes on long enough between >knowledgeable people. Umm, what other operating systems support sparse files *and* return a "there's a hole there" indication? For instance, are there any OSes with extent-based file systems (VMS, OS/360 and successors as I remember, IRIX with SGI's Extent File System) that support sparse files?