[comp.unix.questions] Spanning file across disk partitions.

somani@parns.nsc.com (Anil Somani) (08/19/89)

I have an application which writes large amounts of data 
to a disk file. At times the file tends to exceed the disk 
partition, resulting the application to crash.  Is there a 
way to span the output file across different disk partitions 
(which may be on the same or seperate physical disks) ?

Application is in C and Fortran running under Unix (SunOS 4.0.3).

thanks in advance,
-Anil.


-- 
Anil Somani                uucp: {sun|hplabs|amdahl|decwrl}!nsc!parns!somani
National Semiconductor     Domain: somani@parns.nsc.com
2900 Semiconductor Dr.     Corporate Design Automation, M/S D3-677
Santa Clara, CA 95052-8090 Phone: (408)721-4146

bzs@bu-cs.BU.EDU (Barry Shein) (08/21/89)

>I have an application which writes large amounts of data 
>to a disk file. At times the file tends to exceed the disk 
>partition, resulting the application to crash.  Is there a 
>way to span the output file across different disk partitions 
>(which may be on the same or seperate physical disks) ?
>
>Application is in C and Fortran running under Unix (SunOS 4.0.3).
>
>thanks in advance,
>-Anil.

Some other Unix versions have added this (well, indirectly, through
disk striping) but in general, no. You'll have to manage this yourself
by closing and opening new files (or buying a bigger disk :-)

-- 
	-Barry Shein

Software Tool & Die, Purveyors to the Trade
1330 Beacon Street, Brookline, MA 02146, (617) 739-0202
Internet: bzs@skuld.std.com
UUCP:     encore!xylogics!skuld!bzs or uunet!skuld!bzs