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

Bug de fdisk ou cfdisk (was Re: pb de montage)



>>>>> "Stéphane" == Stephane Ecolivet <ecolivet@mirabelle.irisa.fr> writes:
Stéphane> 
Stéphane> Un fdisk récent de base n'a aucun problème avec ça. Cf. le man :
Stéphane> 
Stéphane>        A sync() and a BLKRRPART ioctl() (reread  partition  table
Stéphane>        from disk) are performed before exiting when the partition
Stéphane>        table has been updated.  Long ago it used to be  necessary
Stéphane>        to  reboot after the use of fdisk.
Stéphane> 
Stéphane> Je crois que c'est clair, non ?

Pas tant que ça finalement, puisque tu ne fais qu'une citation
incomplète.  Voila la suite du texte :

       A sync() and a BLKRRPART ioctl() (reread  partition  table
       from disk) are performed before exiting when the partition
       table has been updated.  Long ago it used to be  necessary
       to  reboot after the use of fdisk.  I do not think this is
       the case anymore [...]

Donc l'auteur du man n'en est pas très sûr lui même.  J'ai aussi coupé
la suite pour ne pas obscurcir la discussion :>.

Pour être plus précis, voila les messages de cfdisk :

$ strings /sbin/cfdisk | grep Reboot
Reboot the system to ensure the partition table is correctly updated.
Wrote partition table, but re-read table failed.  Reboot to update table.

De toute façon, cette contradiction apparente est un bug dans le
package util-linux.  Soit le man de fdsik, soit le message de cfdisk
doit être changé.  Qu'en pensez vous ?

-- 
Laurent.


Reply to: