[Top][All Lists]

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

Re: /dev/udp|tcp/host/port and symbolic links

From: Andreas Schwab
Subject: Re: /dev/udp|tcp/host/port and symbolic links
Date: Tue, 09 Jul 2002 11:41:36 +0200
User-agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.3.50 (ia64-suse-linux)

address@hidden (Uwe Klein) writes:

|> Hi,
|> being able to redirect output to /dev/<proto>/<host>/<port>
|> is very usefull ( Thanks for the feature !) 
|> I use this feature together with MultiCast Adresses
|> to send cmds and data to multiple processes on a set of hosts.
|> usage like this is ok:
|>      echo hello >/dev/udp/
|> But i could not refrain from trying:
|>      ln -s /dev/udp/ bclog
|>      echo hello >bclog
|> this breaks with 
|>      bash: bclog: Not a directory
|> I don't realy know at which point the decision
|> is made concerning regular file / some bash special file 
|> but it would be nice having softlinks work seamlessly.

This is not possible.  The file name is interpreted by bash, it does not
exist anywhere outside of bash.


Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 NĂ¼rnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

reply via email to

[Prev in Thread] Current Thread [Next in Thread]