Commit Graph

12378 Commits

Author SHA1 Message Date
martin
c604f98ede Instead of a (bogus) attempt to query the model via ofctl, use the (now
fixed) sysctl hw.model instead.
2020-01-09 17:06:46 +00:00
ad
56f477e67b Add a recommendation for SMT to not split threads. XXX This should report
topo info to help the decision.
2020-01-09 15:50:16 +00:00
martin
abce8cb394 Finish conversion of extended partitioning parts to new abstract
backend interface. XXX still could use a lot of polishing.
2020-01-09 13:22:30 +00:00
tkusumi
2564971ebf fstyp: Cleanup hammer2.c (sync with recent DragonFly commit)
taken-from DragonFlyBSD 841ef9e93aea61adab688e9476604e7a03291ef0
2020-01-04 03:43:18 +00:00
tkusumi
0adf7fda76 fstyp: Cleanup hammer.c (sync with recent DragonFly commit)
taken-from DragonFlyBSD 8ca6d8ec5f97032765692d368db80159c97adea0
2020-01-03 08:19:14 +00:00
mlelstv
654fb5e866 Recognize wedges and device mapper volumes as "disk". 2020-01-03 07:50:58 +00:00
tkusumi
143e65cce8 fstyp: Fix "exfat: iconv_open UCS-2LE: Invalid argument" failure
Fix below error for the time being.
The removed code is only relevant to Capsicum.

$ fstyp -l /dev/wd1
fstyp: exfat: iconv_open UCS-2LE: Invalid argument
2020-01-02 08:52:42 +00:00
wiz
627a9b5419 Try fixing a sentence. 2020-01-01 20:11:44 +00:00
tkusumi
0f41a17b1c fstyp: Consider '@' syntax in device file path for HAMMER2
though devpath is unsupported in NetBSD atm.
taken-from: DragonFlyBSD
2020-01-01 12:47:19 +00:00
tkusumi
cfa93e9fb4 fstyp: Fix build failure on i386
http://releng.netbsd.org/b5reports/i386/commits-2020.01.html#2020.01.01.10.13.16
Explicitly cast to size_t.
2020-01-01 11:46:43 +00:00
tkusumi
442ef904f9 fstyp: Add HAMMER1 multi-volume support (missed in "fstyp: Add HAMMER1/2 support")
taken-from: DragonFlyBSD
2020-01-01 09:17:27 +00:00
tkusumi
dcc92ff930 fstyp: Cleanup and minor sync up with FreeBSD/DragonFlyBSD 2020-01-01 09:08:52 +00:00
tkusumi
ff998df0a2 fstyp: Add HAMMER1/2 support
FreeBSD has recently imported HAMMER1/2 support from DragonFlyBSD,
so why not in NetBSD as well.

