Source-Changes archive

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

CVS commit: [netbsd-9] src/usr.sbin/sysinst



Module Name:    src
Committed By:   msaitoh
Date:           Tue Jan 28 10:18:00 UTC 2020

Modified Files:
        src/usr.sbin/sysinst [netbsd-9]: bsddisklabel.c defs.h disklabel.c
            disks.c gpt.c install.c label.c main.c mbr.c menus.mi menus.pm
            msg.mi.de msg.mi.en msg.mi.es msg.mi.fr msg.mi.pl msg.pm.de
            msg.pm.en msg.pm.es msg.pm.fr msg.pm.pl net.c part_edit.c
            partitions.c partitions.h partman.c sizemultname.c target.c
            upgrade.c util.c
        src/usr.sbin/sysinst/arch/arc [netbsd-9]: md.c
        src/usr.sbin/sysinst/arch/bebox [netbsd-9]: md.c
        src/usr.sbin/sysinst/arch/cobalt [netbsd-9]: md.c
        src/usr.sbin/sysinst/arch/evbarm [netbsd-9]: md.c md.h
        src/usr.sbin/sysinst/arch/evbmips [netbsd-9]: md.c
        src/usr.sbin/sysinst/arch/evbppc [netbsd-9]: md.c
        src/usr.sbin/sysinst/arch/hpcarm [netbsd-9]: md.c
        src/usr.sbin/sysinst/arch/hpcmips [netbsd-9]: md.c
        src/usr.sbin/sysinst/arch/hpcsh [netbsd-9]: md.c
        src/usr.sbin/sysinst/arch/i386 [netbsd-9]: md.c
        src/usr.sbin/sysinst/arch/landisk [netbsd-9]: md.c
        src/usr.sbin/sysinst/arch/luna68k [netbsd-9]: md.c
        src/usr.sbin/sysinst/arch/ofppc [netbsd-9]: md.c
        src/usr.sbin/sysinst/arch/playstation2 [netbsd-9]: md.c
        src/usr.sbin/sysinst/arch/prep [netbsd-9]: md.c
        src/usr.sbin/sysinst/arch/sandpoint [netbsd-9]: md.c
        src/usr.sbin/sysinst/arch/zaurus [netbsd-9]: md.c

