Re: Developing application for linux
From: Grant Edwards (grante_at_visi.com)
Date: 01/19/05
- Previous message: Paul Pluzhnikov: "Re: Developing application for linux"
- In reply to: Paul Pluzhnikov: "Re: Developing application for linux"
- Next in thread: LinuxNovice: "Re: Developing application for linux"
- Reply: LinuxNovice: "Re: Developing application for linux"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 19 Jan 2005 17:00:29 GMT
On 2005-01-19, Paul Pluzhnikov <ppluzhnikov-nsp@charter.net> wrote:
> Grant Edwards <grante@visi.com> writes:
>
>> > - OR it is some form of an object file such that the kernel is
>> > configured to run after booting.
>>
>> Yes.
>
> No.
>
> You build an ELF executable (not an object file).
ELF executables are object files.
> The kernel knows absolutely nothing about your executable. You
> simply run that exe just like you would run 'date' or 'ls'.
That depends on its name. If you name it 'init', then the
kernel _does_ know about it.
> True, you can make starting that executable be a part of an 'rc'
> script, which is started by the 'init' process, which is started
> by the kernel. But it's a long way from "kernel is configured to
> run after booting".
Really? I thought there was a way to tell the kernel what
program to run if you wanted to run someting other than
/sbin/init.
--
Grant Edwards grante Yow! Yow! STYROFOAM...
at
visi.com
- Previous message: Paul Pluzhnikov: "Re: Developing application for linux"
- In reply to: Paul Pluzhnikov: "Re: Developing application for linux"
- Next in thread: LinuxNovice: "Re: Developing application for linux"
- Reply: LinuxNovice: "Re: Developing application for linux"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|