On Wed, 7 Jan 2004, Birzan George Cristian wrote:

> On Tue, Jan 06, 2004 at 11:23:37PM +0200, [EMAIL PROTECTED] wrote:
> > in util-linux  e un program (nu e instalat default) care iti scaneaza
> > diskul si iti scrie o tabela de partitionare la stdout pe care poti sa i-o
> > dai la sfdisk ca sa-ti refaca tabela de partitionare
> > Singurul dezavantaj e ca daca ai partitii mai putin cunoscute (gen plan9)
> > poti sa uiti de ele
> Cum ii zice?

rescuept.c
in directorul rescuept din sursele de util-linux
se compileaza cu
gcc -o rescuept -O2 rescuept.c
zice in fisierul c (rescuept.c) cum se foloseste.

Si mai zice in readme si urmatoarele

As far as I now know, there are four utilities that attempt to
assist in recovering a lost partition table, or a partition
that was deleted by mistake.

(i) findsuper is a small utility that finds blocks with the ext2
superblock signature, and prints out location and some info.
It is in the non-installed part of the e2progs distribution.

(ii) rescuept is a utility that recognizes ext2 superblocks,
FAT partitions, swap partitions, and extended partition tables;
it may also recognize BSD disklabels and Unixware 7 partitions.
It prints out information that is suitable as input to sfdisk
to reconstruct the partition table.
It is in the non-installed part of the util-linux distribution.

(iii) fixdisktable (http://bmrc.berkeley.edu/people/chaffee/fat32.html)
is a utility that handles ext2, FAT, NTFS, ufs, BSD disklabels
(but not yet old Linux swap partitions); it actually will rewrite
the partition table, if you give it permission.

(iv) gpart (http://home.pages.de/~michab/gpart/) is a utility
that handles ext2, FAT, Linux swap, HPFS, NTFS, FreeBSD and
Solaris/x86 disklabels, minix, reiser fs; it prints a proposed
contents for the primary partition table, and is well-documented.


Sper sa va ajute :-)

> --
> Birzan George                 Violence is the last refuge of
>   Cristian                    the incompetent -- Salvor Hardin
>

Calin

--
"A mouse is a device used to point at
the xterm you want to type in".
Kim Alm on a.s.r.

--- 
Detalii despre listele noastre de mail: http://www.lug.ro/


Raspunde prin e-mail lui