Log Message:
Pull up following revision(s) (requested by martin in ticket #668):
        usr.sbin/sysinst/arch/cobalt/md.c: revision 1.11
        usr.sbin/sysinst/arch/cobalt/md.c: revision 1.12
        usr.sbin/sysinst/arch/arc/md.c: revision 1.11
        usr.sbin/sysinst/arch/arc/md.c: revision 1.12
        usr.sbin/sysinst/partman.c: revision 1.43
        usr.sbin/sysinst/partman.c: revision 1.46
        usr.sbin/sysinst/partman.c: revision 1.47
        usr.sbin/sysinst/partman.c: revision 1.48
        usr.sbin/sysinst/partman.c: revision 1.49
        usr.sbin/sysinst/msg.pm.fr: revision 1.2
        usr.sbin/sysinst/upgrade.c: revision 1.14
        usr.sbin/sysinst/arch/i386/md.c: revision 1.28
        usr.sbin/sysinst/arch/i386/md.c: revision 1.29
        usr.sbin/sysinst/arch/ofppc/md.c: revision 1.9
        usr.sbin/sysinst/arch/sandpoint/md.c: revision 1.7
        usr.sbin/sysinst/arch/sandpoint/md.c: revision 1.8
        usr.sbin/sysinst/gpt.c: revision 1.14
        usr.sbin/sysinst/gpt.c: revision 1.15
        usr.sbin/sysinst/arch/luna68k/md.c: revision 1.8
        usr.sbin/sysinst/gpt.c: revision 1.16
        usr.sbin/sysinst/msg.pm.de: revision 1.2
        usr.sbin/sysinst/arch/evbarm/md.c: revision 1.11
        usr.sbin/sysinst/arch/evbarm/md.c: revision 1.12
        usr.sbin/sysinst/arch/evbarm/md.c: revision 1.13
        usr.sbin/sysinst/arch/evbarm/md.c: revision 1.14
        usr.sbin/sysinst/sizemultname.c: revision 1.4
        usr.sbin/sysinst/msg.pm.en: revision 1.2
        usr.sbin/sysinst/arch/landisk/md.c: revision 1.12
        usr.sbin/sysinst/util.c: revision 1.41
        usr.sbin/sysinst/arch/landisk/md.c: revision 1.13
        usr.sbin/sysinst/util.c: revision 1.42
        usr.sbin/sysinst/arch/ofppc/md.c: revision 1.10
        usr.sbin/sysinst/partitions.c: revision 1.9
        usr.sbin/sysinst/arch/evbarm/md.h: revision 1.4
        usr.sbin/sysinst/arch/evbarm/md.h: revision 1.5
        usr.sbin/sysinst/arch/evbmips/md.c: revision 1.7
        usr.sbin/sysinst/arch/evbmips/md.c: revision 1.8
        usr.sbin/sysinst/msg.mi.fr: revision 1.25
        usr.sbin/sysinst/msg.mi.de: revision 1.20
        usr.sbin/sysinst/install.c: revision 1.14
        usr.sbin/sysinst/partitions.h: revision 1.13
        usr.sbin/sysinst/partitions.h: revision 1.14
        usr.sbin/sysinst/arch/evbppc/md.c: revision 1.7
        usr.sbin/sysinst/arch/playstation2/md.c: revision 1.7
        usr.sbin/sysinst/msg.mi.en: revision 1.27
        usr.sbin/sysinst/partitions.h: revision 1.15
        usr.sbin/sysinst/arch/evbppc/md.c: revision 1.8
        usr.sbin/sysinst/arch/hpcarm/md.c: revision 1.7
        usr.sbin/sysinst/arch/playstation2/md.c: revision 1.8
        usr.sbin/sysinst/msg.pm.pl: revision 1.2
        usr.sbin/sysinst/arch/hpcarm/md.c: revision 1.8
        usr.sbin/sysinst/msg.mi.es: revision 1.21
        usr.sbin/sysinst/arch/zaurus/md.c: revision 1.7
        usr.sbin/sysinst/target.c: revision 1.11
        usr.sbin/sysinst/arch/zaurus/md.c: revision 1.8
        usr.sbin/sysinst/part_edit.c: revision 1.14
        usr.sbin/sysinst/part_edit.c: revision 1.15
        usr.sbin/sysinst/part_edit.c: revision 1.16
        usr.sbin/sysinst/defs.h: revision 1.50
        usr.sbin/sysinst/defs.h: revision 1.51
        usr.sbin/sysinst/defs.h: revision 1.52
        usr.sbin/sysinst/defs.h: revision 1.53
        usr.sbin/sysinst/defs.h: revision 1.54
        usr.sbin/sysinst/arch/hpcmips/md.c: revision 1.7
        usr.sbin/sysinst/arch/hpcmips/md.c: revision 1.8
        usr.sbin/sysinst/arch/hpcsh/md.c: revision 1.8
        usr.sbin/sysinst/msg.pm.es: revision 1.2
        usr.sbin/sysinst/arch/hpcsh/md.c: revision 1.9
        usr.sbin/sysinst/label.c: revision 1.18
        usr.sbin/sysinst/label.c: revision 1.19
        usr.sbin/sysinst/net.c: revision 1.35
        usr.sbin/sysinst/msg.mi.pl: revision 1.28
        usr.sbin/sysinst/disklabel.c: revision 1.28
        usr.sbin/sysinst/disklabel.c: revision 1.29
        usr.sbin/sysinst/mbr.c: revision 1.24
        usr.sbin/sysinst/disks.c: revision 1.59
        usr.sbin/sysinst/mbr.c: revision 1.25
        usr.sbin/sysinst/mbr.c: revision 1.26
        usr.sbin/sysinst/mbr.c: revision 1.27
        usr.sbin/sysinst/mbr.c: revision 1.28
        usr.sbin/sysinst/label.c: revision 1.20
        usr.sbin/sysinst/mbr.c: revision 1.29
        usr.sbin/sysinst/bsddisklabel.c: revision 1.34
        usr.sbin/sysinst/bsddisklabel.c: revision 1.35
        usr.sbin/sysinst/bsddisklabel.c: revision 1.36
        usr.sbin/sysinst/bsddisklabel.c: revision 1.37
        usr.sbin/sysinst/disklabel.c: revision 1.30
        usr.sbin/sysinst/bsddisklabel.c: revision 1.38
        usr.sbin/sysinst/disklabel.c: revision 1.31
        usr.sbin/sysinst/disklabel.c: revision 1.32
        usr.sbin/sysinst/disklabel.c: revision 1.33
        usr.sbin/sysinst/disklabel.c: revision 1.34
        usr.sbin/sysinst/disks.c: revision 1.60
        usr.sbin/sysinst/disks.c: revision 1.61
        usr.sbin/sysinst/arch/bebox/md.c: revision 1.7
        usr.sbin/sysinst/disks.c: revision 1.62
        usr.sbin/sysinst/arch/bebox/md.c: revision 1.8
        usr.sbin/sysinst/mbr.c: revision 1.30
        usr.sbin/sysinst/partitions.c: revision 1.10
        usr.sbin/sysinst/arch/prep/md.c: revision 1.11
        usr.sbin/sysinst/arch/prep/md.c: revision 1.12
        usr.sbin/sysinst/menus.pm: revision 1.3
        usr.sbin/sysinst/main.c: revision 1.20
        usr.sbin/sysinst/menus.mi: revision 1.20
        usr.sbin/sysinst/menus.mi: revision 1.21
avoid calling snprintf/strlcat with an input parameter the same
as the output.  from martin@.  fixes gcc 8 restrict warnings.
Finish conversion of extended partitioning parts to new abstract
backend interface. XXX still could use a lot of polishing.
Instead of a (bogus) attempt to query the model via ofctl, use the (now
fixed) sysctl hw.model instead.
When reading the secondary disklabel partitions from an existing disklabel
set the mbr partitions as parent.
Move the LABELSECTOR check and make it FS type specific - some partition
types (FFS, RAID) are allowed to overlap with the LABELSECTOR.
When asked to create a whole-disk partition for unknown usage, do not only
assert(false), but actually return an error (in case "assert" is a nop).
PR install/54787: when trying to derive proper alignement and first offset
from exisiting partitions, use the first partition offset if it is already
closer to the start of the disk than the prefered alignment - we can not
move existing partitions around.
Fix handling of inner/outer partitions (e.g. MBR and disklabel) in
extended partitioning:
 - when editing a disk with such a schme, offer both partitions in two
   steps
 - when commiting changes save the inner partitions after the outer ones
Add a method to query the partitioning schemes "internal idea" of a
cylinder size - whatever that means in the real world.
Avoid using the global "pm" variable in utility functions - during
extended partitioning they may point to a different device.
Remove useless calls to get_ramsize() - return value is ignored and
the function has no side effects.
Fix /tmp tmpfs handling and on machines with enough RAM default to
creating a /tmp tmpfs with 25% of ram size limit. Suggested by ad@.
PR install/54872: fix printf argument order, sectors and heads were
swapped in the bios geometry display.
First try to bring evbarm installation closer to current reality.
hide disklabel_non_bootable() under NO_DISKLABEL_BOOT like the usage.
should fix most builds.
Deal with even stranger fictious empty disklabels (PR kern/54882).
Factor out all RAM size thresholds as defines to avoid magic numbers.
To work around PR misc/54886 bump the threshold for a tmpfs /tmp mount
up to 256 MB.
When retrying sets during extraction, reset the relevant statistics
to avoid counting retried sets multiple times.
Reported by kim.
Fix support for non-512-byte/sector disks again after I broke it when
introducing the abstract partition backends.
Use a few strlcpy() instead of strncpy() for network ioctl structs.
We seem to have no formal documentation stating the various
        char if*_name[IFNAMSIZ]; /* if name, e.g. "en0" */
elements in ioctls are nul terminated, but the peanut gallery claims
it is so - and at least half of the code in-tree touching them agrees.
Too much disklabel magic happening in the kernel - to compensate force
MBR first when trying to identify the existing partitioning scheme of
a disk.


To generate a diff of this commit:
cvs rdiff -u -r1.23.2.8 -r1.23.2.9 src/usr.sbin/sysinst/bsddisklabel.c
cvs rdiff -u -r1.42.2.5 -r1.42.2.6 src/usr.sbin/sysinst/defs.h
cvs rdiff -u -r1.10.2.7 -r1.10.2.8 src/usr.sbin/sysinst/disklabel.c
cvs rdiff -u -r1.44.2.12 -r1.44.2.13 src/usr.sbin/sysinst/disks.c
cvs rdiff -u -r1.6.2.7 -r1.6.2.8 src/usr.sbin/sysinst/gpt.c
cvs rdiff -u -r1.9.2.2 -r1.9.2.3 src/usr.sbin/sysinst/install.c
cvs rdiff -u -r1.10.2.4 -r1.10.2.5 src/usr.sbin/sysinst/label.c
cvs rdiff -u -r1.17.2.2 -r1.17.2.3 src/usr.sbin/sysinst/main.c
cvs rdiff -u -r1.19.2.4 -r1.19.2.5 src/usr.sbin/sysinst/mbr.c
cvs rdiff -u -r1.19 -r1.19.2.1 src/usr.sbin/sysinst/menus.mi
cvs rdiff -u -r1.2 -r1.2.2.1 src/usr.sbin/sysinst/menus.pm
cvs rdiff -u -r1.13.2.5 -r1.13.2.6 src/usr.sbin/sysinst/msg.mi.de
cvs rdiff -u -r1.19.2.6 -r1.19.2.7 src/usr.sbin/sysinst/msg.mi.en
cvs rdiff -u -r1.14.2.5 -r1.14.2.6 src/usr.sbin/sysinst/msg.mi.es
cvs rdiff -u -r1.17.2.6 -r1.17.2.7 src/usr.sbin/sysinst/msg.mi.fr
cvs rdiff -u -r1.20.2.6 -r1.20.2.7 src/usr.sbin/sysinst/msg.mi.pl
cvs rdiff -u -r1.1 -r1.1.2.1 src/usr.sbin/sysinst/msg.pm.de \
    src/usr.sbin/sysinst/msg.pm.en src/usr.sbin/sysinst/msg.pm.es \
    src/usr.sbin/sysinst/msg.pm.fr src/usr.sbin/sysinst/msg.pm.pl
cvs rdiff -u -r1.33.2.1 -r1.33.2.2 src/usr.sbin/sysinst/net.c
cvs rdiff -u -r1.7.2.3 -r1.7.2.4 src/usr.sbin/sysinst/part_edit.c
cvs rdiff -u -r1.1.2.4 -r1.1.2.5 src/usr.sbin/sysinst/partitions.c
cvs rdiff -u -r1.4.2.5 -r1.4.2.6 src/usr.sbin/sysinst/partitions.h
cvs rdiff -u -r1.41.2.3 -r1.41.2.4 src/usr.sbin/sysinst/partman.c
cvs rdiff -u -r1.3 -r1.3.2.1 src/usr.sbin/sysinst/sizemultname.c
cvs rdiff -u -r1.8.2.2 -r1.8.2.3 src/usr.sbin/sysinst/target.c
cvs rdiff -u -r1.12.2.1 -r1.12.2.2 src/usr.sbin/sysinst/upgrade.c
cvs rdiff -u -r1.29.2.5 -r1.29.2.6 src/usr.sbin/sysinst/util.c
cvs rdiff -u -r1.8.2.2 -r1.8.2.3 src/usr.sbin/sysinst/arch/arc/md.c
cvs rdiff -u -r1.5.2.1 -r1.5.2.2 src/usr.sbin/sysinst/arch/bebox/md.c
cvs rdiff -u -r1.8.2.2 -r1.8.2.3 src/usr.sbin/sysinst/arch/cobalt/md.c
cvs rdiff -u -r1.8.2.2 -r1.8.2.3 src/usr.sbin/sysinst/arch/evbarm/md.c
cvs rdiff -u -r1.2.2.1 -r1.2.2.2 src/usr.sbin/sysinst/arch/evbarm/md.h
cvs rdiff -u -r1.5.2.1 -r1.5.2.2 src/usr.sbin/sysinst/arch/evbmips/md.c
cvs rdiff -u -r1.5.2.1 -r1.5.2.2 src/usr.sbin/sysinst/arch/evbppc/md.c
cvs rdiff -u -r1.5.2.1 -r1.5.2.2 src/usr.sbin/sysinst/arch/hpcarm/md.c
cvs rdiff -u -r1.5.2.1 -r1.5.2.2 src/usr.sbin/sysinst/arch/hpcmips/md.c
cvs rdiff -u -r1.6.2.1 -r1.6.2.2 src/usr.sbin/sysinst/arch/hpcsh/md.c
cvs rdiff -u -r1.20.2.4 -r1.20.2.5 src/usr.sbin/sysinst/arch/i386/md.c
cvs rdiff -u -r1.10.2.1 -r1.10.2.2 src/usr.sbin/sysinst/arch/landisk/md.c
cvs rdiff -u -r1.7 -r1.7.2.1 src/usr.sbin/sysinst/arch/luna68k/md.c
cvs rdiff -u -r1.7.2.1 -r1.7.2.2 src/usr.sbin/sysinst/arch/ofppc/md.c
cvs rdiff -u -r1.5.2.1 -r1.5.2.2 src/usr.sbin/sysinst/arch/playstation2/md.c
cvs rdiff -u -r1.8.2.2 -r1.8.2.3 src/usr.sbin/sysinst/arch/prep/md.c
cvs rdiff -u -r1.5.2.1 -r1.5.2.2 src/usr.sbin/sysinst/arch/sandpoint/md.c
cvs rdiff -u -r1.5.2.1 -r1.5.2.2 src/usr.sbin/sysinst/arch/zaurus/md.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index