NVidia Debian thread
David Bandel
david.bandel
Tue Jan 30 07:13:07 PST 2007
On 1/30/07, Matthew Carpenter <mcarpenter at intelguardians.com> wrote:
> On Tuesday 30 January 2007 07:32, David Bandel wrote:
> > > I'm a fan of "telinit 2"
> >
> > telinit is just a link (hard or soft) to init. Like many UNIX
> > commands, init reads the command used to call it and acts
> > appropriately. But it really is the same command.
> >
> > This is also true of tune2fs/findfs/e2label, mkfs.ext2/mkfs.ext3,
> > gunzip/gzip/uncompress/zcat, and others.
>
> True enough, but like so many of those command links, behavior differs
> slightly based on what argv[0] holds.
please re-read carefully what I said (are you an echo?)
>
> sh -> bash
> but it still behaves differently
please re-read carefully what I said (are you and echo?)
>
> telinit on Linux seems to (or did when I learned about it) more cleanly change
> runlevels. Perhaps that is no longer the case.
If you RTFM and/or the source, you will see that calling init as
telinit acts appropriately (as I said above).
In all cases, "acts appropriately" as I stated in my initial message
means that its behavior is different depending on $0. Sorry I didn't
go into greater detail for you. Didn't think it necessary.
Ciao,
David A. Bandel
--
Focus on the dream, not the competition.
- Nemesis Air Racing Team motto
More information about the Linux-users
mailing list