Image Filing Systems

Stefan Bellon sbellon at sbellon.de
Mon Jun 10 08:44:00 PDT 2002


Nick Burrett wrote:
> Stefan Bellon wrote:

[snip]

> > 1) in source/common/stat.c S_IFREG is ored to the mode for image
> >    files.
> > 2) in source/unix/dev.c FILE_ISDIR isn't set for image files
> >    anymore.
> > 3) in source/unix/dev.c my old hack to allow opening non-existent
> >    files in PipeFS for reading.
> > 
> > I know that all those three are only hacks, but till a proper fix is
> > applied, why not use them?

> Believe it or not, I've have committed a slightly modified version of 
> your patches. 

Cool, thanks a lot. :-)

> My change is to export a runtime feature -- __feature_imagefs_is_file
> which you can set to 1 or 0 to alter the behaviour of ImageFS
> handling by stat and __fsopen.

That's the solution I have thought about as well ... :-}

> The PipeFS hack is also imported.

Nice, thanks.

Greetings,

Stefan.

-- 
 Stefan Bellon * <mailto:sbellon at sbellon.de> * <http://www.sbellon.de/>
 PGP 2 and OpenPGP keys available from my home page

 VirusScan Message:  Windows 95 found:  Remove it? (Y/n)



More information about the gcc mailing list