[lkml]   [1998]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRE: need filetype field in directory entries
This is something an application can handle fine ala magic. If you are
referring to file browsing, then the browser, too, can examine the
first few bytes of a file to determine the file type. Not to knock the
idea of having that all information pre-indexed to expedite a
file-system GUI or other app, but it's not really necessary.

Brandon S. Allbery KF8NH wrote:
> In message <>, "Johan M=
> Andersen
> " writes:
I think it would be nice if I could do something to temporarily conside=
r a certain
file to have a certain type.=A0 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 conte=
references random-image's but whose returned filetype is text, so that =
display,=A0 a
generic displayer, will display the image as an ascii dump, which can b=
e very
useful (esp with FITS files, etc.)

Justin "Logic" Randall
Programmer, Networking
Ion Storm
214-953-0101 x205

> -----Original Message-----
> From: Feuer []
> Sent: Monday, October 05, 1998 8:20 PM
> To: Linux Kernel
> Subject: Re: need filetype field in directory entries

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:44    [W:0.026 / U:5.556 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site