<?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: Unknown directory in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-directory/m-p/3837623#M272804</link>
    <description>Hi Denda:&lt;BR /&gt;&lt;BR /&gt;It would appear that the directory beneath '/var' has a name with unprintable characters.  Do:&lt;BR /&gt;&lt;BR /&gt;# ls -il /var&lt;BR /&gt;&lt;BR /&gt;This will give you the inode number of the directory in question as the left-most field.  Now do:&lt;BR /&gt;&lt;BR /&gt;# find /var -xdev -inum &lt;N&gt; -exec rm -ri {} \;&lt;BR /&gt;&lt;BR /&gt;...where &lt;N&gt; is the inode (number) determined from the 'ls'.&lt;BR /&gt;&lt;BR /&gt;Too, this will require you do answer "y" to remove any files under the directory and/or the directory itself.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;/N&gt;&lt;/N&gt;</description>
    <pubDate>Fri, 04 Aug 2006 14:21:04 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2006-08-04T14:21:04Z</dc:date>
    <item>
      <title>Unknown directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-directory/m-p/3837616#M272797</link>
      <description>With some issues that I was having earlier and are now fixed, I found some odd issues on my system that I want to resolve, do some housecleaning, if you will.&lt;BR /&gt;&lt;BR /&gt;I have a 'ghost' directory off root.&lt;BR /&gt;dr-xr-xr-x  28 bin        bin           8192 Apr  1  2003 var&lt;BR /&gt;drwxrwxrwx   2 root       sys             96 Apr 25  2003&lt;BR /&gt;&lt;BR /&gt;The bottom one is what I am talking about.  How can I investigate what this is, it doesn't have a name.  I'm sure it's nothing, but I want it off the server.</description>
      <pubDate>Fri, 04 Aug 2006 14:09:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unknown-directory/m-p/3837616#M272797</guid>
      <dc:creator>TWBSupport</dc:creator>
      <dc:date>2006-08-04T14:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-directory/m-p/3837617#M272798</link>
      <description>run &lt;BR /&gt;&lt;BR /&gt;ls -b &lt;BR /&gt;&lt;BR /&gt;to see the non-printable characters in the file/directory names.</description>
      <pubDate>Fri, 04 Aug 2006 14:14:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unknown-directory/m-p/3837617#M272798</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2006-08-04T14:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-directory/m-p/3837618#M272799</link>
      <description>thank you!&lt;BR /&gt;&lt;BR /&gt;\177\177\177\177&lt;BR /&gt;&lt;BR /&gt;How do I get into it?  I can't cd into it.</description>
      <pubDate>Fri, 04 Aug 2006 14:17:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unknown-directory/m-p/3837618#M272799</guid>
      <dc:creator>TWBSupport</dc:creator>
      <dc:date>2006-08-04T14:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-directory/m-p/3837619#M272800</link>
      <description>Try doing an 'ls -labi'.&lt;BR /&gt;&lt;BR /&gt;That will list everything, include its inode number at the beginning of the line and if there are any non-printable characters in the dirctory name, it will print the octal value of those characters.&lt;BR /&gt;&lt;BR /&gt;Based on that you could then do a &lt;BR /&gt;&lt;BR /&gt;# find . -inum &lt;INODE-NUMBER&gt; |xargs ll&lt;BR /&gt;&lt;BR /&gt;to make sure you just get the one directory.  And then to delete it:&lt;BR /&gt;&lt;BR /&gt;# find . -inum &lt;INODE-NUMBER&gt; | xargs rm&lt;BR /&gt;&lt;BR /&gt;(Where &lt;INODE-NUMBER&gt; is the inode number returned from the above ls command.)&lt;/INODE-NUMBER&gt;&lt;/INODE-NUMBER&gt;&lt;/INODE-NUMBER&gt;</description>
      <pubDate>Fri, 04 Aug 2006 14:18:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unknown-directory/m-p/3837619#M272800</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2006-08-04T14:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-directory/m-p/3837620#M272801</link>
      <description>ll -b or ll | vis &lt;BR /&gt;&lt;BR /&gt;should show you want character are the directory name. so you can see whats in there or delete it. &lt;BR /&gt;</description>
      <pubDate>Fri, 04 Aug 2006 14:18:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unknown-directory/m-p/3837620#M272801</guid>
      <dc:creator>Marvin Strong</dc:creator>
      <dc:date>2006-08-04T14:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-directory/m-p/3837621#M272802</link>
      <description>You can also do "ls -il" to find out the inode of the directory. Then use find to rename it to something else so you can more easily investigate what's inside before taking further action:&lt;BR /&gt;&lt;BR /&gt;find . -prune -inum X -exec mv {} newname \;</description>
      <pubDate>Fri, 04 Aug 2006 14:19:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unknown-directory/m-p/3837621#M272802</guid>
      <dc:creator>Jeff_Traigle</dc:creator>
      <dc:date>2006-08-04T14:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-directory/m-p/3837622#M272803</link>
      <description>cd /&lt;BR /&gt;ls -i # this will list the inodes; find the one associated with your bogus directory&lt;BR /&gt;let's say it is inode 1234&lt;BR /&gt;&lt;BR /&gt;next,&lt;BR /&gt;find . -xdev -type d -inum 1234 -exec rmdir {} \;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I would first use a safe command such as "-exec ls -l {} \;" to make sure your find filter is just right.&lt;BR /&gt;</description>
      <pubDate>Fri, 04 Aug 2006 14:20:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unknown-directory/m-p/3837622#M272803</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-08-04T14:20:50Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-directory/m-p/3837623#M272804</link>
      <description>Hi Denda:&lt;BR /&gt;&lt;BR /&gt;It would appear that the directory beneath '/var' has a name with unprintable characters.  Do:&lt;BR /&gt;&lt;BR /&gt;# ls -il /var&lt;BR /&gt;&lt;BR /&gt;This will give you the inode number of the directory in question as the left-most field.  Now do:&lt;BR /&gt;&lt;BR /&gt;# find /var -xdev -inum &lt;N&gt; -exec rm -ri {} \;&lt;BR /&gt;&lt;BR /&gt;...where &lt;N&gt; is the inode (number) determined from the 'ls'.&lt;BR /&gt;&lt;BR /&gt;Too, this will require you do answer "y" to remove any files under the directory and/or the directory itself.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;/N&gt;&lt;/N&gt;</description>
      <pubDate>Fri, 04 Aug 2006 14:21:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unknown-directory/m-p/3837623#M272804</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-08-04T14:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-directory/m-p/3837624#M272805</link>
      <description>'man ascii' shows \177 is a delete character, so try "cd &lt;CTRL-V&gt;&lt;DEL&gt;&lt;CTRL-V&gt;&lt;DEL&gt;&lt;CTRL-V&gt;&lt;DEL&gt;&lt;CTRL-V&gt;&lt;DEL&gt;"&lt;BR /&gt;&lt;BR /&gt;&lt;/DEL&gt;&lt;/CTRL-V&gt;&lt;/DEL&gt;&lt;/CTRL-V&gt;&lt;/DEL&gt;&lt;/CTRL-V&gt;&lt;/DEL&gt;&lt;/CTRL-V&gt;</description>
      <pubDate>Fri, 04 Aug 2006 14:21:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unknown-directory/m-p/3837624#M272805</guid>
      <dc:creator>Jonathan Fife</dc:creator>
      <dc:date>2006-08-04T14:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-directory/m-p/3837625#M272806</link>
      <description>Hmmm.. Here's the output&lt;BR /&gt; 2305 drwxrwxrwx   2 root       sys             96 Apr 25  2003 \177\177\177\177&lt;BR /&gt;# find . -inum 2305 |xargs ll&lt;BR /&gt;-rw-rw-rw-   1 p053p13   2750          1794 Dec 15  2004 ./home/tw053p13/consolid28014.lis&lt;BR /&gt;-r--r--r--   1 bin        bin            279 Aug  5  2002 ./opt/apache/icons/generic.sec.png&lt;BR /&gt;-rwxrwxrwx   1 ediuser    2750          1310 Aug  2 13:05 ./tmp/thy.D060802.T130501.log&lt;BR /&gt;-rw-r-----   1 avl     dba         106029 Jan  5  2004 ./u06/avl/custom/payroll/data/Payroll.Hour.&lt;BR /&gt;D010504.T095833.dat&lt;BR /&gt;-rw-rw-r--   1 edi        edi          80752 Apr  5  2005 ./u34/gentran/maps/997ignr2.TBL&lt;BR /&gt;-r--r--r--   1 bin        bin            740 Nov 14  2000 ./usr/lib/nls/msg/ja_JP.SJIS/expreserve.cat&lt;BR /&gt;-r--r--r--   1 root       sys           2998 Nov 15  2000 ./var/adm/sw/products/Xserver/pfiles/INDEX&lt;BR /&gt;&lt;BR /&gt;./u01/app/oracle/product/9.2.0/inventory/filemap/javavm/jahome:&lt;BR /&gt;total 4&lt;BR /&gt;-rw-r--r--   1 oracle     dba           1762 May 30  2005 files.map&lt;BR /&gt;&lt;BR /&gt;./u61/oradata/disk1/stage/Queries/generalQueries/2.2.0.7.0:&lt;BR /&gt;total 0&lt;BR /&gt;drwxr-xr-x   2 root       sys             96 Jun 23  2003 1&lt;BR /&gt;&lt;BR /&gt;./:&lt;BR /&gt;total 0&lt;BR /&gt;&lt;BR /&gt;Shouldn't the inode only be associated with the one directory?&lt;BR /&gt;Thanks for your help.</description>
      <pubDate>Fri, 04 Aug 2006 14:40:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unknown-directory/m-p/3837625#M272806</guid>
      <dc:creator>TWBSupport</dc:creator>
      <dc:date>2006-08-04T14:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-directory/m-p/3837626#M272807</link>
      <description>Inode numbers are unique to each FILESYSTEM.  &lt;BR /&gt;&lt;BR /&gt;If you ran your find from the / (root) directory then you will find all occurrences of inode 2305 among ALL filesystems on your machine.&lt;BR /&gt;</description>
      <pubDate>Fri, 04 Aug 2006 14:44:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unknown-directory/m-p/3837626#M272807</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2006-08-04T14:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-directory/m-p/3837627#M272808</link>
      <description>You need to add an -xdev to the find command, or it will search all filesystems from the directory specified (in your case, the root dir) and not just the one specified.&lt;BR /&gt;&lt;BR /&gt;In any case, from the last bit of output it appears that directory is empty and you can use one of the rm commands above.</description>
      <pubDate>Fri, 04 Aug 2006 14:47:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unknown-directory/m-p/3837627#M272808</guid>
      <dc:creator>Jonathan Fife</dc:creator>
      <dc:date>2006-08-04T14:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-directory/m-p/3837628#M272809</link>
      <description>Hi Denda:&lt;BR /&gt;&lt;BR /&gt;Using the inode number you determined to match your directory, you need to do:&lt;BR /&gt;&lt;BR /&gt;# find / -xdev -inum &lt;N&gt; -exec rm -ri {} \;&lt;BR /&gt;&lt;BR /&gt;That is, your directory is "off root" as you say, just like '/var' is "off root".&lt;BR /&gt;&lt;BR /&gt;You *must* use '-xdev' as I show(ed) since you do *not* want to cross mountpoints.  Inodes are only unique within filesystems, so you must be very careful to select exactly what you want!&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;&lt;/N&gt;</description>
      <pubDate>Fri, 04 Aug 2006 14:48:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unknown-directory/m-p/3837628#M272809</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-08-04T14:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-directory/m-p/3837629#M272810</link>
      <description>Good gracious.. What am I typing wrong?  I wanted to take Clay's advice and make sure the filter is correct, but I get the following error.&lt;BR /&gt;&lt;BR /&gt;find / -xdev -inum 2305 -exec ls -l {}\;&lt;BR /&gt;find: -exec not terminated with ';'&lt;BR /&gt;&lt;BR /&gt;Thank you all for your patience.</description>
      <pubDate>Fri, 04 Aug 2006 15:04:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unknown-directory/m-p/3837629#M272810</guid>
      <dc:creator>TWBSupport</dc:creator>
      <dc:date>2006-08-04T15:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-directory/m-p/3837630#M272811</link>
      <description>The &lt;SPACE&gt; between {}&lt;SPACE&gt;\; is all important. Bear in mind that when you do an ls of a directory, you will also see any files under that directory.&lt;BR /&gt;&lt;/SPACE&gt;&lt;/SPACE&gt;</description>
      <pubDate>Fri, 04 Aug 2006 15:06:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unknown-directory/m-p/3837630#M272811</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-08-04T15:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-directory/m-p/3837631#M272812</link>
      <description>Thank you all for your help.</description>
      <pubDate>Fri, 04 Aug 2006 15:14:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unknown-directory/m-p/3837631#M272812</guid>
      <dc:creator>TWBSupport</dc:creator>
      <dc:date>2006-08-04T15:14:38Z</dc:date>
    </item>
  </channel>
</rss>

