Re: Formatage carte SD
Le mardi 18 novembre 2003, Julien Morot a écrit :
> Si je me trompe pas, /dev/sdc c'est le device, donc tu ne fais référence à
> aucune partition en faisant tes commandes.
> mkfs.ext3 /dev/sdc1 devrait marcher...
J'ai testé avec /dev/sdc car /dev/sdc1 n'existait pas :
origan:~# mkfs.ext3 /dev/sdc1
mke2fs 1.35-WIP (21-Aug-2003)
mkfs.ext3: Aucun périphérique ou adresse while trying to determine filesystem size
Voici ce que donne la commande avec /dev/sdc :
origan:~# mkfs.ext3 /dev/sdc
mke2fs 1.35-WIP (21-Aug-2003)
/dev/sdc is entire device, not just one partition!
Proceed anyway? (y,n) y
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
15168 inodes, 60544 blocks
3027 blocks (5.00%) reserved for the super user
First data block=1
8 block groups
8192 blocks per group, 8192 fragments per group
1896 inodes per group
Superblock backups stored on blocks:
8193, 24577, 40961, 57345
Writing inode tables: done
Creating journal (4096 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 20 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
origan:~# mount /dev/sdc /mnt/test/
mount: Aucun medium trouvé
origan:~# mount /dev/sdc1 /mnt/test/
mount: /dev/sdc1 is not a valid block device
Je commence à me demander s'il n'y aurai pas quelque chose qui cloche du
coté pilote ou matériel.
Antoine
Reply to: