lkml.org 
[lkml]   [1996]   [May]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: Fixed paths in the kernel?
On Fri, 10 May 1996, Johan =?iso-8859-1?Q?Myr=E9en?= wrote:

> From Linux v1.3.100/linux/fs/binfmt_java.c:
>
> #define _PATH_JAVA "/usr/local/java/bin/java"
> #define _PATH_APPLET "/usr/local/java/bin/appletviewer"
> #define _PATH_BASH "/bin/bash"
>
> This is kernel code. Barf.

They should probably be strings you can override when you load the module,
if insmod will do such a thing.

Good compromise?



lilo


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