Mailinglist Archive: opensuse-de (1791 mails)

< Previous Next >
Re: ntfsundelete undeleted nicht
  • From: Martin Deppe <Martin.Deppe@xxxxxx>
  • Date: Wed, 1 Nov 2006 21:42:18 +0000 (UTC)
  • Message-id: <454914B4.5010008@xxxxxx>
Martin Deppe wrote:

Dominik Klein wrote:

INODES<list of inodes, comma separated>



Sicher, dass hier keine Blanks drin sind oder ähnliches? Vielleicht mal mit 2 Zahlen ausprobieren, wenn das klappt, Liste ansehen.

Jou, ganz sicher! Erstens hatte ich denselben Verdacht, zweitens habe ich mir die Liste ausgeben lassen und drittens kommt auf die folgende Weise kein Blank rein:

----------- Start of script: getIt
#!/bin/sh

DEV=/tmp/Silke/D.img
if [ ! -r $DEV ]
then
echo "$DEV: image file does not exist or isn't readable"
exit
fi

DIR=/tmp/Silke/undeleted
if [ ! -d $DIR ]
then
echo "$DIR: destination directory does not exist"
exit
fi

ALL=`ntfsundelete -f $DEV | awk '{ if ($5 != 0 && $1 != "Files" && $1 != "Inode" && $1 != "---------------------------------------------------------------") print $1 }'`

for i in $ALL
do
if [ -z "$INODES" ]
then
INODES="$i"
else
INODES="$INODES,$i"
fi
done

ntfsundelete $DEV -f -d $DIR -u $INODES
ntfsundelete -f -d $DIR -u $INODES $DEV
----------- End of script

Obiges Skript ergibt folgende Ausgabe:

----------- Start of output
You must specify exactly one device.

Usage: ntfsundelete [options] device
-s --scan Scan for files (default)
-p num --percentage num Minimum percentage recoverable
-m pattern --match pattern Only work on files with matching names
-C --case Case sensitive matching
-S range --size range Match files of this size
-t since --time since Last referenced since this time

-i --interactive Interactive mode
-u [nums] --undelete [nums] Undelete mode: if <nums> specified, so undelete these
-o file --output file Save with this filename
-O --optimistic Undelete in-use clusters as well
-d dir --destination dir Destination directory
-b num --byte num Fill missing parts with this byte
-T --truncate Truncate 100% recoverable file to exact size.
-P --parent Show parent directory

-c range --copy range Write a range of MFT records to a file

-f --force Use less caution
-q --quiet Less output
-v --verbose More output
-V --version Display version information
-h --help Display this help

Developers' email address: linux-ntfs-dev@xxxxxxxxxxxxxxxxxxxxx
Linux NTFS homepage: http://linux-ntfs.sourceforge.net

You must specify exactly one device.

Usage: ntfsundelete [options] device
-s --scan Scan for files (default)
-p num --percentage num Minimum percentage recoverable
-m pattern --match pattern Only work on files with matching names
-C --case Case sensitive matching
-S range --size range Match files of this size
-t since --time since Last referenced since this time

-i --interactive Interactive mode
-u [nums] --undelete [nums] Undelete mode: if <nums> specified, so undelete these
-o file --output file Save with this filename
-O --optimistic Undelete in-use clusters as well
-d dir --destination dir Destination directory
-b num --byte num Fill missing parts with this byte
-T --truncate Truncate 100% recoverable file to exact size.
-P --parent Show parent directory

-c range --copy range Write a range of MFT records to a file

-f --force Use less caution
-q --quiet Less output
-v --verbose More output
-V --version Display version information
-h --help Display this help

Developers' email address: linux-ntfs-dev@xxxxxxxxxxxxxxxxxxxxx
Linux NTFS homepage: http://linux-ntfs.sourceforge.net
----------- End of output

also keinerlei Unterschied zwischen den beiden Arten des Aufrufs!

Wenn ich mir die Aufrufe per echo ausgeben lasse, anstatt sie auszführen, sieht die Ausgabe folgendermaßen aus:

