|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base perseant-exfatfs-base-20240630 perseant-exfatfs-base
|
| #
1.75 |
|
03-Jun-2023 |
lukem |
bsd.own.mk: rename GCC_NO_* to CC_WNO_*
Rename compiler-warning-disable variables from GCC_NO_warning to CC_WNO_warning where warning is the full warning name as used by the compiler.
GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH
Using the convention CC_compilerflag, where compilerflag is based on the full compiler flag name.
|
|
Revision tags: netbsd-10-1-RELEASE netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 phil-wifi-20191119
|
| #
1.74 |
|
13-Oct-2019 |
mrg |
introduce some common variables for use in GCC warning disables:
GCC_NO_FORMAT_TRUNCATION -Wno-format-truncation (GCC 7/8) GCC_NO_STRINGOP_TRUNCATION -Wno-stringop-truncation (GCC 8) GCC_NO_STRINGOP_OVERFLOW -Wno-stringop-overflow (GCC 8) GCC_NO_CAST_FUNCTION_TYPE -Wno-cast-function-type (GCC 8)
use these to turn off warnings for most GCC-8 complaints. many of these are false positives, most of the real bugs are already commited, or are yet to come.
we plan to introduce versions of (some?) of these that use the "-Wno-error=" form, which still displays the warnings but does not make it an error, and all of the above will be re-considered as either being "fix me" (warning still displayed) or "warning is wrong."
|
|
Revision tags: netbsd-9-4-RELEASE netbsd-9-3-RELEASE netbsd-9-2-RELEASE netbsd-9-1-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 netbsd-9-base phil-wifi-20190609 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
|
| #
1.73 |
|
24-Jan-2018 |
skrll |
branches: 1.73.4; Remove port-acorn26
OK core@
|
|
Revision tags: netbsd-8-3-RELEASE netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
| #
1.72 |
|
31-Jan-2016 |
christos |
fix broken patch
|
| #
1.71 |
|
31-Jan-2016 |
christos |
PR/50729: Izumi Tsutsui: Add "SMALLPROG"-like options to disklabel(8)
|
|
Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base tls-maxphys-base
|
| #
1.70 |
|
03-May-2013 |
matt |
Make disklabel a MI tool. It will use MACHINE/MACHINE_ARCH to determine the disklabel params as well as allowing command-line options of -M <machine> and -B {le,be} to specify MACHINE and byteorder to be used.
|
|
Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
| #
1.69 |
|
30-Aug-2011 |
bouyer |
branches: 1.69.2; 1.69.8; Add getlabelusesmbr(), as proposed in http://mail-index.netbsd.org/tech-userlevel/2011/08/25/msg005404.html This is used by disk tools such as disklabel(8) to dynamically decide is the undelyling platform uses a disklabel-in-mbr-partition or not (instead of using a compile-time list of ports). getlabelusesmbr() reads the sysctl kern.labelusesmbr, takes its value from the machdep #define LABELUSESMBR. For evbmips, make LABELUSESMBR 1 if the platform uses pmon as bootloader, and 0 (the previous value) otherwise.
|
| #
1.68 |
|
18-Aug-2011 |
phx |
Define USE_MBR for ofppc.
|
|
Revision tags: cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base
|
| #
1.67 |
|
12-Feb-2011 |
dholland |
Disable COMPAT_386BSD_MBRPART. The code is still here if anyone needs it for some reason. (But I have no idea why that would be -- if you have one of these really ancient partitions and you're about to run disklabel, you can easily run fdisk first and change the partition type to NetBSD.)
As it stands, the code will munch FreeBSD installs under some circumstances, which is really not acceptable behavior.
The code, along with the kernel support that's been disabled by default for several years, and some related but less dangerous code in sysinst, should prboably be removed entirely after -6 is branched.
Discussed on tech-kern and tech-userlevel; closes PR 44496.
This is also almost certainly the cause of PR 42521 and PR 38841.
|
|
Revision tags: matt-mips64-premerge-20101231 matt-premerge-20091211
|
| #
1.66 |
|
13-Dec-2009 |
nakayama |
branches: 1.66.2; System utilities, boot programs and kernel modules are machine (port) specific not CPU, so use MACHINE not MACHINE_ARCH.
|
| #
1.65 |
|
05-Dec-2009 |
pooka |
Remove support for NetBSD/playstation2.
|
|
Revision tags: playstation2-eol-2009
|
| #
1.64 |
|
28-Nov-2009 |
tsutsui |
Don't use #ifdef __${MACHINE_ARCH}__ to enable machine dependent features. Instead, use proper macro defined in Makefile per ${MACHINE_ARCH}.
__${MACHINE_ARCH}__ doesn't represent an architecture of tool's target but an architecture of binaries being compiled, so required features are not prolery enabled or unintentionally enabled on certain host and target combinations during src/tools build.
|
| #
1.63 |
|
28-Nov-2009 |
tsutsui |
Make dreamcast, evbsh3, and mmeye use -DUSE_MBR. All of these ports use src/sys/arch/sh3/sh3/disksubr.c which is MBR aware.
|
|
Revision tags: jym-xensuspend-nbase jym-xensuspend-base
|
| #
1.62 |
|
14-Feb-2009 |
abs |
Convert more MACHINE tests to MACHINE_ARCH
|
|
Revision tags: netbsd-5-1-5-RELEASE netbsd-5-1-4-RELEASE netbsd-5-1-3-RELEASE netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base mjf-devfs2-base keiichi-mipv6-base matt-armv6-nbase
|
| #
1.61 |
|
11-Mar-2008 |
aymeric |
branches: 1.61.6; 1.61.8; The hpcsh kernel does for sure USE_MBR. Make disklabel use it too on hpcsh. With this, it is possible to bootstrap a MBR partitioned CF card without partitioning and disklabelling it first on another platform.
|
|
Revision tags: matt-armv6-prevmlocking cube-autoconf-base mjf-devfs-base matt-armv6-base matt-mips64-base hpcarm-cleanup-base
|
| #
1.60 |
|
18-Dec-2006 |
nonaka |
branches: 1.60.4; 1.60.10; 1.60.12; zaurus use MBR partition info.
|
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base netbsd-4-base
|
| #
1.59 |
|
01-Sep-2006 |
uwe |
New NetBSD/landisk port uses MBR too.
|
|
Revision tags: abandoned-netbsd-4-base
|
| #
1.58 |
|
19-Oct-2005 |
dsl |
Rototil the way disklabel -r reads and writes labels. In particular the 'read' part plays 'hunt the disklabel' in order to get a label into a local buffer - from where it can be displayed/edited. The 'write' part makes a separate scan of the disk looking for places to write the label. The main changes are: - It can no longer write the first 8k of the mbr to the pbr (or v.v.) - All labels on the disk (that it can find) get updated during a write - With -A all the labels are displayed (inc. those deleted by -D) - Addition of -D which will delete (by one's complimenting dk_magic{2}) and existing labels before writing labels to the expected locations. - -v gives some verbose output to stderr, -vv more etc A better basis for processing incorrect endian labels, or labels from other architectures.
|
| #
1.57 |
|
23-Jun-2005 |
fvdl |
If HOSTPROG is empty, do not pull in libutil, since we do not need it in that case, and several host platforms do not have libutil. Fixes the build of these programs as host tools on platforms without libutil.
|
| #
1.56 |
|
17-Jun-2005 |
dsl |
Rip out the support for writing bootstrap code. installboot(8) contains support for hp300, hp700 and vax, $MACHINE is never arm32. Fix usage output to only contain progname() once - bug introduced in rev 1.89
|
| #
1.55 |
|
12-Jun-2005 |
dyoung |
Make disklabel(8) into a host-tool, "nbdisklabel." Move disklabel.c to main.c to avoid a name collision with lib/libc/gen/disklabel.c when we build nbdisklabel. Still todo: commit host-tool build infrastructure to src/tools/disklabel/.
|
|
Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 netbsd-3-base
|
| #
1.54 |
|
20-Jan-2005 |
xtraeme |
WARNS=2 is the default defined in sbin/Makefile.inc. (thanks wiz)
|
| #
1.53 |
|
20-Jan-2005 |
xtraeme |
WARNS=2
|
| #
1.52 |
|
13-Oct-2004 |
gavan |
Initial import of iyonix port.
The Iyonix is a desktop machine from Castle Technology, based on a 600MHz XScale[tm] 80321 processor.
* Uses the bootloader from NetBSD/acorn32, which is now 32-bit compatible. * Currently boots multiuser with a serial console. * Device support is not yet complete.
With help from abs.
|
| #
1.51 |
|
28-Jun-2004 |
jkunz |
Add hp700 MD options for proper boot code handling.
|
|
Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
|
| #
1.50 |
|
18-Jan-2004 |
lukem |
* Enable SAVEBOOTAREA on i386 and amd64 (by merging the Makefile controls with the section for the other MBR-using platforms that already enable this) * Don't prompt the user to "erase the previous contents of the disk" when there's no NetBSD MBR partition; SAVEBOOTAREA is sufficient.
These fixes mean that you can create a disklabel (on an i386/amd64) on a disk that doesn't have a NetBSD MBR partition without trashing the existing MBR. The previous behaviour was extremely annoying when working with media such as FAT-formatted CF cards, and didn't really protect people with such from accidentally trashing part of sector 1 of such disks, and made it extremely easy to trash sectors 0..15 of those disks instead.
|
| #
1.49 |
|
10-Nov-2003 |
fvdl |
Bring back disklabel -B for now, since hp300 installboot isn't ready for prime time yet.
|
| #
1.48 |
|
08-Nov-2003 |
dsl |
Rip out all the '-B bootblock' support, everything should use installboot(8). (can only affect arm32, hp300 and vax ports, and doesn't affect sysinst).
|
| #
1.47 |
|
02-Nov-2003 |
shin |
playstation2 needs MBR support in disklabel(8).
|
| #
1.46 |
|
26-Apr-2003 |
fvdl |
x86_64 -> amd64
|
|
Revision tags: fvdl_fs64_base
|
| #
1.45 |
|
11-Dec-2002 |
fvdl |
Handle MBRs for x86_64.
|
| #
1.44 |
|
28-Jul-2002 |
manu |
Enable USE_MBR for all arm ports.
|
| #
1.43 |
|
18-Jun-2002 |
itojun |
USE_MBR on macppc too
|
|
Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
|
| #
1.42 |
|
24-Mar-2002 |
bjh21 |
Rename arm26 -> acorn26.
|
| #
1.41 |
|
29-Nov-2001 |
bjh21 |
Rather than making FileCore boot block support conditional on __arm32__, make it conditional on USE_ACORN, and define that if MACHINE is arm26 or acorn32. This is less than optimal, and maybe we should define it for all ARM systems, but then disklabel handling across architectures is generally a mess at the moment.
|
| #
1.40 |
|
19-Nov-2001 |
minoura |
Preserve the boot area on x68k.
|
| #
1.39 |
|
24-Dec-2000 |
lukem |
move showinfo() and showpartition() into separate file, for use by other programs. slightly change argument signature so that globals aren't depended upon.
|
|
Revision tags: netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base
|
| #
1.38 |
|
02-May-2000 |
soren |
branches: 1.38.4; MBR on cobalt too.
|
| #
1.37 |
|
02-May-2000 |
nonaka |
also use mbr partition table on prep.
|
| #
1.36 |
|
31-Jan-2000 |
soda |
- use MBR partition table also on arc. - use defined(USE_MBR) instead of defined(__i386__), like hpcmips and arc.
|
| #
1.35 |
|
09-Jan-2000 |
shin |
Add '-DSAVEBOOTAREA' to keep MBR partition information when NetBSD partition starts at sector 0. Closes PR:port-hpcmips/9146.
|
|
Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base
|
| #
1.34 |
|
11-Oct-1999 |
shin |
add hpcmips support (MBR)
|
| #
1.33 |
|
03-Jun-1999 |
cgd |
branches: 1.33.2; On NetBSD/alpha, go out of the way to read the boot area's contents if -r is specified, so that the boot blocks aren't clobbered when writing labels.
|
| #
1.32 |
|
09-Apr-1999 |
kleink |
Update a pasto-ed comment.
|
|
Revision tags: netbsd-1-4-RELEASE netbsd-1-4-base
|
| #
1.31 |
|
21-Jan-1999 |
pk |
branches: 1.31.2; Enable non-cylinder-aligned partition warning on sparc[64] & sun3. See also PR#6853.
|
| #
1.30 |
|
02-Mar-1998 |
drochner |
Handle new MBR partition ID on i386. Put all code which decides about usability of an entry to one place, use same algorithm as kernel (ie, check signature).
|
|
Revision tags: netbsd-1-3-PATCH002 netbsd-1-3-PATCH001 netbsd-1-3-RELEASE netbsd-1-3-BETA netbsd-1-3-base
|
| #
1.29 |
|
18-Oct-1997 |
mark |
branches: 1.29.2; Define NUMBOOT=1 for the arm32 port.
|
| #
1.28 |
|
10-Oct-1997 |
christos |
CFLAGS->CPPFLAGS
|
| #
1.27 |
|
25-Sep-1997 |
lukem |
switch to using opendisk(3) from libutil
|
| #
1.26 |
|
15-Sep-1997 |
lukem |
define WARNS?=1 for all of sbin/*
|
| #
1.25 |
|
30-Jun-1997 |
christos |
Fix warnings.
|
| #
1.24 |
|
07-Jun-1997 |
perry |
i386 now uses "installboot" for installing boot blocks. Comment out the CFLAGS+= -DNUMBOOT=2 for now.
|
| #
1.23 |
|
18-Mar-1997 |
christos |
Remove -g
|
| #
1.22 |
|
18-Mar-1997 |
christos |
Off by one.
|
| #
1.21 |
|
14-Mar-1997 |
perry |
Nuke obsolete special case .if for amigas.
|
| #
1.20 |
|
09-Mar-1997 |
christos |
Jason says: Use getmaxpartitions(3) to determine the number of partitions allowed in this architecture.
|
| #
1.19 |
|
08-Mar-1997 |
christos |
Add -i (interactive mode to create/edit labels) inspired by the SunOS/Solaris format/partition command.
|
|
Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
|
| #
1.18 |
|
17-Oct-1995 |
cgd |
don't define NUMBOOT on the alpha, any more. boot block installation is now done by /usr/mdec/installboot.
|
|
Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
|
| #
1.17 |
|
23-Apr-1995 |
ragge |
Changed to use only one bootblock file on VAX.
|
| #
1.16 |
|
18-Apr-1995 |
ragge |
Added vax for 2-file boot blocks.
|
| #
1.15 |
|
18-Mar-1995 |
cgd |
convert to new RCS Id conventions; reduce my headache
|
| #
1.14 |
|
11-Feb-1995 |
cgd |
NUMBOOT == 2 on the alpha, too.
|
| #
1.13 |
|
22-Dec-1994 |
cgd |
kill unnecessary .include.
|
| #
1.12 |
|
22-Dec-1994 |
cgd |
specify man pages the new way.
|
| #
1.11 |
|
20-Dec-1994 |
cgd |
pull in bsd.own.mk by hand, early, so NOMAN= can be defined there.
|
| #
1.10 |
|
22-Sep-1994 |
mycroft |
Finish 4.4-Lite merge, and convert to use err(3)/warn(3) functions.
|
|
Revision tags: netbsd-1-0-PATCH06 netbsd-1-0-PATCH05 netbsd-1-0-PATCH04 netbsd-1-0-PATCH03 netbsd-1-0-PATCH02 netbsd-1-0-PATCH1 netbsd-1-0-PATCH0 netbsd-1-0-RELEASE netbsd-1-0-base
|
| #
1.9 |
|
24-Jun-1994 |
hpeyerl |
disklabel(8) from 4.4 merged with our old disklabel(8) by John Brezak (brezak@apollo.hp.com). hp300's can now disklabel by themselves.
|
| #
1.8 |
|
12-Feb-1994 |
chopps |
added -D${MACHINE} for amiga's becuase of differing sizeof (struct disklabel)
|
| #
1.7 |
|
01-Aug-1993 |
mycroft |
Add RCS identifiers.
|
|
Revision tags: netbsd-0-9-RELEASE netbsd-0-9-BETA netbsd-0-9-ALPHA2 netbsd-0-9-ALPHA netbsd-0-9-base
|
| #
1.6 |
|
18-Jul-1993 |
mycroft |
Use ${COPY}, not -c for install.
|
| #
1.5 |
|
25-Apr-1993 |
mycroft |
Don't build man page if NOMAN set.
|
|
Revision tags: netbsd-0-8 netbsd-alpha-1
|
| #
1.4 |
|
10-Apr-1993 |
cgd |
make user the cat5 dir exists before trying to install man page there.
|
| #
1.3 |
|
23-Mar-1993 |
cgd |
changed "Id" to "Header" for rcsids
|
| #
1.2 |
|
22-Mar-1993 |
cgd |
added rcs ids to all files
|
| #
1.1 |
|
21-Mar-1993 |
cgd |
branches: 1.1.1; Initial revision
|