[OpenAFS] symlink -list

David R Boldt dboldt@usgs.gov
Tue, 19 Jul 2011 19:42:03 -0400


This is a multipart message in MIME format.
--=_alternative 008233CC852578D2_=
Content-Type: text/plain; charset="US-ASCII"

OpenAFS 1.5.9906

Little quirk of "symlink -list", it fails if one has not yet done a 
directory listing.


PS Microsoft.PowerShell.Core\FileSystem::\\afs\usgs.gov\user\dboldt> 
symlink list -name foo
'foo' is not a symlink.


PS Microsoft.PowerShell.Core\FileSystem::\\afs\usgs.gov\user\dboldt> ls

Directory: \\afs\usgs.gov\user\dboldt


Mode LastWriteTime Length Name
---- ------------- ------ ----
d---- 9/20/2010 5:00 PM Software
d---- 10/29/2010 3:03 PM bin
d---- 1/18/2007 10:18 AM .ssh
d---- 4/6/2001 10:20 AM .xresources
d---- 1/28/2003 4:17 PM .autosave
----- 10/29/2010 3:03 PM 500224 db.tar
----- 4/1/2011 3:41 PM 211456 Denver.ppt
----- 10/20/2010 4:49 PM 840 .profile
...


PS Microsoft.PowerShell.Core\FileSystem::\\afs\usgs.gov\user\dboldt> 
symlink list -name foo
'foo' is a symlink to 'bar'


PS Microsoft.PowerShell.Core\FileSystem::\\afs\usgs.gov\user\dboldt>



                                         -- David Boldt
                                             <dboldt@usgs.gov>


   "The trouble with having an open mind, of course, is that people will 
insist on coming along and trying to put things in it."
    --Terry Pratchett

--=_alternative 008233CC852578D2_=
Content-Type: text/html; charset="US-ASCII"


<br><tt><font size=2>OpenAFS 1.5.9906</font></tt>
<br>
<br><tt><font size=2>Little quirk of &quot;symlink -list&quot;, it fails
if one has not yet done a directory listing.</font></tt>
<br>
<br>
<br><tt><font size=2>PS Microsoft.PowerShell.Core\FileSystem::\\afs\usgs.gov\user\dboldt&gt;
symlink list -name foo</font></tt>
<br><tt><font size=2>'foo' is not a symlink.</font></tt>
<br>
<br>
<br><tt><font size=2>PS Microsoft.PowerShell.Core\FileSystem::\\afs\usgs.gov\user\dboldt&gt;
ls</font></tt>
<br>
<br><tt><font size=2>Directory: \\afs\usgs.gov\user\dboldt</font></tt>
<br>
<br>
<br><tt><font size=2>Mode LastWriteTime Length Name</font></tt>
<br><tt><font size=2>---- ------------- ------ ----</font></tt>
<br><tt><font size=2>d---- 9/20/2010 5:00 PM Software</font></tt>
<br><tt><font size=2>d---- 10/29/2010 3:03 PM bin</font></tt>
<br><tt><font size=2>d---- 1/18/2007 10:18 AM .ssh</font></tt>
<br><tt><font size=2>d---- 4/6/2001 10:20 AM .xresources</font></tt>
<br><tt><font size=2>d---- 1/28/2003 4:17 PM .autosave</font></tt>
<br><tt><font size=2>----- 10/29/2010 3:03 PM 500224 db.tar</font></tt>
<br><tt><font size=2>----- 4/1/2011 3:41 PM 211456 Denver.ppt</font></tt>
<br><tt><font size=2>----- 10/20/2010 4:49 PM 840 .profile</font></tt>
<br><tt><font size=2>...</font></tt>
<br>
<br>
<br><tt><font size=2>PS Microsoft.PowerShell.Core\FileSystem::\\afs\usgs.gov\user\dboldt&gt;
symlink list -name foo</font></tt>
<br><tt><font size=2>'foo' is a symlink to 'bar'</font></tt>
<br>
<br>
<br><tt><font size=2>PS Microsoft.PowerShell.Core\FileSystem::\\afs\usgs.gov\user\dboldt&gt;<br>
</font></tt>
<br>
<br><tt><font size=2><br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; --
David Boldt<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &lt;dboldt@usgs.gov&gt;<br>
<br>
<br>
 &nbsp; &quot;The trouble with having an open mind, of course, is that
people will insist on coming along and trying to put things in it.&quot;<br>
 &nbsp; &nbsp;--Terry Pratchett<br>
</font></tt>
--=_alternative 008233CC852578D2_=--