[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Système fs d'une partition ?



Bonsoir,

On May 25, 12:00 pm, Thomas Blein <dag...@yahoo.fr> wrote:
> Le vendredi 25 mai 2012 à 11:47:47 (+0200), Francois Mescam a écrit :
>
> > On 25/05/2012 11:04, Tanguy Ortolo wrote:
> > >philippe L, 2012-05-25 07:50+0200:
> > >>Comment détecter le fs d'une partition ?
>
> > >file -s
>
> > man file --> répond pas au problème posé
>
> Moi je trouve que cela répond plutôt bien:
>
> # file -s /dev/sda1
> /dev/sda1: x86 boot sector; partition 1: ID=0xcd, starthead 190, startsector 30195395, 1766117355 sectors, code offset 0x54, OEM-ID "Dell 8.0", sectors/cluster 4, root entries 512, Media descriptor 0xf8, sectors/FAT 188, heads 255, hidden sectors 63, sectors 192717 (volumes > 32 MB) , serial number 0x7d8070a, label: "DellUtility", FAT (16 bit)
>
> # file -s /dev/sdb5
> /dev/sdb5: Linux/i386 swap file (new style), version 1 (4K pages), size 1463914 pages, no label, UUID=00000000-0000-0000-0000-000000000000
>
> # file -s /dev/sdb6
> /dev/sdb6: Linux rev 1.0 ext3 filesystem data, UUID=430badb3-3e20-425d-8b36-44f3947222ab (needs journal recovery) (large files)
>

Quand j'ai ca et que c'est moi qui et fait une betise avec fdisk
comment je peus le reparer ?
[root@localhost liveuser]# file -s /dev/sdd
/dev/sdd: x86 boot sector, Microsoft Windows XP MBR, Serial 0x42ada;
partition 1: ID=0x7, starthead 32, startsector 2048, 1953456128
sectors, code offset 0xc0
[root@localhost liveuser]#

Merci

Ptiilou


Reply to: