Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] init.d - can't find /dev/stdin

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Eric Sandall <eric AT sandall.us>
  • To: sm-discuss <sm-discuss AT lists.ibiblio.org>
  • Subject: Re: [SM-Discuss] init.d - can't find /dev/stdin
  • Date: Wed, 3 Sep 2003 14:34:52 -0700

Quoting Duane Malcolm <d.malcolm AT auckland.ac.nz>:
> Hi,
>
> I converted to /dev/ system last night. Don't completely know whats
> going on but I ran into trouble.
>
> I can't cast spells because it can't untar them properly, I noticed when
> I did a sorcery update it mentioned a tar error about not finding
> /dev/stdin, which doesn't exist. Can someone point me in the right
> direction??
>
> Cheers, Duane.

I had this problem on my SPARC when building SMGL on it, bootstrapped from
Debian.

Here is /a/ fix (thanks to Arwed) (not the proper one, I believe you missed
somethingi n your upgrade, perhaps try 'cast -r -c init.d' again and say 'y'
to everything, and also try devfsd, after using this fix to get cast working
again):

# ln -s /proc/self/fd /dev/fd
# ln -s /dev/fd/0 /dev/stdin
# ln -s /dev/fd/1 /dev/stdout
# ln -s /dev/fd/2 /dev/stderr

-sandalle

--
PGP Key Fingerprint: FCFF 26A1 BE21 08F4 BB91 FAED 1D7B 7D74 A8EF DD61
http://search.keyserver.net:11371/pks/lookup?op=get&search=0xA8EFDD61

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/E/IT$ d-- s++:+>: a-- C++(+++) BL++++VIS>$ P+(++) L+++ E-(---) W++ N+@ o?
K? w++++>-- O M-@ V-- PS+(+++) PE(-) Y++(+) PGP++(+) t+() 5++ X(+) R+(++)
tv(--)b++(+++) DI+@ D++(+++) G>+++ e>+++ h---(++) r++ y+
------END GEEK CODE BLOCK------

Eric Sandall | Source Mage GNU/Linux Developer
eric AT sandall.us | http://www.sourcemage.org/
http://eric.sandall.us/ | SysAdmin @ Inst. Shock Physics @ WSU
http://counter.li.org/ #196285 | http://www.shock.wsu.edu/

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/





Archive powered by MHonArc 2.6.24.

Top of Page