Professional Web Applications Themes

File system errors: "cannot get current working directory" - SCO

(SCO 506, running Vision 3.10.911) A win2k client is running something call MaxiMirror, which, essentially copies files from one location to another. Here, the app copies 3 gigabyte sized files from the local drive to a (Vision) network drive. (Upon sober reflection, it might also re-create the target directory.) The only thing wrong is that if I'm at the prompt, in the target directory, when the app runs, I am then unable to view the directory, thus: (before) /u/qt/backup: l total 3739820 -rwxrwxrwx 1 root sys 635715584 Sep 27 04:13 QTDBA.exp -rwxrwxrwx 1 root sys 30258 Sep 27 04:13 QTDBA.log ...

  1. #1

    Default File system errors: "cannot get current working directory"

    (SCO 506, running Vision 3.10.911)

    A win2k client is running something call MaxiMirror, which, essentially copies
    files from one location to another. Here, the app copies 3 gigabyte sized files
    from the local drive to a (Vision) network drive. (Upon sober reflection, it
    might also re-create the target directory.) The only thing wrong is that if I'm
    at the prompt, in the target directory, when the app runs, I am then unable to
    view the directory, thus:

    (before)
    /u/qt/backup: l
    total 3739820
    -rwxrwxrwx 1 root sys 635715584 Sep 27 04:13 QTDBA.exp
    -rwxrwxrwx 1 root sys 30258 Sep 27 04:13 QTDBA.log
    -rwxrwxrwx 1 root sys 635736064 Sep 28 04:14 QTDBB.exp
    -rwxrwxrwx 1 root sys 30258 Sep 28 04:14 QTDBB.log
    -rwxrwxrwx 1 root sys 635754496 Sep 29 04:14 QTDBC.exp
    -rwxrwxrwx 1 root sys 30258 Sep 29 04:14 QTDBC.log

    (after)
    /u/qt/backup: l
    l: warning: cannot get current working directory: Not a directory (error 20)
    l: . not found: Not a directory (error 20)

    Now, a simple cd command (to the same directory) will solve my problem, but
    what's going on here?

    --
    _________________________________________
    Nachman Yaakov Ziskind, EA, LLM com
    Attorney and Counselor-at-Law http://ziskind.us
    Economic Group Pension Services http://egps.com
    Actuaries and Employee Benefit Consultants
    Nachman Guest

  2. #2

    Default Re: File system errors: "cannot get current working directory"

    In article <egps.com>,
    Nachman Yaakov Ziskind <com> wrote: 

    The directory has been removed. Since it doesn't exist, it can't be referenced
    with '.'. A new directory may have been created where it was, but that isn't
    the directory you're in - your current directory is identified by inode, not
    path.

    John
    --
    John DuBois com KC6QKZ/AE http://www.armory.com/~spcecdt/
    John Guest

  3. #3

    Default Re: File system errors: "cannot get current working directory"

    John DuBois wrote:
     
    >
    > The directory has been removed. Since it doesn't exist, it can't be referenced
    > with '.'. A new directory may have been created where it was, but that isn't
    > the directory you're in - your current directory is identified by inode, not
    > path.[/ref]

    And you can confirm this. Before running the command that causes the
    problem, run:

    $ l # verify it works
    $ l -id . # notice the inode number

    Then do the command that causes the problem. Then:

    $ l # fails with "cannot get working directory"
    $ cd same
    $ l -id . # notice the _different_ inode number
     
    Bela Guest

  4. #4

    Default Re: File system errors: "cannot get current working directory"


    "Nachman Yaakov Ziskind" <com> wrote in message
    news:egps.com... 
    copies 
    files 
    it 
    if I'm 
    unable to 
    20) 
    but 

    It sounds like the MaxiMirror software is removing the destination
    directory entirely (not just the files within it), then re-creating it.

    This means that the INode that the directory-name once pointed too is no
    longer the same. That is why you get the error you are getting whilst
    trying to list it.

    If you go to the parent, and do a 'ls -li', take note of the nubmer at the
    beginning (inode), then do the MaxiMirror thingie, and repeat, you should
    see that first number change.

    if it doesn't, then what I'm suggesting isn't occuring..

    Anyway, something to look at ;)

    bkx


    Stuart Guest

Similar Threads

  1. #39720 [NEW]: Compile Fails with " php_config.h: No such file or directory"
    By codeslinger at compsalot dot com in forum PHP Bugs
    Replies: 1
    Last Post: December 3rd, 06:29 AM
  2. How to change default file "open" directory.
    By Ian_Burroughs@adobeforums.com in forum Adobe Acrobat Windows
    Replies: 6
    Last Post: April 3rd, 09:52 PM
  3. Change "File Browser" Default Directory ???
    By stacy in forum Adobe Photoshop 7, CS, CS2 & CS3
    Replies: 3
    Last Post: September 12th, 01:44 AM
  4. Replies: 5
    Last Post: August 11th, 07:44 PM
  5. Replies: 2
    Last Post: July 28th, 01:40 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139