[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Growisofs input cache (get away from dd?)



Andy Polyakov <appro@fy.chalmers.se> wrote:

> and whatever equivalent in C, i.e. open once, pass to many. It is *as
> good* as letting growisofs open it. Actually *better*, because it's not
> subject to race condition. You only have to make sure that the file is
> opened with O_LARGEFILE or with open64. Some script interpretators might
> fail to. A.

Trying to use O_LARGEFILE or open64() directly or without using the right
compile flags makes programs non-portable.

If you like to learn how to do things correctly, search for the net for the
Large File Summit results.

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de                (uni)  
       schilling@fokus.fraunhofer.de     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily


Reply to: