[Fwd: Re: e2fsck segmentation fault]

Vladimir Mitiouchev vovcia at gmail.com
Mon Oct 16 09:07:21 PDT 2006


On 10/16/06, Petr Janda <elekktretterr at xxxxxxxxxxxxxx> wrote:
Wont be of any use. This is an ext2 filesystem in an image, it doesnt
have a disklabel or a partition.
from man 8 disklabel:

  Enabling and disabling writing to the disk label area
    By default, it is not possible to write to the disk label area at the
    beginning of a disk.  The disk driver arranges for write(2) and similar
    system calls to return EROFS on any attempt to do so.  If you need to
    write to this area (for example, to obliterate the label), use the form
    disklabel -W disk

    To disallow writing to the label area after previously allowing it, use
    the command
    disklabel -N disk

I've had similar problems with ext2 on raw slice. Kernel do NOT allows
to write to disklabel area, even if there is NO disklabel. You should
disklabel -W this slice. Please, someone, write if I'm right.
--
Sincerely Yours,
Vladimir Mitiouchev




More information about the Users mailing list