lkml.org 
[lkml]   [1997]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: binfmt
> I am not sure that this is something that should be done in the kernel but
> upon seeing the binfmt_java.c and such files I had to ask. ;)
>
> One example would be where the user has a gzip file in the current dir,
> instead of having to unzip it by hand he could simply type the name of the
> file and gzip would appropriately take care of the task.

Check out the binfmt_misc patch at http://www.linuxhq.com/upatch21.html
or its original home page. It allows you to associate programs with
file magics, so when the kernel recognizes the gzip magic, it could fire
up an application that does whatever you want to happen (e.g. uncompressing
and executing a compressed program).

Regards,
Martin

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