Hi,

  Wehever I try to change the disklabel for da2s2 or try to directy
write to /dev/da2s2 if fails and prints this weird error:

dscheck(#da/0x30012): fixlabel: invalid magic

  Grep'ing the error message in the sources it leads to this snipped of
code in kern/subr_diskslice.c in function fixlabel() (line 855):

        /* These errors "can't happen" so don't bother reporting details. */
        if (lp->d_magic != DISKMAGIC || lp->d_magic2 != DISKMAGIC)
                return ("fixlabel: invalid magic");
        if (dkcksum(lp) != 0)
                return ("fixlabel: invalid checksum");

  Could someone please reveal the mistery behind this "vodoo" code ?
Any cause leading to this ?

 Thanks,
 Ady (@freebsd.ady.ro)
____________________________________________________________________
| An age is called Dark not because the light fails to shine, but  |
| because people refuse to see it.                                 |
|               -- James Michener, "Space"                         |


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to