ntfsundelete /tmp/Silke/D.img -f -d /tmp/Silke/undeleted -u 5393,5406,5444,5459,5515,5517,5518,5519,5520,5521,5522,5523,5524,5525,5526,5527,5528,5529,5530,5531,5532,5533,5534,5537,5538,5539,5540,5541,5542,5543,5544,5545,5546,5547,5548,5549,5550,5551,5552,5553,5554,5555,5556,5568,5569,5571,5574,5578,5580,5581,5582,5583,5586,5587,5588,5590,5591,5592,5593,5594,5595,5600,5601,5604,5605,5608,5609,5610,5611,5612,5613,5615,5616,5617,5618,5619,5620,5621,5622,5623,5624,5625,5626,5627,5629,5630,5631,5633,5635,5637,5638,5639,5640,5641,5642,5643,5644,5645,5646,5647,5648,5649,5650,5651,5652,5653,5654,5655,5656,5657,5658,5659,5660,5661,5662,5663,5664,5665,5666,5667,5668,5669,5670,5671,5672,5673,5674,5675,5676,5677,5678,5679,5680,5681,5682,5683,5684,5685,5686,5687,5688,5689,5690,5691,5692,5693,5694,5695,5696,5697,5698,5699,5700,5701,5702,5703,5704,5705,5706,5707,5708,5709,5710,5711,5712,5713,5714,5715,5716,5717,5718,5719,5720,5721,5722,5723,5724,5725,5726,5727,5728,5729,5730,5731,5732,5733,5734,5735,5736,5737,5738,5739,5740,5741,5742,5743,5744,5745,5746,5747,5748,5749,5750,5751,5752,5753,5754,5755,5756,5757,5758,5759,5760,5761,5762,5763,5764,5765,5766,5767,5768,5769,5770,5771,5772,5773,5774,5775,5776,5777,5778,5779,5780,5781,5782,5783,5784,5785,5786,5787,5788,5789,5790,5791,5792,5793,5794,5795,5796,5797,5798,5799,5800,5801,5802,5803,5804,5805,5806,5807,5808,5809,5810,5811,5812,5813,5814,5815,5816,5817,5818,5819,5820,5821,5822,5823,5824,5825,5826,5827,5828,5829,5830,5832,5838,5839,5844,5845,5846,5847,5848,5849,5850,5851,5852,5853,5856,5858,5863,5864,5865,5867,5869,5870,5891,5892,5893,5894,5895,5899,5900,5901,5902,5903,5905,5906,5907,5908,5909,5911,5913,5914,5915,5916,5917,5918,5919,5920,5921,5933,5936,5938,5940,5955,5961,5962,5964,5965,5966,5970,5971,5975,5976,5977,5978,5979,5980,5981,5982,5983,5984,5985,5986,5987,6046,6047,6048,6049,6050,6051,6052,6053,6054,6055,6072,6073,6074,6075,6076,6077,6078,6079,6080,6081,6082,6083,6084,6085,6086,6087,6088,6089,6090,6091,6092,6093,6094,6095,6096,6097,6098,6099,6100,6101,6103,6104,6106,6107,6108,6109,6110,6111,6112,6113,6114,6115,6120,6129,6135,6137,6138,6139,6140,6144,6146,6149,6150,6151,6155,6156,6159,6160,6161,6162,6163,6165,6169,6170,6171,6172,6173,6174,6175,6176,6177,6179,6181,6183,6188,6195,6196,6197,6198,6200,6201,6202,6203,6206,6207,6208,6209,6213,6214,6215,6217,6220,6223,6224,6227,6228,6229,6230,6231,6232,6234,6235,6236,6237,6238,6239,6241,6242,6243,6244,6245,6246,6248,6249,6250,6251,6252,6253,6255,6256,6257,6258,6259,6260,6261,6262,6263,6264,6265,6266,6267,6268,6269,6270,6271,6272,6273,6274,6275,6276,6277,6278,6279,6280,6281,6282,6283,6284,6285,6286,6287,6288,6289,6290,6291,6292,6293,6294,6295,6296,6297,6298,6299,6300,6301,6302,6303,6304,6305,6306,6307,6308,6309,6310,6311,6312,6313,6314,6315,6316,6318,6319,6320,6321,6323,6324,6325,6327,6328,6329,6330,6331,6332,6333,6334,6335,6336,6337,6338,6339,6340,6341,6342,6343,6344,6345,6346,6347,6348,6349,6350,6352,6353,6354,6355,6356,6357,6358,6359,6360,6361,6362,6363,6364,6366,6367,6369,6370,6371,6372,6373,6374,6375,6376,6377,6378,6379,6380,6381,6382,6384,6385,6386,6387,6388,6389,6390,6391,6392,6393,6394,6395,6396,6397,6398,6399,6400,6401,6402,6403,6404,6405,6407,6408,6409,6410,6411,6412,6413,6414,6415,6416,6417,6418,6419,6420,6421,6422,6423,6424,6425,6427,6428,6429,6430,6431,6432,6433,6434,6435,6436,6437,6438,6439,6440,6441,6442,6443,6444,6446,6447,6448,6449,6450,6451,6452,6453,6454,6455,6456,6457,6458,6459,6460,6461,6462,6463,6464,6465,6466,6467,6468,6469,6470,6471,6472,6473,6474,6475,6476,6477,6478,6479,6480,6481,6482,6483,6484,6485,6486,6487,6488,6489,6490,6491,6492,6493,6494,6495,6496,6497,6498,6499,6500,6501,6502,6503,6504,6505,6507,6508,6509,6510,6511,6512,6513,6514,6515,6516,6518,6519,6521,6522,6524,6525,6527,6528,6530,6531,6532,6533,6534,6535,6536,6537,6538,6539,6540,6541,6542,6543,6544,6545,6546,6547,6548,6549,6552,6553,6554,6556,6561,6562,6563,6564,6565,6566,6567,6568,6569,6570,6572,6573,6574,6575,6576,6577,6578,6579,6580,6581,6582,6583,6584,6585,6586,6588,6592,6593,6594,6595,6596,6597,6599,6600,6601,6604,6605,6606,6607,6608,6609,6610,6611,6612,6613,6614,6615,6616,6617,6619,6620,6621,6622,6623,6624,6625,6626,6627,6628,6629,6630,6631,6632,6633
ntfsundelete -f -d /tmp/Silke/undeleted -u 5393,5406,5444,5459,5515,5517,5518,5519,5520,5521,5522,5523,5524,5525,5526,5527,5528,5529,5530,5531,5532,5533,5534,5537,5538,5539,5540,5541,5542,5543,5544,5545,5546,5547,5548,5549,5550,5551,5552,5553,5554,5555,5556,5568,5569,5571,5574,5578,5580,5581,5582,5583,5586,5587,5588,5590,5591,5592,5593,5594,5595,5600,5601,5604,5605,5608,5609,5610,5611,5612,5613,5615,5616,5617,5618,5619,5620,5621,5622,5623,5624,5625,5626,5627,5629,5630,5631,5633,5635,5637,5638,5639,5640,5641,5642,5643,5644,5645,5646,5647,5648,5649,5650,5651,5652,5653,5654,5655,5656,5657,5658,5659,5660,5661,5662,5663,5664,5665,5666,5667,5668,5669,5670,5671,5672,5673,5674,5675,5676,5677,5678,5679,5680,5681,5682,5683,5684,5685,5686,5687,5688,5689,5690,5691,5692,5693,5694,5695,5696,5697,5698,5699,5700,5701,5702,5703,5704,5705,5706,5707,5708,5709,5710,5711,5712,5713,5714,5715,5716,5717,5718,5719,5720,5721,5722,5723,5724,5725,5726,5727,5728,5729,5730,5731,5732,5733,5734,5735,5736,5737,5738,5739,5740,5741,5742,5743,5744,5745,5746,5747,5748,5749,5750,5751,5752,5753,5754,5755,5756,5757,5758,5759,5760,5761,5762,5763,5764,5765,5766,5767,5768,5769,5770,5771,5772,5773,5774,5775,5776,5777,5778,5779,5780,5781,5782,5783,5784,5785,5786,5787,5788,5789,5790,5791,5792,5793,5794,5795,5796,5797,5798,5799,5800,5801,5802,5803,5804,5805,5806,5807,5808,5809,5810,5811,5812,5813,5814,5815,5816,5817,5818,5819,5820,5821,5822,5823,5824,5825,5826,5827,5828,5829,5830,5832,5838,5839,5844,5845,5846,5847,5848,5849,5850,5851,5852,5853,5856,5858,5863,5864,5865,5867,5869,5870,5891,5892,5893,5894,5895,5899,5900,5901,5902,5903,5905,5906,5907,5908,5909,5911,5913,5914,5915,5916,5917,5918,5919,5920,5921,5933,5936,5938,5940,5955,5961,5962,5964,5965,5966,5970,5971,5975,5976,5977,5978,5979,5980,5981,5982,5983,5984,5985,5986,5987,6046,6047,6048,6049,6050,6051,6052,6053,6054,6055,6072,6073,6074,6075,6076,6077,6078,6079,6080,6081,6082,6083,6084,6085,6086,6087,6088,6089,6090,6091,6092,6093,6094,6095,6096,6097,6098,6099,6100,6101,6103,6104,6106,6107,6108,6109,6110,6111,6112,6113,6114,6115,6120,6129,6135,6137,6138,6139,6140,6144,6146,6149,6150,6151,6155,6156,6159,6160,6161,6162,6163,6165,6169,6170,6171,6172,6173,6174,6175,6176,6177,6179,6181,6183,6188,6195,6196,6197,6198,6200,6201,6202,6203,6206,6207,6208,6209,6213,6214,6215,6217,6220,6223,6224,6227,6228,6229,6230,6231,6232,6234,6235,6236,6237,6238,6239,6241,6242,6243,6244,6245,6246,6248,6249,6250,6251,6252,6253,6255,6256,6257,6258,6259,6260,6261,6262,6263,6264,6265,6266,6267,6268,6269,6270,6271,6272,6273,6274,6275,6276,6277,6278,6279,6280,6281,6282,6283,6284,6285,6286,6287,6288,6289,6290,6291,6292,6293,6294,6295,6296,6297,6298,6299,6300,6301,6302,6303,6304,6305,6306,6307,6308,6309,6310,6311,6312,6313,6314,6315,6316,6318,6319,6320,6321,6323,6324,6325,6327,6328,6329,6330,6331,6332,6333,6334,6335,6336,6337,6338,6339,6340,6341,6342,6343,6344,6345,6346,6347,6348,6349,6350,6352,6353,6354,6355,6356,6357,6358,6359,6360,6361,6362,6363,6364,6366,6367,6369,6370,6371,6372,6373,6374,6375,6376,6377,6378,6379,6380,6381,6382,6384,6385,6386,6387,6388,6389,6390,6391,6392,6393,6394,6395,6396,6397,6398,6399,6400,6401,6402,6403,6404,6405,6407,6408,6409,6410,6411,6412,6413,6414,6415,6416,6417,6418,6419,6420,6421,6422,6423,6424,6425,6427,6428,6429,6430,6431,6432,6433,6434,6435,6436,6437,6438,6439,6440,6441,6442,6443,6444,6446,6447,6448,6449,6450,6451,6452,6453,6454,6455,6456,6457,6458,6459,6460,6461,6462,6463,6464,6465,6466,6467,6468,6469,6470,6471,6472,6473,6474,6475,6476,6477,6478,6479,6480,6481,6482,6483,6484,6485,6486,6487,6488,6489,6490,6491,6492,6493,6494,6495,6496,6497,6498,6499,6500,6501,6502,6503,6504,6505,6507,6508,6509,6510,6511,6512,6513,6514,6515,6516,6518,6519,6521,6522,6524,6525,6527,6528,6530,6531,6532,6533,6534,6535,6536,6537,6538,6539,6540,6541,6542,6543,6544,6545,6546,6547,6548,6549,6552,6553,6554,6556,6561,6562,6563,6564,6565,6566,6567,6568,6569,6570,6572,6573,6574,6575,6576,6577,6578,6579,6580,6581,6582,6583,6584,6585,6586,6588,6592,6593,6594,6595,6596,6597,6599,6600,6601,6604,6605,6606,6607,6608,6609,6610,6611,6612,6613,6614,6615,6616,6617,6619,6620,6621,6622,6623,6624,6625,6626,6627,6628,6629,6630,6631,6632,6633 /tmp/Silke/D.img

Sorry, das es so lang ist, aber könnte es vielleicht etwas damit zu tun haben? Allerdings bekomme ich den gleichen Fehler für jeden der Inodes, wenn ich ntfsundelete für jeden Inode separat aufrufe!

Hat nicht zufällig jemand die Quellen von ntfsundelete in der Version 1.12.0.? Die läuft nämlich bei mir und ich habe leider erfolglos bereits nach den Quellen gesucht (leider hatte ich sie mir damals nicht gleich mit runtergeladen)!

Gruß
Martin


Hat niemand mehr eine Idee oder vielleicht die Quellen zur Version 1.12.0?

Martin


< Previous Next >
Follow Ups