On Sat, Aug 10, 2013 at 11:56 PM, Roland Mainz <[email protected]> wrote:
> On Sat, Aug 10, 2013 at 11:47 PM, Roland Mainz <[email protected]> 
> wrote:
>> The following mini-script running on ast-ksh.2013-08-07/Solaris
>> 11/B145/AMD64/64bit fails with a "[Operation not applicable]" while
>> the same works on Linux:
>> -- snip --
>> $ ksh -c 'builtin cat ; builtin mkdir ; mkdir tmp ; redirect
>> {dirfd}<"./tmp" ; mkdir /proc/$$/fd/${dirfd}/test1 ; print "foo2"
>>>tmp/test1/a ; cat /proc/$$/fd/${dirfd}//test1/a ; rm tmp/test1/a ;
>> rmdir /proc/$$/fd/${dirfd}//test1 ; true'
>> mkdir: /proc/24955/fd/11//test1: [Operation not applicable]
>> -- snip --
>> ... it seems the /proc emulation in libast isn't working properly somehow... 
>> ;-(
>
> BTW: The same works with /dev/fd/ ...

... ignore that comment... I tested that in the wrong window... which
was a ssh session to a Linux box... on Solaris using /dev/fd fails
with "mkdir: /dev/fd/11//test1: [Not a directory]" ...

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) [email protected]
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)
_______________________________________________
ast-developers mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-developers

Reply via email to