Re: need filetype field in directory entries

Hans Reiser (reiser@idiom.com)
Tue, 06 Oct 1998 00:56:50 -0700


Sounds entirely reasonable.

Hans

Feuer wrote:

>
>
> Brandon S. Allbery KF8NH wrote:
>
> > In message <199810052000.QAA26886@valhalla.cc.columbia.edu>, "Johan M.
> > Andersen
> > " writes:
> > +-----
> > | > At first sight this may look like a proposal to bloat the Unix file
> > | > system. But the filetype info really belongs into each directory
> > | > entry, because
> > |
> > | Are you sure it belongs in the directory entry and not the inode? Can two
> > | links to the same file have different types?
> > +--->8
> >
> > It'd be one way to allow a file to be "opened" in multiple ways. I'd prefer
> > multiple registrations and a WPS-style "Open As" myself....
>
> Hmmmm..... Don't like that much. WPS? What's that?. But if someone ever figures
> out per-user metadata, this would be a good use.
>
> <asbestos suit>
> I think it would be nice if I could do something to temporarily consider a certain
> file to have a certain type. In reiserfs style (as I understand it), this might
> look something like
>
> display random-image.gif/text
>
> text being a pseudofile (I would call it a member function) whose contents
> references random-image's but whose returned filetype is text, so that display, a
> generic displayer, will display the image as an ascii dump, which can be very
> useful (esp with FITS files, etc.)
> </asbestos suit>
>
> David Feuer
>
>
>
> >
> >
> > --
> > brandon s. allbery [os/2][linux][solaris][japh] allbery@kf8nh.apk.net
> > system administrator [WAY too many hats] allbery@ece.cmu.edu
> > electrical and computer engineering KF8NH
> > carnegie mellon university
> >
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> > the body of a message to majordomo@vger.rutgers.edu
> > Please read the FAQ at http://www.tux.org/lkml/
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/