[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: I'm unclear with the file symbol link!!!



No problem, that's the way it's supposed to work.  Basically, /sbin/halt
can detect how it's called and react accordingly.  It's a pretty common
tactic in scripting languages like Bash and Perl too.

--
Aaron Turner, Core Developer       http://vodka.linuxkb.org/~aturner/
Linux Knowledge Base Organization  http://www.linuxkb.org/
Because world domination requires quality open documentation.
aka: aturner vicinity com, aturner pobox com, ion_beam_head ashtech net
The difference between `Unstable' and `Usable' is only two characters: NT

On Sun, 26 Mar 2000 linuxforum 21cn com wrote:

> Hi,all,
>   There is an unclear problem with the file symbol link. In the
> SysVinit2.74, the command 'poweroff' and 'reboot' in /sbin are the
> same symbol link of '/sbin/halt', But their function is different .
> 'reboot' performs a task like 'shutdown -r now'and 'poweroff', 'halt'
> just is 'shutdown -h now'.
>    Anybody can give me a clear interpretation ?
>    Thanks for your help!
>   



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]