Source-Changes-D archive

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

UFS2 root support on sysinst (Re: CVS commit: src/distrib/alpha/instkernel/ramdisk)



Diff which contains 8 bit chars (with wrong charset) seems
caught by filter, so resend message without diff.

Here is a new patch, which includes .de translations from martin@:
http://www.ceres.dti.ne.jp/~tsutsui/netbsd/sysinst-20090405.diff

(even msg.mi.en should be improved, I guess..)

--- original message ---

I wrote on source-changes-d@:

> dholland-sourcechanges%netbsd.org@localhost wrote:
> 
> > On Sat, Apr 04, 2009 at 11:24:07PM +0000, Izumi Tsutsui wrote:
> >  > Log Message:
> >  > Also put bootxx_ffsv2 into installation ramdisk.
 :
> For bootxx_ffsv2, I'll move md_bootxx_name() and related stuff
> from md.c to MI disks.c or bsddisklabel.c with some MD macros.

The attached is a dumb patch to handle UFS2 root in sysinst:
- reject UFS2 for rootfs on ports !HAVE_UFS2_BOOT
- add a MI function to get bootxx name from root file system type
  and remove md_bootxx_name() from arch/i386/md.c
  (so that alpha can use bootxx_ffsv2 for UFS2 as well as x86)

Tested on i386 and alpha with FFSv1 and FFSv2, and also
tested on vax without HAVE_UFS2_BOOT (and it rejects UFS2 root).

Concerns:
- not sure which ports actually support UFS2 boot
  (some ports don't read a kernel from root)
- no translations for a new message
- conditional messages should be .ifdef'ed out?

Comments?
---

[ diff deleted ]


---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index