taken-from: DragonFlyBSD
2020-01-01 08:56:41 +00:00
tsutsui
cbcfce8df3 Make sure rc, rc.subr, and rc.shutdown are properly updated.
Currently there is no info which rc* files should be updated
or not on upgrade (at least rc.conf and rc.local shouldn't),
so put back an explicit list in the postinstall script.
"Go for it" by christos@ in PR/54741.

Should be pulled up to netbsd-9.
2019-12-29 22:19:13 +00:00
tkusumi
bdaaf6392d fstyp: Use iconv(3) to convert NTFS vol labels correctly
taken-from: FreeBSD (freebsd/freebsd@23a4b310ff)
2019-12-28 08:22:30 +00:00
tkusumi
0cd59d67d5 fstyp: Show exFAT volume labels with -l flag
taken-from: FreeBSD (freebsd/freebsd@73773fcda9)
2019-12-28 08:00:08 +00:00
tkusumi
a4a6d53262 fstyp: Add APFS support
taken-from: FreeBSD (freebsd/freebsd@171bb54729)
2019-12-27 11:15:06 +00:00
tkusumi
c952179f84 fstyp: Add HFS+ support
taken-from: FreeBSD (freebsd/freebsd@b4d7ad9f78)
2019-12-27 11:06:23 +00:00
msaitoh
b40ff30391 s/orignal/original/ 2019-12-27 10:20:01 +00:00
msaitoh
a0403cde04 s/transfered/transferred/ 2019-12-27 09:41:48 +00:00
msaitoh
e992133145 s/suport/support/ 2019-12-27 09:22:19 +00:00
msaitoh
40064e2457 s/lenght/length/ 2019-12-26 04:53:11 +00:00
maxv
87107185b5 Revert the removal of filemon. 2019-12-23 06:45:36 +00:00
christos
007f692c78 PR/54730: Izumi Tsutsui: obsolete etc files are not being cleaned up on
an upgrade build.
2019-12-22 18:41:36 +00:00
maxv
e67f51b8f7 Retire filemon, discussed on tech-kern@. 2019-12-18 07:37:17 +00:00
martin
89094dbad4 Fix the pattern creating the relative path for distribution sets
on branches: we missed the potential numbers in suffixes, like _RC1.
2019-12-16 13:48:44 +00:00
martin
42fb6d79a5 After installing boot blocks with RUN_NO_CLEAR (and handling the
potential errors) make sure to clear the stdscreen.
2019-12-15 13:39:24 +00:00
martin
36c3b68377 Do not show disklabel command invocation by default (only if there are
errors).
2019-12-15 12:09:55 +00:00
martin
3a4f84ca06 Reject (what we consider) empty/invalid fake disklabels no matter whether
we have other partitioning schemes available or not.
2019-12-15 12:01:05 +00:00
martin
ebdfc2d74c Fix overlapping partitions display 2019-12-15 11:22:46 +00:00
martin
8b681df095 Pass proper track size when initializing the default alignment - this is
important with sunlabels.
2019-12-14 20:41:58 +00:00
martin
d26d794880 If a fictious label has no RAW_PART assume there is no valid disk label. 2019-12-14 19:26:17 +00:00
martin
015df285a2 Adapt MD parts to changes in get_fs_part_type (pass partition type). 2019-12-14 12:00:40 +00:00
martin
194b0d85bc When finding (paritioning scheme native) partition types for file systems
from our install description, pass the partition type (not only the file
system type). Sometimes (e.g. EFI boot partition on GPT) the filesystem
type (MSDOS) is not a unique selector.
2019-12-13 22:12:41 +00:00
martin
2eadf7ff31 Remove bogus assert. 2019-12-13 22:10:21 +00:00
martin
cd0c3adf11 When trying to tell a fictious but empty label from a real one, skip
partition a if it has the same start and size as the raw partition.
2019-12-13 21:46:59 +00:00
martin
79b003e2fe Do not try to change the keyboard layout if we are not running on the
console.
2019-12-13 12:05:11 +00:00
martin
e65ec1bd4e Fix inverted comparison 2019-12-12 20:14:21 +00:00
martin
8fff818899 Fix DISKLABEL_NO_ONDISK_VERIFY (accidently disabled in previous) 2019-12-12 19:29:05 +00:00
martin
1994e1beef Fix detection of existing disklabels in the case when we only have
the disklabel partitioning scheme available.
2019-12-12 12:19:39 +00:00
wiz
460718aa4e Comment out xref to tb(4), it does not exist.
XXX: I don't see it mentioned in amd64/GENERIC nor DEVNAMES
2019-12-12 05:00:33 +00:00
ad
d1120cd8e9 Report on whether vnodes are MPSAFE. For diagnosing perf problems. 2019-12-11 19:51:36 +00:00
martin
000e67db6f For now rely on the kernel mapping native RDB partitions. 2019-12-11 19:25:50 +00:00
martin
675f7bf669 PR 54065: add optional "old compat" variant of ext2fs in file system
type selection and use that as default for the cobalt boot file system.
2019-12-11 19:23:37 +00:00
martin
b2a9c378fb Get rid of the evbarm preliminary menu: do not bother to ask the user
whether this is a RPi - query the FDT instead.
2019-12-11 15:08:45 +00:00
isaki
6e13a9a980 Fix typo. 2019-12-10 06:25:50 +00:00
martin
2d2d93336c PR install/54582: allow MD code to disable on-disk presence verification
of "real" disklabels. Auto-enable this (at run time) when there is no other
partitioning scheme but disklabel configured.
Hard-coded enable this for x68k to allow using kernel based translations
for native Human68k partitions.
2019-12-09 19:16:53 +00:00
martin
5f929f285c PR install/54745: fix confusion about absolut and NetBSD-partition
relative offsets.
2019-12-08 15:09:33 +00:00
martin
1a12097886 Relax restrictions on packnames, as disklabel(8) does not do full decoding
for the tag field.
Fix quoting of command args.
2019-12-07 13:33:45 +00:00
christos
7300145099 Drop the advertising clause to match the other files. 2019-12-07 04:55:01 +00:00