NetBSD-Bugs archive

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

Re: install/54582: sysinst cannot find disklabel on 9.0_BETA/x68k

The following reply was made to PR install/54582; it has been noted by GNATS.

From: Izumi Tsutsui <>
Subject: Re: install/54582: sysinst cannot find disklabel on 9.0_BETA/x68k
Date: Sat, 28 Sep 2019 21:04:24 +0900

 >  The problem here is that sysinst needs to find out what kind of partioning
 >  scheme is used (and deal properly). We can either disable that test
 >  for x68k and always assume disklabel or the kernel emulation of it, or
 >  we can add Human68k partition support now as an alternative scheme (quite
 >  easily; will do that for amiga and apple partitioning schemes too).
 I'm afraid several other ports also have the similar issue
 (i.e. no on-disk bsddisklabel data, but the kernel converts
  their native OS labels to bsddisklabel in readdisklabel(9)).
 - sys/dev/sun/disksubr.c:
   disklabel_sun_to_bsd() converts SunOS label
 - sys/arch/amiga/amiga/disksubr.c:
   readdisklabel(9) handles RDB
 - sys/arch/atai/atari/disksubr.c:
   ahdi_label() converts AHDI label (optional)
 - sys/arch/luna68k/luna68k/disksubr.c
   disklabel_om_to_bsd() converts UniOS lavel (similar to SunOS one)
 - sys/arch/mac68k/mac68k/disksubr.c:
   read_mac_label() converts Apple Partition Map
 I have not checked if writedisklabel(9) always writes
 BSD disklabel or converted one in all cases, though..
 Izumi Tsutsui

Home | Main Index | Thread Index | Old Index