Worse, or better, he might have replaced the whole of the busybox
executable or only the softlink. /bin/sh is a hard- or soft-link to
busybox and i cant remember what happens when you overwrite a hardlink.
I spoke with him off list earlier and found out that he only has a
Fedora distro running on vmware and a USB stick with vfat. I promised to
try to come up with a solution that doesn't involve NFS.
One sollution would be to use his USB stick with a debian distro on it
right? Then he would have to reformat his USB stick (and risking
destroying it if it's one of those special ones stores the firmware on
disk.)
Another solution that I am about to try, that would take less effort to
explain would be the following.
* Put the default linux-distro of 8Mb on a http-server
* load it into ram by executing "load -h <server IP> -r -b <memory address>"
* "exec -r 0x0080_0000 -b 0x00218000 -c "console=ttyAM0,115200
root=/dev/ram0"
Would that work?
Thanks in advance
/Per Öberg
wimpunk wrote:
> --- In Kyaw Kyaw <> wrote:
>> Hi guys,
>> I tried to test in Shell scripting with the example
> program shown in "teach yourself in Shell scripting within 24 hrs". I
> tested with the program of
>> --------------logins--------------
>> #!/bin/sh
>> # print out the date and who's logged on
>> date ; who ;
>> ---------------------------------
>
> /bin/sh isn't a directory so you replaced your shell by your script
> which will not work because you replace your shell.
>
> wimpunk.
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
--
Per Öberg, Ph.D. Student
Address: Division of Vehicular Systems
Department of Electrical Engineering
Linköpings universitet
581 83 Linköping, SWEDEN
Phone: +46 (0)13-28 23 69
e-mail:
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|