TAR Error - 'Invalid block size'

Ask a Question related to PHP Development, Design and Development.

  1. #1

    Default TAR Error - 'Invalid block size'

    I use the TAR.php file for extract tar.gz file. The tar file extracted
    fine, but the tar class raises the 'Invalid block size 351'. Why? And
    how can I discard this error.

    Thanks,
    ===================
    Tohar Trabinovitch
    Software Engineer
    [email]tohar@sphera.com[/email]
    Tel: 972-3-9008200
    Ext: 269


    Tohar Trabinovitch Guest

  2. Similar Questions and Discussions

    1. invalid COMMPROP block length= 100......
      Hi there, I've been trying to use Win32::SerialPort to read and write to a 'modem' GSM device on COM4. I can do this successfully through Windoze...
    2. Invalid partition error...please help
      Error Type: (0x8004020F) The event class for this subscription is in an invalid partition /forms/mailForm.asp, line 90 what does this error...
    3. Invalid Block Size
      Hello: I am installing pear(for mssql support) and I am getting an Invalid block size 283 error. Any Ideas? Thanks chris
    4. How to change partition number & block size
      Hallo, I need some help. I'm looking for some utility that will change general partition number assigns, and block size on nonempty partition....
    5. find physical blocks/disks, mapped from Oracle file# and block#, block corruption
      Hello "lopera" <prlopera@techie.com> schrieb im Newsbeitrag news:3E1C7C00.9090402@techie.com... I think that we need a bit more data here....
  3. #2

    Default Re: [PHP] TAR Error - 'Invalid block size'

    > > I use the TAR.php file for extract tar.gz file. The tar file extracted
    > > fine, but the tar class raises the 'Invalid block size 351'. Why? And
    > > how can I discard this error.
    >
    > Basically, tar writes in block sizes of 512 bytes so you are receiving
    > an invalid block size smaller than 512 which has a size of 351. Not sure
    > how you can suppress these messages via TAR.php. However, if you get a
    > new tar files that has the blocking correct you will not receive that
    > error.
    You might be able to use the -B option to tar to suppress the block size
    error. However, I have not tested that out before and I am not 100% sure
    of the results that you will see. But possibly an option.

    example:

    tar -xvfB file.tar


    --
    BigDog
    Ray Hunter Guest

Posting Permissions

  • You may not post new threads
  • You may 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