tech-userlevel archive

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

Re: turning off COMPAT_386BSD_MBRPART in disklabel



On Mon, Feb 07, 2011 at 06:35:49PM +0000, David Laight wrote:
> x86/amd64 sysinst uses it own code for fdisk and installboot.
> I can't quite remember whether it runs disklabel - but it will request
> it writes a label from a temporary file...

What David says:

int
write_disklabel (void)
{
 
#ifdef DISKLABEL_CMD
        /* disklabel the disk */
        return run_program(RUN_DISPLAY, "%s -f /tmp/disktab %s '%s'",
            DISKLABEL_CMD, diskdev, bsddiskname);
#else
        return 0;
#endif
}

Martin


Home | Main Index | Thread Index | Old Index