On Thu, 7 Nov 2002, Escario Julien wrote:

> > et scanner pour des ent�tes de fs ?
> 
> Alors ca je sais pas comment on fait.

OFFSET=0
while ! mount -t ext2 -o loop,offset=$OFFSET $DEVICE /mnt
do
   OFFSET=$(($OFFSET + 512))
done

ou approchant.

Ca a march� une fois pour r�cup�rer un fs ntfs .

Alternative (cette fois plut�t pour r�cup�rer des partitions):

   gpart

 Gpart is a tool which tries to guess the primary partition table of a
 PC-type disk in case the primary partition table in sector 0 is
 damaged, incorrect or deleted.
 .
 It is also good at finding and listing the types, locations, and
 sizes of inadvertently-deleted partitions, both primary and logical.
 It gives you the information you need to manually re-create them
 (using fdisk, cfdisk, sfdisk, etc.).
 .
 The guessed table can also be written to a file or (if you firmly
 believe the guessed table is entirely correct) directly to a disk
 device.
 .
 Supported (guessable) filesystem or partition types:

[ ... ]

Un ami a r�cup�r� son disque apr�s effacement de la table des partitions
ainsi.

Mes conseils:  fdisk -l | lpr
(pour LVM aussi)


--
http://www-internal.alphanet.ch/linux-leman/ avant de poser
une question. Ouais, pour se d�sabonner aussi.

Répondre à