<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Linking directory in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/linking-directory/m-p/5095468#M443155</link>
    <description>How do you know it is still in /data/WFS? Most commands that will look in /data/WFS will actually follow the symbolic link and even "pwd" will lie to you.&lt;BR /&gt;&lt;BR /&gt;If you do "cd /data1/WFS" and then "ls" is your file there?&lt;BR /&gt;&lt;BR /&gt;If so, then everything is working.</description>
    <pubDate>Mon, 03 Mar 2008 10:02:40 GMT</pubDate>
    <dc:creator>Mark Grant</dc:creator>
    <dc:date>2008-03-03T10:02:40Z</dc:date>
    <item>
      <title>Linking directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/linking-directory/m-p/5095467#M443154</link>
      <description>I have HP-UX 11.0.&lt;BR /&gt;&lt;BR /&gt;I want /data/WFS linked to a larger file system called /data1/WFS.&lt;BR /&gt;&lt;BR /&gt;When I create a link:&lt;BR /&gt; ln -s /data1/WFS /data/WFS&lt;BR /&gt;it does not apear to work.&lt;BR /&gt;&lt;BR /&gt;It looks like:&lt;BR /&gt;lrwxrwxr-x   1 titan      titan           10 Mar  3 03:45 WFS -&amp;gt; /data1/WFS&lt;BR /&gt;&lt;BR /&gt;But when I do a &amp;gt;test it stays in /data/WFS instead of going to /data1/WFS.&lt;BR /&gt;&lt;BR /&gt;What am I doing wrong or not understanding?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Mar 2008 09:56:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/linking-directory/m-p/5095467#M443154</guid>
      <dc:creator>stevegray</dc:creator>
      <dc:date>2008-03-03T09:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: Linking directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/linking-directory/m-p/5095468#M443155</link>
      <description>How do you know it is still in /data/WFS? Most commands that will look in /data/WFS will actually follow the symbolic link and even "pwd" will lie to you.&lt;BR /&gt;&lt;BR /&gt;If you do "cd /data1/WFS" and then "ls" is your file there?&lt;BR /&gt;&lt;BR /&gt;If so, then everything is working.</description>
      <pubDate>Mon, 03 Mar 2008 10:02:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/linking-directory/m-p/5095468#M443155</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2008-03-03T10:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: Linking directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/linking-directory/m-p/5095469#M443156</link>
      <description>&amp;gt;Mark: even pwd will lie to you.&lt;BR /&gt;&lt;BR /&gt;If you want to keep pwd(1) honest, you need to use "pwd -P".&lt;BR /&gt;&lt;BR /&gt;&amp;gt;If you do "cd /data1/WFS" and then "ls" is your file there?&lt;BR /&gt;&lt;BR /&gt;Right, or do: bdf .</description>
      <pubDate>Mon, 03 Mar 2008 10:09:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/linking-directory/m-p/5095469#M443156</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-03-03T10:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: Linking directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/linking-directory/m-p/5095470#M443157</link>
      <description>I am in /data/WFS. I do a &amp;gt;test.&lt;BR /&gt;The file test shows up in /data/WFS and not in /data1/WFS/test.&lt;BR /&gt;&lt;BR /&gt;Their is a sub-directory under /data1/WFS called in. This is the directory where users put their data.&lt;BR /&gt;&lt;BR /&gt;This is how I did the setup:&lt;BR /&gt;mv /data/WFS /data1/WFS&lt;BR /&gt;This moved everything to the new directory. It removed the sub-directory in /data/WFS. It is /data1/WFS.&lt;BR /&gt;&lt;BR /&gt;The link command I ran is:&lt;BR /&gt;ln -s /data1/WFS/ data/WFS&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Mar 2008 10:10:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/linking-directory/m-p/5095470#M443157</guid>
      <dc:creator>stevegray</dc:creator>
      <dc:date>2008-03-03T10:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: Linking directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/linking-directory/m-p/5095471#M443158</link>
      <description>SOrry I cannot type today. The link command was:&lt;BR /&gt;ln -s /data1/WFS /data/WFS</description>
      <pubDate>Mon, 03 Mar 2008 10:12:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/linking-directory/m-p/5095471#M443158</guid>
      <dc:creator>stevegray</dc:creator>
      <dc:date>2008-03-03T10:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: Linking directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/linking-directory/m-p/5095472#M443159</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;can you post the output of the following command:&lt;BR /&gt;ll /data*&lt;BR /&gt;&lt;BR /&gt;revert&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Mon, 03 Mar 2008 10:28:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/linking-directory/m-p/5095472#M443159</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2008-03-03T10:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: Linking directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/linking-directory/m-p/5095473#M443160</link>
      <description>Here you go.&lt;BR /&gt;&lt;BR /&gt;$ pwd                      &lt;BR /&gt;/data/WFS                                                                   &lt;BR /&gt;$ ll /data/*                                                          &lt;BR /&gt;/data/RP:                                    total 0                                                                                &lt;BR /&gt;drwxrwxrwx   4 titan      titan           96 Feb  2 15:36 2                                                                                                       &lt;BR /&gt;/data/VS:                                                     &lt;BR /&gt;total 0                                                                                &lt;BR /&gt;drwxrwxr-x   4 titan      titan           96 Feb  2 15:32 2                                                                         &lt;BR /&gt;drwxrwxr-x   4 titan      titan           96 Feb  2 15:33 3                                                                                      &lt;BR /&gt;/data/WFS:                                                                   &lt;BR /&gt;total 0                                                                                                                             &lt;BR /&gt;lrwxrwxr-x   1 titan      titan           10 Mar  3 03:45 WFS -&amp;gt; /data1/WFS                                                         &lt;BR /&gt;drwxrwxr-x   2 titan      titan           96 Mar  3 04:17 in                                                                                                &lt;BR /&gt;/data/lost+found:                                                &lt;BR /&gt;total 0</description>
      <pubDate>Mon, 03 Mar 2008 10:34:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/linking-directory/m-p/5095473#M443160</guid>
      <dc:creator>stevegray</dc:creator>
      <dc:date>2008-03-03T10:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: Linking directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/linking-directory/m-p/5095474#M443161</link>
      <description>/data/WFS:&lt;BR /&gt;lrwxrwxr-x  Mar 3 03:45 WFS -&amp;gt; /data1/WFS&lt;BR /&gt;&lt;BR /&gt;This is your problem.  You created WFS and then you put another WFS into WFS/.&lt;BR /&gt;&lt;BR /&gt;So&lt;BR /&gt;$ rm /data/WFS/WFS&lt;BR /&gt;$ rmdir /data/WFS&lt;BR /&gt;$ ln -s /data1/WFS /data/WFS&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Sorry I cannot type today. The link command was: ln -s /data1/WFS /data/WFS&lt;BR /&gt;&lt;BR /&gt;That's what you had??</description>
      <pubDate>Mon, 03 Mar 2008 10:43:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/linking-directory/m-p/5095474#M443161</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-03-03T10:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: Linking directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/linking-directory/m-p/5095475#M443162</link>
      <description>This looks better.&lt;BR /&gt;&lt;BR /&gt;I was in /data/WFS&lt;BR /&gt;I did &amp;gt;test&lt;BR /&gt;&lt;BR /&gt;It showed up in /data/WFS and in /data1/WFS&lt;BR /&gt;&lt;BR /&gt;Why is it showing up in /data/WFS?&lt;BR /&gt;$ pwd                                               &lt;BR /&gt;/data/WFS                                                &lt;BR /&gt;$ ll /data*                                    /data:                                                                    &lt;BR /&gt;total 0                                                                                                                             &lt;BR /&gt;drwxrwxrwx   3 titan      titan           96 Feb  2 15:36 RP                                                                        &lt;BR /&gt;drwxrwxr-x   4 titan      titan           96 Feb  2 15:33 VS                                                                        &lt;BR /&gt;lrwxrwxr-x   1 titan      titan           10 Mar  3 04:44 WFS -&amp;gt; /data1/WFS                                                         &lt;BR /&gt;drwxr-xr-x   2 titan      titan           96 Jan 15 05:20 lost+found                                                                              &lt;BR /&gt;/data1:                                                 &lt;BR /&gt;total 0                                                                                                                             &lt;BR /&gt;drwxrwxrwx   3 titan      titan           96 Mar  3 04:47 WFS                                                                       &lt;BR /&gt;drwxr-xr-x   2 titan      titan           96 Feb 29 04:03 lost+found        &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$ ll /data*                                                                                                                         &lt;BR /&gt;                                                                                                                                    &lt;BR /&gt;/data:                                                                                                                              &lt;BR /&gt;total 0                                                                                                                             &lt;BR /&gt;drwxrwxrwx   3 titan      titan           96 Feb  2 15:36 RP                                                                        &lt;BR /&gt;drwxrwxr-x   4 titan      titan           96 Feb  2 15:33 VS                                                                        &lt;BR /&gt;lrwxrwxr-x   1 titan      titan           10 Mar  3 04:44 WFS -&amp;gt; /data1/WFS                                                         &lt;BR /&gt;drwxr-xr-x   2 titan      titan           96 Jan 15 05:20 lost+found                                                                &lt;BR /&gt;                                                                                                                                    &lt;BR /&gt;/data1:                                                                                                                             &lt;BR /&gt;total 0                                                                                                                             &lt;BR /&gt;drwxrwxrwx   3 titan      titan           96 Mar  3 04:47 WFS                                                                       &lt;BR /&gt;drwxr-xr-x   2 titan      titan           96 Feb 29 04:03 lost+found                                                                &lt;BR /&gt;$ ll /data/*                                                                                                                        &lt;BR /&gt;lrwxrwxr-x   1 titan      titan           10 Mar  3 04:44 /data/WFS -&amp;gt; /data1/WFS                                   &lt;BR /&gt;/data/RP:                                    total 0                                                                                &lt;BR /&gt;drwxrwxrwx   4 titan      titan           96 Feb  2 15:36 2                                                                                      &lt;BR /&gt;/data/VS:                                    total 0                                                                                                                             &lt;BR /&gt;drwxrwxr-x   4 titan      titan           96 Feb  2 15:32 2                                                                         &lt;BR /&gt;drwxrwxr-x   4 titan      titan           96 Feb  2 15:33 3                                            /data/lost+found:                            total 0                                                                               &lt;BR /&gt;</description>
      <pubDate>Mon, 03 Mar 2008 10:53:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/linking-directory/m-p/5095475#M443162</guid>
      <dc:creator>stevegray</dc:creator>
      <dc:date>2008-03-03T10:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: Linking directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/linking-directory/m-p/5095476#M443163</link>
      <description>&amp;gt;Why is it showing up in /data/WFS?&lt;BR /&gt;&lt;BR /&gt;It's a symlink, so it should be in "both".&lt;BR /&gt;&lt;BR /&gt;&amp;gt;$ pwd&lt;BR /&gt;&lt;BR /&gt;I told you to use "pwd -P" to prevent the shell from lying to you.&lt;BR /&gt;&lt;BR /&gt;$ ll /data*&lt;BR /&gt;/data:&lt;BR /&gt;lrwxrwxr-x 1 10  WFS -&amp;gt; /data1/WFS&lt;BR /&gt;/data1:&lt;BR /&gt;drwxrwxrwx 3 96  WFS&lt;BR /&gt;&lt;BR /&gt;This is working fine.  You have a symlink /data/WFS that points to /data1/WFS/.</description>
      <pubDate>Mon, 03 Mar 2008 11:03:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/linking-directory/m-p/5095476#M443163</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-03-03T11:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: Linking directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/linking-directory/m-p/5095477#M443164</link>
      <description>Okay then.&lt;BR /&gt;&lt;BR /&gt;Thanks to all for the help.&lt;BR /&gt;&lt;BR /&gt;Points assigned.</description>
      <pubDate>Mon, 03 Mar 2008 11:07:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/linking-directory/m-p/5095477#M443164</guid>
      <dc:creator>stevegray</dc:creator>
      <dc:date>2008-03-03T11:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: Linking directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/linking-directory/m-p/5095478#M443165</link>
      <description>The reason that it is in both is because /data/WFS and /data1/WFS are now the same thing to all intent and purpose.&lt;BR /&gt;&lt;BR /&gt;"cd /data/WFS" puts you in exactly the same place as "cd /data1/WFS"&lt;BR /&gt;&lt;BR /&gt;Dennis: Good spot on the additional WFS by the way.</description>
      <pubDate>Mon, 03 Mar 2008 11:15:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/linking-directory/m-p/5095478#M443165</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2008-03-03T11:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: Linking directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/linking-directory/m-p/5095479#M443166</link>
      <description>&amp;gt;Mark: Good spot on the additional WFS by the way.&lt;BR /&gt;&lt;BR /&gt;That was my original assumption but Yogeeraj suggested the ll(1) first and that confirmed it.&lt;BR /&gt;&lt;BR /&gt;But Steve's mv and ln shouldn't have done that.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;Sorry I cannot type today.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;ME: That's what you had??&lt;BR /&gt;&lt;BR /&gt;Ah, I see the bad one now.</description>
      <pubDate>Mon, 03 Mar 2008 11:36:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/linking-directory/m-p/5095479#M443166</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-03-03T11:36:18Z</dc:date>
    </item>
  </channel>
</rss>

