diff --git a/AGENTS.md b/AGENTS.md index b49bf035ae..0cae91f2e9 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -35,25 +35,20 @@ quiet change in the tree. ## What belongs where -- `src/` and `xsrc/` are the NetBSD import at the pinned commit. Every - change to them is recorded in this repository, in one of two forms, and - never made by hand in the import: - - a **patch** under `patches/src/` or `patches/xsrc/`, applied in filename - order, for a small edit to a file NetBSD owns; - - an **overlay unit** under `overlay/`, a full tracked copy of a directory - we really rework (today `usr.sbin/sysinst`), put into `src/` by - `tools/overlay.sh sync` before every build. Work in `overlay/`, not in - `src/` (`overlay/AGENTS.md`). - Not both for the same directory. Both are applied in place, because - `build.sh` builds from `src/`; so `git -C src status` shows the files our - patches and overlay units touch, plus the untracked `AGENTS.md` files - (below) -- anything beyond that is an edit nobody recorded. A patch that no - longer applies is a finding, never something to force. Upgrading the - import is a rebase of the patches and of the overlay (`overlay/AGENTS.md`), - not a merge of local edits. `tools/apply-patches.sh` is not called by the - `Makefile` and cannot yet tell "already applied" from "conflicts" for - patches that stack on one file (0001 and 0002): known defect, see - `tools/AGENTS.md`. +- `src/` is **Makronix's NetBSD tree**, tracked in this repository. It began + as the upstream commit recorded in `src/BASE` (`e523df740`) and is edited + here directly: there are no patches for `src/` and no overlay any more. + `refs/netbsd/src` is upstream NetBSD trunk, shallow and read-only -- look + there, never build from it. X comes from pkgsrc (`X11_TYPE=modular`); the + tree has no `xsrc/`. +- NetBSD conventions still bind `src/`: read the upstream documentation and + the `AGENTS.md` of the directory, look for the pattern that already exists + (`git grep`), use the building block, and let the comment name the pattern. + A change that breaks a NetBSD convention is a finding for the report, never a + quiet change. +- `mobile/` is the Linux tree for the phones: sources live in + `refs/linux/7.0.0` (submodule), the changes as `mobile/kernel/patches/`. + Same model: the imported tree is read-only, our work is in patches. - `ext/` holds third-party sources that Makronix ships: `ext/src//` is the unpacked upstream tree, `ext/src//pkgsrc/` its recipe, and an `IMPORT` record names pkgsrc path, version, archive, hash and licence. An update @@ -79,8 +74,8 @@ of the root `Makefile` and nothing else: make compress pack the raw install images in the release directory for a download (tools/images.sh pack) make sourcesets the source sets in RELEASEDIR/source/sets: NetBSD's - (with their .git) and msrc (pkgsrc, patches, - tools, the Makronix distfiles, PINS; docs/OFFLINE-BUILD.md) + (with their .git) and msrc (pkgsrc, tools, the + Makronix tree, the distfiles, PINS; docs/OFFLINE-BUILD.md) make isosrc the DVD with those source sets on it make userland the pkgsrc userland of the makronix set: cross-built here and built natively in the build VM (tools/userland.sh, @@ -99,8 +94,8 @@ derived artefacts, `distribution` does not recreate `instkernel`, and `iso-image` stops with `netbsd-GENERIC.gz: stat: No such file or directory` (`build/logs/make-iso-2026-11-06.log:49`). `iso-image` only packages. Since 2026-11-06 `make iso` checks first (`tools/build-stamp.sh -c`) and stops with -a message, without removing anything, if the sources, patches or the overlay -changed since the last `make release`. +a message, without removing anything, if the sources changed since the last +`make release`. A boot message `WARNING: 1 module failed to load` for `cd9660` is not a defect: the INSTALL kernel has cd9660 built in, the loader's attempt to push @@ -127,14 +122,17 @@ reported as missing. Do not hand-roll the `checkflist` environment -- the make target carries the set options (`-L base,x`, the METALOG sanitising) that the lists are written against. -## The imports +## The imports and the references -- `src/` -- NetBSD, pinned at `e523df740`. -- `xsrc/` -- NetBSD X, pinned at `99aacae3`. -- `pkgsrc/` -- pkgsrc trunk, pinned at `3c1118e94`. +- `src/` -- Makronix's NetBSD tree, a fork of `e523df740` (`src/BASE`), + tracked in this repository. +- `pkgsrc/` -- pkgsrc trunk, pinned at `3c1118e94`; its own git repository. +- `refs/netbsd/src` -- upstream NetBSD trunk, shallow submodule, reference. +- `refs/openbsd/src`, `refs/linux/7.0.0` -- OpenBSD and Linux references + (Linux is the tree `mobile/` builds from). -Each is its own git repository and a shallow clone; the pin is what the tree is -built from, and moving a pin is a decision, not an accident. +`pkgsrc/` and the reference trees are their own repositories; moving a pin is +a decision. `src/` is ours: a change is a commit here, not a patch. ## Third-party packages (pkgsrc) @@ -202,12 +200,12 @@ of the set: it is pkgsrc's registration database for the build, and `checkflist` ignores it the same way it ignores `var/db/syspkg`. `makronix` is named in `src/distrib/sets/sets.subr` as one of the base sets, so -`build.sh`'s `-L base,x` and `make release` pick it up without a second flag. +`build.sh`'s `-L base` and `make release` pick it up without a second flag. Removing a package means removing its entries from the list; entries that existed keep the NetBSD convention and are marked `obsolete`. sysinst installs it. `SET_MAKRONIX` is an enum value in -`overlay/usr.sbin/sysinst/defs.h`, a row in `dist_list` in `util.c`, part of +`src/usr.sbin/sysinst/defs.h`, a row in `dist_list` in `util.c`, part of `SET_SYSTEM` -- so a full installation and an installation without X11 both take it, a minimal one (`SET_CORE`) does not -- and a message in every `msg.mi.*`; `msg_xlat.sh` fails the build on a missing translation. Those @@ -343,9 +341,11 @@ everywhere else: `cp `, `touch `, `chmod `, `sed -i` or `>` -- a redirection such as `2>&1` is enough, so a read-only `ls` can be refused. Do such reads without redirections, or in a script under `tools/`.) -- `git checkout`, `git clean`, `git reset` anywhere that touches `src/`, - `xsrc/` or `pkgsrc/`. The import's state is the build; undo a patch with - `patch -R` after a `--dry-run`, and record the change in `patches/`. +- `git reset --hard`, `git checkout -- .` or `git clean -fdx` in the + repository root: `src/` and `mobile/` are tracked, and those commands throw + away uncommitted work. `pkgsrc/` and the `refs/` submodules are their own + repositories; do not rewrite them. Undo a change with `git restore ` + (or `git diff` + `apply -R`), after looking at what it is. - deleting `src/distrib/sets/lists/**` to make `checkflist` pass. - unattended loops: cron jobs, timers, or "tick" scripts that start builds or tests or hand work to an agent. An earlier setup did this every fifteen @@ -360,8 +360,9 @@ everywhere else: guess and is treated as one. - Do not trust a status document, a commit message or an old log over a measurement you can repeat. Repeat it. -- `src/`, `xsrc/`, `pkgsrc/` are untracked on purpose (each is its own - repository). Changes to them go through `patches//NNNN-*.patch`. +- `src/` and `mobile/` are tracked in this repository and edited here. + `pkgsrc/` and `refs/` are their own repositories: change them only by + moving the submodule/pin, never by editing inside them. - Tools in `tools/` are POSIX `sh`: no Python, no bashisms. Check with `dash -n` and, where installed, `checkbashisms`. @@ -372,13 +373,14 @@ what the directory is for, what is in it, what may be changed and how, what must not be touched. When a directory gains a purpose, a rule or a hazard, its `AGENTS.md` changes in the same commit. -The three imports (`src/`, `xsrc/`, `pkgsrc/`) are upstream trees of about -49,000 directories. They carry an `AGENTS.md` at the root of each, and `src/` -one in each of its 21 top-level directories (decided 2026-11-06). These files -sit directly in the imports, untracked and outside `patches/`: they are not -upstream, and a new import does not contain them, so after an upgrade they must -be written again. Do not add `AGENTS.md` below that level: what a directory is -for is answered by the upstream documentation (`README`, the manual pages, +`src/` (about 49,000 directories), `pkgsrc/` and the reference trees carry an +`AGENTS.md` at the root, and `src/` one in each of its 21 top-level +directories (decided 2026-11-06). `src/` is tracked now, so those files are +tracked with it and an upstream base update is a merge, not a rewrite. +`pkgsrc/` and `refs/` are still separate repositories: their `AGENTS.md` files +are untracked there and must be written again when the pin moves. Do not add +`AGENTS.md` below the top-level directories: what a directory is for is +answered by the upstream documentation (`README`, the manual pages, `src/BUILDING`, hier(7)), and `pkgsrc` alone has tens of thousands of packages. ## Status of the measurements in this file diff --git a/GOAL.md b/GOAL.md index 8f846fa1cb..fe58146953 100644 --- a/GOAL.md +++ b/GOAL.md @@ -25,7 +25,11 @@ später ganz andere Dinge in die Quellen packen. (`git grep`), dann den vorhandenen Baustein benutzen, erst dann Code schreiben. Der Kommentar nennt das NetBSD-Muster, dem er folgt. - Plattformneutral denken. amd64 ist das erste Ziel, nicht das einzige. -- Änderungen an `src/` und `xsrc/` gibt es nur als Patch unter `patches/`. +- Änderungen an `src/` sind Commits in diesem Repo (der Baum ist unserer, seit + 2026-11-09); NetBSD-Konventionen gelten weiter. `refs/netbsd/src` ist + Upstream zum Nachlesen, kein Build-Input. +- Änderungen an `pkgsrc/` und `refs/` gibt es nur durch das Verschieben des + Pins, nie durch Editieren im Baum. - Werkzeuge unter `tools/` sind POSIX-`sh`. Kein Python, keine Bashismen. - Ein Patch, der eine NetBSD-Konvention bricht, ist ein Befund für den Bericht, keine stille Änderung. @@ -63,11 +67,12 @@ Zielplatte. Der Stand heute ist in `AGENTS.md` beschrieben. Makronix kann sich 100 % offline selbst bauen. Dafür trägt das Medium die Quellen mit: -- NetBSD-`src` und `xsrc` über die vorhandenen Source-Sets von NetBSD - (`makesrctars`: `src`, `gnusrc`, `syssrc`, `sharesrc`, `xsrc`). +- NetBSD-`src` über die vorhandenen Source-Sets von NetBSD + (`makesrctars`: `src`, `gnusrc`, `syssrc`, `sharesrc`). `xsrc` gibt es + nicht mehr: X kommt aus pkgsrc (`X11_TYPE=modular`). - Ein eigenes Set (Arbeitsname `msrc`) mit allem, was NetBSD nicht - abdeckt: `pkgsrc`, `patches`, `tools`, `Makefile`, `docs`, die Distfiles und - eine Datei mit den Pins der Importe. + abdeckt: `pkgsrc`, `tools`, `Makefile`, `docs`, die Distfiles und + eine Datei mit den Pins. - Die Distfiles sind nur die, die zu Makronix gehören (die `makronix`- Paketliste), nicht der ganze pkgsrc-Bestand. - Das Source-Set ist in sysinst wie alles andere standardmäßig ausgewählt. @@ -90,8 +95,8 @@ isosrc`) trägt alle Sets und braucht keinen Wechsel. Gemessen am 2026-11-07: - Eine zweite Installationsmethode neben sysinst. - Umwege über selbstgebaute Ramdisk-Bootpfade, wenn sysinst und der NetBSD-Standard das Problem lösen. Die Patches `0005` und `0006` - (cgdroot-Ramdisk) wurden am 2026-11-06 deshalb aus dem Baum genommen - (`patches/unused/`). + (cgdroot-Ramdisk) wurden am 2026-11-06 deshalb aus dem Baum genommen; mit + `patches/` sind am 2026-11-09 auch die Reste entfallen. ## Wann ein Teil fertig ist @@ -113,8 +118,9 @@ liegt. Die Regeln für Befehl, Beleg und Quelle stehen in Entschieden (Konrad, 2026-11-06): Medien, Standardauswahl des Source-Sets und Umfang der Distfiles wie oben. `AGENTS.md` in den Eigenverzeichnissen des -Repos, je eine im Root von `src`, `xsrc` und `pkgsrc` und je eine in den 21 -obersten Verzeichnissen von `src`, direkt im Baum und nicht als Patch. +Repos, je eine im Root von `src` und `pkgsrc` und je eine in den 21 +obersten Verzeichnissen von `src`; seit `src/` getrackt ist, sind sie Teil des +Baums, kein Beiwerk. Offen: @@ -122,11 +128,10 @@ Offen: NetBSD-Standard? Das wird im Quelltext von sysinst und im Bootloader nachgelesen, bevor Code entsteht. - Endgültiger Name des Source-Sets (`msrc` oder anders). -- Die `AGENTS.md`-Dateien in den Importen gehen bei einem neuen Import - verloren (sie liegen untracked direkt im Baum, nicht in `patches/`). Wer sie - danach neu anlegt, und woher der Text kommt, ist nicht festgelegt. -## Entschieden: X11 und Wayland (Konrad, 2026-11-07) +## Überholt: X11 und Wayland (Konrad, 2026-11-07) + +Überholt am 2026-11-09: `xsrc` ist gelöscht, X kommt aus pkgsrc (siehe unten). - Der Desktop (NetBSD) behält NetBSDs `xsrc`; `X11_TYPE=native`. Grund: die Binärpakete von pkgsrc (Firefox, Thunderbird, QEMU) hängen am X der Basis, @@ -159,20 +164,22 @@ das offen in `docs/PLATFORMS.md`, und der Beleg kommt von echter Hardware. Das System heißt Makronix 0.99.9, "based on NetBSD". `uname -s` bleibt NetBSD (pkgsrc und `config.guess` entscheiden danach); Patch `0015`. -## Geplant: X aus pkgsrc statt `xsrc` (Konrad, 2026-11-08) +## Entschieden: X aus pkgsrc statt `xsrc` (Konrad, 2026-11-09) -Konrad will `xsrc` streichen und X aus pkgsrc nehmen (`X11_TYPE=modular`). Das -ersetzt die Entscheidung vom 2026-11-07 oben, deren Grund war, dass die -Binärpakete am X der Basis hängen: mit pkgsrc-X werden sie alle gegen das -pkgsrc-X gebaut. Vorher ein Machbarkeitsbau (`modular-xorg` und CDE in der -Build-VM, Sitzung startet); `xsrc` wird erst danach gelöscht. +`xsrc/` ist gelöscht, `X11_TYPE=modular`. Xorg, die X-Bibliotheken und die +X-Clients kommen aus pkgsrc unter `/usr/pkg`; die Basis hat kein X mehr. +Der Machbarkeitsbau (Xorg + CDE in der Build-VM, Sitzung startet) steht noch +aus — bis dahin ist das eine Entscheidung mit offenem Beleg, kein gemessener +Zustand. Die Binärpakete müssen gegen das pkgsrc-X neu gebaut werden. -## Geplant: NetBSD-Baum im Root-Repo (Konrad, 2026-11-08) +## Entschieden: NetBSD-Baum im Root-Repo (Konrad, 2026-11-09) -`src/` wird direkt ins Root-Repo übernommen (ein Import-Commit, Upstream auf -einem Branch `vendor/netbsd`, Merge mit `-X subtree=src`), weil `mobile/` auch -im Repo liegt und der Baum stark verändert wird (DRM, WLAN-Treiber). -`overlay/` und `patches/src` gehen dann als Commits in `src/` auf. +`src/` ist ins Root-Repo übernommen: getrackt, ohne eigenes `.git`, Basis in +`src/BASE` (`e523df740`). `overlay/` und `patches/src` sind aufgelöst, ihre +Änderungen stehen in `src/`. Upstream bleibt als `refs/netbsd/src` (trunk, +shallow) zum Nachlesen. Ein `vendor/netbsd`-Branch für spätere Merges ist +noch nicht angelegt; bis dahin ist Upstream ein Vergleichsbaum, kein +Merge-Ziel. ## Entschieden: `make release` baut alles (Konrad, 2026-11-08) @@ -194,7 +201,7 @@ unterstützt in der Liste, wenn ihr Test grün ist (`docs/PLATFORMS.md`). - Erster Schritt (gemacht): `tools/theme-logo.sh PALETTE.dp NAME OUTDIR` leitet das Logo aus einer Palette ab (`docs/logo/camouflage/`). Offen: das Icon-Set (die CDE-Icons in den Palettenfarben), das Installer-Theme (statt der festen - Standardpalette in `overlay/usr.sbin/sysinst/util.c` `do_coloring()`), der + Standardpalette in `src/usr.sbin/sysinst/util.c` `do_coloring()`), der Release-Name in Banner, motd und `uname -v`. ## Geplant: Upgrade mit einem Klick (Konrad, 2026-11-09) diff --git a/Makefile b/Makefile index d3bffe33c8..95e1376eeb 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,6 @@ TOP := $(CURDIR) SRC := $(TOP)/src -XSRC := $(TOP)/xsrc OBJ := $(TOP)/build/obj JOBS ?= $(shell nproc 2>/dev/null || sysctl -n hw.ncpu 2>/dev/null || echo 2) @@ -29,25 +28,19 @@ endif BUILD_SH := cd $(SRC) && ./build.sh \ -U -u -j $(JOBS) -m $(MACHINE) \ - -M $(OBJ) -O $(OBJ) -x -X $(XSRC) + -M $(OBJ) -O $(OBJ) -.PHONY: all build release install tools kernel clean-sanity stamp overlay \ test compress +.PHONY: all build release install tools kernel clean-sanity stamp test compress sourcesets isosrc cdtest userland usb mcde-linux # Where tools/msrc-stage.sh assembles the msrc set. SRCSTAGE := $(TOP)/build/msrc -# The directories Makronix owns as full copies (overlay/) go into src/ before -# anything is keyed or built. Stops, without overwriting, when src/ holds an -# edit that is not in the overlay. See tools/overlay.sh. -overlay: - @tools/overlay.sh sync - # Before every build: drop the derived artefacts whose content depends on the -# import commit, on our patches or on the overlay. Without this, an -# incremental run keeps an old INSTALL ramdisk and the test measures the -# previous code (measured 2026-11-03). See tools/build-stamp.sh. -stamp: overlay +# sources. Without this, an incremental run keeps an old INSTALL ramdisk and +# the test measures the previous code (measured 2026-11-03). See +# tools/build-stamp.sh. +stamp: @tools/build-stamp.sh # The default: everything the system consists of, no medium. @@ -67,7 +60,7 @@ release: stamp # images directory"). One build.sh operation, not a chain. # It only packages what `make release' built, so it checks that nothing has # changed since (tools/build-stamp.sh -c) instead of discarding the release. -iso: overlay +iso: @tools/build-stamp.sh -c tools/cd3.sh stage $(BUILD_SH) iso-image @@ -76,7 +69,7 @@ iso: overlay # the bootable installation image for a USB stick (GPT, MBR and EFI), built from # what `make release' made: images/Makronix-*-amd64-install.img.gz -usb: overlay +usb: @tools/build-stamp.sh -c $(BUILD_SH) install-image @tools/images.sh unpack @@ -92,12 +85,12 @@ test: @tools/test.sh # The source sets, RELEASEDIR/source/sets: NetBSD's own (src, gnusrc, syssrc, -# sharesrc, xsrc: `build.sh sourcesets', src/BUILDING) and msrc, which -# carries the rest a system needs to rebuild itself offline -- pkgsrc, patches, -# tools, the Makefile, docs, the archives of the Makronix packages only, and -# the pins of the imports (tools/msrc-stage.sh, patch 0010 for -# makesrctars -m). Needs the distfiles (tools/makronix-distfiles.sh fetch). -sourcesets: overlay +# sharesrc: `build.sh sourcesets', src/BUILDING) and msrc, which carries the +# rest a system needs to rebuild itself offline -- pkgsrc, tools, the Makefile, +# docs, the archives of the Makronix packages only, and the pins (tools/ +# msrc-stage.sh, patch 0010 for makesrctars -m). Needs the distfiles +# (tools/makronix-distfiles.sh fetch). +sourcesets: tools/makronix-pins.sh check tools/makronix-distfiles.sh check tools/msrc-stage.sh $(SRCSTAGE) @@ -108,7 +101,7 @@ sourcesets: overlay # and upstream skips the CD when CDSOURCE is defined (distrib/amd64/cdroms/ # Makefile), so this writes the DVD only, over the one `make iso' made. # Run `make release ARCH=...' and `make sourcesets' first. -isosrc: overlay +isosrc: @tools/build-stamp.sh -c tools/cd3.sh stage $(BUILD_SH) -V CDSOURCE=true iso-image diff --git a/PINS b/PINS index b4053025f4..6e8c57d63c 100644 --- a/PINS +++ b/PINS @@ -1,5 +1,6 @@ -# The commits of the imports this tree belongs to (tools/makronix-pins.sh). +# The commits this tree belongs to (tools/makronix-pins.sh). +# src/ is a tracked fork, not a repository: this is the upstream NetBSD commit +# it was taken from (also src/BASE). refs/netbsd/src is upstream trunk, for +# watching, not a build input. src e523df740a5bedc3e9fab13d5758f22a29f2d3c2 -xsrc 99aacae3060c7409b82101d7e873fc500e602b8b pkgsrc 3c1118e9443240d45c83193ab89f92e0eb20b2ff -overlay-base e523df740a5bedc3e9fab13d5758f22a29f2d3c2 diff --git a/docs/BUILD-CONTRACT.md b/docs/BUILD-CONTRACT.md index 937d766713..f5a41bc7e0 100644 --- a/docs/BUILD-CONTRACT.md +++ b/docs/BUILD-CONTRACT.md @@ -33,9 +33,11 @@ ist verboten: `nb-install-image` mit selbstgewaehlten Argumenten - keine Handarbeit an `build/obj/releasedir/**` — nicht loeschen, nicht verschieben, nicht ersetzen. Ist ein Artefakt falsch, ist der Build falsch. -- kein `git checkout` / `git clean` / `git reset` in `src/`, um einen - fehlgeschlagenen Lauf zu "bereinigen". Aenderungen gehoeren als Patch nach - `patches/src/`. +- kein `git reset --hard` / `git checkout -- .` / `git clean -fdx` im + Repo-Root, um einen fehlgeschlagenen Lauf zu "bereinigen". `src/` und + `mobile/` sind getrackt; unfertige Arbeit wird nicht weggeworfen, sondern + als Commit festgehalten oder mit `git restore ` einzeln + zurueckgenommen. - kein Loeschen von `src/distrib/sets/lists/makronix`, damit `checkflist` durchgeht. diff --git a/docs/BUILD-VM.md b/docs/BUILD-VM.md index 87a0e4f0c0..5ef13dc519 100644 --- a/docs/BUILD-VM.md +++ b/docs/BUILD-VM.md @@ -124,8 +124,8 @@ tooldir and object files on the local disk, sources from the share): "at least 4 times slower", not as a measured factor. What follows for the work: **edit through the share, build from a local copy.** -`overlay/`, `patches/`, `tools/` and `docs/` are small and read warm; `src/`, -`xsrc/` and `pkgsrc/` are built from the VM's own disk (`/usr/src`, `/usr/msrc`). +`tools/` and `docs/` are small and read warm; `src/` and `pkgsrc/` are built +from the VM's own disk (`/usr/src`, `/usr/msrc`). ### How it is set up diff --git a/docs/NEXT.md b/docs/NEXT.md index 7cdc442441..93aabbe862 100644 --- a/docs/NEXT.md +++ b/docs/NEXT.md @@ -1,5 +1,10 @@ # NEXT -- Arbeitsplan zur Übergabe (Stand 2026-11-09, Konrad: "ein anderes Modell soll weitermachen") +> **Überholt am 2026-11-09:** `src/` ist jetzt getrackt, `xsrc/` ist gelöscht, +> und X kommt aus pkgsrc (`X11_TYPE=modular`). Die Abschnitte über +> `patches/src`, `overlay/` und `/usr/xsrc` beschreiben den Stand davor; die +> Karten darin sind Geschichte, nicht Auftrag. + Dies ist ein **datiertes Arbeitsblatt**, kein Statusdokument (`docs/AGENTS.md`): wer einen Punkt erledigt, streicht ihn; ist die Datei leer, wird sie gelöscht. Zuerst lesen: `GOAL.md`, `AGENTS.md`, `docs/BUILD-CONTRACT.md`, `docs/PLATFORMS.md`. Konrad spricht diff --git a/docs/OFFLINE-BUILD.md b/docs/OFFLINE-BUILD.md index 7e49152d2e..c4fe2f70c0 100644 --- a/docs/OFFLINE-BUILD.md +++ b/docs/OFFLINE-BUILD.md @@ -8,16 +8,14 @@ What the source sets are, where they land, and what is and is not proven. | set | unpacks to | what | |---|---|---| -| `src`, `gnusrc`, `syssrc`, `sharesrc` | `/usr/src` | NetBSD, at the pin in `PINS`, with our patches and the overlay already applied, with its `.git` (in `src`) | -| `xsrc` | `/usr/xsrc` | NetBSD X, with its `.git` | -| `msrc` | `/usr/msrc` | the Makronix tree: `Makefile`, `GOAL.md`, `AGENTS.md`, `docs/`, `tools/`, `patches/`, `overlay/`, `packages.list`, `PINS`, `distfiles.lst`, its own `.git`, `pkgsrc/` (pinned checkout with `.git`), `distfiles/` (only the archives of Makronix packages), and the links `src -> /usr/src`, `xsrc -> /usr/xsrc` | +| `src`, `gnusrc`, `syssrc`, `sharesrc` | `/usr/src` | Makronix's NetBSD tree (base `src/BASE`), as it is in the repository; no `.git` | +| `msrc` | `/usr/msrc` | the Makronix tree: `Makefile`, `GOAL.md`, `AGENTS.md`, `docs/`, `tools/`, `packages.list`, `PINS`, `distfiles.lst`, `pkgsrc/` (pinned checkout with `.git`), `distfiles/` (only the archives of Makronix packages), and the link `src -> /usr/src` | -The first five come from NetBSD's `makesrctars`; `msrc` from the same -command (`-m`, patch 0010), assembled by `tools/msrc-stage.sh`. The -trees carry their git repositories (`makesrctars -g`), so on the installed -system `git -C /usr/msrc/src status` shows the same as in development, -and `tools/overlay.sh`, `tools/build-stamp.sh` and `tools/makronix-pins.sh` -need nothing special. `tools/makronix-pins.sh check` compares `PINS` with +The first four come from NetBSD's `makesrctars`; `msrc` from the same +command (`-m`, patch 0010), assembled by `tools/msrc-stage.sh`. `src/` is +tracked in the development repository, so the source sets carry the files a +rebuild needs, not the history; `pkgsrc/` still carries its own `.git`. +`tools/makronix-pins.sh check` compares `PINS` with the repositories. The sets are `.tgz` (`makesrctars`), about 2.3 GB together with the git @@ -59,8 +57,8 @@ log) ### Measured 2026-11-07 -- The DVD made by `make isosrc` installs `/usr/src`, `/usr/xsrc` and - `/usr/msrc` (with `PINS`, `pkgsrc`, and all 71 distfiles of `distfiles.lst`); +- The DVD made by `make isosrc` installs `/usr/src` and `/usr/msrc` (with + `PINS`, `pkgsrc`, and all 71 distfiles of `distfiles.lst`); `PINS` names the overlay base of the tree it was made from: `build/logs/install-src-cd13-2026-11-07.log` (all checks PASS). - Not proven yet: that a system installed this way rebuilds itself with no diff --git a/docs/UPDATING.md b/docs/UPDATING.md index f865a1ef75..d0b19b0de2 100644 --- a/docs/UPDATING.md +++ b/docs/UPDATING.md @@ -8,7 +8,7 @@ measured. Nothing here has been run on an installed system over time. - **Where they come from.** The installer writes `/etc/pkg_install.conf` with `PKG_PATH` (the NetBSD project's binary repository for the release the packages of the media come from, `PKG_REPOSITORY` in - `overlay/usr.sbin/sysinst/setup.c`) and `CHECK_OS_VERSION=no` (the packages + `src/usr.sbin/sysinst/setup.c`) and `CHECK_OS_VERSION=no` (the packages are built for NetBSD 11.0, Makronix is 11.99.9: `pkg_add` would warn about every one). So `pkg_add firefox` and `pkg_add -u` work as on any NetBSD. - **Security.** The installer sets `fetch_pkg_vulnerabilities=YES` in diff --git a/mobile/AGENTS.md b/mobile/AGENTS.md index 27a5260167..a12a07267e 100644 --- a/mobile/AGENTS.md +++ b/mobile/AGENTS.md @@ -54,6 +54,7 @@ here. docs/ PORTING.md (new phone), BOOT.md (boot chain) base/ pkgsrc/ patches/ later phases; empty now build/ output, ignored + ../refs/linux/ the shared Linux source (submodule, read-only) ## Rules @@ -72,10 +73,19 @@ here. ## Where the kernel lives (today) -`kernel/PIN` names the upstream commit, `kernel/patches/` the series on top; -`make linux` makes `build/linux-` from them (`KERNEL_TREE`), and -`make kernel` builds the Image, the modules and the device's DTB -(`KERNEL_DTB` in `device.conf`) there. The tree is build output: change it +The kernel source is **outside `mobile/`**, one shared Linux tree for the +whole repository: `../refs/linux/7.0.0` (a shallow submodule at the commit in +`kernel/PIN`). `mobile/` holds only the changes: `kernel/patches/` is the +series on top, applied in filename order. + +`make linux` clones the shared tree locally (hardlinks, no network) into +`build/linux-` (`KERNEL_TREE`), checks it out at the pin and applies +the patches; `make kernel` builds the Image, the modules and the device's DTB +(`KERNEL_DTB` in `device.conf`) there. The build tree is output: change it with commits, then export them into `kernel/patches/` (`git format-patch --start-number N`). Since 2026-11-08 the DTS of hotdogb is in the series too (0007); there is no binary DTB any more. + +The shared tree is never edited. A pin moves by updating the submodule and +`kernel/PIN` together, with the measurement that justifies it; a drift +between them is an error (`tools/fetch-kernel.sh`). diff --git a/mobile/kernel/PIN b/mobile/kernel/PIN index 4c4990eb64..efd73e6a8f 100644 --- a/mobile/kernel/PIN +++ b/mobile/kernel/PIN @@ -1,7 +1,13 @@ -# The Linux tree the phones' kernels are built from: an upstream commit plus -# the patches in patches/, applied in filename order (tools/fetch-kernel.sh). -# Read by sh (`. kernel/PIN`). A phone may name a different tree in its -# device.conf (KERNEL_URL, KERNEL_COMMIT, KERNEL_PATCHDIR). +# The Linux tree the phones' kernels are built from: the shared tree +# ../refs/linux/7.0.0 (a submodule, shallow) at KERNEL_COMMIT, plus the +# patches in KERNEL_PATCHDIR, applied in filename order +# (tools/fetch-kernel.sh). Read by sh (`. kernel/PIN`). +# +# KERNEL_URL/KERNEL_COMMIT are provenance and drift check: the shared tree +# must be at KERNEL_COMMIT. A phone may name a different tree in its +# device.conf (KERNEL_REF, KERNEL_URL, KERNEL_COMMIT, KERNEL_PATCHDIR); without +# KERNEL_REF the build falls back to cloning KERNEL_URL. +KERNEL_REF=refs/linux/7.0.0 KERNEL_URL=https://gitlab.nura.eco/soc/qualcomm-sm8150/linux.git KERNEL_COMMIT=8e126dbc4044ef2cec3ebe5754ddb05faa554af6 KERNEL_PATCHDIR=kernel/patches diff --git a/mobile/tools/fetch-kernel.sh b/mobile/tools/fetch-kernel.sh index d7601e21cf..9a0c19d1e2 100644 --- a/mobile/tools/fetch-kernel.sh +++ b/mobile/tools/fetch-kernel.sh @@ -2,13 +2,16 @@ # # Create the kernel tree for a device: the pinned upstream commit with our # patches applied on top. The tree is build output (build/linux-), -# never source; the source is the pin and the patches. +# never source; the source is the shared tree at the repository root +# (../refs/linux/, KERNEL_REF in kernel/PIN) plus the patches. # # Usage: fetch-kernel.sh DEVICEDIR DESTDIR # -# KERNEL_URL in the environment overrides the pin's URL: point it at a local -# clone to work offline (KERNEL_URL=$HOME/src/nura/sm8150-linux). The commit -# must be in that clone. An existing DESTDIR is left alone. +# The shared tree is cloned locally (hardlinks, no network) and must be at +# KERNEL_COMMIT; a drift is an error, not a silent fetch of something else. +# A device that names KERNEL_COMMIT but no KERNEL_REF falls back to KERNEL_URL +# (the old behaviour, for a device built from its own tree). +# An existing DESTDIR is left alone. set -eu . "$(dirname "$0")/lib.sh" @@ -18,7 +21,7 @@ load_device "$1" dest=$2 # the device's own pin, else the shared one -: "${KERNEL_URL:=}" "${KERNEL_COMMIT:=}" "${KERNEL_PATCHDIR:=}" +: "${KERNEL_URL:=}" "${KERNEL_COMMIT:=}" "${KERNEL_PATCHDIR:=}" "${KERNEL_REF:=}" env_url=$KERNEL_URL if [ -z "$KERNEL_COMMIT" ]; then . "$ROOT/kernel/PIN" @@ -31,7 +34,20 @@ if [ -e "$dest/.git" ]; then exit 0 fi -git clone -q --no-checkout "$KERNEL_URL" "$dest" +if [ -n "$KERNEL_REF" ]; then + case $KERNEL_REF in + /*) ref=$KERNEL_REF ;; + *) ref=$ROOT/../$KERNEL_REF ;; + esac + [ -e "$ref/.git" ] || die "$KERNEL_REF missing; run: git submodule update --init --depth 1 $KERNEL_REF" + have=$(git -C "$ref" rev-parse HEAD) || die "cannot read $KERNEL_REF" + [ "$have" = "$KERNEL_COMMIT" ] || + die "$KERNEL_REF is at $have, kernel/PIN says $KERNEL_COMMIT" + # local clone: hardlinks, no network, stays shallow + git clone -q --no-checkout "$ref" "$dest" || die "cannot clone $KERNEL_REF" +else + git clone -q --no-checkout "$KERNEL_URL" "$dest" +fi git -C "$dest" checkout -q "$KERNEL_COMMIT" for p in "$patchdir"/*.patch; do [ -e "$p" ] || break diff --git a/overlay/AGENTS.md b/overlay/AGENTS.md deleted file mode 100644 index e16d5ab849..0000000000 --- a/overlay/AGENTS.md +++ /dev/null @@ -1,48 +0,0 @@ -# overlay/ -- the directories Makronix owns - -A directory that Makronix changes a lot is kept here as a full, tracked copy of -the NetBSD directory, under the same path it has in `src/`. Before every -build `tools/overlay.sh sync` puts it into `src/`, so the build gets the -overlay and `src/` is build input, not the place to work. This is the vendor -branch pattern: the import is the vendor version, this is the local version. - -## Layout - -- `UNITS` -- the directories that are overlays, one per line, relative to - `src/`. Today: `usr.sbin/sysinst`. -- `BASE` -- the `src/` commit the copies were taken from. -- `/` -- the copy, for example `usr.sbin/sysinst/`. - -## Rules - -- Work **here**. Never edit a unit inside `src/`: the next sync would - overwrite it, and `overlay.sh sync` refuses to (it stops and lists the - difference) so that nothing is lost silently. -- `tools/overlay.sh diff` shows what we changed against the import at `BASE`; - `check` says whether `src/` matches; `list` shows the units. -- A unit's directory contains everything that belongs to it, including its own - `AGENTS.md`. It is copied into `src/` with the rest. -- Adding a unit: unpack the directory from `src/` at `BASE` (it must be the - pristine import: `git -C src archive`), add the path to `UNITS`, delete every - patch in `patches/src/` that touched the directory (its content moves into - the copy), run `tools/overlay.sh check`, then build. Do this in one commit. -- Which tool to choose: a small edit to a file NetBSD owns stays a patch - (`patches/AGENTS.md`); a directory we really rework becomes a unit. Do not - keep both for the same directory. -- Style and conventions are NetBSD's (`src/share/misc/style`), exactly as for - patches. The comment says which NetBSD pattern a change follows. - -## Upgrading the import - -When `src/` moves to a new commit, `sync` stops ("the import moved") until the -overlay is rebased. The recipe is a three-way merge per file: base = the file -at `BASE`, theirs = the file at the new commit, ours = the file here -(`git merge-file`), then `BASE` is set to the new commit. **No script does -this yet**, and it has not been tried: it needs the old `BASE` commit from -the shallow clone, and whether the remote hands it out is untested. - -## Not done - -- `sync` is a no-op for a unit that already matches, so a build keeps its - incremental state; but the first build after a change recompiles what the - changed files feed (for sysinst, the install ramdisk and the media). diff --git a/overlay/BASE b/overlay/BASE deleted file mode 100644 index 56b1a9a198..0000000000 --- a/overlay/BASE +++ /dev/null @@ -1 +0,0 @@ -e523df740a5bedc3e9fab13d5758f22a29f2d3c2 diff --git a/overlay/UNITS b/overlay/UNITS deleted file mode 100644 index 447130357e..0000000000 --- a/overlay/UNITS +++ /dev/null @@ -1,3 +0,0 @@ -# Directories Makronix owns: full copies under overlay/, relative to src/. -# One per line. tools/overlay.sh puts them into src/ before every build. -usr.sbin/sysinst diff --git a/overlay/usr.sbin/sysinst/AGENTS.md b/overlay/usr.sbin/sysinst/AGENTS.md deleted file mode 100644 index d374990f82..0000000000 --- a/overlay/usr.sbin/sysinst/AGENTS.md +++ /dev/null @@ -1,267 +0,0 @@ -# usr.sbin/sysinst/ -- the installer (Makronix fork) - -NetBSD's `sysinst(8)`, kept as an overlay unit (`overlay/AGENTS.md`). Edit it -in `overlay/usr.sbin/sysinst/`; the copy in `src/` is overwritten by the sync. -Based on the import at `overlay/BASE`; `tools/overlay.sh diff` shows our -changes. - -## Goal of the fork (`GOAL.md`) - -1. CDE default palette for the colours. -2. Simple installation: choose the target disk, the rest is automatic; manual - partitioning stays available. -3. Optional encryption of the target disk (cgd), bootable. - -What the code already does about each, with file and line: -`docs/reference/sysinst-survey.txt` (read it before designing a change). - -## The simple installation mode (done, measured 2026-11-06) - -`do_install()` (`install.c`) first asks "Select the installation mode": -Simple, Advanced, Abandon. `simple_install` (`defs.h`, set in `install.c`, -reset by the `do_install` wrapper so that an upgrade in the same session does -not inherit it) is checked at these places; each skips a question that only -exists to shape the layout or the sets, and keeps the default the question -would have offered: - -- `part_edit.c`: `select_part_scheme` takes GPT where it can be booted; - `edit_outer_parts` uses the whole disk. -- `bsddisklabel.c`: `make_bsd_partitions` takes the default layout - (`LY_USEDEFAULT`) instead of `ask_layout`. -- `label.c`: `edit_and_check_label` does not show the partition editor; if - `verify_parts` rejects the layout, it is shown after all. -- `arch/i386/md.c` (used by amd64): `md_get_info` drops the partitioning that - is on the disk; `get_bios_info` does not ask when exactly one BIOS disk - matches; `md_post_newfs_bios` keeps the console the installer runs on for - the boot blocks. -- `util.c`: `get_and_unpack_sets` tries `get_via_cdrom()` before it shows the - "Install from" menu. -- `install.c`: all sets (`init_set_status(0)`), no set menu. - -Kept on purpose (they protect data or secrets): "Shall we continue?", the disk, -the last chance, the warning when other partitions would be overwritten, the -root password, the entropy menu when the kernel asks for it, the config menu, -the notice that an optional set is not on the medium. - -Test: `tools/install-simple.sh` (about 25 keys with the last step, then `login:`, the `makronix` set, -CDE and the GPT are checked). Known limits: the simple mode without encryption was run on BIOS only; the -messages exist in five languages but only English was seen; on a disk with a -second system that system is erased without being offered as a choice. - -## Encrypted installation (done, measured 2026-11-06, BIOS and UEFI, amd64) - -In the simple mode sysinst asks "Encrypt the disk?" (`cgdroot.c`, built only -where the port defines `-DCGDROOT`, today `arch/amd64/Makefile`). Design and -sources: `docs/reference/cgdroot-design.txt`. Test: `tools/install-cgd.sh` -(passphrase typed at the install and at boot, then `login:`, `makronix` set, -CDE, root on `/dev/cgd0a`, and no root file name readable in the raw disk -image; logs `build/logs/install-cgd-{bios,uefi}-*-2026-11-06.log`; `-f uefi` -for UEFI). UEFI layout: ESP (loader, copy of boot.cfg), `cgd.conf` (FFS: -kernel, module, boot.cfg, cgd.conf, parameters; the EFI loader takes the first -FFS partition as its default device), `cgdroot`. Limits: simple mode only, wrong -passphrase and kernel update (copy to `/cgdboot`) not tested, only English -seen. `cgd` is in `is_bootable_device()`'s list (`disks.c`) so cgd0 is handled -like raid. - -## Colours (2026-11-06) - -The default pair is black on white (`main.c`). `do_coloring()` (`util.c`) -sets three pairs: 1 text on the window colour, 2 the selected menu line, 3 the -menu box. Where `can_change_color()` the colours are those of the CDE default -palette: window colour = slot 5 (proven on a running CDE, -`docs/reference/cde-colours.txt`), selection and box = slot 4 (a design choice, -not proven), selected text white; on a fixed 8-colour console: white on blue. -With no colours at all (vt220 over serial) nothing changes. Pairs 2 and 3 are -drawn by `menuc`, which needs `patches/src/0009-menuc-colour-pairs.patch`. - -## What is here - -- `main.c`, `util.c`, `run.c`, `install.c`, `upgrade.c`, `target.c`, - `configmenu.c`, `net.c` -- the flow, the target, configuration, utilities. -- `disks.c`, `part_edit.c`, `partitions.[ch]`, `gpt.c`, `mbr.c`, `label.c`, - `disklabel.c`, `bsddisklabel.c`, `geom.c` -- disks and partition schemes. -- `partman.c`, `menus.pm`, `msg.pm.*` -- the extended partition manager (RAID, - LVM, cgd, vnd). -- `menus.mi`, `menus.entropy`, `msg.*.{de,en,es,fr,pl}` -- menus and messages - in five languages. -- `arch//` -- machine-dependent code: `md.c`, `md.h`, `Makefile`, and - for some ports `msg.md.*`. `arch/amd64` has only `md.c`, `md.h` and - `Makefile`. `Makefile` builds `arch/${MACHINE}` (or `arch/dummy`). -- `sysinst.8` -- the manual page; `TODO`, `README.md_defs` -- notes. -- `Makefile`, `Makefile.inc` -- the build; sysinst is also built into the - install ramdisks of the ports (`distrib/*/ramdisks`, `list.sysinst`). - -## Rules for this directory - -- **Every port uses this code.** Machine-independent files must stay portable - and must not assume amd64 or UEFI; what only amd64 needs goes into - `arch/amd64/`. A change that cannot be portable is a finding for the - report. -- A new or changed message exists in **every** language of `LANGUAGES` - (`Makefile.inc`: `de en es fr pl pt`), in each `msg.*.` file. - `msg_xlat.sh` reports a missing translation as an error (`-i` would ignore - it; do not). Change the manual page `sysinst.8` with the behaviour. -- `menu_defs.c` and `msg_defs.c` are generated from `menus.*` and `msg.*` - (`Makefile.inc`, `SRCS`); edit the sources, never generated files. -- NetBSD style: `src/share/misc/style`. Reuse the existing helpers - (`run_program`, `add_rc_conf`, the partitioning-scheme interface in - `partitions.h`) instead of new mechanisms. -- Test through a built medium, one change at a time, with the log kept in - `build/logs/`. A change is done when an installation from the medium - reaches `login:` (`GOAL.md`). - -## Two CDs, the welcome screen and the last step (measured 2026-11-07) - -- **Welcome** (`main.c`, `MENU_welcome`): after the language menu, "Welcome to - Makronix ", a short description, OK. -- **Two CDs** (`util.c`, `extract_file_to`): the first CD boots the GENERIC - kernel and loads `miniroot.kmod`, so the installer runs from RAM - (`root_is_ramdisk()`). When a set is not on the CD in the drive, the CD is - unmounted, `MENU_nextcd` asks for the next one (continue / skip this set), - and `cd_has_sets()` is retried silently for 16 s because the drive needs - time after a medium change. In `dist_list` the `makronix` set is the last - entry on purpose: the sets are extracted in list order, so there is one - change of CD, not one per set after it. The DVD needs none of this. -- **The last step of the simple mode** (`setup.c`, `makronix_setup()`, called - from `install.c` instead of `do_configmenu()`): hostname, network through the - configuration-menu form while the target is mounted (`configmenu.c`, - `makronix_config_network()` -> `set_network()`; if the network is not up, - `dhcpcd=YES`), time zone (`set_timezone()`), root password - (`root_pw_setup()`), a user through the configuration-menu form - (`makronix_config_user()` -> `add_new_user()`), then the created non-system - users (uid 1000..59999) are added to the groups wheel, operator, staff, users, - dialer, games, wsrc with `usermod(8)` in the chroot. `ntpdate`/`ntpd`, - `sshd`, mDNS, npf, pkg defaults and `dtlogin` in place of `xdm` (rc.d script - and PAM file copied from the pkgsrc examples) follow. `target.c`'s - `dup_file_into_target()` copies `/etc/wpa_supplicant.conf` and - `/etc/resolv.conf` only when the source exists. Passwords go to the chroot in - an environment variable, never on a command line. The advanced mode keeps the - configuration menu. -- Tests (all on the serial console, `build/logs/*-cd13-2026-11-07.log`, - `install-cgd-uefi-cd2-2026-11-07.log`): `tools/install-simple.sh` (CD 1, CD - 2), `install-cgd.sh -f bios|uefi`, `install-simple.sh -S` (DVD with sources). - Checked after the boot: login as root with the typed password, `id` of the - user, host name, `rc.conf`, `/etc/localtime`, `dtlogin` running. - Not measured: that the CDE login screen is drawn (only that the process - runs); a wrong passphrase; the other languages. - -## The extra programs and CD 3 (written 2026-11-07, test pending) - -`extras.c`, `makronix_extras()`, called from `install.c` in the simple mode -after the sets (and after `cgdroot_finish()`, which needs CD 2 in the drive). -It asks nothing since 2026-11-09 (the extra programs are part of the userland: -Firefox, Thunderbird, QEMU, about 2.6 GB, measured as the sum of `SIZE_PKG` of the -112 packages), looks for -`//packages/All/pkg_summary.gz`, asks for the next CD when -the installer runs from RAM and the medium in the drive has none (the same -Next-CD menu, its own message), copies the packages (about 480 MB) into -`/var/tmp/makronix-pkgs` of the target and runs the target's own -`/usr/sbin/pkg_add` in the chroot with `PKG_PATH` pointing there and the names of -`/packages/top.list`, then removes the copy. A second mount of the -medium inside the target does not work: the device is mounted already and -cd9660 refuses (EBUSY); the first try did that and said "Installing the extra -programs failed" with no pkg_add output (`install-simple-cd20-2026-11-07.log`). The DVD carries the directory (`build/cd3` through `CDBUILDEXTRA`, patch 0008, see -`tools/cd3.sh`), CD 3 is made by it. Nothing here is needed for a working -system: "no", or a medium without the directory, leaves it out. - -Measured on the build VM (not yet through sysinst), `pkg_add -P` into a copy of -the sysroot's `/usr/pkg` with the files of the set already in place: -`pkg_add firefox thunderbird qemu` exit 0, 116 packages registered in -`/usr/pkg/pkgdb`, no conflict with the unregistered files of the set (only -xmlcatmgr says its catalogs "already exist"), `qemu-system-aarch64 --version` -prints 11.1.1 on NetBSD 11.99.9, 29 `qemu-system-*` targets. pkg_add warns -"was built for a different platform: NetBSD 11.0 vs 11.99.9" for every package -and goes on. - -## The desktop services and four CDs (2026-11-07, test pending) - -Decided by the owner of the project, 2026-11-07: remote login on by default, -root allowed with the password ("I do not care"), mDNS and the like on by -default, PulseAudio as the sound daemon, and a four-CD install set is fine. -So the question about ssh that was written first (`MENU_sshmode`) is gone. - -- `setup.c`: `set_ssh()` -- `sshd=YES`, a line `PermitRootLogin yes` at the end - of `/etc/ssh/sshd_config` (password login is the default; the shipped file - has `PermitRootLogin` at `prohibit-password` in a comment), `/etc/npf.conf` - and `npf=YES`; `set_mdns()` -- `mdnsd=YES` and `hosts: files mdnsd dns` in - `/etc/nsswitch.conf` (mDNSResponder and its NSS module are in the base - system: `usr.sbin/mdnsd`, `lib nss_mdnsd.so.0`, `rc.d/mdnsd`; the module - answers only `.local`); `set_pkg_defaults()` -- `PKG_PATH`, - `CHECK_OS_VERSION=no`, `fetch_pkg_vulnerabilities=YES` (`docs/UPDATING.md`). - The firewall opens ssh and UDP 5353 and nothing else - (`docs/reference/npf-default.conf`, validated with `npfctl validate`). -- `extras.c`: the packages come from CD 3 and, if they need more, CD 4, ... - (`tools/cd3.sh` splits them first-fit to 700 MB per CD; each CD has - `packages/disc` "N M"). All CDs are copied into the target, then `pkg_add` - runs once; `dbus` and `cupsd` are enabled from the examples the packages bring - (`share/examples/rc.d`). PulseAudio needs no rc script: the clients start it. - The set today: Firefox, Thunderbird, QEMU, PulseAudio with `pavucontrol`, CUPS - with `cups-filters`; 164 packages, 569 MB, so **one** CD for amd64 -- CD 4 - appears when the packages pass 700 MB. The multi-CD code is tested by - building the CDs with `CDPKG_LIMIT=300000000`. -- `msg.mi.{de,es,fr,pl}`: **an error found on 2026-11-07**: the messages I had - appended with `printf '\0344'` in zsh had control characters where the umlauts - and accents belong (zsh reads `\0NNN` as three digits including the 0), in - four languages, from the setup step on; they were repaired byte by byte - (`b*8+c`), the files now show the right letters. The languages were never - looked at on a screen: only English has been run. - -## Portuguese (Brazil), 2026-11-07, not built yet - -`msg.mi.pt`, `msg.pm.pt`, `msg.mbr.pt`, `msg.entropy.pt` and `arch/i386/msg.md.pt` -(ISO-8859-1, `pt` in `LANGUAGES`, locale `pt_BR.ISO8859-1`), plus patch `0013` -for the two lists that name a catalog (`list.sysinst`, `lists/base/md.amd64`). -The text was translated in five parts by parallel helpers from the English -files with one fixed rule set (structure, `printf` conversions, glossary, -80 columns); the main file is the four parts put together. Checked by me with a -script: all 496 + 114 + 29 + 26 + 37 message names in the same order, the same -`%` conversions and `@@...@@` in every message, and every file encodable in -ISO-8859-1. **Not checked:** that `msgc`/`msg_xlat.sh` accept it (that is the -build), how it looks on the screen (line widths of menus), and the quality of -the Portuguese by a native speaker. The Polish texts written for the Makronix -messages have no diacritics (ASCII) -- the same kind of gap. - -## The install image on a USB stick (2026-11-08) - -`disks.c`, `is_root_wedge_parent()`: the root of the install image is a wedge -(`dk1`) of the stick (`sd0`); `is_active_rootpart()` compares names only and did -not exclude the stick, so the disk list offered the stick first (measured with -`tools/install-simple.sh -U`: `a: sd0 (3.0G)`). The disk whose wedge is the -root is no longer listed. - -## Makronix, not NetBSD, in the messages (2026-11-08) - -The texts say Makronix; `@@MXVERSION@@` (from `src/sys/conf/makronix-release`, -`MAKRONIXVER` in `Makefile.inc`) is the product version, `@@VERSION@@` stays the -NetBSD version. Kept as NetBSD on purpose: the CDN and the entropy-file -messages (they name NetBSD infrastructure), the partition type name in `mbr.c`, -the `EFI/NetBSD` directory of the ESP (efiboot reads `esp:/EFI/NetBSD/boot.cfg`), -the message identifiers and the RCS ids. Patch `0015-makronix-identity` does the -same for the kernel banner, the boot loaders and the media names. - -## The theme of the release (2026-11-08) - -`palette.dp` is a copy of the CDE palette the release is named after -(`/usr/pkg/dt/share/palettes/Camouflage.dp`); `Makefile.inc` turns its slots 5 -(window colour) and 4 (selected line, box) into `palette.h`, which `util.c` -includes for `do_coloring()`. A release changes its installer colours by -replacing `palette.dp` (or `make PALETTE_DP=...`), not the C code. Checked: the -default palette gives the old constants, 776/698/659 and 408/435/510. Seen only -where the terminal can redefine colours (`can_change_color()`); on a fixed -8-colour console the installer is white on blue as before. The welcome screen -shows the release name (`@@MXNAME@@` from `sys/conf/makronix-codename`). - -## Why a command failed (2026-11-08) - -`run.c`: upstream's `run_program()` says only "Command failed" for a command that -printed nothing on the screen (`RUN_SILENT`), and the output of such a command is -thrown away. A MacBook Pro 2011 failed to create the partitions and the screen -said nothing else. Now every command's output is kept (the last 512 bytes) and the -status line says `Command failed (): `; the log -(`Logging functions`) has the command and its whole tail, and silent commands' -output goes to the log. `install.c`: before the partitions are written, the -simple mode clears the first and the last 4 MB of the disk (`wipe_disk_ends()`): -old partition maps, a GPT and its backup copy, LVM/LUKS headers. Not done for -the encrypted install (`cgdroot`), which partitions in its own way. Not yet -measured on a disk that failed: the QEMU tests only show that an installation -still works. diff --git a/overlay/usr.sbin/sysinst/Makefile b/overlay/usr.sbin/sysinst/Makefile deleted file mode 100644 index befca0e2d8..0000000000 --- a/overlay/usr.sbin/sysinst/Makefile +++ /dev/null @@ -1,68 +0,0 @@ -# $NetBSD: Makefile,v 1.4 2024/01/06 07:38:13 thorpej Exp $ -# -# sysinst is usually built when the crunched install binary is built, -# but can be built here as a normal program for testing. - -.if exists(arch/${MACHINE}) -SUBDIR+=arch/${MACHINE} -.else -SUBDIR+=arch/dummy -.endif - - -.if ALL_MACHINES - -SUBDIR += arch/acorn32 -SUBDIR += arch/alpha -SUBDIR += arch/amd64 -SUBDIR += arch/amiga -SUBDIR += arch/arc -SUBDIR += arch/atari -SUBDIR += arch/bebox -SUBDIR += arch/cats -SUBDIR += arch/cobalt -SUBDIR += arch/emips -SUBDIR += arch/evbarm -SUBDIR += arch/evbmips -SUBDIR += arch/evbppc -SUBDIR += arch/ews4800mips -SUBDIR += arch/hp300 -SUBDIR += arch/hpcarm -SUBDIR += arch/hpcmips -SUBDIR += arch/hpcsh -SUBDIR += arch/hppa -SUBDIR += arch/i386 -SUBDIR += arch/landisk -SUBDIR += arch/mac68k -SUBDIR += arch/macppc -SUBDIR += arch/mipsco -SUBDIR += arch/mvme68k -SUBDIR += arch/news68k -SUBDIR += arch/newsmips -SUBDIR += arch/ofppc -SUBDIR += arch/playstation2 -SUBDIR += arch/pmax -SUBDIR += arch/prep -SUBDIR += arch/sandpoint -SUBDIR += arch/sgimips -SUBDIR += arch/shark -SUBDIR += arch/sparc -SUBDIR += arch/sparc64 -SUBDIR += arch/vax -SUBDIR += arch/virt68k -SUBDIR += arch/x68k -SUBDIR += arch/zaurus - -# XXX notyet SUBDIR += arch/iyonix - -# These dirs are present in sys/arch but not here: -# amigappc cesfic dreamcast epoc32 evbsh3 ia64 ibmnws iyonix luna68k -# mmeye mvmeppc netwinder next68k rs6000 sbmips sun2 sun3 -# (also evbsh5, but it doesn't really exist) -SUBDIR += arch/dummy - -.endif - -install: - -.include diff --git a/overlay/usr.sbin/sysinst/Makefile.inc b/overlay/usr.sbin/sysinst/Makefile.inc deleted file mode 100644 index a0fedb901a..0000000000 --- a/overlay/usr.sbin/sysinst/Makefile.inc +++ /dev/null @@ -1,324 +0,0 @@ -# $NetBSD: Makefile.inc,v 1.56 2026/07/12 20:07:45 martin Exp $ -# -# Makefile for sysinst - -.if exists(${.CURDIR}/../../../Makefile.inc) -.include "${.CURDIR}/../../../Makefile.inc" -.endif - -PROG= sysinst -MAN= sysinst.8 - -WARNS= 4 - -SRCS+= menu_defs.c msg_defs.c main.c install.c upgrade.c \ - txtwalk.c run.c factor.c net.c disks.c disks_lfs.c util.c geom.c \ - label.c target.c md.c sizemultname.c configmenu.c checkrc.c \ - disklabel.c partitions.c part_edit.c cgdroot.c setup.c extras.c - -SRCS+= ${MD_OPTIONS:MAOUT2ELF:S/AOUT2ELF/aout2elf.c/} -SRCS+= ${CPPFLAGS:M-DWSKBD:S/-DWSKBD/wskbd.c/} -SRCS+= ${NODISKLABEL:D:Ubsddisklabel.c} -SRCS+= ${NOPARTMAN:D:Upartman.c} - -.PATH: ${.CURDIR}/../../../../sbin/fsck -SRCS+=partutil.c - -DPSRCS+= defs.h - -SYSINSTLANG?= en -LANGUAGES?= de en es fr pl pt - -MENUS_MI= menus.mi -MENUS_MI+= ${NOPARTMAN:D:Umenus.pm} - -# Provide a timestamp when this binary was build for TODR sanity checking -.if ${MKREPRO_TIMESTAMP:Uno} != "no" -CPPFLAGS+= -DBUILD_TIMESTAMP=${MKREPRO_TIMESTAMP} -.else -BUILD_TS!= ${TOOL_DATE} -u '+%s' -CPPFLAGS+= -DBUILD_TIMESTAMP=${BUILD_TS} -.endif - -.if ${NO_GPT:Uno} != "yes" -CPPFLAGS+= -DHAVE_GPT -MD_OPTIONS+= HAVE_GPT -GPT_DIR=${.CURDIR}/../../../../sbin/gpt -SRCS+= gpt.c gpt_uuid.c -CPPFLAGS.gpt_uuid.c+= -I${GPT_DIR} -CPPFLAGS.gpt.c+= -I${GPT_DIR} -.endif -.if ${NO_MBR:Uyes} != "yes" -CPPFLAGS+= -DHAVE_MBR -SRCS+= mbr.c -COPTS.mbr.c+= ${CC_WNO_MAYBE_UNINITIALIZED} -.endif -.if ${NO_CLONES:Uno} == "yes" -CPPFLAGS+= -DNO_CLONES -.else -MD_OPTIONS+= HAVE_CLONES -.endif -.if ${HAVE_DVD_IMAGE:Uno} == "yes" -CPPFLAGS+= -DHAVE_DVD_IMAGE -MD_OPTIONS+= HAVE_DVD_IMAGE -.endif -.if ${NO_DISKSIZE_CHECKS:Uno} == "yes" -CPPFLAGS+= -DNO_DISKSIZE_CHECKS -.else -MD_OPTIONS+= HAVE_DISKSIZE_CHECKS -.endif - -.if ${CHECK_ENTROPY:Uyes} != "no" -MENUS_MI+= menus.entropy -CPPFLAGS+= -DCHECK_ENTROPY=1 -.endif - -MSG_MD?= msg.md.${SYSINSTLANG} -MENUS_MD?= menus.md.${SYSINSTLANG} - -.include # for mk.conf -#.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib" - -MAKRONIXVER!= cat ${NETBSDSRCDIR}/sys/conf/makronix-release -MAKRONIXNAME!= cat ${NETBSDSRCDIR}/sys/conf/makronix-codename -DISTRIBVER!= ${HOST_SH} ${NETBSDSRCDIR}/sys/conf/osrelease.sh -DISTRIBVERDEP= ${NETBSDSRCDIR}/sys/sys/param.h \ - ${NETBSDSRCDIR}/sys/conf/osrelease.sh - -_MKSHTARGET_CREATE?= ${_MKSHMSG_CREATE} ${.CURDIR:T}/${.TARGET} - -DPADD= ${LIBCURSES} ${LIBTERMLIB} ${LIBPROP} ${LIBUTIL} -LDADD= -lcurses -ltermlib -lprop -lutil - -UNIF_AWK= ${.CURDIR}/../../unif.awk -MSG_XLAT_SH= ${.CURDIR}/../../msg_xlat.sh -MSG_CMP_SH= ${.CURDIR}/../../msg_cmp.sh - -SETS_TAR_SUFF=${"${USE_XZ_SETS:Uno}"!="no":?"tar.xz":"tgz"} - -.if ${MKBSDTAR:Uno} == "no" -CPPFLAGS+= -DUSING_PAXASTAR -.endif - -.if ${MKCOMPAT:Uno} != "no" -CPPFLAGS+= -DHAVE_BASE32 -.endif - -.if ${MKCOMPAT:Uno} != "no" && \ - (${MACHINE_ARCH} == "mips64eb" || ${MACHINE_ARCH} == "mips64el") -CPPFLAGS+= -DHAVE_BASE64 -.endif - -.if ${MKCOMPAT:Uno} != "no" && ${MKDEBUG:Uno} != "no" -CPPFLAGS+= -DHAVE_DEBUG32 -.endif - -.if ${MKCOMPAT:Uno} != "no" && ${MKDEBUG:Uno} != "no" && \ - (${MACHINE_ARCH} == "mips64eb" || ${MACHINE_ARCH} == "mips64el") -CPPFLAGS+= -DHAVE_DEBUG64 -.endif - -.if ${MKDTB:Uno} != "no" -CPPFLAGS+= -DHAVE_DTB -.endif - -.if ${MKKMOD:Uno} != "no" -CPPFLAGS+= -DHAVE_MODULES -.endif - -CATALOGDIR= /usr/share/sysinst/catalog -CPPFLAGS+= -I. -I${.CURDIR}/../.. -I${.CURDIR} \ - -I${.CURDIR}/../../../../sbin/fsck \ - -DSETS_TAR_SUFF=${SETS_TAR_SUFF:Q} \ - -DREL=\"${DISTRIBVER}\" -DMACH=\"${MACHINE}\" \ - -DMACH_${MACHINE} -DARCH_${MACHINE_ARCH} \ - ${NODISKLABEL:D-DNO_DISKLABEL} \ - ${NOPARTMAN:D-DNO_PARTMAN} - -.if ${USE_XZ_SETS:Uno} != "no" -CPPFLAGS+= -DEXTRACT_NEEDS_BIG_RAM -.endif - -.if ${RELEASEMACHINEDIR} != ${MACHINE} -CPPFLAGS+= -DARCH_SUBDIR="\"${RELEASEMACHINEDIR}\"" -CPPFLAGS+= -DPKG_ARCH_SUBDIR="\"${MACHINE_ARCH}\"" -.endif - -.if defined(NETBSD_OFFICIAL_RELEASE) && ${NETBSD_OFFICIAL_RELEASE} == "yes" -CPPFLAGS+= -DSYSINST_FTP_HOST=\"ftp.NetBSD.org\" -DNETBSD_OFFICIAL_RELEASE -CPPFLAGS+= -DSYSINST_HTTP_HOST=\"cdn.NetBSD.org\" -DNETBSD_OFFICIAL_RELEASE -CPPFLAGS+= -DREL_PATH=\"netbsd-${DISTRIBVER:C/\.[0-9][_A-Z]*[0-9]*$//:S/./-/}\" -CPPFLAGS+= -DPKG_SUBDIR="\"${DISTRIBVER:C/_.*$//}\"" -.else -CPPFLAGS+= -DSYSINST_FTP_HOST=\"nyftp.NetBSD.org\" -CPPFLAGS+= -DSYSINST_HTTP_HOST=\"nycdn.NetBSD.org\" -.if (${DISTRIBVER:M*.99.*}) -CPPFLAGS+= -DREL_PATH=\"HEAD\" -CPPFLAGS+= -DPKG_SUBDIR="\"${DISTRIBVER:C/\.99\.[0-9]*[_A-Z]*$//}.0\"" -.elif (${DISTRIBVER:M*.[0-9].[0-9]*}) -CPPFLAGS+= -DREL_PATH=\"netbsd-${DISTRIBVER:C/\.[0-9][_A-Z]*[0-9]*$//:S/./-/}\" -CPPFLAGS+= -DPKG_SUBDIR="\"${DISTRIBVER:C/_.*$//}\"" -.elif (${DISTRIBVER:M*.[0-9]*}) -CPPFLAGS+= -DREL_PATH=\"netbsd-${DISTRIBVER:C/\.[0-9][_A-Z]*[0-9]*$//}\" -CPPFLAGS+= -DPKG_SUBDIR="\"${DISTRIBVER:C/_.*$//}\"" -.endif -.endif -CPPFLAGS+= -DNETBSD_MAJOR='"${DISTRIBVER:C/\..*//}"' - -.if !defined(DEBUG) -CPPFLAGS+= -DCATALOG_DIR=\"${CATALOGDIR}\" -.endif - -.if (defined(DEBUG)) -.if ${ACTIVE_CC} == "gcc" -# make gcc run additional passes for better debug info (only needed -# when compiling with -O0) -O0TRACKING= -fvar-tracking-assignments -fvar-tracking -.endif -CPPFLAGS+=-DDEBUG -DBG +=-g -O0 ${O0TRACKING} -COPTS.net.c += ${CC_WNO_MAYBE_UNINITIALIZED} -.else -.if defined(SMALLPROG) -COPTS += -Os -CPPFLAGS+= -DNO_HTTPS -.endif -.endif - -.if (!defined(SMALLPROG) || defined(SMALLPROG_INET6)) && (${USE_INET6} != "no") -CPPFLAGS+=-DINET6 -.endif - -COPTS+= ${CC_WNO_FORMAT_TRUNCATION} -COPTS.disklabel.c+= ${CC_WNO_STRINGOP_TRUNCATION} - -# Host to ftp from. Default: -# "ftp.NetBSD.org" -# -.if defined(SYSINST_FTP_HOST) -CPPFLAGS+= -DSYSINST_FTP_HOST=\"${SYSINST_FTP_HOST}\" -.endif - -# Top-level ftp directory. Default: -# "pub/NetBSD/NetBSD-" + VER + "/" + MACH -# -.if defined(SYSINST_FTP_DIR) -CPPFLAGS+= -DSYSINST_FTP_DIR=\"${SYSINST_FTP_DIR}\" -.endif - -# Top-level CDROM directory. Default: -# "/" + MACH -# -.if defined(SYSINST_CDROM_DIR) -CPPFLAGS+= -DSYSINST_CDROM_DIR=\"${SYSINST_CDROM_DIR}\" -.endif - - -DPSRCS+= msg_defs.h menu_defs.h - -# The release palette (GOAL.md: a release is named after a CDE palette and looks -# like it): palette.dp is a copy of that palette, eight lines `#RRRRGGGGBBBB'. -# Slot 5 is the window colour, slot 4 the selected line and the box (util.c, -# do_coloring). curses wants 0..1000 per channel: the high byte of each 16 bit -# value * 1000 / 255. `make PALETTE_DP=...' builds another release. -PALETTE_DP?= ${.CURDIR}/../../palette.dp -DPSRCS+= palette.h -CLEANFILES+= palette.h - -palette.h: ${PALETTE_DP} - ${_MKTARGET_CREATE} - ${TOOL_AWK} 'function hx(s, i, v) { v = 0; s = tolower(s); for (i = 1; i <= length(s); i++) v = v * 16 + index("0123456789abcdef", substr(s, i, 1)) - 1; return v } \ - function c(h, o) { return int(hx(substr(h, o, 2)) * 1000 / 255 + 0.5) } \ - NR == 5 { h = substr($$0, 2); print "#define\tCDE_BG_R\t" c(h, 1); print "#define\tCDE_BG_G\t" c(h, 5); print "#define\tCDE_BG_B\t" c(h, 9) } \ - NR == 4 { h = substr($$0, 2); print "#define\tCDE_SEL_R\t" c(h, 1); print "#define\tCDE_SEL_G\t" c(h, 5); print "#define\tCDE_SEL_B\t" c(h, 9) }' \ - ${PALETTE_DP} > ${.TARGET} - -CLEANFILES= menu_defs.c menu_defs.h menus.def \ - msg_defs.c msg_defs.h msg.def msgtouch \ - sysinstmsgs.* - -.PATH: ${.CURDIR}/../.. - -menu_defs.h: menu_defs.c - [ -f ${.TARGET} ] || { \ - ${_MKSHTARGET_CREATE}; \ - ${TOOL_MENUC} menus.def; \ - } -menu_defs.c: menus.def - ${_MKTARGET_CREATE} - [ ! -f menu_defs.h ] || mv -f menu_defs.h menu_defs.oh - ${TOOL_MENUC} menus.def - ! cmp -s menu_defs.oh menu_defs.h || mv -f menu_defs.oh menu_defs.h - @rm -f menu_defs.oh - -msg_defs.h: msg_defs.c - [ -f ${.TARGET} ] || { \ - ${_MKSHTARGET_CREATE}; \ - ${TOOL_MSGC} msg.def; \ - } -msg_defs.c: msg.def - ${_MKTARGET_CREATE} - [ ! -f msg_defs.h ] || mv -f msg_defs.h msg_defs.oh - ${TOOL_MSGC} msg.def - ! cmp -s msg_defs.oh msg_defs.h || mv -f msg_defs.oh msg_defs.h - @rm -f msg_defs.oh - -# Needed to get proper dependency checks on osrelease -msgtouch: ${DISTRIBVERDEP} - touch ${.TARGET} - -.if !defined(NOPARTMAN) -MSG_MD+= msg.pm.${SYSINSTLANG} -.endif - -.if ${CHECK_ENTROPY:Uyes} != "no" -MSG_MD+= msg.entropy.${SYSINSTLANG} -.endif - -msg.def: msg.mi.${SYSINSTLANG} ${MSG_MD} msgtouch - ${_MKTARGET_CREATE} - ${TOOL_SED} -e "s/@@VERSION@@/${DISTRIBVER}/" -e "s/@@MXVERSION@@/${MAKRONIXVER}/" -e "s/@@MXNAME@@/${MAKRONIXNAME}/" ${.ALLSRC} | \ - ${TOOL_SED} "s/@@MACHINE@@/${MACHINE}/" | \ - ${TOOL_AWK} -f ${UNIF_AWK} -v defines="${MD_OPTIONS}" > ${.TARGET} - -menus.def: ${MENUS_MI} ${MENUS_MD} msgtouch - ${_MKTARGET_CREATE} - ${TOOL_SED} -e "s/@@VERSION@@/${DISTRIBVER}/" -e "s/@@MXVERSION@@/${MAKRONIXVER}/" -e "s/@@MXNAME@@/${MAKRONIXNAME}/" ${.ALLSRC} | \ - ${TOOL_SED} "s/@@MACHINE@@/${MACHINE}/" | \ - ${TOOL_AWK} -f ${UNIF_AWK} -v defines="${MD_OPTIONS}" > ${.TARGET} - -sysinstmsgs.fmtcnt: msg.mi.${SYSINSTLANG} ${MSG_MD} msgtouch msg_defs.h - ${_MKTARGET_CREATE} - ${TOOL_SED} -e "s/@@VERSION@@/${DISTRIBVER}/" -e "s/@@MXVERSION@@/${MAKRONIXVER}/" -e "s/@@MXNAME@@/${MAKRONIXNAME}/" \ - ${.ALLSRC:M*.${SYSINSTLANG}} | \ - ${TOOL_SED} "s/@@MACHINE@@/${MACHINE}/" | \ - ${TOOL_AWK} -f ${UNIF_AWK} -v defines="${MD_OPTIONS}" | \ - ${HOST_SH} ${MSG_XLAT_SH} -c > ${.TARGET} - -.for LANG in ${LANGUAGES:N${SYSINSTLANG}} -sysinstmsgs.${LANG}: msg.mi.${LANG} ${MSG_MD:S/.${SYSINSTLANG}$/.${LANG}/} msgtouch msg_defs.h sysinstmsgs.fmtcnt - ${_MKTARGET_CREATE} - ${TOOL_SED} -e "s/@@VERSION@@/${DISTRIBVER}/" -e "s/@@MXVERSION@@/${MAKRONIXVER}/" -e "s/@@MXNAME@@/${MAKRONIXNAME}/" ${.ALLSRC:M*.${LANG}} | \ - ${TOOL_SED} "s/@@MACHINE@@/${MACHINE}/" | \ - ${TOOL_AWK} -f ${UNIF_AWK} -v defines="${MD_OPTIONS}" | \ - ${HOST_SH} ${MSG_XLAT_SH} -f sysinstmsgs.fmtcnt > ${.TARGET} - -DPSRCS+= sysinstmsgs.${LANG} -FILES+= sysinstmsgs.${LANG} -FILESDIR_sysinstmsgs.${LANG}= ${CATALOGDIR} -.endfor - -.PHONY: check-lang -check-lang: msg.def msg_defs.h - ${_MKTARGET_CREATE} - ${TOOL_SED} -e "s/@@VERSION@@/${DISTRIBVER}/" -e "s/@@MXVERSION@@/${MAKRONIXVER}/" -e "s/@@MXNAME@@/${MAKRONIXNAME}/" msg.def | \ - ${TOOL_SED} "s/@@MACHINE@@/${MACHINE}/" | \ - ${TOOL_AWK} -f ${UNIF_AWK} -v defines="${MD_OPTIONS}" | \ - ${HOST_SH} ${MSG_XLAT_SH} -i > /tmp/sysinst.en - ${HOST_SH} ${MSG_CMP_SH} msg_defs.h /tmp/sysinst.en sysinstmsgs.${LANG} - @rm /tmp/sysinst.en - -COPTS.util.c+= ${CC_WNO_STRINGOP_TRUNCATION} -COPTS+= -fcommon - -.include diff --git a/overlay/usr.sbin/sysinst/README.md_defs b/overlay/usr.sbin/sysinst/README.md_defs deleted file mode 100644 index afb4d7a73f..0000000000 --- a/overlay/usr.sbin/sysinst/README.md_defs +++ /dev/null @@ -1,131 +0,0 @@ -/* $NetBSD: README.md_defs,v 1.8 2023/01/06 15:05:52 martin Exp $ */ - -The following is trying to document the most important machine dependent -defines used in the sysinst code. - - -If HAVE_GPT is true, the MD code may limit the space used for the -GPT at the beginning of the disk to allow e.g. a bootloader -being added after it (see evbarm on allwinner SoCs, u-boot is -copied at 8k into the image). - -/* Size limit for the initial GPT part, in bytes */ -#define MD_GPT_INITIAL_SIZE (8*1024) - - -The default installation description is created as a static array using -lots of conditionals. It may be overridden / replaced in the MD code -(see below), an example for that is arch/i386/md.c when we have been -booted from UEFI firmware. - -Name Value / example Description -PART_BOOT (8*MEG) (undefined) if defined, a boot partition - of this size (in bytes, rounded) - will be part of the default partition - suggestions. Must be compile time - const! Use MD_PART_DEFAULTS if - runtime adjustment is needed. -PART_BOOT_MOUNT "/boot" (undefined) Add boot partition to fstab for - this mount point -PART_BOOT_TYPE FS_BSDFS Kind of filesystem used -PART_BOOT_SUBT MBR_PTYPE_FAT12 File system specific sub type - - -The boot partition is always inserted at the front of the suggested default -partitions, to cope with firmwares that may not be able to load from the -whole disk. - -If multiple boot partitions are required (see ofppc, where various schemes -are supported, depending on exact model), the variables above can all be -repeated with _BOOT1_ or _BOOT2_ name instead of _BOOT_. - - -ATTENTION: - PART_BOOT is in BYTE (not MB), while most other sizes - (DEFROOTSIZE, DEFSWAP, ...) are in MB! - - -The following macros provide optional MD hooks: - -MD_PART_DEFAULTS may be undefined - -used like: - - void MD_PART_DEFAULTS(struct pm_dev*, struct part_usage_info*, - size_t num_usage_infos), - -Called before any of the partition usage defaults is ever used, can be used -to adjust e.g. partition sizes to actual system requirements (align boot -partition with cylindersize), or (since it is a macro and all params are -by references) to completely swap the defaults (e.g. EFI vs. biosboot). -If swapping, make sure allocation and num_usage_infos stays consistent, -old allocation is done by calloc(3), use free(3) to release. - - -MD_NEED_BOOTBLOCK may be undefined - -used like: - - bool MD_NEED_BOOTBLOCK(struct install_partition_desc *install) - -returns true if this setup needs boot blocks. Used for example on x86 -when UEFI installs do not need any bootblocks, but BIOS ones do. - -MD_MAY_SWAP_TO may be undefined - -used like: - - bool MD_MAY_SWAP_TO(const char *disk_name) - -returns true if the disk is usable as a swap device. Typical implementation -in utils.c:may_swap_if_not_sdmmc. - -MD_SET_EXTRACT_FINALIZE may be undefined - -used like: - - int MD_SET_EXTRACT_FINALIZE(int update) - -extracts any additional parts of the distribution. Returns an error code -if something fails. - - -HAVE_PLAIN_DISKLABEL_BOOT may be undefined, only used on architectures - that have MBR as primary with disklabel as - secondary partitioning scheme (RAW_PART == 3) - -used like: - - bool HAVE_PLAIN_DISKLABEL_BOOT(const char *disk) - -returns true if the disk could be made bootable with only a disklabel -(and no MBR). - - -DISKLABEL_NO_ONDISK_VERIFY usually undefined - -If defined, do not verify the presence of on-disk disklabels before -offering the disklabel partitioning scheme. This allows ports to use -kernel translation for the disklabel ioctls (e.g. x68k uses Human68k -partitions this way). - - -HAVE_GPT_BOOT defined if the architecture can boot from GPT - -HAVE_EFI_BOOT defined if the architecture may be able - to boot from an EFI partition - -NO_DISKLABEL_BOOT defined if the architecture can NOT boot - from a disklabel partitioned disk - -MD_DISKLABEL_PART_INDEX_CHECK usually undefined - - if defined evaluates to a boolean attribute - which is passed a struct disklabel, an integer - index and a const struct disk_part_info*. - The result qualifies the given new partition - to take the disklabel l_partition entry - with the given index. Used for example - in luna68k to move the FFSv1 boot partition - (which would otherwise end up as partition 'a') - to a partition past RAW_PART (so 'd' on luna68k) diff --git a/overlay/usr.sbin/sysinst/SPELLING.en b/overlay/usr.sbin/sysinst/SPELLING.en deleted file mode 100644 index 6b2a9dc1cd..0000000000 --- a/overlay/usr.sbin/sysinst/SPELLING.en +++ /dev/null @@ -1,15 +0,0 @@ -$NetBSD: SPELLING.en,v 1.1 2014/07/26 19:30:44 dholland Exp $ - -right: wrong: authority: - -reenter re-enter www.m-w.com -reedit re-edit www.m-w.com -reinstall re-install www.m-w.com -reconfigure re-configure www.m-w.com -successful successfull -retrieve retreive -accurately acurately -anomalies anomolies -hard disk harddisk www.m-w.com -overlapping overlaping -file system filesystem www.m-w.com diff --git a/overlay/usr.sbin/sysinst/TODO b/overlay/usr.sbin/sysinst/TODO deleted file mode 100644 index 3fd5988424..0000000000 --- a/overlay/usr.sbin/sysinst/TODO +++ /dev/null @@ -1,129 +0,0 @@ -# $NetBSD: TODO,v 1.1 2014/07/26 19:30:44 dholland Exp $ - -Things to do .... in no specific order. - - -- On error messages, do something to allow the user to - see any errors from anything run by run_prog(). - Ideas suggested maximum entropy . - are: - - #1: - if (run_prog("foo") != 0) - sleep(5); - - #2: - endwin(); - run_prog("foo"); - printf("press return to continue"); - getchar(); - initscr(); - - #3: (modification of #2): - - endwin(); - if (run_prog("foo") != 0) { - printf("press return to continue"); - getchar(); - } - initscr(); - - #4: - - Manually fork and exec everything, dup2 fd's 1 and 2 - onto sockets in the child, and paginate the output in - your curses app :-) - - We currently implement a special-case variant of #1 for untarring - release sets, since the GNU tar in 1.3 fails to report many - errors in its exit status. - - -- "browse" for a local directory to get the - distribution set from. Maybe just allowing the user to shell - out and look around is good enough (this needs more thought). - - -- check for already-mounted filesystems before install newfs. - Abort with message. - - -- check for already-mounted filesystems before upgrade fsck. - (ignore?) - - -- check for already-mounted filesystems before upgrade mount. - Continue, if device mount is where we wanted it? - - (Jonathan ran into the above 3 by upgrading from a live - system to a scratch disk. sysinst copied the live /etc/fstab - to the target. The upgrade failed because sysinst wanted - to mount the active system's /usr. Could happen when a - real upgrade aborts, even running from ramdisk root.) - - -- Handle ccd's and raid's during an upgrade. - - -- Use bootp or dhcp to get network info (hostname, domain name, - name servers, ...) - - -- Things like having config_network() - possibly use the information on the fixed disk instead of having - to ask everything. - - -- Build the disktab as a profile, not a true /etc/disktab so it - doesn't overwrite the real disktab. - - -- Have both ftp and floppy gets get the file, extract the file, - and then remove the file before going on to the next set to - save disk space. - - -- Set current time and date. - - -- Configure NTP servers, set NTP in rc.conf - - -- On i386 (and others) allow for storing localtime in the RTC. - Need to patch kernel variable with offset from UTC. Any - other kernel variables we might want to patch as well??? - - -- A little more clean-up of the run_prog suite so things work - nicely for all ports. - - -- fix "disklabel -r -w" vs. "disklabel -w": I still don't grok why - the -r, and the manpage says it will lose totally on sparcs. - Phil, was there some reason to bypass the incore label on i386? - Can we just do "disklabel -w" everywhere? - - -- Michael bumped the in-memory disklabel struct up to 16 entries. - Also add a runtime check in case that grows in future - (e.g., slices). Maybe bump to 32 entries just in case. - - -- Fix sanity-check message code. It currently gets over-written - immediately by the following message. - - -- check for disklabel edits changing active root partition. - reject. - - -- remove any possibly-stale ld.so.cache files from the target - /etc after unpacking sets. Maybe just don't copy ld.so.cache - from /etc.old? - - -- Full configuration of rc.conf? - - -- If we're doing a fresh install and there's already a label - on the disk, maybe use that instead of the compiled-in default - label? - - -- symlinks for /tmp (/tmp -> /var/tmp or some such) - - -- Do non-standard installs from arbitrary tar files (?) - - -- Install binary packages. (possibly a second program - run after installation.) - - -- Provide the user a menu to select each installation step on - its own. Currently there's no way to repeat steps or leave - them out. (See the Debian installer for a good example.) - - -- Allow the user to install binary snapshots available from releng. - This could be done in the following way: - * list the available snapshots in ftp.NetBSD.org - (eg.: ls /pub/NetBSD-daily/*/*/${ARCH} using ftp(1)). - * present the user with the possible selections (handle the - case of zero options). - * set the variables and install via FTP showing first the - FTP installation screen. diff --git a/overlay/usr.sbin/sysinst/aout2elf.c b/overlay/usr.sbin/sysinst/aout2elf.c deleted file mode 100644 index 99355833ca..0000000000 --- a/overlay/usr.sbin/sysinst/aout2elf.c +++ /dev/null @@ -1,447 +0,0 @@ -/* $NetBSD: aout2elf.c,v 1.2 2019/06/12 06:20:17 martin Exp $ - * - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* aout2elf.c -- routines for upgrading an a.out system to ELF */ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "defs.h" -#include "md.h" -#include "msg_defs.h" -#include "menu_defs.h" - -/* Local prototypes */ -static int is_aout_shared_lib(const char *name); -static void handle_aout_x_libs(const char *srcdir, const char *tgtdir); -static int handle_aout_libs(const char *dir, int op, const void *arg); -static char *target_realpath(const char *, char *); - -#define LIB_COUNT 0 -#define LIB_MOVE 1 - -/* XXX NAH. This probably needs moving to arch//md.h - * - * a.out X libraries to move. These have not changed since 1.3.x - */ -const char *x_libs[] = { - "libICE.so.6.3", - "libPEX5.so.6.0", - "libSM.so.6.0", - "libX11.so.6.1", - "libXIE.so.6.0", - "libXaw.so.6.1", - "libXext.so.6.3", - "libXi.so.6.0", - "libXmu.so.6.0", - "libXp.so.6.2", - "libXt.so.6.0", - "libXtst.so.6.1", - "liboldX.so.6.0", -}; - -static int -is_aout_shared_lib(const char *name) -{ - struct exec ex; - struct stat st; - int fd; - - if (stat(name, &st) < 0) - return 0; - if ((st.st_mode & (S_IFREG|S_IFLNK)) == 0) - return 0; - - fd = open(name, O_RDONLY); - if (fd < 0) { - return 0; - } - if (read(fd, &ex, sizeof ex) - sizeof ex != 0) { - close(fd); - return 0; - } - close(fd); - if (N_GETMAGIC(ex) != ZMAGIC || - (N_GETFLAG(ex) & EX_DYNAMIC) == 0) - return 0; - - return 1; -} - -static void -handle_aout_x_libs(const char *srcdir, const char *tgtdir) -{ - char src[MAXPATHLEN]; - unsigned int i; - - for (i = 0; i < (sizeof x_libs / sizeof (const char *)); i++) { - snprintf(src, MAXPATHLEN, "%s/%s", srcdir, x_libs[i]); - if (!is_aout_shared_lib(src)) - continue; - run_program(0, "mv -f %s %s", src, tgtdir); - } - - /* - * Don't care if it fails; X may not have been installed. - */ -} - -/* - * Function to count or move a.out shared libraries. - */ -static int -handle_aout_libs(const char *dir, int op, const void *arg) -{ - DIR *dd; - struct dirent *dp; - char *full_name; - const char *destdir = NULL; /* XXX -Wuninitialized [many] */ - int n; - - destdir = NULL; /* XXX gcc */ - - dd = opendir(dir); - if (dd == NULL) - return -1; - - n = 0; - - switch (op) { - case LIB_COUNT: - break; - case LIB_MOVE: - destdir = (const char *)arg; - break; - default: - return -1; - } - - while ((dp = readdir(dd)) != NULL) { - /* - * strlen("libX.so") - */ - if (dp->d_namlen < 7) - continue; - if (strncmp(dp->d_name, "lib", 3) != 0) - continue; - - if (asprintf(&full_name, "%s/%s", dir, dp->d_name) == -1) { - warn("Out of memory"); - continue; - } - - if (!is_aout_shared_lib(full_name)) - goto endloop; - - switch (op) { - case LIB_COUNT: - n++; - break; - case LIB_MOVE: - run_program(0, "mv -f %s %s/%s", - full_name, destdir, dp->d_name); - break; - } - -endloop: - free(full_name); - } - - closedir(dd); - - return n; -} - -__dead static void -abort_libupdate(void) -{ - hit_enter_to_continue(MSG_aoutfail, NULL); - exit(1); -} - -int -move_aout_libs(void) -{ - int n, backedup = 0; - char prefix[MAXPATHLEN], src[MAXPATHLEN]; - struct stat st; - - n = handle_aout_libs(target_expand("/usr/lib"), LIB_COUNT, NULL); - if (n <= 0) - return n; - - /* - * See if /emul/aout already exists, taking symlinks into - * account. If so, no need to create it, just use it. - */ - if (target_realpath("/emul/aout", prefix) != NULL && stat(prefix, &st) == 0) - goto domove; - - /* - * See if /emul exists. If not, create it. - */ - if (target_realpath("/emul", prefix) == NULL || stat(prefix, &st) < 0) { - strlcpy(prefix, target_expand("/emul"), sizeof(prefix)); - if (lstat(prefix, &st) == 0) { - run_program(0, "mv -f %s %s", prefix, - target_expand("/emul.old")); - backedup = 1; - } - scripting_fprintf(NULL, "mkdir %s\n", prefix); - mkdir(prefix, 0755); - } - - /* - * Can use strcpy, target_expand has made sure it fits into - * MAXPATHLEN. XXX all this copying is because concat_paths - * returns a pointer to a static buffer. - * - * If an old aout link exists (apparently pointing to nowhere), - * move it out of the way. - */ - strlcpy(src, concat_paths(prefix, "aout"), sizeof(src)); - if (lstat(src, &st) == 0) { - run_program(0, "mv -f %s %s", src, - concat_paths(prefix, "aout.old")); - backedup = 1; - } - - /* - * We have created /emul if needed. Since no previous /emul/aout - * existed, we'll use a symbolic link in /emul to /usr/aout, to - * avoid overflowing the root partition. - */ - strlcpy(prefix, target_expand("/usr/aout"), sizeof(prefix)); - if (run_program(0, "mkdir -p %s", prefix)) - abort_libupdate(); - if (run_program(0, "ln -s %s %s", "/usr/aout", src)) - abort_libupdate(); - -domove: - /* - * Rename etc and usr/lib if they already existed, so that we - * do not overwrite old files. - * - * Then, move /etc/ld.so.conf to /emul/aout/etc/ld.so.conf, - * and all a.out dynamic libraries from /usr/lib to - * /emul/aout/usr/lib. This is where the a.out code in ldconfig - * and ld.so respectively will find them. - */ - strlcpy(src, concat_paths(prefix, "usr/lib"), sizeof(src)); - run_program(0, "mv -f %s %s", src, concat_paths(prefix, "usr/lib.old")); - strlcpy(src, concat_paths(prefix, "etc/ld.so.conf"), sizeof(src)); - run_program(0, "mv -f %s %s", - src, concat_paths(prefix, "etc/ld.so.conf.old")); - if (run_program(0, "mkdir -p %s ", concat_paths(prefix, "usr/lib"))) - abort_libupdate(); - if (run_program(0, "mkdir -p %s ", concat_paths(prefix, "etc"))) - abort_libupdate(); - - strlcpy(src, target_expand("/etc/ld.so.conf"), sizeof(src)); - if (run_program(0, "mv -f %s %s", - src, concat_paths(prefix, "etc/ld.so.conf"))) - abort_libupdate(); - - strlcpy(src, target_expand("/usr/lib"), sizeof(src)); - n = handle_aout_libs(src, LIB_MOVE, concat_paths(prefix, "usr/lib")); - - if (run_program(0, "mkdir -p %s ", - concat_paths(prefix, "usr/X11R6/lib"))) - abort_libupdate(); - - strlcpy(src, target_expand("/usr/X11R6/lib"), sizeof(src)); - handle_aout_x_libs(src, concat_paths(prefix, "usr/X11R6/lib")); - - if (backedup) { - hit_enter_to_continue(MSG_emulbackup, NULL); - } - - return n; -} - -/* - * XXXX had to include this to deal with symlinks in some places. - * When the target * disk is mounted under /targetroot, absolute symlinks - * on it don't work right. - * This function will resolve them using the mountpoint as prefix. - * Copied verbatim from libc, with added prefix handling. - * - * char *realpath(const char *path, char resolved_path[MAXPATHLEN]); - * - * Find the real name of path, by removing all ".", ".." and symlink - * components. Returns (resolved) on success, or (NULL) on failure, - * in which case the path which caused trouble is left in (resolved). - */ -static char * -target_realpath(const char *path, char *resolved) -{ - struct stat sb; - int fd, n, rootd, serrno, nlnk = 0; - char *p, *q, wbuf[MAXPATHLEN]; - char solidus[2], empty[1]; - solidus[0] = '/'; - solidus[1] = '\0'; - empty[0] = '\0'; - - /* Save the starting point. */ - if ((fd = open(".", O_RDONLY)) < 0) { - (void)strlcpy(resolved, ".", MAXPATHLEN); - return (NULL); - } - - /* - * Find the dirname and basename from the path to be resolved. - * Change directory to the dirname component. - * lstat the basename part. - * if it is a symlink, read in the value and loop. - * if it is a directory, then change to that directory. - * get the current directory name and append the basename. - */ - if (target_prefix() != NULL && strcmp(target_prefix(), "") != 0) - snprintf(resolved, MAXPATHLEN, "%s/%s", target_prefix(), path); - else - if (strlcpy(resolved, path, MAXPATHLEN) >= MAXPATHLEN) { - errno = ENAMETOOLONG; - goto err1; - } -loop: - q = strrchr(resolved, '/'); - if (q != NULL) { - p = q + 1; - if (q == resolved) - q = solidus; - else { - do { - --q; - } while (q > resolved && *q == '/'); - q[1] = '\0'; - q = resolved; - } - if (chdir(q) < 0) - goto err1; - } else - p = resolved; - - /* Deal with the last component. */ - if (lstat(p, &sb) == 0) { - if (S_ISLNK(sb.st_mode)) { - if (nlnk++ >= MAXSYMLINKS) { - errno = ELOOP; - goto err1; - } - n = readlink(p, wbuf, MAXPATHLEN - 1); - if (n < 0) - goto err1; - wbuf[n] = '\0'; - if (wbuf[0] == '/') - snprintf(resolved, MAXPATHLEN, "%s%s", - target_prefix(), wbuf); - else - strlcpy(resolved, wbuf, MAXPATHLEN); - goto loop; - } - if (S_ISDIR(sb.st_mode)) { - if (chdir(p) < 0) - goto err1; - p = empty; - } - } - - /* - * Save the last component name and get the full pathname of - * the current directory. - */ - if (strlcpy(wbuf, p, sizeof(wbuf)) >= sizeof(wbuf)) { - errno = ENAMETOOLONG; - goto err1; - } - - /* - * Call the internal internal version of getcwd which - * does a physical search rather than using the $PWD short-cut - */ - if (getcwd(resolved, MAXPATHLEN) == 0) - goto err1; - - /* - * Join the two strings together, ensuring that the right thing - * happens if the last component is empty, or the dirname is root. - */ - if (resolved[0] == '/' && resolved[1] == '\0') - rootd = 1; - else - rootd = 0; - - if (*wbuf) { - if (strlen(resolved) + strlen(wbuf) + (rootd ? 0 : 1) + 1 > - MAXPATHLEN) { - errno = ENAMETOOLONG; - goto err1; - } - if (rootd == 0) - if (strlcat(resolved, "/", MAXPATHLEN) >= MAXPATHLEN) { - errno = ENAMETOOLONG; - goto err1; - } - if (strlcat(resolved, wbuf, MAXPATHLEN) >= MAXPATHLEN) { - errno = ENAMETOOLONG; - goto err1; - } - } - - /* Go back to where we came from. */ - if (fchdir(fd) < 0) { - serrno = errno; - goto err2; - } - - /* It's okay if the close fails, what's an fd more or less? */ - (void)close(fd); - return (resolved); - -err1: serrno = errno; - (void)fchdir(fd); -err2: (void)close(fd); - errno = serrno; - return (NULL); -} diff --git a/overlay/usr.sbin/sysinst/arch/acorn32/Makefile b/overlay/usr.sbin/sysinst/arch/acorn32/Makefile deleted file mode 100644 index 24bd59d297..0000000000 --- a/overlay/usr.sbin/sysinst/arch/acorn32/Makefile +++ /dev/null @@ -1,13 +0,0 @@ -# $NetBSD: Makefile,v 1.2 2019/06/13 06:34:30 martin Exp $ -# -# Makefile for acorn32 -# - -MD_OPTIONS= AOUT2ELF - -.ifdef SMALLPROG -NOPARTMAN= yes -NO_GPT= yes -.endif - -.include "../../Makefile.inc" diff --git a/overlay/usr.sbin/sysinst/arch/acorn32/md.c b/overlay/usr.sbin/sysinst/arch/acorn32/md.c deleted file mode 100644 index d97f7837d5..0000000000 --- a/overlay/usr.sbin/sysinst/arch/acorn32/md.c +++ /dev/null @@ -1,372 +0,0 @@ -/* $NetBSD: md.c,v 1.9 2026/09/03 02:12:15 gutteridge Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - */ - -/* md.c -- arm32 machine specific routines */ - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "defs.h" -#include "md.h" -#include "msg_defs.h" -#include "menu_defs.h" - -static int filecore_checksum(u_char *); - -void -md_init(void) -{ -} - -void -md_init_set_status(int flags) -{ - (void)flags; -} - -bool -md_get_info(struct install_partition_desc *install) -{ - struct disklabel disklabel; - int fd; - char dev_name[100]; - static unsigned char bb[DEV_BSIZE]; - struct filecore_bootblock *fcbb = (struct filecore_bootblock *)bb; - int offset = 0; - - snprintf(dev_name, 100, "/dev/r%s%c", pm->diskdev, 'a' + getrawpartition()); - - fd = open(dev_name, O_RDONLY, 0); - if (fd < 0) { - endwin(); - fprintf(stderr, "Can't open %s\n", dev_name); - exit(1); - } - if (ioctl(fd, DIOCGDINFO, &disklabel) == -1) { - endwin(); - fprintf(stderr, "Can't read disklabel on %s.\n", dev_name); - close(fd); - exit(1); - } - - if (lseek(fd, (off_t)FILECORE_BOOT_SECTOR * DEV_BSIZE, SEEK_SET) < 0 - || read(fd, bb, sizeof(bb)) - sizeof(bb) != 0) { - endwin(); - fprintf(stderr, "%s", msg_string(MSG_badreadbb)); - close(fd); - exit(1); - } - - /* Check if table is valid. */ - if (filecore_checksum(bb) == fcbb->checksum) { - /* - * Check for NetBSD/arm32 (RiscBSD) partition marker. - * If found the NetBSD disklabel location is easy. - */ - - offset = (fcbb->partition_cyl_low + - (fcbb->partition_cyl_high << 8)) * - fcbb->heads * fcbb->secspertrack; - - if (fcbb->partition_type == PARTITION_FORMAT_RISCBSD) - ; - else if (fcbb->partition_type == PARTITION_FORMAT_RISCIX) { - /* - * Ok we need to read the RISCiX partition table and - * search for a partition named RiscBSD, NetBSD or - * Empty: - */ - - struct riscix_partition_table *riscix_part = - (struct riscix_partition_table *)bb; - struct riscix_partition *part; - int loop; - - if (lseek(fd, (off_t)offset * DEV_BSIZE, SEEK_SET) < 0 - || read(fd, bb, sizeof(bb)) - sizeof(bb) != 0) { - endwin(); - fprintf(stderr, "%s", - msg_string(MSG_badreadriscix)); - close(fd); - exit(1); - } - - /* Break out as soon as we find a suitable partition */ - for (loop = 0; loop < NRISCIX_PARTITIONS; ++loop) { - part = &riscix_part->partitions[loop]; - if (strcmp((char *)part->rp_name, "RiscBSD") == 0 - || strcmp((char *)part->rp_name, "NetBSD") == 0 - || strcmp((char *)part->rp_name, "Empty:") == 0) { - offset = part->rp_start; - break; - } - } - if (loop == NRISCIX_PARTITIONS) { - /* - * Valid filecore boot block, RISCiX partition - * table but no NetBSD partition. We should - * leave this disc alone. - */ - endwin(); - fprintf(stderr, "%s", - msg_string(MSG_notnetbsdriscix)); - close(fd); - exit(1); - } - } else { - /* - * Valid filecore boot block and no non-ADFS partition. - * This means that the whole disc is allocated for ADFS - * so do not trash ! If the user really wants to put a - * NetBSD disklabel on the disc then they should remove - * the filecore boot block first with dd. - */ - endwin(); - fprintf(stderr, "%s", msg_string(MSG_notnetbsd)); - close(fd); - exit(1); - } - } - close(fd); - - pm->dlcyl = disklabel.d_ncylinders; - pm->dlhead = disklabel.d_ntracks; - pm->dlsec = disklabel.d_nsectors; - pm->sectorsize = disklabel.d_secsize; - pm->dlcylsize = disklabel.d_secpercyl; - - /* - * Compute whole disk size. Take max of (pm->dlcyl*pm->dlhead*pm->dlsec) - * and secperunit, just in case the disk is already labelled. - * (If our new label's RAW_PART size ends up smaller than the - * in-core RAW_PART size value, updating the label will fail.) - */ - pm->dlsize = pm->dlcyl*pm->dlhead*pm->dlsec; - if (disklabel.d_secperunit > pm->dlsize) - pm->dlsize = disklabel.d_secperunit; - - pm->ptstart = offset; -/* endwin(); - printf("pm->dlcyl=%d\n", pm->dlcyl); - printf("pm->dlhead=%d\n", pm->dlhead); - printf("pm->dlsec=%d\n", pm->dlsec); - printf("secsz=%d\n", pm->sectorsize); - printf("cylsz=%d\n", pm->dlcylsize); - printf("dlsz=%d\n", pm->dlsize); - printf("pstart=%d\n", pm->ptstart); - printf("pstart=%d\n", partsize); - printf("secpun=%d\n", disklabel.d_secperunit); - backtowin();*/ - - return true; -} - -/* - * md back-end code for menu-driven BSD disklabel editor. - */ -int -md_make_bsd_partitions(struct install_partition_desc *install) -{ - return make_bsd_partitions(install); -} - -/* - * any additional partition validation - */ -bool -md_check_partitions(struct install_partition_desc *install) -{ - return 1; -} - -/* - * hook called before writing new disklabel. - */ -bool -md_pre_disklabel(struct install_partition_desc *install, - struct disk_partitions *part) -{ - return 0; -} - -/* - * hook called after writing disklabel to new target disk. - */ -bool -md_post_disklabel(struct install_partition_desc *install, - struct disk_partitions *part) -{ - return true; -} - -/* - * hook called after upgrade() or install() has finished setting - * up the target disk but immediately before the user is given the - * ``disks are now set up'' message. - */ -int -md_post_newfs(struct install_partition_desc *install) -{ - return 0; -} - -int -md_post_extract(struct install_partition_desc *install, bool upgrade) -{ - return 0; -} - -void -md_cleanup_install(struct install_partition_desc *install) -{ -#ifndef DEBUG - enable_rc_conf(); -#endif -} - -int -md_pre_update(struct install_partition_desc *install) -{ - return 1; -} - -/* Upgrade support */ -int -md_update(struct install_partition_desc *install) -{ - md_post_newfs(install); - return 1; -} - -/* - * static int filecore_checksum(u_char *bootblock) - * - * Calculates the filecore boot block checksum. This is used to validate - * a filecore boot block on the disk. If a boot block is validated then - * it is used to locate the partition table. If the boot block is not - * validated, it is assumed that the whole disk is NetBSD. - * - * The basic algorithm is: - * - * for (each byte in block, excluding checksum) { - * sum += byte; - * if (sum > 255) - * sum -= 255; - * } - * - * That's equivalent to summing all of the bytes in the block - * (excluding the checksum byte, of course), then calculating the - * checksum as "cksum = sum - ((sum - 1) / 255) * 255)". That - * expression may or may not yield a faster checksum function, - * but it's easier to reason about. - * - * Note that if you have a block filled with bytes of a single - * value "X" (regardless of that value!) and calculate the cksum - * of the block (excluding the checksum byte), you will _always_ - * end up with a checksum of X. (Do the math; that can be derived - * from the checksum calculation function!) That means that - * blocks which contain bytes which all have the same value will - * always checksum properly. That's a _very_ unlikely occurrence - * (probably impossible, actually) for a valid filecore boot block, - * so we treat such blocks as invalid. - */ - -static int -filecore_checksum(u_char *bootblock) -{ - u_char byte0, accum_diff; - u_int sum; - int i; - - sum = 0; - accum_diff = 0; - byte0 = bootblock[0]; - - /* - * Sum the contents of the block, keeping track of whether - * or not all bytes are the same. If 'accum_diff' ends up - * being zero, all of the bytes are, in fact, the same. - */ - for (i = 0; i < 511; ++i) { - sum += bootblock[i]; - accum_diff |= bootblock[i] ^ byte0; - } - - /* - * Check to see if the checksum byte is the same as the - * rest of the bytes, too. (Note that if all of the bytes - * are the same except the checksum, a checksum compare - * won't succeed, but that's not our problem.) - */ - accum_diff |= bootblock[i] ^ byte0; - - /* All bytes in block are the same; call it invalid. */ - if (accum_diff == 0) - return (-1); - - return (sum - ((sum - 1) / 255) * 255); -} - -int -md_pre_mount(struct install_partition_desc *install, size_t ndx) -{ - return 0; -} - -#ifdef HAVE_GPT -/* - * New GPT partitions have been written, update bootloader or remember - * data until needed in md_post_newfs - */ -bool -md_gpt_post_write(struct disk_partitions *parts, part_id root_id, - bool root_is_new, part_id efi_id, bool efi_is_new) -{ - - return true; -} -#endif - -bool -md_parts_use_wholedisk(struct disk_partitions *parts) -{ - return parts_use_wholedisk(parts, 0, NULL); -} diff --git a/overlay/usr.sbin/sysinst/arch/acorn32/md.h b/overlay/usr.sbin/sysinst/arch/acorn32/md.h deleted file mode 100644 index 81bfae28d4..0000000000 --- a/overlay/usr.sbin/sysinst/arch/acorn32/md.h +++ /dev/null @@ -1,66 +0,0 @@ -/* $NetBSD: md.h,v 1.4 2025/04/26 03:49:32 tsutsui Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* md.h -- Machine specific definitions for the Acorn32 */ - -/* Constants and defines */ - -#define DEFUSRSIZE 1024 /* Default /usr size, if /home */ -#define XNEEDMB 256 /* Extra megs for full X installation */ -#define DEBNEEDMB 980 /* Extra megs for debug sets */ - - -/* have support for booting from UFS2 */ -#define HAVE_UFS2_BOOT - -/* - * Default filesets to fetch and install during installation - * or upgrade. The standard sets are: - * base etc comp games man misc rescue tests text xbase xcomp xetc xfont xserver - */ - -#define SET_KERNEL_1_NAME "kern-GENERIC" -#define SET_KERNEL_2_NAME "kern-NC" - -/* - * Machine-specific command to write a new label to a disk. - * For example, acorn32 uses "/sbin/disklabel -w -r", just like acorn32 - * miniroot scripts, though this may leave a bogus incore label. - * Sun ports should probably use DISKLABEL_CMD "/sbin/disklabel -w" - * to get incore to ondisk inode translation for the Sun proms. - * If not defined, we assume the port does not support disklabels and - * hand-edited disklabel will NOT be written by MI code. - */ -#define DISKLABEL_CMD "disklabel -w -r" diff --git a/overlay/usr.sbin/sysinst/arch/acorn32/menus.md.en b/overlay/usr.sbin/sysinst/arch/acorn32/menus.md.en deleted file mode 100644 index e9db037886..0000000000 --- a/overlay/usr.sbin/sysinst/arch/acorn32/menus.md.en +++ /dev/null @@ -1,37 +0,0 @@ -/* $NetBSD: menus.md.en,v 1.1 2014/07/26 19:30:44 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Acorn32 machine dependent menus, english */ - diff --git a/overlay/usr.sbin/sysinst/arch/acorn32/menus.md.es b/overlay/usr.sbin/sysinst/arch/acorn32/menus.md.es deleted file mode 100644 index 65c16cb943..0000000000 --- a/overlay/usr.sbin/sysinst/arch/acorn32/menus.md.es +++ /dev/null @@ -1,37 +0,0 @@ -/* $NetBSD: menus.md.es,v 1.1 2014/07/26 19:30:44 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Acorn32 machine dependent menus, spanish */ - diff --git a/overlay/usr.sbin/sysinst/arch/acorn32/menus.md.fr b/overlay/usr.sbin/sysinst/arch/acorn32/menus.md.fr deleted file mode 100644 index aba4c3c82b..0000000000 --- a/overlay/usr.sbin/sysinst/arch/acorn32/menus.md.fr +++ /dev/null @@ -1,37 +0,0 @@ -/* $NetBSD: menus.md.fr,v 1.1 2014/07/26 19:30:44 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Acorn32 machine dependent menus, french */ - diff --git a/overlay/usr.sbin/sysinst/arch/acorn32/menus.md.pl b/overlay/usr.sbin/sysinst/arch/acorn32/menus.md.pl deleted file mode 100644 index 2b9cd15da6..0000000000 --- a/overlay/usr.sbin/sysinst/arch/acorn32/menus.md.pl +++ /dev/null @@ -1,39 +0,0 @@ -/* $NetBSD: menus.md.pl,v 1.1 2014/07/26 19:30:44 dholland Exp $ */ -/* Based on english version: */ -/* NetBSD: menus.md.en,v 1.3 2002/02/14 15:28:31 reinoud Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Acorn32 machine dependent menus, Polish */ - diff --git a/overlay/usr.sbin/sysinst/arch/acorn32/msg.md.de b/overlay/usr.sbin/sysinst/arch/acorn32/msg.md.de deleted file mode 100644 index cf001c8ab9..0000000000 --- a/overlay/usr.sbin/sysinst/arch/acorn32/msg.md.de +++ /dev/null @@ -1,78 +0,0 @@ -/* $NetBSD: msg.md.de,v 1.1 2014/07/26 19:30:44 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* acorn32 machine dependent messages, German */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Wenn Sie von einer Diskette gebootet haben, können Sie diese jetzt -enfernen. -} - -message badreadbb -{Kann den Bootblock des Filecores nicht lesen -} - -message badreadriscix -{Kann die RISCiX Paritionstabelle nicht lesen -} - -message notnetbsdriscix -{Keine NetBSD Partition in der RISCiX Partitionstabelle gefunden - erstellen -eines Labels nicht möglich. -} - -message notnetbsd -{Keine NetBSD Partition gefunden (eine Nur-Filecore Platte?) - erstellen eines -Labels nicht möglich. -} - -message dobootblks -{Installiere die Bootblöcke auf %s ... -} - -message set_kernel_1 -{Kernel (GENERIC)} -message set_kernel_2 -{Kernel (GENERIC_NC)} - - -message arm32fspart -{Dies sind die NetBSD Partitionen auf %s (Größe und Offset in %s): -} diff --git a/overlay/usr.sbin/sysinst/arch/acorn32/msg.md.en b/overlay/usr.sbin/sysinst/arch/acorn32/msg.md.en deleted file mode 100644 index 7c9b8b9265..0000000000 --- a/overlay/usr.sbin/sysinst/arch/acorn32/msg.md.en +++ /dev/null @@ -1,75 +0,0 @@ -/* $NetBSD: msg.md.en,v 1.1 2014/07/26 19:30:44 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* acorn32 machine dependent messages, english */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{If you booted from a floppy, you may now remove the disk. -} - -message badreadbb -{Cannot read filecore boot block -} - -message badreadriscix -{Cannot read RISCiX partition table -} - -message notnetbsdriscix -{No NetBSD partition found in RISCiX partition table - Cannot label -} - -message notnetbsd -{No NetBSD partition found (filecore only disk ?) - Cannot label -} - -message dobootblks -{Installing boot blocks on %s.... -} - -message set_kernel_1 -{Kernel (GENERIC)} -message set_kernel_2 -{Kernel (GENERIC_NC)} - - -message arm32fspart -{We now have your NetBSD partitions on %s as follows (Size and Offset in %s): -} diff --git a/overlay/usr.sbin/sysinst/arch/acorn32/msg.md.es b/overlay/usr.sbin/sysinst/arch/acorn32/msg.md.es deleted file mode 100644 index 426dcea6ce..0000000000 --- a/overlay/usr.sbin/sysinst/arch/acorn32/msg.md.es +++ /dev/null @@ -1,78 +0,0 @@ -/* $NetBSD: msg.md.es,v 1.1 2014/07/26 19:30:44 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* acorn32 machine dependent messages, spanish */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Si ha iniciado desde disquette, ahora debería retirar el disco. -} - -message badreadbb -{No se puede leer el bloque de arranque filecore -} - -message badreadriscix -{No se puede leer la tabla de particiones RISCiX -} - -message notnetbsdriscix -{No se ha encontrado ninguna partición NetBSD en la tabla de -particiones RISCiX - No se puede etiquetar -} - -message notnetbsd -{No se ha encontrado ninguna partición NetBSD (¿disco solo de filecore?) - - No se puede etiquetar -} - -message dobootblks -{Instalando bloques de arranque en %s... -} - -message set_kernel_1 -{Nucleo (GENERIC)} -message set_kernel_2 -{Nucleo (GENERIC_NC)} - - -message arm32fspart -{Ahora tenemos nuestras particiones NetBSD en %s como sigue (Tamaño y -Compensación en %s): -} diff --git a/overlay/usr.sbin/sysinst/arch/acorn32/msg.md.fr b/overlay/usr.sbin/sysinst/arch/acorn32/msg.md.fr deleted file mode 100644 index 428827d49a..0000000000 --- a/overlay/usr.sbin/sysinst/arch/acorn32/msg.md.fr +++ /dev/null @@ -1,77 +0,0 @@ -/* $NetBSD: msg.md.fr,v 1.1 2014/07/26 19:30:44 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* acorn32 machine dependent messages, french */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Si vous avez démarré sur une disquette, vous pouvez maintenant la retirer. -} - -message badreadbb -{Impossible de lire le contenu du secteur de démarrage -} - -message badreadriscix -{Impossible de lire la table de partitions RISCiX -} - -message notnetbsdriscix -{Aucune partition NetBSD trouvée dans la table de partitions RISCiX. Impossible -de créer un label. -} - -message notnetbsd -{Aucune partition NetBSD trouvée (disque filecore uniquement ?). Impossible -de créer un label. -} - -message dobootblks -{Installation des blocs de démarrage sur %s ... -} - -message set_kernel_1 -{Kernel (GENERIC)} -message set_kernel_2 -{Kernel (GENERIC_NC)} - -message arm32fspart -{Nous avons maintenant vos partitions NetBSD sur %s comme suit -(taille et Offset en %s) : -} diff --git a/overlay/usr.sbin/sysinst/arch/acorn32/msg.md.pl b/overlay/usr.sbin/sysinst/arch/acorn32/msg.md.pl deleted file mode 100644 index 0e22c7d51c..0000000000 --- a/overlay/usr.sbin/sysinst/arch/acorn32/msg.md.pl +++ /dev/null @@ -1,76 +0,0 @@ -/* $NetBSD: msg.md.pl,v 1.1 2014/07/26 19:30:44 dholland Exp $ */ -/* Based on english version: */ -/* NetBSD: msg.md.en,v 1.2 2002/04/02 17:11:21 thorpej Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* acorn32 machine dependent messages, Polish */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Jesli uruchomiles komputer z dyskietki, mozesz ja teraz wyciagnac. -} - -message badreadbb -{Nie moge przeczytac bootbloku filecore -} - -message badreadriscix -{Nie moge przeczytac tablicy partycji RISCiX -} - -message notnetbsdriscix -{Nie znalazlem partycji NetBSD w tablicy partycji RISCiX - Nie moge nazwac -} - -message notnetbsd -{Nie znalazlem partycji NetBSD (dysk filecore?) - Nie moge nazwac -} - -message dobootblks -{Instalowanie bootblokow na %s.... -} - -message set_kernel_1 -{Kernel (GENERIC)} -message set_kernel_2 -{Kernel (GENERIC_NC)} - -message arm32fspart -{Partycje NetBSD na dysku %s wygladaja teraz tak (Rozmiary i Przesuniecia w %s): -} diff --git a/overlay/usr.sbin/sysinst/arch/alpha/Makefile b/overlay/usr.sbin/sysinst/arch/alpha/Makefile deleted file mode 100644 index f7ea0096f3..0000000000 --- a/overlay/usr.sbin/sysinst/arch/alpha/Makefile +++ /dev/null @@ -1,6 +0,0 @@ -# $NetBSD: Makefile,v 1.1 2014/07/26 19:30:44 dholland Exp $ -# -# Makefile for alpha -# - -.include "../../Makefile.inc" diff --git a/overlay/usr.sbin/sysinst/arch/alpha/md.c b/overlay/usr.sbin/sysinst/arch/alpha/md.c deleted file mode 100644 index e1d0ed31ca..0000000000 --- a/overlay/usr.sbin/sysinst/arch/alpha/md.c +++ /dev/null @@ -1,230 +0,0 @@ -/* $NetBSD: md.c,v 1.11 2026/09/03 02:12:15 gutteridge Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - */ - -/* md.c -- alpha machine specific routines */ - -#include -#include -#include -#include -#include -#include -#include -#include - -#include "defs.h" -#include "md.h" -#include "msg_defs.h" -#include "menu_defs.h" - -void -md_init(void) -{ -} - -void -md_init_set_status(int flags) -{ - (void)flags; -} - -bool -md_get_info(struct install_partition_desc *install) -{ - struct disklabel disklabel; - int fd; - char dev_name[100]; - - snprintf (dev_name, 100, "/dev/r%s%c", pm->diskdev, 'a' + getrawpartition()); - - fd = open (dev_name, O_RDONLY, 0); - if (fd < 0) { - endwin(); - fprintf (stderr, "Can't open %s\n", dev_name); - exit(1); - } - if (ioctl(fd, DIOCGDINFO, &disklabel) == -1) { - endwin(); - fprintf (stderr, "Can't read disklabel on %s.\n", dev_name); - close(fd); - exit(1); - } - close(fd); - - pm->dlcyl = disklabel.d_ncylinders; - pm->dlhead = disklabel.d_ntracks; - pm->sectorsize = disklabel.d_secsize; - pm->dlsize = disklabel.d_secperunit; - - /* - * Tru64 UNIX's disklabel is the same format as BSD disklabel, - * and it seems Tru64 stores incorrect geometry values in - * d_nsectors (sectors/track) and d_secpercyl (sectors/cylinder). - * d_secperunit seems always reliable so use it to get - * dlsec (sectors/track) and dlcylsize (sectors/cylinder) values. - * See PR/48697 for details. - */ - pm->dlsec = pm->dlsize / (pm->dlhead * pm->dlcyl); - pm->dlcylsize = pm->dlsec * pm->dlhead; - - return true; -} - -/* - * md back-end code for menu-driven BSD disklabel editor. - */ -int -md_make_bsd_partitions(struct install_partition_desc *install) -{ - return make_bsd_partitions(install); -} - -/* - * any additional partition validation - */ -bool -md_check_partitions(struct install_partition_desc *install) -{ - return 1; -} - -/* - * hook called before writing new disklabel. - */ -bool -md_pre_disklabel(struct install_partition_desc *install, - struct disk_partitions *part) -{ - return true; -} - -/* - * hook called after writing disklabel to new target disk. - */ -bool -md_post_disklabel(struct install_partition_desc *install, - struct disk_partitions *part) -{ - return true; -} - -/* - * hook called after upgrade() or install() has finished setting - * up the target disk but immediately before the user is given the - * ``disks are now set up'' message. - * - * On the Alpha, we use this opportunity to install the boot blocks. - */ -int -md_post_newfs(struct install_partition_desc *install) -{ - char *bootxx; - int error; - - msg_fmt_display(MSG_dobootblks, "%s", pm->diskdev); - cp_to_target("/usr/mdec/boot", "/boot"); - bootxx = bootxx_name(install); - if (bootxx != NULL) { - error = run_program(RUN_DISPLAY | RUN_NO_CLEAR, - "/usr/sbin/installboot /dev/r%sc %s", pm->diskdev, bootxx); - free(bootxx); - } else - error = -1; - - if (error != 0) - process_menu(MENU_ok, - __UNCONST("Warning: disk is probably not bootable")); - - wclear(stdscr); - touchwin(stdscr); - clearok(stdscr, 1); - refresh(); - - return 0; -} - -int -md_post_extract(struct install_partition_desc *install, bool upgrade) -{ - return 0; -} - -void -md_cleanup_install(struct install_partition_desc *install) -{ -#ifndef DEBUG - enable_rc_conf(); -#endif -} - -int -md_pre_update(struct install_partition_desc *install) -{ - return 1; -} - -/* Upgrade support */ -int -md_update(struct install_partition_desc *install) -{ - md_post_newfs(install); - return 1; -} - -int -md_pre_mount(struct install_partition_desc *install, size_t ndx) -{ - return 0; -} - -#ifdef HAVE_GPT -/* - * New GPT partitions have been written, update bootloader or remember - * data until needed in md_post_newfs - */ -bool -md_gpt_post_write(struct disk_partitions *parts, part_id root_id, - bool root_is_new, part_id efi_id, bool efi_is_new) -{ - - return true; -} -#endif - -bool -md_parts_use_wholedisk(struct disk_partitions *parts) -{ - return parts_use_wholedisk(parts, 0, NULL); -} - diff --git a/overlay/usr.sbin/sysinst/arch/alpha/md.h b/overlay/usr.sbin/sysinst/arch/alpha/md.h deleted file mode 100644 index f580280198..0000000000 --- a/overlay/usr.sbin/sysinst/arch/alpha/md.h +++ /dev/null @@ -1,66 +0,0 @@ -/* $NetBSD: md.h,v 1.4 2025/04/26 03:49:32 tsutsui Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* md.h -- Machine specific definitions for the alpha */ - -/* Constants and defines */ - -/* Megs required for a full X installation. */ -#define XNEEDMB 300 -#define DEFROOTSIZE 128 -#define DEFUSRSIZE 900 -#define DEBNEEDMB 1024 - -/* have support for booting from UFS2 */ -#define HAVE_UFS2_BOOT - -/* have file system specific primary boot loader */ -#define HAVE_BOOTXX_xFS -#define BOOTXXDIR "/usr/mdec" -#define BOOTXX_FFSV1 "bootxx_ffs" -#define BOOTXX_FFSV2 "bootxx_ffsv2" - -/* - * Default filesets to fetch and install during installation - * or upgrade. - */ -#define SET_KERNEL_1_NAME "kern-GENERIC" - -/* - * Machine-specific command to write a new label to a disk. - * If not defined, we assume the port does not support disklabels and - * the hand-edited disklabel will NOT be written by MI code. - */ -#define DISKLABEL_CMD "disklabel -w -r" diff --git a/overlay/usr.sbin/sysinst/arch/alpha/menus.md.en b/overlay/usr.sbin/sysinst/arch/alpha/menus.md.en deleted file mode 100644 index 48df61a9b4..0000000000 --- a/overlay/usr.sbin/sysinst/arch/alpha/menus.md.en +++ /dev/null @@ -1,37 +0,0 @@ -/* $NetBSD: menus.md.en,v 1.1 2014/07/26 19:30:44 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* alpha machine dependent menus, english */ - diff --git a/overlay/usr.sbin/sysinst/arch/alpha/menus.md.es b/overlay/usr.sbin/sysinst/arch/alpha/menus.md.es deleted file mode 100644 index f9e9f0cced..0000000000 --- a/overlay/usr.sbin/sysinst/arch/alpha/menus.md.es +++ /dev/null @@ -1,37 +0,0 @@ -/* $NetBSD: menus.md.es,v 1.1 2014/07/26 19:30:44 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* alpha machine dependent menus, spanish */ - diff --git a/overlay/usr.sbin/sysinst/arch/alpha/menus.md.fr b/overlay/usr.sbin/sysinst/arch/alpha/menus.md.fr deleted file mode 100644 index db3f384e6e..0000000000 --- a/overlay/usr.sbin/sysinst/arch/alpha/menus.md.fr +++ /dev/null @@ -1,37 +0,0 @@ -/* $NetBSD: menus.md.fr,v 1.1 2014/07/26 19:30:44 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* alpha machine dependent menus, french */ - diff --git a/overlay/usr.sbin/sysinst/arch/alpha/menus.md.pl b/overlay/usr.sbin/sysinst/arch/alpha/menus.md.pl deleted file mode 100644 index ea6669d61b..0000000000 --- a/overlay/usr.sbin/sysinst/arch/alpha/menus.md.pl +++ /dev/null @@ -1,39 +0,0 @@ -/* $NetBSD: menus.md.pl,v 1.1 2014/07/26 19:30:44 dholland Exp $ */ -/* Based on english version: */ -/* NetBSD: menus.md.en,v 1.16 2001/11/29 23:20:56 thorpej Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* alpha machine dependent menus, Polish */ - diff --git a/overlay/usr.sbin/sysinst/arch/alpha/msg.md.de b/overlay/usr.sbin/sysinst/arch/alpha/msg.md.de deleted file mode 100644 index 911ea1f483..0000000000 --- a/overlay/usr.sbin/sysinst/arch/alpha/msg.md.de +++ /dev/null @@ -1,53 +0,0 @@ -/* $NetBSD: msg.md.de,v 1.2 2020/09/22 02:53:52 snj Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* alpha machine dependent messages, German */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Wenn Sie von einer Diskette gebootet haben, können Sie diese jetzt -enfernen. -} - -message dobootblks -{Installiere die Bootblöcke auf %s ... -} - -message set_kernel_1 -{Kernel (GENERIC)} diff --git a/overlay/usr.sbin/sysinst/arch/alpha/msg.md.en b/overlay/usr.sbin/sysinst/arch/alpha/msg.md.en deleted file mode 100644 index 549d6ef566..0000000000 --- a/overlay/usr.sbin/sysinst/arch/alpha/msg.md.en +++ /dev/null @@ -1,52 +0,0 @@ -/* $NetBSD: msg.md.en,v 1.2 2020/09/22 02:53:52 snj Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* alpha machine dependent messages, english */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{If you booted from a floppy, you may now remove the disk. -} - -message dobootblks -{Installing boot blocks on %s.... -} - -message set_kernel_1 -{Kernel (GENERIC)} diff --git a/overlay/usr.sbin/sysinst/arch/alpha/msg.md.es b/overlay/usr.sbin/sysinst/arch/alpha/msg.md.es deleted file mode 100644 index 703a695ec6..0000000000 --- a/overlay/usr.sbin/sysinst/arch/alpha/msg.md.es +++ /dev/null @@ -1,52 +0,0 @@ -/* $NetBSD: msg.md.es,v 1.2 2020/09/22 02:53:52 snj Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* alpha machine dependent messages, spanish */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Si ha iniciado desde disquette, ahora debería retirar el disco. -} - -message dobootblks -{Instalando bloques de arranque en %s... -} - -message set_kernel_1 -{Núcleo (GENERIC)} diff --git a/overlay/usr.sbin/sysinst/arch/alpha/msg.md.fr b/overlay/usr.sbin/sysinst/arch/alpha/msg.md.fr deleted file mode 100644 index 281d24ecb5..0000000000 --- a/overlay/usr.sbin/sysinst/arch/alpha/msg.md.fr +++ /dev/null @@ -1,52 +0,0 @@ -/* $NetBSD: msg.md.fr,v 1.2 2020/09/22 02:53:52 snj Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* alpha machine dependent messages, french */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Si vous avez démarré sur une disquette, vous pouvez maintenant la retirer. -} - -message dobootblks -{Installation des blocs de démarrage sur %s ... -} - -message set_kernel_1 -{Kernel (GENERIC)} diff --git a/overlay/usr.sbin/sysinst/arch/alpha/msg.md.pl b/overlay/usr.sbin/sysinst/arch/alpha/msg.md.pl deleted file mode 100644 index 912fa263dc..0000000000 --- a/overlay/usr.sbin/sysinst/arch/alpha/msg.md.pl +++ /dev/null @@ -1,54 +0,0 @@ -/* $NetBSD: msg.md.pl,v 1.2 2020/09/22 02:53:52 snj Exp $ */ -/* Based on english version: */ -/* NetBSD: msg.md.en,v 1.6 2000/12/03 01:54:47 minoura Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* alpha machine dependent messages, Polish */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Jesli uruchomiles komputer z dyskietki, mozesz ja teraz wyciagnac. -} - -message dobootblks -{Instalowanie bootblokow na %s.... -} - -message set_kernel_1 -{Kernel (GENERIC)} diff --git a/overlay/usr.sbin/sysinst/arch/amd64/Makefile b/overlay/usr.sbin/sysinst/arch/amd64/Makefile deleted file mode 100644 index fb074a2ef3..0000000000 --- a/overlay/usr.sbin/sysinst/arch/amd64/Makefile +++ /dev/null @@ -1,18 +0,0 @@ -# $NetBSD: Makefile,v 1.3 2026/06/22 19:26:01 martin Exp $ -# -# Makefile for amd64 -# - -MENUS_MD= ../i386/menus.md -MSG_MD= ../i386/msg.md.${SYSINSTLANG} msg.mbr.${SYSINSTLANG} -MD_OPTIONS= BOOTSEL AOUT2ELF HAVE_INSTALL_IMAGE -NO_MBR=no -HAVE_DVD_IMAGE=yes - -CPPFLAGS+= -DBOOTSEL -DWSKBD - -# Makronix: the installer can encrypt the target disk (cgdroot.c). The boot -# loader and the cgdroot miniroot module this needs are the x86 ones. -CPPFLAGS+= -DCGDROOT - -.include "../../Makefile.inc" diff --git a/overlay/usr.sbin/sysinst/arch/amd64/md.c b/overlay/usr.sbin/sysinst/arch/amd64/md.c deleted file mode 100644 index e8ba8bd6b4..0000000000 --- a/overlay/usr.sbin/sysinst/arch/amd64/md.c +++ /dev/null @@ -1,22 +0,0 @@ -/* $NetBSD: md.c,v 1.2 2019/11/16 21:25:14 martin Exp $ */ - -/* md.c -- Machine specific code for amd64 */ - -#include "../i386/md.c" - -void amd64_md_boot_cfg_finalize(const char *path); - -void -amd64_md_boot_cfg_finalize(const char *path) -{ - char buf[MAXPATHLEN]; - - if (get_kernel_set() != SET_KERNEL_2) - return; - - run_program(RUN_CHROOT|RUN_FATAL, - "sh -c 'sed -e \"s:;boot:;pkboot:\" " - "< %s > %s.1", path, path); - snprintf(buf, sizeof buf, "%s.1", path); - mv_within_target_or_die(buf, path); -} diff --git a/overlay/usr.sbin/sysinst/arch/amd64/md.h b/overlay/usr.sbin/sysinst/arch/amd64/md.h deleted file mode 100644 index 81ab72d9c3..0000000000 --- a/overlay/usr.sbin/sysinst/arch/amd64/md.h +++ /dev/null @@ -1,135 +0,0 @@ -/* $NetBSD: md.h,v 1.11 2024/04/09 15:17:25 nia Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* md.h -- Machine specific definitions for the i386 */ - - -#include -#include -#include -#include -#include -#include - -/* i386 uses the mbr code. */ -#include "mbr.h" - -/* constants and defines */ -#define DEFROOTSIZE 128 /* Default root size */ -#define DEFUSRSIZE 0 /* Default /usr size, if /home */ -#define XNEEDMB 300 /* Extra megs for full X installation */ -#define DEBNEEDMB 1400 /* Extra megs for debug sets */ - -#define DEFSWAPSIZE (-1) - -/* use UFS2 by default for ffs */ -#define DEFAULT_UFS2 - -/* have support for booting from UFS2 */ -#define HAVE_UFS2_BOOT - -/* have support for booting from GPT disks */ -#define HAVE_GPT_BOOT - -/* allow using tmpfs for /tmp instead of mfs */ -#define HAVE_TMPFS - -/* have file system specific primary boot loader */ -#define HAVE_BOOTXX_xFS -#define BOOTXXDIR "/usr/mdec" -#define BOOTXX_FFSV1 "bootxx_ffsv1" -#define BOOTXX_FFSV2 "bootxx_ffsv2" -#define BOOTXX_LFSV2 "bootxx_lfsv2" - - -/* - * Default filesets to fetch and install during installation - * or upgrade. The standard sets are: - * base base32 etc comp games gpufw makronix man manhtml misc rescue - * tests text - * xbase xcomp xetc xfont xserver - * - * x86_64 has the MD set kern first, because generic kernels are too - * big to fit on install floppies. - * - * Third entry is the last extension name in the split sets for loading - * from floppy. - */ -#define SET_KERNEL_1_NAME "kern-GENERIC" -#define SET_KERNEL_2_NAME "kern-GENERIC_KASLR" - -#define SET_KERNEL_GENERIC SET_KERNEL_1 - -/* - * Machine-specific command to write a new label to a disk. - * For example, i386 uses "/sbin/disklabel -w -r", just like i386 - * miniroot scripts, though this may leave a bogus incore label. - * Sun ports should probably use DISKLABEL_CMD "/sbin/disklabel -w" - * to get incore to ondisk inode translation for the Sun proms. - * If not defined, we assume the port does not support disklabels and - * hand-edited disklabel will NOT be written by MI code. - * - * On amd64, do what the 1.2 install scripts did. - */ -#define DISKLABEL_CMD "disklabel -w -r" - -#define _PATH_MBR DEFAULT_BOOTDIR "/" DEFAULT_BOOTCODE -#define _PATH_BOOTSEL DEFAULT_BOOTDIR "/" DEFAULT_BOOTSELCODE - -extern struct mbr_bootsel *mbs; - - -/* - * prototypes for MD code. - */ - -/* - * When we do an UEFI install, we have completely different default - * partitions and need to adjust the description at runtime. - */ -void x86_md_part_defaults(struct pm_devs*, struct part_usage_info**, - size_t *num_usage_infos); - -#define MD_PART_DEFAULTS(A,B,C) x86_md_part_defaults(A,&(B),&(C)) - -/* no need to install bootblock if installing for UEFI */ -bool x86_md_need_bootblock(struct install_partition_desc *install); -#define MD_NEED_BOOTBLOCK(A) x86_md_need_bootblock(A) - -/* post-process boot.cfg for KASLR if that kernel has been selected */ -void amd64_md_boot_cfg_finalize(const char*); -#define MD_BOOT_CFG_FINALIZE(P) amd64_md_boot_cfg_finalize(P) - -#define HAVE_EFI_BOOT 1 /* we support EFI boot partitions */ - diff --git a/overlay/usr.sbin/sysinst/arch/amiga/Makefile b/overlay/usr.sbin/sysinst/arch/amiga/Makefile deleted file mode 100644 index 6cc2daa835..0000000000 --- a/overlay/usr.sbin/sysinst/arch/amiga/Makefile +++ /dev/null @@ -1,8 +0,0 @@ -# $NetBSD: Makefile,v 1.1 2014/07/26 19:30:44 dholland Exp $ -# - -LANGUAGES= en fr de -NODISKLABEL= yes -MD_OPTIONS= ADOS_FLOPPY - -.include "../../Makefile.inc" diff --git a/overlay/usr.sbin/sysinst/arch/amiga/md.c b/overlay/usr.sbin/sysinst/arch/amiga/md.c deleted file mode 100644 index 9e5c2844d0..0000000000 --- a/overlay/usr.sbin/sysinst/arch/amiga/md.c +++ /dev/null @@ -1,190 +0,0 @@ -/* $NetBSD: md.c,v 1.11 2026/09/03 02:12:15 gutteridge Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - */ - -/* md.c -- amiga machine specific routines */ - -#include -#include -#include -#include -#include - -#include "defs.h" -#include "md.h" -#include "msg_defs.h" -#include "menu_defs.h" - -void -md_init(void) -{ -} - -void -md_init_set_status(int flags) -{ - (void)flags; -} - -bool -md_get_info(struct install_partition_desc *install) -{ - set_default_sizemult(pm->diskdev, MEG, pm->sectorsize); - return true; -} - -/* - * md back-end code for menu-driven BSD disklabel editor. - */ -int -md_make_bsd_partitions(struct install_partition_desc *install) -{ - return 1; -} - -/* - * any additional partition validation - */ -bool -md_check_partitions(struct install_partition_desc *install) -{ - return true; -} - -/* - * hook called before writing new disklabel. - */ -bool -md_pre_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - return false; -} - -/* - * hook called after writing disklabel to new target disk. - */ -bool -md_post_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - return true; -} - -#ifdef DISKLABEL_NO_ONDISK_VERIFY -/* - * hook to check if disklabel returned by readdisklabel(9) via DIOCGDINFO - * seems the default one, on ports that have no BSD disklabel on disks. - */ -bool -md_disklabel_is_default(const struct disklabel *lp) -{ - bool maybe_default = - lp->d_npartitions == RAW_PART + 1 && - lp->d_partitions[RAW_PART].p_size == 0x1fffffff && - lp->d_partitions[0].p_size == lp->d_partitions[RAW_PART].p_size && - lp->d_partitions[0].p_offset == 0 && - lp->d_partitions[0].p_fstype == FS_BSDFFS; - - return maybe_default; -} -#endif - -/* - * hook called after upgrade() or install() has finished setting - * up the target disk but immediately before the user is given the - * ``disks are now set up'' message. - */ -int -md_post_newfs(struct install_partition_desc *install) -{ - /* boot blocks ... */ - msg_fmt_display(MSG_dobootblks, "%s", pm->diskdev); - return run_program(RUN_DISPLAY, - "/usr/mdec/installboot -v /usr/mdec/xxboot /dev/r%sa", pm->diskdev); -} - -int -md_post_extract(struct install_partition_desc *install, bool upgrade) -{ - return 0; -} - -void -md_cleanup_install(struct install_partition_desc *install) -{ -#ifndef DEBUG - enable_rc_conf(); -#endif -} - -int -md_pre_update(struct install_partition_desc *install) -{ - return 1; -} - -/* Upgrade support */ -int -md_update(struct install_partition_desc *install) -{ - md_post_newfs(install); - return 1; -} - -int -md_pre_mount(struct install_partition_desc *install, size_t ndx) -{ - return 0; -} - -#ifdef HAVE_GPT -/* - * New GPT partitions have been written, update bootloader or remember - * data until needed in md_post_newfs - */ -bool -md_gpt_post_write(struct disk_partitions *parts, part_id root_id, - bool root_is_new, part_id efi_id, bool efi_is_new) -{ - - return true; -} -#endif - -bool -md_parts_use_wholedisk(struct disk_partitions *parts) -{ - return parts_use_wholedisk(parts, 0, NULL); -} - diff --git a/overlay/usr.sbin/sysinst/arch/amiga/md.h b/overlay/usr.sbin/sysinst/arch/amiga/md.h deleted file mode 100644 index 34893f250f..0000000000 --- a/overlay/usr.sbin/sysinst/arch/amiga/md.h +++ /dev/null @@ -1,84 +0,0 @@ -/* $NetBSD: md.h,v 1.6 2021/12/05 04:42:55 msaitoh Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* md.h -- Machine specific definitions for the amiga */ - - -#include -#include -#include -#include -#include - -/* constants and defines */ - - -/* Megs required for a full X installation. */ -#define XNEEDMB 225 - - -/* - * Default filesets to fetch and install during installation - * or upgrade. The standard sets are: - * base etc comp games man misc rescue tests text xbase xcomp xetc xfont xserver - */ - -#define SET_KERNEL_1_NAME "kern-GENERIC" - -/* - * Machine-specific command to write a new label to a disk. - * For example, i386 uses "/sbin/disklabel -w -r", just like i386 - * miniroot scripts, though this may leave a bogus incore label. - * Sun ports should probably use DISKLABEL_CMD "/sbin/disklabel -w" - * to get incore to ondisk inode translation for the Sun proms. - * If not defined, we assume the port does not support disklabels and - * hand-edited disklabel will NOT be written by MI code. - * - * On amiga, disklabel can't be used to rewrite the RDB - */ -/* #define DISKLABEL_CMD "disklabel -w -r" */ - - -/* - * We rely on kernel support to translate native RDB partitions - * to in-core disklabels, so we can not check for existence of "real" - * disklabels on-disk before offering disklabel partitions. - */ -#define DISKLABEL_NO_ONDISK_VERIFY 1 - -/* - * prototypes for MD code. - */ - - diff --git a/overlay/usr.sbin/sysinst/arch/amiga/menus.md.en b/overlay/usr.sbin/sysinst/arch/amiga/menus.md.en deleted file mode 100644 index 5fb656e822..0000000000 --- a/overlay/usr.sbin/sysinst/arch/amiga/menus.md.en +++ /dev/null @@ -1,36 +0,0 @@ -/* $NetBSD: menus.md.en,v 1.1 2014/07/26 19:30:44 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Menu definitions for sysinst. amiga version, machine dependent. */ - diff --git a/overlay/usr.sbin/sysinst/arch/amiga/menus.md.es b/overlay/usr.sbin/sysinst/arch/amiga/menus.md.es deleted file mode 100644 index 6a82c1a61b..0000000000 --- a/overlay/usr.sbin/sysinst/arch/amiga/menus.md.es +++ /dev/null @@ -1,36 +0,0 @@ -/* $NetBSD: menus.md.es,v 1.1 2014/07/26 19:30:44 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Menu definitions for sysinst. amiga version, machine dependent. */ - diff --git a/overlay/usr.sbin/sysinst/arch/amiga/menus.md.fr b/overlay/usr.sbin/sysinst/arch/amiga/menus.md.fr deleted file mode 100644 index dc1e72da70..0000000000 --- a/overlay/usr.sbin/sysinst/arch/amiga/menus.md.fr +++ /dev/null @@ -1,36 +0,0 @@ -/* $NetBSD: menus.md.fr,v 1.1 2014/07/26 19:30:44 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Menu definitions for sysinst. amiga version, machine dependent. */ - diff --git a/overlay/usr.sbin/sysinst/arch/amiga/msg.md.de b/overlay/usr.sbin/sysinst/arch/amiga/msg.md.de deleted file mode 100644 index b1468ac116..0000000000 --- a/overlay/usr.sbin/sysinst/arch/amiga/msg.md.de +++ /dev/null @@ -1,51 +0,0 @@ -/* $NetBSD: msg.md.de,v 1.1 2014/07/26 19:30:44 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- German, amiga version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Wenn Sie von einer Diskette gebootet haben, können Sie diese jetzt -entfernen. -} - -message dobootblks -{Installiere die Bootblöcke auf %s ... -} - -message set_kernel_1 -{Kernel (GENERIC)} diff --git a/overlay/usr.sbin/sysinst/arch/amiga/msg.md.en b/overlay/usr.sbin/sysinst/arch/amiga/msg.md.en deleted file mode 100644 index ed666ffab2..0000000000 --- a/overlay/usr.sbin/sysinst/arch/amiga/msg.md.en +++ /dev/null @@ -1,50 +0,0 @@ -/* $NetBSD: msg.md.en,v 1.1 2014/07/26 19:30:44 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- english, amiga version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{If you booted from a floppy, you may now remove the disk. -} - -message dobootblks -{Installing boot blocks on %s.... -} - -message set_kernel_1 -{Kernel (GENERIC)} diff --git a/overlay/usr.sbin/sysinst/arch/amiga/msg.md.es b/overlay/usr.sbin/sysinst/arch/amiga/msg.md.es deleted file mode 100644 index 0fc0fb70eb..0000000000 --- a/overlay/usr.sbin/sysinst/arch/amiga/msg.md.es +++ /dev/null @@ -1,50 +0,0 @@ -/* $NetBSD: msg.md.es,v 1.1 2014/07/26 19:30:44 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- english, amiga version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Si ha iniciado desde disquette, ahora debería retirar el disco. -} - -message dobootblks -{Instalando boot blocks en %s.... -} - -message set_kernel_1 -{Núcleo (GENERIC)} diff --git a/overlay/usr.sbin/sysinst/arch/amiga/msg.md.fr b/overlay/usr.sbin/sysinst/arch/amiga/msg.md.fr deleted file mode 100644 index 1a3cbbdc43..0000000000 --- a/overlay/usr.sbin/sysinst/arch/amiga/msg.md.fr +++ /dev/null @@ -1,50 +0,0 @@ -/* $NetBSD: msg.md.fr,v 1.1 2014/07/26 19:30:44 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- french, amiga version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Si vous avez démarré sur une disquette, vous pouvez maintenant la retirer. -} - -message dobootblks -{Installation des blocs de démarrage sur %s ... -} - -message set_kernel_1 -{Kernel (GENERIC)} diff --git a/overlay/usr.sbin/sysinst/arch/arc/Makefile b/overlay/usr.sbin/sysinst/arch/arc/Makefile deleted file mode 100644 index 1d0b4e0f5a..0000000000 --- a/overlay/usr.sbin/sysinst/arch/arc/Makefile +++ /dev/null @@ -1,12 +0,0 @@ -# $NetBSD: Makefile,v 1.2 2019/06/12 06:20:18 martin Exp $ -# -# Makefile for arc -# - -MENUS_MD= menus.md.${SYSINSTLANG} -MSG_MD= msg.md.${SYSINSTLANG} msg.mbr.${SYSINSTLANG} -NO_MBR=no - -LANGUAGES= # no translations ready yet - -.include "../../Makefile.inc" diff --git a/overlay/usr.sbin/sysinst/arch/arc/md.c b/overlay/usr.sbin/sysinst/arch/arc/md.c deleted file mode 100644 index 3d7dc22333..0000000000 --- a/overlay/usr.sbin/sysinst/arch/arc/md.c +++ /dev/null @@ -1,309 +0,0 @@ -/* $NetBSD: md.c,v 1.15 2026/03/17 20:55:41 andvar Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - */ - -/* md.c -- arc machine specific routines */ - -#include -#include -#include -#include -#include - -#include "defs.h" -#include "md.h" -#include "msg_defs.h" -#include "menu_defs.h" - -/* - * ARC BIOS recognizes only FAT, so we have to have a FAT partition - * to store our native bootloader. - */ -static int nobootfs = 0; - -void -md_init(void) -{ -} - -void -md_init_set_status(int flags) -{ - (void)flags; -} - -bool -md_get_info(struct install_partition_desc *install) -{ - int res; - - if (pm->no_mbr || pm->no_part) - return true; - -again: - if (pm->parts == NULL) { - - const struct disk_partitioning_scheme *ps = - select_part_scheme(pm, NULL, true, NULL); - - if (!ps) - return false; - - struct disk_partitions *parts = - (*ps->create_new_for_disk)(pm->diskdev, - 0, pm->dlsize, true, NULL); - if (!parts) - return false; - - pm->parts = parts; - if (ps->size_limit > 0 && pm->dlsize > ps->size_limit) - pm->dlsize = ps->size_limit; - } - - res = set_bios_geom_with_mbr_guess(pm->parts); - if (res == 0) - return false; - else if (res == 1) - return true; - - pm->parts->pscheme->destroy_part_scheme(pm->parts); - pm->parts = NULL; - goto again; -} - -/* - * md back-end code for menu-driven BSD disklabel editor. - */ -int -md_make_bsd_partitions(struct install_partition_desc *install) -{ - - return make_bsd_partitions(install); -} - -/* - * any additional partition validation - */ -bool -md_check_partitions(struct install_partition_desc *install) -{ - size_t i; - - /* - * We need to find a boot partition, otherwise we can't write our - * bootloader. We make the assumption that the user hasn't done - * something stupid, like move it away from the MBR partition. - */ - for (i = 0; i < install->num; i++) { - if (install->infos[i].fs_type == FS_MSDOS) - return true; - } - - msg_display(MSG_nobootpartdisklabel); - process_menu(MENU_ok, NULL); - return false; -} - -/* - * hook called before writing new disklabel. - */ -bool -md_pre_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - - if (parts->parent == NULL) - return true; /* no outer partitions */ - - parts = parts->parent; - - msg_display_subst(MSG_dofdisk, 3, parts->disk, - msg_string(parts->pscheme->name), - msg_string(parts->pscheme->short_name)); - - /* write edited "MBR" onto disk. */ - if (!parts->pscheme->write_to_disk(parts)) { - msg_display(MSG_wmbrfail); - process_menu(MENU_ok, NULL); - return false; - } - return true; -} - -/* - * hook called after writing disklabel to new target disk. - */ -bool -md_post_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - return true; -} - -/* - * hook called after upgrade() or install() has finished setting - * up the target disk but immediately before the user is given the - * ``disks are now set up'' message. - */ -int -md_post_newfs(struct install_partition_desc *install) -{ - if (!nobootfs) { - msg_fmt_display(msg_string(MSG_copybootloader), "%s", - pm->diskdev); - cp_to_target("/usr/mdec/boot", PART_BOOT_MOUNT); - } - - return 0; -} - -int -md_post_extract(struct install_partition_desc *install, bool upgrade) -{ - return 0; -} - -void -md_cleanup_install(struct install_partition_desc *install) -{ -#ifndef DEBUG - enable_rc_conf(); -#endif - msg_display(MSG_howtoboot); - process_menu(MENU_ok, NULL); -} - -int -md_pre_update(struct install_partition_desc *install) -{ - size_t i; - - /* - * Verify the msdos partition exists and is big enough. - */ - for (i = 0; i < install->num; i++) { - if (install->infos[i].fs_type != PART_BOOT_TYPE) - continue; - if (install->infos[i].size/512 >= PART_BOOT_MIN) - break; - msg_display(MSG_boottoosmall); - msg_fmt_display_add(MSG_nobootpart, "%d", 0); - if (!ask_yesno(NULL)) - return false; - nobootfs = 1; - break; - } - - if (md_check_partitions(install) == 0) - nobootfs = 1; - - return 1; -} - -/* Upgrade support */ -int -md_update(struct install_partition_desc *install) -{ - md_post_newfs(install); - return 1; -} - -int -md_check_mbr(struct disk_partitions *parts, mbr_info_t *mbri, bool quiet) -{ - mbr_info_t *ext; - struct mbr_partition *part; - int i; - - for (ext = mbri; ext; ext = ext->extended) { - part = ext->mbr.mbr_parts; - for (i = 0; i < MBR_PART_COUNT; part++, i++) { - if (part->mbrp_type == MBR_PTYPE_FAT12) { - pm->bootstart = part->mbrp_start; - pm->bootsize = part->mbrp_size; - break; - } - } - } - if (pm->bootsize < (PART_BOOT_MIN / 512)) { - if (quiet) - return 0; - msg_display(MSG_boottoosmall); - return ask_reedit(parts); - } - if (pm->bootstart == 0 || pm->bootsize == 0) { - if (quiet) - return 0; - msg_display(MSG_nobootpart); - return ask_reedit(parts); - } - return 2; -} - -bool -md_parts_use_wholedisk(struct disk_partitions *parts) -{ - struct disk_part_info boot_part = { - .size = PART_BOOT / 512, - .fs_type = PART_BOOT_TYPE, - .fs_sub_type = MBR_PTYPE_FAT12, - .last_mounted = PART_BOOT_MOUNT, - }; - - boot_part.nat_type = parts->pscheme->get_fs_part_type( - PT_root, boot_part.fs_type, boot_part.fs_sub_type); - - return parts_use_wholedisk(parts, 1, &boot_part); -} - -int -md_pre_mount(struct install_partition_desc *install, size_t ndx) -{ - return 0; -} - -bool -md_mbr_update_check(struct disk_partitions *parts, mbr_info_t *mbri) -{ - return false; /* no change, no need to write back */ -} - -#ifdef HAVE_GPT -bool -md_gpt_post_write(struct disk_partitions *parts, part_id root_id, - bool root_is_new, part_id efi_id, bool efi_is_new) -{ - /* no GPT boot support, nothing needs to be done here */ - return true; -} -#endif diff --git a/overlay/usr.sbin/sysinst/arch/arc/md.h b/overlay/usr.sbin/sysinst/arch/arc/md.h deleted file mode 100644 index 3f4bb98502..0000000000 --- a/overlay/usr.sbin/sysinst/arch/arc/md.h +++ /dev/null @@ -1,88 +0,0 @@ -/* $NetBSD: md.h,v 1.5 2022/06/16 14:03:37 tsutsui Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* md.h -- Machine specific definitions for the arc */ - - -#include -#include -#include -#include -#include - -/* arc uses the mbr code. */ -#include "mbr.h" - -/* constants and defines */ -#define PART_BOOT (2 * 1024 * 1024) /* 2MB boot partition */ -#define PART_BOOT_MIN (1 * 1024 * 1024) /* 1MB minimum */ - -/* We want the boot MSDOS partition mounted on /msdos during install */ -#define PART_BOOT_MOUNT "/msdos" -#define PART_BOOT_TYPE FS_MSDOS -#define PART_BOOT_SUBT MBR_PTYPE_FAT12 - -/* default partition size */ -#define DEFROOTSIZE 64 /* Default root size */ -#define DEFSWAPSIZE 128 /* Default swap size */ -#define DEFVARSIZE 64 /* Default /var size, if created */ -#define DEFUSRSIZE 750 /* Default /usr size, if created */ - -/* Megs required for a full X installation. */ -#define XNEEDMB 300 - -#define DEBNEEDMB 900 /* Extra megs for debug sets */ - -/* have support for booting from UFS2 */ -#define HAVE_UFS2_BOOT - - -/* - * Default filesets to fetch and install during installation - * or upgrade. The standard sets are: - * base etc comp games man misc rescue tests text xbase xcomp xetc xfont xserver - */ -#define SET_KERNEL_1_NAME "kern-GENERIC" -#define MD_SETS_SELECTED SET_KERNEL_1, SET_SYSTEM, SET_X11_NOSERVERS - -/* - * Machine-specific command to write a new label to a disk. - * For example, arc uses "/sbin/disklabel -w -r", just like i386 - * miniroot scripts, though this may leave a bogus incore label. - * Sun ports should probably use DISKLABEL_CMD "/sbin/disklabel -w" - * to get incore to ondisk inode translation for the Sun proms. - * If not defined, we assume the port does not support disklabels and - * hand-edited disklabel will NOT be written by MI code. - */ -#define DISKLABEL_CMD "disklabel -w -r" diff --git a/overlay/usr.sbin/sysinst/arch/arc/menus.md.en b/overlay/usr.sbin/sysinst/arch/arc/menus.md.en deleted file mode 100644 index 4755503766..0000000000 --- a/overlay/usr.sbin/sysinst/arch/arc/menus.md.en +++ /dev/null @@ -1,36 +0,0 @@ -/* $NetBSD: menus.md.en,v 1.1 2014/07/26 19:30:44 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Menu definitions for sysinst. arc version, machine dependent. */ - diff --git a/overlay/usr.sbin/sysinst/arch/arc/msg.md.en b/overlay/usr.sbin/sysinst/arch/arc/msg.md.en deleted file mode 100644 index 31392dfee1..0000000000 --- a/overlay/usr.sbin/sysinst/arch/arc/msg.md.en +++ /dev/null @@ -1,91 +0,0 @@ -/* $NetBSD: msg.md.en,v 1.1 2014/07/26 19:30:44 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- English, arc version */ - -message md_hello -{Make sure you have a backup of your disk if needed since -sysinst on this port is still experimental. -} - -message md_may_remove_boot_medium -{ -} - -message dobad144 -{Installing the bad block table ... -} - -message dobootblks -{Installing boot blocks on %s.... -} - -message pickdisk -{Choose disk: } - -message partabovechs -{The NetBSD part of the disk lies outside of the range that the BIOS on -your machine can address. Booting from it may not be possible. Are you -sure you that you want to do this? - -(Answering 'no' will take you back to the partition edit menu.)} - -message nobootpart -{There is no FAT12 MS-DOS partition in the MBR partition table.} - -message boottoosmall -{The MS-DOS FAT12 partition to install the native bootloader is too small. -It needs to be at least 1MB in size, however a size of at least 2MB is -recommended.} - -message nobootpartdisklabel -{There is no boot partition in the disklabel. The boot partition should -match the boot partition you set up in the MBR partition table.} - -message copybootloader -{Copying bootloader into the MS-DOS FAT12 partition on %s... -} - -message howtoboot -{The installation is almost complete. Note the installer doesn't set -ARC BIOS environments for the BIOS to load NetBSD's bootloader by default. -To boot NetBSD, you need to specify the following boot command on -'Run a program' prompt of the ARC BIOS menu. - -scsi()disk()rdisk()partition(1)boot scsi()disk()rdisk()partition(2)netbsd - -} - -message set_kernel_1 -{Kernel (GENERIC)} diff --git a/overlay/usr.sbin/sysinst/arch/atari/Makefile b/overlay/usr.sbin/sysinst/arch/atari/Makefile deleted file mode 100644 index 55c0f26ed9..0000000000 --- a/overlay/usr.sbin/sysinst/arch/atari/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# $NetBSD: Makefile,v 1.7 2026/07/12 20:07:45 martin Exp $ -# -# Makefile for atari -# - -#MD_OPTIONS= AOUT2ELF -LANGUAGES= en de - -CPPFLAGS+= -DSUPPORT_8_3_SOURCE_FILESYSTEM - -.ifdef SMALLPROG -CHECK_ENTROPY= no # do not check entropy/offer adding -NOPARTMAN= yes -NO_GPT= yes -NO_DISKSIZE_CHECKS= yes # we only have disklabel, can't do large disks -NO_MBR= yes -NO_CLONES= yes -.endif - -.include "../../Makefile.inc" diff --git a/overlay/usr.sbin/sysinst/arch/atari/md.c b/overlay/usr.sbin/sysinst/arch/atari/md.c deleted file mode 100644 index 30b57e5b8c..0000000000 --- a/overlay/usr.sbin/sysinst/arch/atari/md.c +++ /dev/null @@ -1,217 +0,0 @@ -/* $NetBSD: md.c,v 1.11 2024/01/04 18:09:37 tsutsui Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - */ - -/* md.c -- atari machine specific routines */ - -#include -#include -#include -#include -#include -#include - -#include "defs.h" -#include "md.h" -#include "msg_defs.h" -#include "menu_defs.h" - -void -md_init(void) -{ -} - -void -md_init_set_status(int flags) -{ - struct utsname instsys; - - (void)flags; - - /* - * Get the name of the kernel we are running under and - * enable the installation of the corresponding GENERIC-like kernel. - */ - uname(&instsys); - if (strstr(instsys.version, "(ATARITT")) - set_kernel_set(SET_KERNEL_1); - else if (strstr(instsys.version, "(FALCON")) - set_kernel_set(SET_KERNEL_2); - else if (strstr(instsys.version, "(SMALL030")) - set_kernel_set(SET_KERNEL_3); - else if (strstr(instsys.version, "(HADES")) - set_kernel_set(SET_KERNEL_4); - else if (strstr(instsys.version, "(MILAN-ISAIDE")) - set_kernel_set(SET_KERNEL_5); - else if (strstr(instsys.version, "(MILAN-PCIIDE")) - set_kernel_set(SET_KERNEL_6); -} - -bool -md_get_info(struct install_partition_desc *install) -{ - set_default_sizemult(pm->diskdev, MEG, pm->sectorsize); - return true; -} - -/* - * md back-end code for menu-driven BSD disklabel editor. - */ -int -md_make_bsd_partitions(struct install_partition_desc *install) -{ - msg_fmt_display(MSG_infoahdilabel, "%s", pm->diskdev); - if (ask_noyes(NULL)) { - run_program(RUN_DISPLAY, "ahdilabel /dev/r%sc", pm->diskdev); - } - return make_bsd_partitions(install); -} - -/* - * any additional partition validation - */ -bool -md_check_partitions(struct install_partition_desc *install) -{ - return true; -} - -/* - * hook called before writing new disklabel. - */ -bool -md_pre_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - return true; -} - -/* - * hook called after writing disklabel to new target disk. - */ -bool -md_post_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - return true; -} - -/* - * hook called after upgrade() or install() has finished setting - * up the target disk but immediately before the user is given the - * ``disks are now set up'' message. - */ -int -md_post_newfs(struct install_partition_desc *install) -{ - static const int mib[2] = {CTL_HW, HW_MODEL}; - size_t len; - char *cpu_model; - int milan; - char bootpath[MAXPATHLEN]; - int rv; - - /* check machine type via sysctl to select appropriate bootloaders */ - milan = 0; /* std is default */ - sysctl(mib, 2, NULL, &len, NULL, 0); - cpu_model = malloc(len); - sysctl(mib, 2, cpu_model, &len, NULL, 0); - /* XXX model strings should be a common macro to sync with kernel */ - if (strstr(cpu_model, "Milan") != NULL) - milan = 1; - free(cpu_model); - - /* copy tertiary boot and install boot blocks */ - msg_fmt_display(MSG_dobootblks, "%s", pm->diskdev); - snprintf(bootpath, sizeof(bootpath), "/usr/mdec/%s/boot.atari", - milan ? "milan" : "std"); - rv = cp_to_target(bootpath, "/"); - if (rv != 0) - return rv; - - rv = run_program(RUN_DISPLAY, "/usr/mdec/installboot -v%s /dev/r%sc", - milan ? "m" : "", pm->diskdev); - - return rv; -} - -int -md_post_extract(struct install_partition_desc *install, bool upgrade) -{ - return 0; -} - -void -md_cleanup_install(struct install_partition_desc *install) -{ -#ifndef DEBUG - enable_rc_conf(); -#endif -} - -int -md_pre_update(struct install_partition_desc *install) -{ - return 1; -} - -/* Upgrade support */ -int -md_update(struct install_partition_desc *install) -{ - md_post_newfs(install); - return 1; -} - -int -md_pre_mount(struct install_partition_desc *install, size_t ndx) -{ - return 0; -} - -bool -md_parts_use_wholedisk(struct disk_partitions *parts) -{ - return parts_use_wholedisk(parts, 0, NULL); -} - -#ifdef HAVE_GPT -bool -md_gpt_post_write(struct disk_partitions *parts, part_id root_id, - bool root_is_new, part_id efi_id, bool efi_is_new) -{ - /* no GPT boot support, no special checks needed */ - return true; -} -#endif - diff --git a/overlay/usr.sbin/sysinst/arch/atari/md.h b/overlay/usr.sbin/sysinst/arch/atari/md.h deleted file mode 100644 index a0a8c2ac5e..0000000000 --- a/overlay/usr.sbin/sysinst/arch/atari/md.h +++ /dev/null @@ -1,74 +0,0 @@ -/* $NetBSD: md.h,v 1.6 2025/04/26 03:49:32 tsutsui Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* md.h -- Machine specific definitions for the atari */ - - -#include -#include -#include -#include -#include - -/* constants and defines */ -#define DEFROOTSIZE 40 /* Default root size */ -#define DEFSWAPSIZE 32 /* Default swap size */ -#define DEFVARSIZE 32 /* Default /var size, if created */ -#define DEFUSRSIZE 700 /* Default /usr size, if /home */ -#define XNEEDMB 250 /* Extra megs for full X installation */ -#define DEBNEEDMB 800 /* Extra megs for debug sets */ - -/* - * Default filesets to fetch and install during installation - * or upgrade. The standard sets are: - * base etc comp games man misc rescue tests text xbase xcomp xetc xfont xserver - */ -#define SET_KERNEL_1_NAME "kern-ATARITT" -#define SET_KERNEL_2_NAME "kern-FALCON" -#define SET_KERNEL_3_NAME "kern-SMALL030" -#define SET_KERNEL_4_NAME "kern-HADES" -#define SET_KERNEL_5_NAME "kern-MILAN-ISAIDE" -#define SET_KERNEL_6_NAME "kern-MILAN-PCIIDE" - -/* - * Machine-specific command to write a new label to a disk. - * For example, i386 uses "/sbin/disklabel -w -r", just like i386 - * miniroot scripts, though this may leave a bogus incore label. - * Sun ports should probably use DISKLABEL_CMD "/sbin/disklabel -w" - * to get incore to ondisk inode translation for the Sun proms. - * If not defined, we assume the port does not support disklabels and - * hand-edited disklabel will NOT be written by MI code. - * - */ -#define DISKLABEL_CMD "disklabel -w" diff --git a/overlay/usr.sbin/sysinst/arch/atari/menus.md.en b/overlay/usr.sbin/sysinst/arch/atari/menus.md.en deleted file mode 100644 index dc1fbdc720..0000000000 --- a/overlay/usr.sbin/sysinst/arch/atari/menus.md.en +++ /dev/null @@ -1,36 +0,0 @@ -/* $NetBSD: menus.md.en,v 1.1 2014/07/26 19:30:44 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Menu definitions for sysinst. atari version, machine dependent. */ - diff --git a/overlay/usr.sbin/sysinst/arch/atari/msg.md.de b/overlay/usr.sbin/sysinst/arch/atari/msg.md.de deleted file mode 100644 index 12c3444f88..0000000000 --- a/overlay/usr.sbin/sysinst/arch/atari/msg.md.de +++ /dev/null @@ -1,79 +0,0 @@ -/* $NetBSD: msg.md.de,v 1.2 2014/11/24 15:22:59 tsutsui Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- German, atari version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Wenn Sie von einer Diskette gebootet haben, können Sie diese jetzt -entfernen. -} - -message dobootblks -{Installiere die Bootblöcke auf %s ... -} - -message infoahdilabel -{Sie müssen nun Ihre Rootdisk zur Installation von NetBSD vorbereiten. -Nachfolgend wird dieser Vorgang 'Labeling' einer Festplatte genannt. - -Zuvor besteht die Möglichkeit eine AHDI-kompatible Partitionierung -auf der Festplatte zu bearbeiten oder neu zu erstellen, auf der dann NetBSD -installiert werden soll. -Beachten Sie, dass NetBSD nicht auf AHDI Partitionen angewiesen ist - Details -können Sie der NetBSD Installationsdokumentation entnehmen. -Wenn Sie eine AHDI-kompatible Partitionierung nutzen wollen, müssen Sie -NetBSD einige Partitionen zuweisen, damit NetBSD fähig ist die Festplatte -zu nutzen. Stellen Sie die 'Id' all jener Partitionen, die Sie nutzen -wollen, auf 'NBD'. Setzen Sie zusätzlich die 'Id' der als Swap zu nutzenden -Partition auf 'SWP'. - -Wünschen Sie eine AHDI-kompatible Partitionierung? -} - -message set_kernel_1 -{Kernel (ATARITT)} -message set_kernel_2 -{Kernel (FALCON)} -message set_kernel_3 -{Kernel (SMALL030)} -message set_kernel_4 -{Kernel (HADES)} -message set_kernel_5 -{Kernel (MILAN-ISAIDE)} -message set_kernel_6 -{Kernel (MILAN-PCIIDE)} diff --git a/overlay/usr.sbin/sysinst/arch/atari/msg.md.en b/overlay/usr.sbin/sysinst/arch/atari/msg.md.en deleted file mode 100644 index d9a13a7829..0000000000 --- a/overlay/usr.sbin/sysinst/arch/atari/msg.md.en +++ /dev/null @@ -1,75 +0,0 @@ -/* $NetBSD: msg.md.en,v 1.2 2014/11/24 15:22:59 tsutsui Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- english, atari version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{If you booted from a floppy, you may now remove the disk. -} - -message dobootblks -{Installing boot blocks on %s.... -} - -message infoahdilabel -{You now have to prepare your root disk for the installation of NetBSD. This -is further referred to as 'labeling' a disk. - -First you get the chance to edit or create an AHDI compatible partitioning on -the installation disk. Note that NetBSD can do without AHDI partitions, -check the documentation. -If you want to use an AHDI compatible partitioning, you have to assign some -partitions to NetBSD before NetBSD is able to use the disk. Change the 'id' -of all partitions you want to use for NetBSD file systems to 'NBD'. Change -the 'id' of the partition you wish to use for swap to 'SWP'. - -Do you want AHDI compatible partitioning? -} - -message set_kernel_1 -{Kernel (ATARITT)} -message set_kernel_2 -{Kernel (FALCON)} -message set_kernel_3 -{Kernel (SMALL030)} -message set_kernel_4 -{Kernel (HADES)} -message set_kernel_5 -{Kernel (MILAN-ISAIDE)} -message set_kernel_6 -{Kernel (MILAN-PCIIDE)} diff --git a/overlay/usr.sbin/sysinst/arch/bebox/Makefile b/overlay/usr.sbin/sysinst/arch/bebox/Makefile deleted file mode 100644 index 59393b1a56..0000000000 --- a/overlay/usr.sbin/sysinst/arch/bebox/Makefile +++ /dev/null @@ -1,10 +0,0 @@ -# $NetBSD: Makefile,v 1.2 2019/06/12 06:20:19 martin Exp $ -# -# Makefile for bebox -# - -MENUS_MD= menus.md.${SYSINSTLANG} -MSG_MD= msg.md.${SYSINSTLANG} msg.mbr.${SYSINSTLANG} -NO_MBR=no - -.include "../../Makefile.inc" diff --git a/overlay/usr.sbin/sysinst/arch/bebox/md.c b/overlay/usr.sbin/sysinst/arch/bebox/md.c deleted file mode 100644 index 0de4f84b79..0000000000 --- a/overlay/usr.sbin/sysinst/arch/bebox/md.c +++ /dev/null @@ -1,227 +0,0 @@ -/* $NetBSD: md.c,v 1.11 2026/09/03 02:12:15 gutteridge Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - */ - -/* md.c -- bebox machine specific routines */ - -#include -#include -#include -#include - -#include "defs.h" -#include "md.h" -#include "msg_defs.h" -#include "menu_defs.h" - -void -md_init(void) -{ -} - -void -md_init_set_status(int flags) -{ - (void)flags; -} - -bool -md_get_info(struct install_partition_desc *install) -{ - int res; - - if (pm->no_mbr || pm->no_part) - return true; - -again: - if (pm->parts == NULL) { - - const struct disk_partitioning_scheme *ps = - select_part_scheme(pm, NULL, true, NULL); - - if (!ps) - return false; - - struct disk_partitions *parts = - (*ps->create_new_for_disk)(pm->diskdev, - 0, pm->dlsize, true, NULL); - if (!parts) - return false; - - pm->parts = parts; - if (ps->size_limit > 0 && pm->dlsize > ps->size_limit) - pm->dlsize = ps->size_limit; - } - - res = set_bios_geom_with_mbr_guess(pm->parts); - if (res == 0) - return false; - else if (res == 1) - return true; - - pm->parts->pscheme->destroy_part_scheme(pm->parts); - pm->parts = NULL; - goto again; -} - -/* - * md back-end code for menu-driven BSD disklabel editor. - */ -int -md_make_bsd_partitions(struct install_partition_desc *install) -{ - return make_bsd_partitions(install); -} - -/* - * any additional partition validation - */ -bool -md_check_partitions(struct install_partition_desc *install) -{ - return true; -} - -/* - * hook called before writing new disklabel. - */ -bool -md_pre_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - - if (parts->parent == NULL) - return true; /* no outer partitions */ - - parts = parts->parent; - - msg_display_subst(MSG_dofdisk, 3, parts->disk, - msg_string(parts->pscheme->name), - msg_string(parts->pscheme->short_name)); - - /* write edited "MBR" onto disk. */ - if (!parts->pscheme->write_to_disk(parts)) { - msg_display(MSG_wmbrfail); - process_menu(MENU_ok, NULL); - return false; - } - return true; -} - -/* - * hook called after writing disklabel to new target disk. - */ -bool -md_post_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - return true; -} - -/* - * hook called after upgrade() or install() has finished setting - * up the target disk but immediately before the user is given the - * ``disks are now set up'' message. - */ -int -md_post_newfs(struct install_partition_desc *install) -{ - return 0; -} - -int -md_post_extract(struct install_partition_desc *install, bool upgrade) -{ - return 0; -} - -void -md_cleanup_install(struct install_partition_desc *install) -{ -#ifndef DEBUG - enable_rc_conf(); -#endif -} - -int -md_pre_update(struct install_partition_desc *install) -{ - return 1; -} - -/* Upgrade support */ -int -md_update(struct install_partition_desc *install) -{ - md_post_newfs(install); - return 1; -} - -int -md_check_mbr(struct disk_partitions *parts, mbr_info_t *mbri, bool quiet) -{ - return 2; -} - -bool -md_parts_use_wholedisk(struct disk_partitions *parts) -{ - return parts_use_wholedisk(parts, 0, NULL); -} - -int -md_pre_mount(struct install_partition_desc *install, size_t ndx) -{ - return 0; -} - -/* returns false if no write-back of parts is required */ -bool -md_mbr_update_check(struct disk_partitions *parts, mbr_info_t *mbri) -{ - return false; -} - -#ifdef HAVE_GPT -/* - * New GPT partitions have been written, update bootloader or remember - * data until needed in md_post_newfs - */ -bool -md_gpt_post_write(struct disk_partitions *parts, part_id root_id, - bool root_is_new, part_id efi_id, bool efi_is_new) -{ - return true; -} -#endif - diff --git a/overlay/usr.sbin/sysinst/arch/bebox/md.h b/overlay/usr.sbin/sysinst/arch/bebox/md.h deleted file mode 100644 index 7e81a777e8..0000000000 --- a/overlay/usr.sbin/sysinst/arch/bebox/md.h +++ /dev/null @@ -1,68 +0,0 @@ -/* $NetBSD: md.h,v 1.3 2019/10/02 11:16:01 maya Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* md.h -- Machine specific definitions for the bebox */ - - -/* bebox uses the mbr code. */ -#include "mbr.h" - -/* constants and defines */ - - -#define XNEEDMB 256 /* Extra megs for full X installation */ -#define DEBNEEDMB 900 /* Extra megs for debug sets */ - - - -/* - * Default filesets to fetch and install during installation - * or upgrade. The standard sets are: - * base etc comp games man misc rescue tests text xbase xcomp xetc xfont xserver - */ - -#define SET_KERNEL_1_NAME "kern-GENERIC" - -/* - * Machine-specific command to write a new label to a disk. - * For example, bebox uses "/sbin/disklabel -w -r", just like bebox - * miniroot scripts, though this may leave a bogus incore label. - * Sun ports should probably use DISKLABEL_CMD "/sbin/disklabel -w" - * to get incore to ondisk inode translation for the Sun proms. - * If not defined, we assume the port does not support disklabels and - * hand-edited disklabel will NOT be written by MI code. - * - * On bebox, do what the 1.2 install scripts did. - */ -#define DISKLABEL_CMD "disklabel -w -r" diff --git a/overlay/usr.sbin/sysinst/arch/bebox/menus.md.en b/overlay/usr.sbin/sysinst/arch/bebox/menus.md.en deleted file mode 100644 index d26133924c..0000000000 --- a/overlay/usr.sbin/sysinst/arch/bebox/menus.md.en +++ /dev/null @@ -1,36 +0,0 @@ -/* $NetBSD: menus.md.en,v 1.1 2014/07/26 19:30:44 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Menu definitions for sysinst. bebox version, machine dependent. */ - diff --git a/overlay/usr.sbin/sysinst/arch/bebox/menus.md.es b/overlay/usr.sbin/sysinst/arch/bebox/menus.md.es deleted file mode 100644 index 9abd1bdc3e..0000000000 --- a/overlay/usr.sbin/sysinst/arch/bebox/menus.md.es +++ /dev/null @@ -1,36 +0,0 @@ -/* $NetBSD: menus.md.es,v 1.1 2014/07/26 19:30:44 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Menu definitions for sysinst. bebox version, machine dependent. */ - diff --git a/overlay/usr.sbin/sysinst/arch/bebox/menus.md.fr b/overlay/usr.sbin/sysinst/arch/bebox/menus.md.fr deleted file mode 100644 index 4d42da586f..0000000000 --- a/overlay/usr.sbin/sysinst/arch/bebox/menus.md.fr +++ /dev/null @@ -1,36 +0,0 @@ -/* $NetBSD: menus.md.fr,v 1.1 2014/07/26 19:30:44 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Menu definitions for sysinst. bebox version, machine dependent. */ - diff --git a/overlay/usr.sbin/sysinst/arch/bebox/menus.md.pl b/overlay/usr.sbin/sysinst/arch/bebox/menus.md.pl deleted file mode 100644 index a466489415..0000000000 --- a/overlay/usr.sbin/sysinst/arch/bebox/menus.md.pl +++ /dev/null @@ -1,38 +0,0 @@ -/* $NetBSD: menus.md.pl,v 1.1 2014/07/26 19:30:44 dholland Exp $ */ -/* Based on english version: */ -/* NetBSD: menus.md.en,v 1.14 2001/11/29 23:20:57 thorpej Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Menu definitions for sysinst. bebox version, machine dependent. */ - diff --git a/overlay/usr.sbin/sysinst/arch/bebox/msg.md.de b/overlay/usr.sbin/sysinst/arch/bebox/msg.md.de deleted file mode 100644 index d8e5ee4c3d..0000000000 --- a/overlay/usr.sbin/sysinst/arch/bebox/msg.md.de +++ /dev/null @@ -1,55 +0,0 @@ -/* $NetBSD: msg.md.de,v 1.1 2014/07/26 19:30:44 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- German, bebox version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Wenn Sie von einer Diskette gebootet haben, können Sie diese jetzt -entfernen. -} - -message dobad144 -{Installiere die Tabelle der defekten Blöcke ... -} - -message dobootblks -{Installiere die Bootblöcke auf %s ... -} - -message set_kernel_1 -{Kernel (GENERIC)} diff --git a/overlay/usr.sbin/sysinst/arch/bebox/msg.md.en b/overlay/usr.sbin/sysinst/arch/bebox/msg.md.en deleted file mode 100644 index d8bf46a276..0000000000 --- a/overlay/usr.sbin/sysinst/arch/bebox/msg.md.en +++ /dev/null @@ -1,54 +0,0 @@ -/* $NetBSD: msg.md.en,v 1.1 2014/07/26 19:30:44 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- english, bebox version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{If you booted from a floppy, you may now remove the disk. -} - -message dobad144 -{Installing the bad block table ... -} - -message dobootblks -{Installing boot blocks on %s.... -} - -message set_kernel_1 -{Kernel (GENERIC)} diff --git a/overlay/usr.sbin/sysinst/arch/bebox/msg.md.es b/overlay/usr.sbin/sysinst/arch/bebox/msg.md.es deleted file mode 100644 index 69312d0544..0000000000 --- a/overlay/usr.sbin/sysinst/arch/bebox/msg.md.es +++ /dev/null @@ -1,54 +0,0 @@ -/* $NetBSD: msg.md.es,v 1.1 2014/07/26 19:30:44 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- spanish, bebox version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Si ha iniciado desde disquette, ahora debería retirar el disco. -} - -message dobad144 -{Instalando la tabla de bloques malos ... -} - -message dobootblks -{Instalando bloques de arranque en %s.... -} - -message set_kernel_1 -{Núcleo (GENERIC)} diff --git a/overlay/usr.sbin/sysinst/arch/bebox/msg.md.fr b/overlay/usr.sbin/sysinst/arch/bebox/msg.md.fr deleted file mode 100644 index 06823781d4..0000000000 --- a/overlay/usr.sbin/sysinst/arch/bebox/msg.md.fr +++ /dev/null @@ -1,54 +0,0 @@ -/* $NetBSD: msg.md.fr,v 1.1 2014/07/26 19:30:44 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- french, bebox version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Si vous avez démarré sur une disquette, vous pouvez maintenant la retirer. -} - -message dobad144 -{Installation de la table des blocs défectueux ... -} - -message dobootblks -{Installation des blocs de démarrage sur %s ... -} - -message set_kernel_1 -{Kernel (GENERIC)} diff --git a/overlay/usr.sbin/sysinst/arch/bebox/msg.md.pl b/overlay/usr.sbin/sysinst/arch/bebox/msg.md.pl deleted file mode 100644 index 17d1d9baf2..0000000000 --- a/overlay/usr.sbin/sysinst/arch/bebox/msg.md.pl +++ /dev/null @@ -1,56 +0,0 @@ -/* $NetBSD: msg.md.pl,v 1.1 2014/07/26 19:30:44 dholland Exp $ */ -/* Based on english version: */ -/* NetBSD: msg.md.en,v 1.11 2001/04/12 03:48:13 briggs Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- Polish, bebox version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Jesli uruchomiles komputer z dyskietki, mozesz ja teraz wyciagnac. -} - -message dobad144 -{Instalowanie tablicy zlych blokow ... -} - -message dobootblks -{Instalowanie bootblokow na %s.... -} - -message set_kernel_1 -{Kernel (GENERIC)} diff --git a/overlay/usr.sbin/sysinst/arch/cats/Makefile b/overlay/usr.sbin/sysinst/arch/cats/Makefile deleted file mode 100644 index 10830046de..0000000000 --- a/overlay/usr.sbin/sysinst/arch/cats/Makefile +++ /dev/null @@ -1,8 +0,0 @@ -# $NetBSD: Makefile,v 1.1 2014/07/26 19:30:44 dholland Exp $ -# -# Makefile for cats -# - -MD_OPTIONS= AOUT2ELF - -.include "../../Makefile.inc" diff --git a/overlay/usr.sbin/sysinst/arch/cats/md.c b/overlay/usr.sbin/sysinst/arch/cats/md.c deleted file mode 100644 index fd935b77b0..0000000000 --- a/overlay/usr.sbin/sysinst/arch/cats/md.c +++ /dev/null @@ -1,224 +0,0 @@ -/* $NetBSD: md.c,v 1.7 2026/09/03 02:12:15 gutteridge Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - */ - -/* md.c -- cats machine specific routines */ - -#include -#include -#include -#include -#include -#include -#include -#include - -#include "defs.h" -#include "md.h" -#include "msg_defs.h" -#include "menu_defs.h" - -void -md_init(void) -{ -} - -void -md_init_set_status(int flags) -{ - (void)flags; -} - -bool -md_get_info(struct install_partition_desc *install) -{ - struct disklabel disklabel; - int fd; - char dev_name[100]; -#if 0 - static char bb[DEV_BSIZE]; - struct filecore_bootblock *fcbb = (struct filecore_bootblock *)bb; -#endif - int offset = 0; - - snprintf(dev_name, 100, "/dev/r%sc", pm->diskdev); - - fd = open(dev_name, O_RDONLY, 0); - if (fd < 0) { - endwin(); - fprintf(stderr, "Can't open %s\n", dev_name); - exit(1); - } - if (ioctl(fd, DIOCGDINFO, &disklabel) == -1) { - endwin(); - fprintf(stderr, "Can't read disklabel on %s.\n", dev_name); - close(fd); - exit(1); - } - - close(fd); - - pm->dlcyl = disklabel.d_ncylinders; - pm->dlhead = disklabel.d_ntracks; - pm->dlsec = disklabel.d_nsectors; - pm->sectorsize = disklabel.d_secsize; - pm->dlcylsize = disklabel.d_secpercyl; - - /* - * Compute whole disk size. Take max of (pm->dlcyl*pm->dlhead*pm->dlsec) - * and secperunit, just in case the disk is already labelled. - * (If our new label's RAW_PART size ends up smaller than the - * in-core RAW_PART size value, updating the label will fail.) - */ - pm->dlsize = pm->dlcyl*pm->dlhead*pm->dlsec; - if (disklabel.d_secperunit > pm->dlsize) - pm->dlsize = disklabel.d_secperunit; - - pm->ptstart = offset; -/* endwin(); - printf("pm->dlcyl=%d\n", pm->dlcyl); - printf("pm->dlhead=%d\n", pm->dlhead); - printf("pm->dlsec=%d\n", pm->dlsec); - printf("secsz=%d\n", pm->sectorsize); - printf("cylsz=%d\n", pm->dlcylsize); - printf("dlsz=%d\n", pm->dlsize); - printf("pstart=%d\n", pm->ptstart); - printf("pstart=%d\n", partsize); - printf("secpun=%d\n", disklabel.d_secperunit); - backtowin();*/ - - return true; -} - -/* - * md back-end code for menu-driven BSD disklabel editor. - */ -int -md_make_bsd_partitions(struct install_partition_desc *install) -{ - return make_bsd_partitions(install); -} - -/* - * any additional partition validation - */ -bool -md_check_partitions(struct install_partition_desc *install) -{ - return true; -} - -/* - * hook called before writing new disklabel. - */ -bool -md_pre_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - return true; -} - -/* - * hook called after writing disklabel to new target disk. - */ -bool -md_post_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - return true; -} - -/* - * hook called after upgrade() or install() has finished setting - * up the target disk but immediately before the user is given the - * ``disks are now set up'' message. - */ -int -md_post_newfs(struct install_partition_desc *install) -{ - return 0; -} - -int -md_post_extract(struct install_partition_desc *install, bool upgrade) -{ - return 0; -} - -void -md_cleanup_install(struct install_partition_desc *install) -{ -#ifndef DEBUG - enable_rc_conf(); -#endif -} - -int -md_pre_update(struct install_partition_desc *install) -{ - return 1; -} - -/* Upgrade support */ -int -md_update(struct install_partition_desc *install) -{ - md_post_newfs(install); - return 1; -} - -int -md_pre_mount(struct install_partition_desc *install, size_t ndx) -{ - return 0; -} - -#ifdef HAVE_GPT -/* - * New GPT partitions have been written, update bootloader or remember - * data until needed in md_post_newfs - */ -bool -md_gpt_post_write(struct disk_partitions *parts, part_id root_id, - bool root_is_new, part_id efi_id, bool efi_is_new) -{ - return true; -} -#endif - -bool -md_parts_use_wholedisk(struct disk_partitions *parts) -{ - return parts_use_wholedisk(parts, 0, NULL); -} - diff --git a/overlay/usr.sbin/sysinst/arch/cats/md.h b/overlay/usr.sbin/sysinst/arch/cats/md.h deleted file mode 100644 index 035bdb7f95..0000000000 --- a/overlay/usr.sbin/sysinst/arch/cats/md.h +++ /dev/null @@ -1,63 +0,0 @@ -/* $NetBSD: md.h,v 1.4 2019/10/02 11:16:01 maya Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* md.h -- Machine specific definitions for the cats */ - -/* Constants and defines */ - -#define DEFROOTSIZE 80 /* Default root size */ -#define DEFUSRSIZE 960 /* Default /usr size, if /home */ -#define XNEEDMB 225 /* Extra megs for full X installation */ -#define DEBNEEDMB 980 /* Extra megs for debug sets */ - - -/* - * Default filesets to fetch and install during installation - * or upgrade. The standard sets are: - * base etc comp games man misc rescue tests text xbase xcomp xetc xfont xserver - */ -#define SET_KERNEL_1_NAME "kern-GENERIC" -#define SET_KERNEL_2_NAME "kern-GENERIC.ABLE" - -/* - * Machine-specific command to write a new label to a disk. - * For example, cats uses "/sbin/disklabel -w -r", just like cats - * miniroot scripts, though this may leave a bogus incore label. - * Sun ports should probably use DISKLABEL_CMD "/sbin/disklabel -w" - * to get incore to ondisk inode translation for the Sun proms. - * If not defined, we assume the port does not support disklabels and - * hand-edited disklabel will NOT be written by MI code. - */ -#define DISKLABEL_CMD "disklabel -w -r" diff --git a/overlay/usr.sbin/sysinst/arch/cats/menus.md.en b/overlay/usr.sbin/sysinst/arch/cats/menus.md.en deleted file mode 100644 index 89ab4eda48..0000000000 --- a/overlay/usr.sbin/sysinst/arch/cats/menus.md.en +++ /dev/null @@ -1,37 +0,0 @@ -/* $NetBSD: menus.md.en,v 1.1 2014/07/26 19:30:44 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* cats machine dependent menus, english */ - diff --git a/overlay/usr.sbin/sysinst/arch/cats/menus.md.es b/overlay/usr.sbin/sysinst/arch/cats/menus.md.es deleted file mode 100644 index 63d9bbc684..0000000000 --- a/overlay/usr.sbin/sysinst/arch/cats/menus.md.es +++ /dev/null @@ -1,37 +0,0 @@ -/* $NetBSD: menus.md.es,v 1.1 2014/07/26 19:30:44 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* cats machine dependent menus, spanish */ - diff --git a/overlay/usr.sbin/sysinst/arch/cats/menus.md.fr b/overlay/usr.sbin/sysinst/arch/cats/menus.md.fr deleted file mode 100644 index ac58968f60..0000000000 --- a/overlay/usr.sbin/sysinst/arch/cats/menus.md.fr +++ /dev/null @@ -1,37 +0,0 @@ -/* $NetBSD: menus.md.fr,v 1.1 2014/07/26 19:30:44 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* cats machine dependent menus, french */ - diff --git a/overlay/usr.sbin/sysinst/arch/cats/menus.md.pl b/overlay/usr.sbin/sysinst/arch/cats/menus.md.pl deleted file mode 100644 index 4666a69be8..0000000000 --- a/overlay/usr.sbin/sysinst/arch/cats/menus.md.pl +++ /dev/null @@ -1,38 +0,0 @@ -/* $NetBSD: menus.md.pl,v 1.1 2014/07/26 19:30:44 dholland Exp $ */ -/* Based on english version: */ -/* NetBSD: menus.md.en,v 1.1 2002/02/11 13:50:18 skrll Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* cats machine dependent menus, Polish. */ - diff --git a/overlay/usr.sbin/sysinst/arch/cats/msg.md.de b/overlay/usr.sbin/sysinst/arch/cats/msg.md.de deleted file mode 100644 index 9c3a5cf0e2..0000000000 --- a/overlay/usr.sbin/sysinst/arch/cats/msg.md.de +++ /dev/null @@ -1,58 +0,0 @@ -/* $NetBSD: msg.md.de,v 1.1 2014/07/26 19:30:44 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* cats machine dependent messages, German */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{ -} - -message dobootblks -{Installiere die Bootblöcke auf %s ... -} - -message catsfspart -{Dies sind die NetBSD Partitionen auf %s (Größe und Offset in %s): -} - -message set_kernel_1 -{Kernel (GENERIC)} - -message set_kernel_2 -{Kernel (GENERIC.ABLE)} diff --git a/overlay/usr.sbin/sysinst/arch/cats/msg.md.en b/overlay/usr.sbin/sysinst/arch/cats/msg.md.en deleted file mode 100644 index 7da68dd4d7..0000000000 --- a/overlay/usr.sbin/sysinst/arch/cats/msg.md.en +++ /dev/null @@ -1,58 +0,0 @@ -/* $NetBSD: msg.md.en,v 1.1 2014/07/26 19:30:44 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* cats machine dependent messages, english */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{ -} - -message dobootblks -{Installing boot blocks on %s.... -} - -message catsfspart -{We now have your NetBSD partitions on %s as follows (Size and Offset in %s): -} - -message set_kernel_1 -{Kernel (GENERIC)} - -message set_kernel_2 -{Kernel (GENERIC.ABLE)} diff --git a/overlay/usr.sbin/sysinst/arch/cats/msg.md.es b/overlay/usr.sbin/sysinst/arch/cats/msg.md.es deleted file mode 100644 index 8e19cda98e..0000000000 --- a/overlay/usr.sbin/sysinst/arch/cats/msg.md.es +++ /dev/null @@ -1,59 +0,0 @@ -/* $NetBSD: msg.md.es,v 1.1 2014/07/26 19:30:44 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* cats machine dependent messages, spanish */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{ -} - -message dobootblks -{Instalando bloques de arranque en %s... -} - -message catsfspart -{Ahora tenemos nuestras particiones NetBSD en %s como sigue (Tamaño y -Compensación en %s): -} - -message set_kernel_1 -{Núcleo (GENERIC)} - -message set_kernel_2 -{Núcleo (GENERIC.ABLE)} diff --git a/overlay/usr.sbin/sysinst/arch/cats/msg.md.fr b/overlay/usr.sbin/sysinst/arch/cats/msg.md.fr deleted file mode 100644 index a616a45131..0000000000 --- a/overlay/usr.sbin/sysinst/arch/cats/msg.md.fr +++ /dev/null @@ -1,59 +0,0 @@ -/* $NetBSD: msg.md.fr,v 1.1 2014/07/26 19:30:44 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* cats machine dependent messages, french */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{ -} - -message dobootblks -{Installation des blocs de démarrage sur %s ... -} - -message catsfspart -{Nous avons maintenant vos partitions NetBSD sur %s comme suit -(taille et Offset en %s) : -} - -message set_kernel_1 -{Kernel (GENERIC)} - -message set_kernel_2 -{Kernel (GENERIC.ABLE)} diff --git a/overlay/usr.sbin/sysinst/arch/cats/msg.md.pl b/overlay/usr.sbin/sysinst/arch/cats/msg.md.pl deleted file mode 100644 index 1cd31f7efd..0000000000 --- a/overlay/usr.sbin/sysinst/arch/cats/msg.md.pl +++ /dev/null @@ -1,59 +0,0 @@ -/* $NetBSD: msg.md.pl,v 1.1 2014/07/26 19:30:44 dholland Exp $ */ -/* Based on english version: */ -/* NetBSD: msg.md.en,v 1.1 2002/02/11 13:50:18 skrll Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* cats machine dependent messages, Polish */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{ -} - -message dobootblks -{Instalowanie bootblokow na %s.... -} - -message catsfspart -{Twoje partycje NetBSD na %s wygladaja nastepujaco (Rozmiar i offset w %s): -} - -message set_kernel_1 -{Kernel (GENERIC)} - -message set_kernel_2 -{Kernel (GENERIC.ABLE)} diff --git a/overlay/usr.sbin/sysinst/arch/cobalt/Makefile b/overlay/usr.sbin/sysinst/arch/cobalt/Makefile deleted file mode 100644 index cd381a3f78..0000000000 --- a/overlay/usr.sbin/sysinst/arch/cobalt/Makefile +++ /dev/null @@ -1,12 +0,0 @@ -# $NetBSD: Makefile,v 1.2 2019/06/12 06:20:19 martin Exp $ -# -# Makefile for cobalt -# - -MENUS_MD= menus.md.${SYSINSTLANG} -MSG_MD= msg.md.${SYSINSTLANG} msg.mbr.${SYSINSTLANG} -NO_MBR=no - -LANGUAGES= # no translations ready yet - -.include "../../Makefile.inc" diff --git a/overlay/usr.sbin/sysinst/arch/cobalt/md.c b/overlay/usr.sbin/sysinst/arch/cobalt/md.c deleted file mode 100644 index 2f46a3f610..0000000000 --- a/overlay/usr.sbin/sysinst/arch/cobalt/md.c +++ /dev/null @@ -1,324 +0,0 @@ -/* $NetBSD: md.c,v 1.17 2026/03/17 20:55:41 andvar Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - */ - -/* md.c -- cobalt machine specific routines */ - -#include -#include -#include -#include -#include - -#include "defs.h" -#include "md.h" -#include "msg_defs.h" -#include "menu_defs.h" - -/* - * Firmware recognizes only Linux Ext2 REV 0, so we have to have - * a Linux Ext2 fs to store our native bootloader. - */ -static int nobootfs = 0; - -void -md_init(void) -{ -} - -void -md_init_set_status(int flags) -{ - (void)flags; -} - -bool -md_get_info(struct install_partition_desc *install) -{ - int res; - - if (pm->no_mbr || pm->no_part) - return true; - -again: - if (pm->parts == NULL) { - - const struct disk_partitioning_scheme *ps = - select_part_scheme(pm, NULL, true, NULL); - - if (!ps) - return false; - - struct disk_partitions *parts = - (*ps->create_new_for_disk)(pm->diskdev, - 0, pm->dlsize, true, NULL); - if (!parts) - return false; - - pm->parts = parts; - if (ps->size_limit > 0 && pm->dlsize > ps->size_limit) - pm->dlsize = ps->size_limit; - } - - res = set_bios_geom_with_mbr_guess(pm->parts); - if (res == 0) - return false; - else if (res == 1) - return true; - - pm->parts->pscheme->destroy_part_scheme(pm->parts); - pm->parts = NULL; - goto again; -} - -/* - * md back-end code for menu-driven BSD disklabel editor. - */ -int -md_make_bsd_partitions(struct install_partition_desc *install) -{ - return make_bsd_partitions(install); -} - -/* - * any additional partition validation - */ -bool -md_check_partitions(struct install_partition_desc *install) -{ - size_t part; - - /* we need to find a boot partition, otherwise we can't write our - * bootloader. We make the assumption that the user hasn't done - * something stupid, like move it away from the MBR partition. - */ - for (part = 0; part < install->num; part++) { - if (install->infos[part].fs_type == PART_BOOT_TYPE) - return true; - } - - msg_display(MSG_nobootpartdisklabel); - process_menu(MENU_ok, NULL); - return false; -} - -/* - * hook called before writing new disklabel. - */ -bool -md_pre_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - - if (parts->parent == NULL) - return true; /* no outer partitions */ - - parts = parts->parent; - - msg_display_subst(MSG_dofdisk, 3, parts->disk, - msg_string(parts->pscheme->name), - msg_string(parts->pscheme->short_name)); - - /* write edited "MBR" onto disk. */ - if (!parts->pscheme->write_to_disk(parts)) { - msg_display(MSG_wmbrfail); - process_menu(MENU_ok, NULL); - return false; - } - return true; -} - -/* - * hook called after writing disklabel to new target disk. - */ -bool -md_post_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - return true; -} - -/* - * hook called after upgrade() or install() has finished setting - * up the target disk but immediately before the user is given the - * ``disks are now set up'' message. - */ -int -md_post_newfs(struct install_partition_desc *install) -{ - static const char *kernels[] = { - "vmlinux-nfsroot.gz", - "vmlinux.gz", - "vmlinux_RAQ.gz", - "vmlinux_raq-2800.gz" - }; - static const char *bootfile = "boot.gz"; - char bootdir[64]; - unsigned int i; - - if (!nobootfs) { - msg_fmt_display(msg_string(MSG_copybootloader), "%s", - pm->diskdev); - - snprintf(bootdir, sizeof(bootdir), "%s/boot", - target_expand(PART_BOOT_MOUNT)); - run_program(0, "/bin/mkdir -p %s", bootdir); - run_program(0, "/bin/cp /usr/mdec/boot %s", bootdir); - run_program(0, "/bin/rm -f %s/%s", bootdir, bootfile); - run_program(0, "/usr/bin/gzip -9 %s/boot", bootdir); - for (i = 0; i < __arraycount(kernels); i++) - run_program(0, "/bin/ln -fs %s %s/%s", - bootfile, bootdir, kernels[i]); - } - - return 0; -} - -int -md_post_extract(struct install_partition_desc *install, bool upgrade) -{ - return 0; -} - -void -md_cleanup_install(struct install_partition_desc *install) -{ -#ifndef DEBUG - enable_rc_conf(); -#endif -} - -int -md_pre_update(struct install_partition_desc *install) -{ - size_t i; - - /* - * Verify the msdos partition exists and is big enough. - */ - for (i = 0; i < install->num; i++) { - if (install->infos[i].fs_type != PART_BOOT_TYPE) - continue; - if (install->infos[i].size/512 >= PART_BOOT_MIN) - break; - msg_display(MSG_boottoosmall); - msg_fmt_display_add(MSG_nobootpart, "%d", 0); - if (!ask_yesno(NULL)) - return false; - nobootfs = 1; - break; - } - - if (md_check_partitions(install) == 0) - nobootfs = 1; - - return 1; -} - -/* Upgrade support */ -int -md_update(struct install_partition_desc *install) -{ - md_post_newfs(install); - return 1; -} - -int -md_check_mbr(struct disk_partitions *parts, mbr_info_t *mbri, bool quiet) -{ - mbr_info_t *ext; - struct mbr_partition *part; - int i; - - for (ext = mbri; ext; ext = ext->extended) { - part = ext->mbr.mbr_parts; - for (i = 0; i < MBR_PART_COUNT; part++, i++) { - if (part->mbrp_type == MBR_PTYPE_LNXEXT2) { - pm->bootstart = part->mbrp_start; - pm->bootsize = part->mbrp_size; - break; - } - } - } - if (pm->bootsize < (PART_BOOT_MIN / 512)) { - if (quiet) - return 0; - msg_display(MSG_boottoosmall); - return ask_reedit(parts); - } - if (pm->bootstart == 0 || pm->bootsize == 0) { - if (quiet) - return 0; - msg_display(MSG_nobootpart); - return ask_reedit(parts); - } - return 2; -} - -bool -md_parts_use_wholedisk(struct disk_partitions *parts) -{ - struct disk_part_info boot_part = { - .size = PART_BOOT / 512, - .fs_type = PART_BOOT_TYPE, - .fs_sub_type = MBR_PTYPE_LNXEXT2, - .last_mounted = PART_BOOT_MOUNT, - }; - - boot_part.nat_type = parts->pscheme->get_fs_part_type( - PT_EXT2, boot_part.fs_type, boot_part.fs_sub_type); - - return parts_use_wholedisk(parts, 1, &boot_part); -} - -int -md_pre_mount(struct install_partition_desc *install, size_t ndx) -{ - return 0; -} - -bool -md_mbr_update_check(struct disk_partitions *parts, mbr_info_t *mbri) -{ - return false; /* no change, no need to write back */ -} - -#ifdef HAVE_GPT -bool -md_gpt_post_write(struct disk_partitions *parts, part_id root_id, - bool root_is_new, part_id efi_id, bool efi_is_new) -{ - /* no GPT boot support, nothing needs to be done here */ - return true; -} -#endif diff --git a/overlay/usr.sbin/sysinst/arch/cobalt/md.h b/overlay/usr.sbin/sysinst/arch/cobalt/md.h deleted file mode 100644 index 0a56185bf2..0000000000 --- a/overlay/usr.sbin/sysinst/arch/cobalt/md.h +++ /dev/null @@ -1,86 +0,0 @@ -/* $NetBSD: md.h,v 1.7 2022/06/16 14:03:38 tsutsui Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* md.h -- Machine specific definitions for the cobalt */ - - -#include -#include -#include -#include -#include - -/* cobalt uses the mbr code. */ -#include "mbr.h" - -/* boot partition size and type */ -#define PART_BOOT (5 * 1024 * 1024) /* 5MB boot partition */ -#define PART_BOOT_MIN (1 * 1024 * 1024) /* 1MB minimum */ -#define PART_BOOT_TYPE FS_EX2FS -#define PART_BOOT_SUBT 1 /* use "old" ext2 */ -#define PART_BOOT_MOUNT "/ext2" - -/* default partition size */ -#define DEFROOTSIZE 64 /* Default root size */ -#define DEFSWAPSIZE 128 /* Default swap size */ -#define DEFVARSIZE 64 /* Default /var size, if created */ -#define DEFUSRSIZE 850 /* Default /usr size, if created */ - -/* Megs required for a full X installation. */ -#define XNEEDMB 250 - -#define DEBNEEDMB 900 /* Extra megs for debug sets */ - -/* have support for booting from UFS2 */ -#define HAVE_UFS2_BOOT - - -/* - * Default filesets to fetch and install during installation - * or upgrade. The standard sets are: - * base etc comp games man misc rescue tests text xbase xcomp xetc xfont xserver - */ -#define SET_KERNEL_1_NAME "kern-GENERIC" -#define MD_SETS_SELECTED SET_KERNEL_1, SET_SYSTEM, SET_X11_NOSERVERS - -/* - * Machine-specific command to write a new label to a disk. - * For example, cobalt uses "/sbin/disklabel -w -r", just like i386 - * miniroot scripts, though this may leave a bogus incore label. - * Sun ports should probably use DISKLABEL_CMD "/sbin/disklabel -w" - * to get incore to ondisk inode translation for the Sun proms. - * If not defined, we assume the port does not support disklabels and - * hand-edited disklabel will NOT be written by MI code. - */ -#define DISKLABEL_CMD "disklabel -w -r" diff --git a/overlay/usr.sbin/sysinst/arch/cobalt/menus.md.en b/overlay/usr.sbin/sysinst/arch/cobalt/menus.md.en deleted file mode 100644 index 11b8b572d7..0000000000 --- a/overlay/usr.sbin/sysinst/arch/cobalt/menus.md.en +++ /dev/null @@ -1,36 +0,0 @@ -/* $NetBSD: menus.md.en,v 1.1 2014/07/26 19:30:44 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Menu definitions for sysinst. cobalt version, machine dependent. */ - diff --git a/overlay/usr.sbin/sysinst/arch/cobalt/msg.md.en b/overlay/usr.sbin/sysinst/arch/cobalt/msg.md.en deleted file mode 100644 index 732342dcf2..0000000000 --- a/overlay/usr.sbin/sysinst/arch/cobalt/msg.md.en +++ /dev/null @@ -1,80 +0,0 @@ -/* $NetBSD: msg.md.en,v 1.1 2014/07/26 19:30:44 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- English, cobalt version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{ -} - -message dobad144 -{Installing the bad block table ... -} - -message dobootblks -{Installing boot blocks on %s.... -} - -message pickdisk -{Choose disk: } - -message partabovechs -{The NetBSD part of the disk lies outside of the range that the BIOS on -your machine can address. Booting from it may not be possible. Are you -sure you that you want to do this? - -(Answering 'no' will take you back to the partition edit menu.)} - -message nobootpart -{There is no Linux ext2 partition in the MBR partition table.} - -message boottoosmall -{The Linux ext2 partition to install the native bootloader is too small. -It needs to be at least 1MB in size, however a size of at least 5MB is -recommended.} - -message nobootpartdisklabel -{There is no boot partition in the disklabel. The boot partition should -match the boot partition you set up in the MBR partition table.} - -message copybootloader -{Installing bootloader into the Linux ext2 partition on %s... -} - -message set_kernel_1 -{Kernel (GENERIC)} diff --git a/overlay/usr.sbin/sysinst/arch/dummy/Makefile b/overlay/usr.sbin/sysinst/arch/dummy/Makefile deleted file mode 100644 index 65a3619897..0000000000 --- a/overlay/usr.sbin/sysinst/arch/dummy/Makefile +++ /dev/null @@ -1,8 +0,0 @@ -# $NetBSD: Makefile,v 1.1 2014/07/26 19:56:30 dholland Exp $ -# -# Makefile for dummy architecture -# - -MENUS_MD= - -.include "../../Makefile.inc" diff --git a/overlay/usr.sbin/sysinst/arch/dummy/md.c b/overlay/usr.sbin/sysinst/arch/dummy/md.c deleted file mode 100644 index 14dfbdf444..0000000000 --- a/overlay/usr.sbin/sysinst/arch/dummy/md.c +++ /dev/null @@ -1,139 +0,0 @@ -/* $NetBSD: md.c,v 1.9 2026/09/03 02:12:15 gutteridge Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - */ - -#include - -#include "defs.h" -#include "md.h" - -void -md_init(void) -{ - warnx("sysinst has not been properly ported to this platform"); -} - -void -md_init_set_status(int flags) -{ - (void)flags; -} - -bool -md_get_info(struct install_partition_desc *desc) -{ - set_default_sizemult(pm->diskdev, MEG, pm->sectorsize); - return true; -} - -int -md_make_bsd_partitions(struct install_partition_desc *desc) -{ - return make_bsd_partitions(desc); -} - -bool -md_check_partitions(struct install_partition_desc *desc) -{ - return true; -} - -bool -md_pre_disklabel(struct install_partition_desc *install, - struct disk_partitions *part) -{ - return false; -} - -bool -md_post_disklabel(struct install_partition_desc *install, - struct disk_partitions *part) -{ - return true; -} - -int -md_pre_mount(struct install_partition_desc *install, size_t ndx) -{ - return 0; -} - -int -md_post_newfs(struct install_partition_desc *install) -{ - return 0; -} - -int -md_post_extract(struct install_partition_desc *install, bool upgrade) -{ - return 0; -} - -void -md_cleanup_install(struct install_partition_desc *install) -{ -} - -int -md_pre_update(struct install_partition_desc *install) -{ - return 1; -} - -int -md_update(struct install_partition_desc *install) -{ - return 1; -} - -#ifdef HAVE_GPT -/* - * New GPT partitions have been written, update bootloader or remember - * data until needed in md_post_newfs - */ -bool -md_gpt_post_write(struct disk_partitions *parts, part_id root_id, - bool root_is_new, part_id efi_id, bool efi_is_new) -{ - - return true; -} -#endif - -bool -md_parts_use_wholedisk(struct disk_partitions *parts) -{ - return parts_use_wholedisk(parts, 0, NULL); -} - diff --git a/overlay/usr.sbin/sysinst/arch/dummy/md.h b/overlay/usr.sbin/sysinst/arch/dummy/md.h deleted file mode 100644 index 04f53d4cad..0000000000 --- a/overlay/usr.sbin/sysinst/arch/dummy/md.h +++ /dev/null @@ -1,41 +0,0 @@ -/* $NetBSD: md.h,v 1.2 2019/06/20 18:32:33 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - */ - -#define XNEEDMB 100 - -#ifdef __sun__ -/* sunlabels force track alignment (true = no further processing) */ -#define MD_DISKLABEL_SET_ALIGN_PRE(align, track) \ - (align) = (track), true -#endif diff --git a/overlay/usr.sbin/sysinst/arch/dummy/msg.md.de b/overlay/usr.sbin/sysinst/arch/dummy/msg.md.de deleted file mode 100644 index e6f40efcaa..0000000000 --- a/overlay/usr.sbin/sysinst/arch/dummy/msg.md.de +++ /dev/null @@ -1,9 +0,0 @@ -/* $NetBSD: msg.md.de,v 1.1 2014/07/26 19:56:30 dholland Exp $ */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{ -} diff --git a/overlay/usr.sbin/sysinst/arch/dummy/msg.md.en b/overlay/usr.sbin/sysinst/arch/dummy/msg.md.en deleted file mode 100644 index 8f7802c3f4..0000000000 --- a/overlay/usr.sbin/sysinst/arch/dummy/msg.md.en +++ /dev/null @@ -1,9 +0,0 @@ -/* $NetBSD: msg.md.en,v 1.1 2014/07/26 19:56:30 dholland Exp $ */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{ -} diff --git a/overlay/usr.sbin/sysinst/arch/dummy/msg.md.es b/overlay/usr.sbin/sysinst/arch/dummy/msg.md.es deleted file mode 100644 index 26c82d8a6d..0000000000 --- a/overlay/usr.sbin/sysinst/arch/dummy/msg.md.es +++ /dev/null @@ -1,9 +0,0 @@ -/* $NetBSD: msg.md.es,v 1.1 2014/07/26 19:56:30 dholland Exp $ */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{ -} diff --git a/overlay/usr.sbin/sysinst/arch/dummy/msg.md.fr b/overlay/usr.sbin/sysinst/arch/dummy/msg.md.fr deleted file mode 100644 index 5b112a6af8..0000000000 --- a/overlay/usr.sbin/sysinst/arch/dummy/msg.md.fr +++ /dev/null @@ -1,9 +0,0 @@ -/* $NetBSD: msg.md.fr,v 1.1 2014/07/26 19:56:30 dholland Exp $ */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{ -} diff --git a/overlay/usr.sbin/sysinst/arch/dummy/msg.md.pl b/overlay/usr.sbin/sysinst/arch/dummy/msg.md.pl deleted file mode 100644 index 691f210225..0000000000 --- a/overlay/usr.sbin/sysinst/arch/dummy/msg.md.pl +++ /dev/null @@ -1,9 +0,0 @@ -/* $NetBSD: msg.md.pl,v 1.1 2014/07/26 19:56:30 dholland Exp $ */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{ -} diff --git a/overlay/usr.sbin/sysinst/arch/emips/Makefile b/overlay/usr.sbin/sysinst/arch/emips/Makefile deleted file mode 100644 index e88ebff1e9..0000000000 --- a/overlay/usr.sbin/sysinst/arch/emips/Makefile +++ /dev/null @@ -1,11 +0,0 @@ -# $NetBSD: Makefile,v 1.2 2019/06/13 06:34:30 martin Exp $ -# -# Makefile for emips -# - -.ifdef SMALLPROG -NOPARTMAN= yes -NO_GPT= yes -.endif - -.include "../../Makefile.inc" diff --git a/overlay/usr.sbin/sysinst/arch/emips/md.c b/overlay/usr.sbin/sysinst/arch/emips/md.c deleted file mode 100644 index e7d5d6a263..0000000000 --- a/overlay/usr.sbin/sysinst/arch/emips/md.c +++ /dev/null @@ -1,232 +0,0 @@ -/* $NetBSD: md.c,v 1.10 2022/01/29 16:01:17 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - */ - -/* md.c -- emips machine specific routines */ -/* This file is in close sync with sparc, vax, and x68k md.c */ - -#include -#include -#include -#include -#include -#include -#include - -#include "defs.h" -#include "md.h" -#include "msg_defs.h" -#include "menu_defs.h" - -void -md_init(void) -{ -} - -void -md_init_set_status(int flags) -{ - (void)flags; -} - -bool -md_get_info(struct install_partition_desc *install) -{ - struct disklabel disklabel; - int fd; - char dev_name[100]; - - snprintf(dev_name, 100, "/dev/r%sc", pm->diskdev); - - fd = open(dev_name, O_RDONLY, 0); - if (fd < 0) { - if (logfp) - (void)fprintf(logfp, "Can't open %s\n", dev_name); - endwin(); - fprintf(stderr, "Can't open %s\n", dev_name); - exit(1); - } - if (ioctl(fd, DIOCGDINFO, &disklabel) == -1) { - if (logfp) - (void)fprintf(logfp, "Can't read disklabel on %s.\n", - dev_name); - endwin(); - fprintf(stderr, "Can't read disklabel on %s.\n", dev_name); - close(fd); - exit(1); - } - close(fd); - - pm->dlcyl = disklabel.d_ncylinders; - pm->dlhead = disklabel.d_ntracks; - pm->dlsec = disklabel.d_nsectors; - pm->sectorsize = disklabel.d_secsize; - pm->dlcylsize = disklabel.d_secpercyl; - - /* - * Compute whole disk size. Take max of (pm->dlcyl*pm->dlhead*pm->dlsec) - * and secperunit, just in case the disk is already labelled. - * (If our new label's RAW_PART size ends up smaller than the - * in-core RAW_PART size value, updating the label will fail.) - */ - pm->dlsize = pm->dlcyl*pm->dlhead*pm->dlsec; - if (disklabel.d_secperunit > pm->dlsize) - pm->dlsize = disklabel.d_secperunit; - - return true; -} - -/* - * md back-end code for menu-driven BSD disklabel editor. - */ -int -md_make_bsd_partitions(struct install_partition_desc *install) -{ - return make_bsd_partitions(install); -} - -/* - * any additional partition validation - */ -bool -md_check_partitions(struct install_partition_desc *install) -{ - return true; -} - -/* - * hook called before writing new disklabel. - */ -bool -md_pre_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - return true; -} - -/* - * hook called after writing disklabel to new target disk. - */ -bool -md_post_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - return true; -} - -/* - * hook called after upgrade() or install() has finished setting - * up the target disk but immediately before the user is given the - * ``disks are now set up'' message. - */ -int -md_post_newfs(struct install_partition_desc *install) -{ - - return 0; -} - -/* - * Called after extraction of all sets is complete. - * - * On emips, we take this opportunity to update the boot loader. - */ -int -md_post_extract(struct install_partition_desc *install, bool upgrade) -{ - char ldr_path[STRSIZE]; - - strlcpy(ldr_path, target_expand("/boot.emips"), sizeof ldr_path); - - msg_display(MSG_dobootblks); - - if (ask_noyes(NULL)) { - if (run_program(RUN_DISPLAY | RUN_NO_CLEAR, - "/bin/dd if=%s of=/dev/reflash0c bs=512", ldr_path)) - process_menu(MENU_ok, __UNCONST("Warning: the system " - "is probably not bootable")); - - wclear(stdscr); - touchwin(stdscr); - clearok(stdscr, 1); - refresh(); - } - - return 0; -} - -void -md_cleanup_install(struct install_partition_desc *install) -{ -#ifndef DEBUG - enable_rc_conf(); -#endif -} - -int -md_pre_update(struct install_partition_desc *install) -{ - return 1; -} - -/* Upgrade support */ -int -md_update(struct install_partition_desc *install) -{ - md_post_newfs(install); - return 1; -} - -int -md_pre_mount(struct install_partition_desc *install, size_t ndx) -{ - return 0; -} - -bool -md_parts_use_wholedisk(struct disk_partitions *parts) -{ - - return parts_use_wholedisk(parts, 0, NULL); -} - -#ifdef HAVE_GPT -bool -md_gpt_post_write(struct disk_partitions *parts, part_id root_id, - bool root_is_new, part_id efi_id, bool efi_is_new) -{ - /* no GPT boot support, nothing needs to be done here */ - return true; -} -#endif - diff --git a/overlay/usr.sbin/sysinst/arch/emips/md.h b/overlay/usr.sbin/sysinst/arch/emips/md.h deleted file mode 100644 index ea26cd1789..0000000000 --- a/overlay/usr.sbin/sysinst/arch/emips/md.h +++ /dev/null @@ -1,75 +0,0 @@ -/* $NetBSD: md.h,v 1.7 2025/04/26 03:49:32 tsutsui Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* md.h -- Machine specific definitions for the emips */ - -/* Constants and defines */ - -#define DEFROOTSIZE 64 /* Default root size */ -#define DEFSWAPSIZE 32 /* Default swap size */ -#define DEFVARSIZE 32 /* Default /var size, if created */ -#define DEFUSRSIZE 800 /* Default /usr size, if /home */ -#define XNEEDMB 256 /* Extra megs for full X installation */ -#define DEBNEEDMB 900 /* Extra megs for debug sets */ - -/* have support for booting from UFS2 */ -#define HAVE_UFS2_BOOT - -/* have file system specific primary boot loader */ -#define HAVE_BOOTXX_xFS -#define BOOTXXDIR "/usr/mdec" -#define BOOTXX_FFSV1 "bootxx_ffs" -#define BOOTXX_FFSV2 "bootxx_ffsv2" - -/* - * Machine-specific command to write a new label to a disk. - * If not defined, we assume the port does not support disklabels and - * hand-edited disklabel will NOT be written by MI code. - */ -#define DISKLABEL_CMD "disklabel -w -r" - - -/* - * Default filesets to fetch and install during installation - * or upgrade. The standard sets are: - * base etc comp games man misc rescue tests text xbase xcomp xetc xfont xserver - */ -#define SET_KERNEL_1_NAME "kern-GENERIC" -#define MD_SETS_VALID SET_KERNEL, SET_SYSTEM, SET_X11_NOSERVERS - -/* default install CD device is ace1a */ -#ifdef CD_NAMES -#undef CD_NAMES -#endif -#define CD_NAMES "ace1" diff --git a/overlay/usr.sbin/sysinst/arch/emips/menus.md.en b/overlay/usr.sbin/sysinst/arch/emips/menus.md.en deleted file mode 100644 index fad457d918..0000000000 --- a/overlay/usr.sbin/sysinst/arch/emips/menus.md.en +++ /dev/null @@ -1,36 +0,0 @@ -/* $NetBSD: menus.md.en,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* emips machine dependent menus, english */ - diff --git a/overlay/usr.sbin/sysinst/arch/emips/menus.md.es b/overlay/usr.sbin/sysinst/arch/emips/menus.md.es deleted file mode 100644 index 4496a848c2..0000000000 --- a/overlay/usr.sbin/sysinst/arch/emips/menus.md.es +++ /dev/null @@ -1,36 +0,0 @@ -/* $NetBSD: menus.md.es,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* emips machine dependent menus, spanish */ - diff --git a/overlay/usr.sbin/sysinst/arch/emips/menus.md.fr b/overlay/usr.sbin/sysinst/arch/emips/menus.md.fr deleted file mode 100644 index dff48ce844..0000000000 --- a/overlay/usr.sbin/sysinst/arch/emips/menus.md.fr +++ /dev/null @@ -1,36 +0,0 @@ -/* $NetBSD: menus.md.fr,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* emips machine dependent menus, french */ - diff --git a/overlay/usr.sbin/sysinst/arch/emips/menus.md.pl b/overlay/usr.sbin/sysinst/arch/emips/menus.md.pl deleted file mode 100644 index 4e9da2251c..0000000000 --- a/overlay/usr.sbin/sysinst/arch/emips/menus.md.pl +++ /dev/null @@ -1,39 +0,0 @@ -/* $NetBSD: menus.md.pl,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ -/* Based on english version: */ -/* NetBSD: menus.md.en,v 1.17 2001/11/29 23:21:00 thorpej Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* emips machine dependent menus, Polish */ - diff --git a/overlay/usr.sbin/sysinst/arch/emips/msg.md.de b/overlay/usr.sbin/sysinst/arch/emips/msg.md.de deleted file mode 100644 index 8178755cb1..0000000000 --- a/overlay/usr.sbin/sysinst/arch/emips/msg.md.de +++ /dev/null @@ -1,52 +0,0 @@ -/* $NetBSD: msg.md.de,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* emips machine dependent messages, German */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Wenn Sie von einer Diskette gebootet haben, so können Sie diese jetzt -entnehmen. -} - -message dobootblks -{Installiere die Bootblöcke auf %s ... -} - -message set_kernel_1 -{Kernel (GENERIC)} diff --git a/overlay/usr.sbin/sysinst/arch/emips/msg.md.en b/overlay/usr.sbin/sysinst/arch/emips/msg.md.en deleted file mode 100644 index b7bd498426..0000000000 --- a/overlay/usr.sbin/sysinst/arch/emips/msg.md.en +++ /dev/null @@ -1,51 +0,0 @@ -/* $NetBSD: msg.md.en,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 2. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* emips machine dependent messages, english */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{If you booted from a floppy, you may now remove the disk. -} - -message dobootblks -{Installing boot blocks on %s.... -} - -message set_kernel_1 -{Kernel (GENERIC)} diff --git a/overlay/usr.sbin/sysinst/arch/emips/msg.md.es b/overlay/usr.sbin/sysinst/arch/emips/msg.md.es deleted file mode 100644 index b1057e028d..0000000000 --- a/overlay/usr.sbin/sysinst/arch/emips/msg.md.es +++ /dev/null @@ -1,51 +0,0 @@ -/* $NetBSD: msg.md.es,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* emips machine dependent messages, spanish */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Si ha iniciado desde disquette, ahora deberia retirar el disco. -} - -message dobootblks -{Instalando bloques de arranque en %s... -} - -message set_kernel_1 -{Núcleo (GENERIC)} diff --git a/overlay/usr.sbin/sysinst/arch/emips/msg.md.fr b/overlay/usr.sbin/sysinst/arch/emips/msg.md.fr deleted file mode 100644 index ca02825878..0000000000 --- a/overlay/usr.sbin/sysinst/arch/emips/msg.md.fr +++ /dev/null @@ -1,52 +0,0 @@ -/* $NetBSD: msg.md.fr,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* emips machine dependent messages, french */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Si vous avez démarré sur une disquette, vous pouvez maintenant la retirer. -} - -message dobootblks -{Installation des secteurs de démarrage sur %s ... -} - -message set_kernel_1 -{Kernel (GENERIC)} - diff --git a/overlay/usr.sbin/sysinst/arch/emips/msg.md.pl b/overlay/usr.sbin/sysinst/arch/emips/msg.md.pl deleted file mode 100644 index e66917012c..0000000000 --- a/overlay/usr.sbin/sysinst/arch/emips/msg.md.pl +++ /dev/null @@ -1,55 +0,0 @@ -/* $NetBSD: msg.md.pl,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ -/* Based on english version: */ -/* NetBSD: msg.md.en,v 1.8 2000/12/03 01:54:49 minoura Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* emips machine dependent messages, Polish */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Jesli uruchomiles komputer z dyskietki, mozesz ja teraz wyciagnac. -} - -message dobootblks -{Instalowanie bootblokow na %s.... -} - -message set_kernel_1 -{Kernel (GENERIC)} - diff --git a/overlay/usr.sbin/sysinst/arch/evbarm/Makefile b/overlay/usr.sbin/sysinst/arch/evbarm/Makefile deleted file mode 100644 index 64bd7e18ab..0000000000 --- a/overlay/usr.sbin/sysinst/arch/evbarm/Makefile +++ /dev/null @@ -1,11 +0,0 @@ -# $NetBSD: Makefile,v 1.3 2020/05/28 19:03:09 jmcneill Exp $ -# -# Makefile for evbarm -# - -MENUS_MD= menus.md.${SYSINSTLANG} -MSG_MD= msg.md.${SYSINSTLANG} msg.mbr.${SYSINSTLANG} -MD_OPTIONS= AOUT2ELF HAVE_INSTALL_IMAGE -NO_MBR=no - -.include "../../Makefile.inc" diff --git a/overlay/usr.sbin/sysinst/arch/evbarm/md.c b/overlay/usr.sbin/sysinst/arch/evbarm/md.c deleted file mode 100644 index feda4cbf11..0000000000 --- a/overlay/usr.sbin/sysinst/arch/evbarm/md.c +++ /dev/null @@ -1,398 +0,0 @@ -/* $NetBSD: md.c,v 1.25 2026/06/24 11:09:11 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - */ - -/* md.c -- shark machine specific routines */ - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "defs.h" -#include "md.h" -#include "msg_defs.h" -#include "menu_defs.h" - -int boardtype = BOARD_TYPE_NORMAL; - -#define SBSA_MODEL_STR "netbsd,generic-acpi" -#define RPI_MODEL_STR "raspberrypi," - -void -md_init(void) -{ - static const int mib[2] = {CTL_HW, HW_MODEL}; - size_t len; - char *cpu_model; - - sysctl(mib, 2, NULL, &len, NULL, 0); - cpu_model = malloc(len); - sysctl(mib, 2, cpu_model, &len, NULL, 0); - - if (strstr(cpu_model, RPI_MODEL_STR) != NULL) - /* this is some kind of Raspberry Pi */ - boardtype = BOARD_TYPE_RPI; - else if (strstr(cpu_model, SBSA_MODEL_STR) != NULL) - /* some SBSA compatible machine */ - boardtype = BOARD_TYPE_ACPI; - else - /* unknown, assume u-boot + dtb */ - boardtype = BOARD_TYPE_NORMAL; - - free(cpu_model); -} - -void -md_init_set_status(int flags) -{ - - /* - * we will extract kernel variants piecewise manually - * later, just fetch the kernel set, do not unpack it. - */ - set_kernel_set(SET_KERNEL_1); - set_noextract_set(SET_KERNEL_1); -} - -bool -md_get_info(struct install_partition_desc *install) -{ - int res; - - if (pm->no_mbr || pm->no_part) - return true; - -again: - if (pm->parts == NULL) { - - const struct disk_partitioning_scheme *ps = - select_part_scheme(pm, NULL, true, NULL); - - if (!ps) - return false; - - struct disk_partitions *parts = - (*ps->create_new_for_disk)(pm->diskdev, - 0, pm->dlsize, true, NULL); - if (!parts) - return false; - - pm->parts = parts; - if (ps->size_limit > 0 && pm->dlsize > ps->size_limit) - pm->dlsize = ps->size_limit; - } - - /* - * If the selected scheme does not need two-stage partitioning - * (like GPT), do not bother to edit the outer partitions. - */ - if (pm->parts->pscheme->secondary_partitions == NULL || - pm->parts->pscheme->secondary_scheme == NULL) - return true; - - res = edit_outer_parts(pm->parts); - if (res == 0) - return false; - else if (res == 1) - return true; - - pm->parts->pscheme->destroy_part_scheme(pm->parts); - pm->parts = NULL; - goto again; -} - -/* - * md back-end code for menu-driven BSD disklabel editor. - */ -int -md_make_bsd_partitions(struct install_partition_desc *install) -{ - return make_bsd_partitions(install); -} - -/* - * any additional partition validation - */ -bool -md_check_partitions(struct install_partition_desc *install) -{ - size_t i; - - for (i = 0; i < install->num; i++) - if (install->infos[i].fs_type == FS_MSDOS) - return true; - - msg_display(MSG_nomsdospart); - process_menu(MENU_ok, NULL); - - return false; -} - -/* - * hook called before writing new disklabel. - */ -bool -md_pre_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - - /* - * RAW_PART is 2 on evbarm and bad things happen if we - * write the MBR first and then the disklabel - so postpone - * the MBR to md_post_disklabel(), unlike other architectures. - */ - return true; -} - -/* - * hook called after writing disklabel to new target disk. - */ -bool -md_post_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - if (parts->parent == NULL) - return true; /* no outer partitions */ - - parts = parts->parent; - - msg_display_subst(MSG_dofdisk, 3, parts->disk, - msg_string(parts->pscheme->name), - msg_string(parts->pscheme->short_name)); - - /* write edited "MBR" onto disk. */ - if (!parts->pscheme->write_to_disk(parts)) { - msg_display(MSG_wmbrfail); - process_menu(MENU_ok, NULL); - return false; - } - return true; -} - -/* - * hook called after upgrade() or install() has finished setting - * up the target disk but immediately before the user is given the - * ``disks are now set up'' message. - */ -int -md_post_newfs(struct install_partition_desc *install) -{ - return 0; -} - -int -evbarm_extract_finalize(int update) -{ - distinfo *dist; - char kernelbin[100]; - int (*saved_fetch_fn)(const char *); -#ifdef _LP64 -#define EFIBOOT "/usr/mdec/bootaa64.efi" -#else -#define EFIBOOT "/usr/mdec/bootarm.efi" -#endif - - dist = get_set_distinfo(SET_KERNEL_1); - if (dist == NULL) - return 0; - - saved_fetch_fn = fetch_fn; - extract_file_to(dist, false, "/", "./netbsd", false); - fetch_fn = NULL; - make_target_dir("/boot/EFI/boot"); - if (target_file_exists_p(EFIBOOT)) - cp_within_target(EFIBOOT, "/boot/EFI/boot", 0); - - if (boardtype == BOARD_TYPE_ACPI) { - fetch_fn = saved_fetch_fn; - return 0; - } - if (boardtype == BOARD_TYPE_NORMAL) { - extract_file_to(dist, false, "/boot", "./netbsd.ub", false); - fetch_fn = saved_fetch_fn; - return 0; - } - if (boardtype == BOARD_TYPE_RPI) { - extract_file_to(dist, false, "/boot", "./netbsd.img", false); - fetch_fn = saved_fetch_fn; - snprintf(kernelbin, 100, "%s/netbsd.img", targetroot_mnt); - if (file_exists_p(kernelbin)) { - run_program(RUN_DISPLAY, - "/bin/cp %s /targetroot/boot/kernel.img", kernelbin); - } else { - msg_display(MSG_rpikernelmissing); - process_menu(MENU_ok, NULL); - return 1; - } - } - fetch_fn = saved_fetch_fn; - return 0; -} - -int -md_post_extract(struct install_partition_desc *install, bool upgrade) -{ - - return 0; -} - -void -md_cleanup_install(struct install_partition_desc *install) -{ -#ifndef DEBUG - enable_rc_conf(); - add_rc_conf("sshd=YES\n"); - add_rc_conf("dhcpcd=YES\n"); -#endif -} - -int -md_pre_update(struct install_partition_desc *install) -{ - return 1; -} - -/* Upgrade support */ -int -md_update(struct install_partition_desc *install) -{ - md_post_newfs(install); - return 1; -} - -int -md_pre_mount(struct install_partition_desc *install, size_t ndx) -{ - return 0; -} - -int -md_check_mbr(struct disk_partitions *parts, mbr_info_t *mbri, bool quiet) -{ - mbr_info_t *ext; - struct mbr_partition *part; - int i, hasboot=0; - - for (ext = mbri; ext; ext = ext->extended) { - part = ext->mbr.mbr_parts; - for (i=0, hasboot=0; i < MBR_PART_COUNT; part++, i++) { - if (part->mbrp_type != MBR_PTYPE_FAT16L && - part->mbrp_type != MBR_PTYPE_FAT32L) - continue; - hasboot = 1; - break; - } - } - if (!hasboot) { - if (quiet) - return 2; - msg_display(MSG_nomsdospart); - return ask_reedit(parts); - } - - return 2; -} - -static bool -md_need_boot_dtb(void) -{ - /* with ACPI or RPi booting we do not need to populate /boot/dtb/ */ - return boardtype == BOARD_TYPE_NORMAL || boardtype == BOARD_TYPE_RPI; -} - -bool -md_allow_default_set(int set) -{ - if (set != SET_DTB) - return true; - return md_need_boot_dtb(); -} - -bool -md_parts_use_wholedisk(struct disk_partitions *parts) -{ - struct disk_part_info boot_part = { - .size = md_need_boot_dtb() ? - PART_BOOT_LARGE/parts->bytes_per_sector : - PART_BOOT/parts->bytes_per_sector, - .fs_type = PART_BOOT_TYPE, - .fs_sub_type = MBR_PTYPE_FAT16L, - }; - - return parts_use_wholedisk(parts, 1, &boot_part); -} - -/* returns false if no write-back of parts is required */ -bool -md_mbr_update_check(struct disk_partitions *parts, mbr_info_t *mbri) -{ - return false; -} - -#ifdef HAVE_GPT -/* - * New GPT partitions have been written, update bootloader or remember - * data until needed in md_post_newfs - */ -bool -md_gpt_post_write(struct disk_partitions *parts, part_id root_id, - bool root_is_new, part_id efi_id, bool efi_is_new) -{ - return true; -} -#endif - -void -evbarm_part_defaults(struct pm_devs *my_pm, struct part_usage_info *infos, - size_t num_usage_infos) -{ - size_t i; - - for (i = 0; i < num_usage_infos; i++) { - if (infos[i].fs_type == PART_BOOT_TYPE && - infos[i].mount[0] != 0 && - strcmp(infos[i].mount, PART_BOOT_MOUNT) == 0) { - infos[i].size = md_need_boot_dtb() ? - PART_BOOT_LARGE/my_pm->parts->bytes_per_sector : - PART_BOOT/my_pm->parts->bytes_per_sector; - infos[i].fs_version = MBR_PTYPE_FAT16L; - return; - } - } -} diff --git a/overlay/usr.sbin/sysinst/arch/evbarm/md.h b/overlay/usr.sbin/sysinst/arch/evbarm/md.h deleted file mode 100644 index bb345cc2c3..0000000000 --- a/overlay/usr.sbin/sysinst/arch/evbarm/md.h +++ /dev/null @@ -1,124 +0,0 @@ -/* $NetBSD: md.h,v 1.10 2026/06/24 10:33:22 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* md.h -- Machine specific definitions for evbarm */ - -#include "mbr.h" - -/* Constants and defines */ -#define PART_BOOT (16*MEG) -#define PART_BOOT_LARGE (64*MEG) -#define PART_BOOT_TYPE FS_MSDOS -#define PART_BOOT_SUBT MBR_PTYPE_FAT16L -#define PART_BOOT_MOUNT "/boot" - -/* Megs required for a full X installation. */ -#define XNEEDMB 60 - -#define DEFSWAPSIZE (-1) - -/* use UFS2 by default for ffs */ -#define DEFAULT_UFS2 - -#define HAVE_UFS2_BOOT - -/* allow using tmpfs for /tmp instead of mfs */ -#define HAVE_TMPFS - -/* - * Default filesets to fetch and install during installation - * or upgrade. The standard sets are: - * base etc comp games gpufw man manhtml misc rescue tests text xbase xcomp xetc xfont xserver - */ -#if 0 /* XXX */ -#define SET_KERNEL_1_NAME "kern-ADI_BRH" -#define SET_KERNEL_2_NAME "kern-INTEGRATOR" -#define SET_KERNEL_3_NAME "kern-IQ80310" -#define SET_KERNEL_4_NAME "kern-IQ80321" -#define SET_KERNEL_5_NAME "kern-MINI2440" -#define SET_KERNEL_6_NAME "kern-TEAMASA_NPWR" -#define SET_KERNEL_7_NAME "kern-TS7200" -#define SET_KERNEL_8_NAME "kern-RPI" -#define SET_KERNEL_9_NAME "kern-KUROBOX_PRO" -#endif - -#ifdef _LP64 -#define SET_KERNEL_1_NAME "kern-GENERIC64" -#else -#define SET_KERNEL_1_NAME "kern-GENERIC" -#endif - -#define MD_SETS_SELECTED SET_SYSTEM - -/* - * Machine-specific command to write a new label to a disk. - * For example, shark uses "/sbin/disklabel -w -r". - * Sun ports should probably use DISKLABEL_CMD "/sbin/disklabel -w" - * to get incore to ondisk inode translation for the Sun proms. - * If not defined, we assume the port does not support disklabels and - * hand-edited disklabel will NOT be written by MI code. - */ -#define DISKLABEL_CMD "disklabel -w -r" - -/* Special board type routines need a switch */ -#define BOARD_TYPE_NORMAL 0 /* assume u-boot */ -#define BOARD_TYPE_RPI 1 /* RPi firmware booted us */ -#define BOARD_TYPE_ACPI 2 /* generic SBSA machine */ -extern int boardtype; - -/* - * Size limit for the initial GPT part, in bytes. This allows us to - * dd u-boot at 8k into the image for allwinner SoCs. - */ -#define MD_GPT_INITIAL_SIZE (8*1024) - - -#define HAVE_GPT_BOOT /* yes, u-boot can boot us from GPT */ -#define NO_DISKLABEL_BOOT /* ... but not directly from disklabel */ - -#define MD_MAY_SWAP_TO(DISK) may_swap_if_not_sdmmc(DISK) - -int evbarm_extract_finalize(int); -#define MD_SET_EXTRACT_FINALIZE(UP) evbarm_extract_finalize(UP) - -void evbarm_part_defaults(struct pm_devs*, struct part_usage_info*, - size_t num_usage_infos); - -#define MD_PART_DEFAULTS(A,B,C) evbarm_part_defaults(A,B,C) - -#define HAVE_EFI_BOOT 1 /* we support EFI boot partitions */ - -bool md_allow_default_set(int); -#define MD_ALLOW_DEFAULT_SET(S) md_allow_default_set(S) diff --git a/overlay/usr.sbin/sysinst/arch/evbarm/menus.md.en b/overlay/usr.sbin/sysinst/arch/evbarm/menus.md.en deleted file mode 100644 index 2983cfae85..0000000000 --- a/overlay/usr.sbin/sysinst/arch/evbarm/menus.md.en +++ /dev/null @@ -1,37 +0,0 @@ -/* $NetBSD: menus.md.en,v 1.2 2019/12/11 15:08:45 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* evbarm machine dependent menus, english */ - diff --git a/overlay/usr.sbin/sysinst/arch/evbarm/menus.md.es b/overlay/usr.sbin/sysinst/arch/evbarm/menus.md.es deleted file mode 100644 index 79d37915f8..0000000000 --- a/overlay/usr.sbin/sysinst/arch/evbarm/menus.md.es +++ /dev/null @@ -1,37 +0,0 @@ -/* $NetBSD: menus.md.es,v 1.2 2019/12/11 15:08:45 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* evbarm machine dependent menus, spanish */ - diff --git a/overlay/usr.sbin/sysinst/arch/evbarm/menus.md.fr b/overlay/usr.sbin/sysinst/arch/evbarm/menus.md.fr deleted file mode 100644 index 93ba56ec24..0000000000 --- a/overlay/usr.sbin/sysinst/arch/evbarm/menus.md.fr +++ /dev/null @@ -1,37 +0,0 @@ -/* $NetBSD: menus.md.fr,v 1.2 2019/12/11 15:08:45 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* evbarm machine dependent menus, french */ - diff --git a/overlay/usr.sbin/sysinst/arch/evbarm/menus.md.pl b/overlay/usr.sbin/sysinst/arch/evbarm/menus.md.pl deleted file mode 100644 index dfe1edf82b..0000000000 --- a/overlay/usr.sbin/sysinst/arch/evbarm/menus.md.pl +++ /dev/null @@ -1,39 +0,0 @@ -/* $NetBSD: menus.md.pl,v 1.2 2019/12/11 15:08:45 martin Exp $ */ -/* Based on english version: */ -/* NetBSD: menus.md.en,v 1.2 2002/03/31 02:14:06 thorpej Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* evbarm machine dependent menus, Polish */ - diff --git a/overlay/usr.sbin/sysinst/arch/evbarm/msg.md.de b/overlay/usr.sbin/sysinst/arch/evbarm/msg.md.de deleted file mode 100644 index cc88b47ff5..0000000000 --- a/overlay/usr.sbin/sysinst/arch/evbarm/msg.md.de +++ /dev/null @@ -1,82 +0,0 @@ -/* $NetBSD: msg.md.de,v 1.2 2023/12/19 13:21:55 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* evbarm machine dependent messages, German */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Wenn Sie von einer Diskette gebootet haben, können Sie diese jetzt -entfernen. - -} - -message badreadbb -{Kann den Bootblock des Filecores nicht lesen -} - -message badreadriscix -{Kann die RISCiX Partitionstabelle nicht lesen -} - -message notnetbsdriscix -{Keine NetBSD Partition in der RISCiX Partitionstabelle gefunden - erstellen -eines Labels nicht möglich. -} - -message notnetbsd -{Keine NetBSD Partition gefunden (eine Nur-Filecore Platte?) - erstellen eines -Labels nicht möglich. -} - -message dobootblks -{Installiere die Bootblöcke auf %s ... -} - -message arm32fspart -{Dies sind die NetBSD Partitionen auf %s (Größe und Offset in %s): -} - -message set_kernel_1 -{Kernel} - -message nomsdospart -{There is no MSDOS boot partition in the MBR partition table.} - -message rpikernelmissing -{The RPI kernel was not installed, perhaps you didn't select it?} diff --git a/overlay/usr.sbin/sysinst/arch/evbarm/msg.md.en b/overlay/usr.sbin/sysinst/arch/evbarm/msg.md.en deleted file mode 100644 index 984ae6a8ab..0000000000 --- a/overlay/usr.sbin/sysinst/arch/evbarm/msg.md.en +++ /dev/null @@ -1,78 +0,0 @@ -/* $NetBSD: msg.md.en,v 1.3 2023/12/19 13:21:55 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* evbarm machine dependent messages, english */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{ -} - -message badreadbb -{Cannot read filecore boot block -} - -message badreadriscix -{Cannot read RISCiX partition table -} - -message notnetbsdriscix -{No NetBSD partition found in RISCiX partition table - Cannot label -} - -message notnetbsd -{No NetBSD partition found (filecore only disk ?) - Cannot label -} - -message dobootblks -{Installing boot blocks on %s.... -} - -message arm32fspart -{We now have your NetBSD partitions on %s as follows (Size and Offset in %s): -} - -message set_kernel_1 -{Kernel} - -message nomsdospart -{There is no MSDOS boot partition in the MBR partition table.} - -message rpikernelmissing -{The RPI kernel was not installed, perhaps you didn't select it?} diff --git a/overlay/usr.sbin/sysinst/arch/evbarm/msg.md.es b/overlay/usr.sbin/sysinst/arch/evbarm/msg.md.es deleted file mode 100644 index 49dcc90171..0000000000 --- a/overlay/usr.sbin/sysinst/arch/evbarm/msg.md.es +++ /dev/null @@ -1,81 +0,0 @@ -/* $NetBSD: msg.md.es,v 1.2 2023/12/19 13:21:55 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* evbarm machine dependent messages, spanish */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Si ha iniciado desde disquette, ahora debería retirar el disco. -} - -message badreadbb -{No se puede leer el bloque de arranque filecore -} - -message badreadriscix -{No se puede leer la tabla de particiones RISCiX -} - -message notnetbsdriscix -{No se ha encontrado ninguna partición NetBSD en la tabla de -particiones RISCiX - No se puede etiquetar -} - -message notnetbsd -{No se ha encontrado ninguna particion NetBSD (¿disco solo de filecore?) - - No se puede etiquetar -} - -message dobootblks -{Instalando bloques de arranque en %s... -} - -message arm32fspart -{Ahora tenemos nuestras particiones NetBSD en %s como sigue (Tamaño y -Compensación en %s): -} - -message set_kernel_1 -{Núcleo} - -message nomsdospart -{There is no MSDOS boot partition in the MBR partition table.} - -message rpikernelmissing -{The RPI kernel was not installed, perhaps you didn't select it?} diff --git a/overlay/usr.sbin/sysinst/arch/evbarm/msg.md.fr b/overlay/usr.sbin/sysinst/arch/evbarm/msg.md.fr deleted file mode 100644 index 3fdec04093..0000000000 --- a/overlay/usr.sbin/sysinst/arch/evbarm/msg.md.fr +++ /dev/null @@ -1,81 +0,0 @@ -/* $NetBSD: msg.md.fr,v 1.2 2023/12/19 13:21:55 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* evbarm machine dependent messages, french */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Si vous avez démarré sur une disquette, vous pouvez maintenant la retirer. -} - -message badreadbb -{Impossible de lire le contenu du secteur de démarrage -} - -message badreadriscix -{Impossible de lire la table de partitions RISCiX -} - -message notnetbsdriscix -{Aucune partition NetBSD trouvée dans la table de partitions RISCiX. Impossible -de créer un label. -} - -message notnetbsd -{Aucune partition NetBSD trouvée (disque filecore uniquement ?). Impossible -de créer un label. -} - -message dobootblks -{Installation des blocs de démarrage sur %s ... -} - -message arm32fspart -{Nous avons maintenant vos partitions NetBSD sur %s comme suit -(taille et Offset en %s) : -} - -message set_kernel_1 -{Kernel} - -message nomsdospart -{There is no MSDOS boot partition in the MBR partition table.} - -message rpikernelmissing -{The RPI kernel was not installed, perhaps you didn't select it?} diff --git a/overlay/usr.sbin/sysinst/arch/evbarm/msg.md.pl b/overlay/usr.sbin/sysinst/arch/evbarm/msg.md.pl deleted file mode 100644 index 485c8c117b..0000000000 --- a/overlay/usr.sbin/sysinst/arch/evbarm/msg.md.pl +++ /dev/null @@ -1,80 +0,0 @@ -/* $NetBSD: msg.md.pl,v 1.2 2023/12/19 13:21:55 martin Exp $ */ -/* Based on english version: */ -/* NetBSD: msg.md.en,v 1.2 2002/04/02 17:02:54 thorpej Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* evbarm machine dependent messages, Polish */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Jesli uruchomiles komputer z dyskietki, mozesz ja teraz wyciagnac. -} - -message badreadbb -{Nie moge przeczytac bootbloku filecore -} - -message badreadriscix -{Nie moge przeczytac tablicy partycji RISCiX -} - -message notnetbsdriscix -{Nie znalazlem partycji NetBSD w tablicy partycji RISCiX - Nie moge nazwac -} - -message notnetbsd -{Nie znalazlem partycji NetBSD (dysk filecore?) - Nie moge nazwac -} - -message dobootblks -{Instalowanie bootblokow na %s.... -} - -message arm32fspart -{Partycje NetBSD na dysku %s wygladaja teraz tak (Rozmiary i Przesuniecia w %s): -} - -message set_kernel_1 -{Kernel} - -message nomsdospart -{There is no MSDOS boot partition in the MBR partition table.} - -message rpikernelmissing -{The RPI kernel was not installed, perhaps you didn't select it?} diff --git a/overlay/usr.sbin/sysinst/arch/evbmips/Makefile b/overlay/usr.sbin/sysinst/arch/evbmips/Makefile deleted file mode 100644 index 8cc59f9bd2..0000000000 --- a/overlay/usr.sbin/sysinst/arch/evbmips/Makefile +++ /dev/null @@ -1,31 +0,0 @@ -# $NetBSD: Makefile,v 1.3 2026/07/12 15:39:07 martin Exp $ -# -# Makefile for evbmips -# - -MENUS_MD= menus.md.${SYSINSTLANG} -MSG_MD= msg.md.${SYSINSTLANG} msg.mbr.${SYSINSTLANG} -NO_MBR=no - -# this is a hack to mimic the #ifdef cascade in md.h to select -# kernel names - keep them in sync! -# XXX we need defines for mipsn64 -.if ${MACHINE_ARCH} == mipsel || \ - ${MACHINE_ARCH} == mipseb -MD_OPTIONS+= KERNEL_NAMES_mipsel_or_mipseb -.endif -.if ${MACHINE_ARCH} == mipsel -MD_OPTIONS+= KERNEL_NAMES_mipsel -.endif -.if ${MACHINE_ARCH} == mips64eb || \ - ${MACHINE_ARCH} == mips64el || \ - ${MACHINE_ARCH} == mipsn64el || \ - ${MACHINE_ARCH} == mipsn64eb -MD_OPTIONS+= KERNEL_NAMES_mipsel64_or_mipseb64 -.endif -.if ${MACHINE_ARCH} == mipsn64eb || \ - ${MACHINE_ARCH} == mips64eb -MD_OPTIONS+= KERNEL_NAMES_mips64eb -.endif - -.include "../../Makefile.inc" diff --git a/overlay/usr.sbin/sysinst/arch/evbmips/md.c b/overlay/usr.sbin/sysinst/arch/evbmips/md.c deleted file mode 100644 index c2dabd4435..0000000000 --- a/overlay/usr.sbin/sysinst/arch/evbmips/md.c +++ /dev/null @@ -1,223 +0,0 @@ -/* $NetBSD: md.c,v 1.10 2022/01/29 16:01:17 martin Exp $ */ - -/* - * Copyright 1997,2002 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - */ - -/* md.c -- evbmips machine specific routines */ - -#include -#include -#include -#include - -#include "defs.h" -#include "md.h" -#include "msg_defs.h" -#include "menu_defs.h" - -void -md_init(void) -{ -} - -void -md_init_set_status(int flags) -{ - (void)flags; -} - -bool -md_get_info(struct install_partition_desc *install) -{ - int res; - - if (pm->no_mbr || pm->no_part) - return true; - -again: - if (pm->parts == NULL) { - - const struct disk_partitioning_scheme *ps = - select_part_scheme(pm, NULL, true, NULL); - - if (!ps) - return false; - - struct disk_partitions *parts = - (*ps->create_new_for_disk)(pm->diskdev, - 0, pm->dlsize, true, NULL); - if (!parts) - return false; - - pm->parts = parts; - if (ps->size_limit > 0 && pm->dlsize > ps->size_limit) - pm->dlsize = ps->size_limit; - } - - res = set_bios_geom_with_mbr_guess(pm->parts); - if (res == 0) - return false; - else if (res == 1) - return true; - - pm->parts->pscheme->destroy_part_scheme(pm->parts); - pm->parts = NULL; - goto again; -} - -/* - * md back-end code for menu-driven BSD disklabel editor. - */ -int -md_make_bsd_partitions(struct install_partition_desc *install) -{ - return make_bsd_partitions(install); -} - -/* - * any additional partition validation - */ -bool -md_check_partitions(struct install_partition_desc *install) -{ - return true; -} - -/* - * hook called before writing new disklabel. - */ -bool -md_pre_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - - if (parts->parent == NULL) - return true; /* no outer partitions */ - - parts = parts->parent; - - msg_display_subst(MSG_dofdisk, 3, parts->disk, - msg_string(parts->pscheme->name), - msg_string(parts->pscheme->short_name)); - - /* write edited "MBR" onto disk. */ - if (!parts->pscheme->write_to_disk(parts)) { - msg_display(MSG_wmbrfail); - process_menu(MENU_ok, NULL); - return false; - } - return true; -} - -/* - * hook called after writing disklabel to new target disk. - */ -bool -md_post_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - return true; -} - -/* - * hook called after upgrade() or install() has finished setting - * up the target disk but immediately before the user is given the - * ``disks are now set up'' message. - */ -int -md_post_newfs(struct install_partition_desc *install) -{ - return 0; -} - -int -md_post_extract(struct install_partition_desc *install, bool upgrade) -{ - return 0; -} - -void -md_cleanup_install(struct install_partition_desc *install) -{ -#ifndef DEBUG - enable_rc_conf(); -#endif -} - -int -md_pre_update(struct install_partition_desc *install) -{ - return 1; -} - -/* Upgrade support */ -int -md_update(struct install_partition_desc *install) -{ - md_post_newfs(install); - return 1; -} - -int -md_check_mbr(struct disk_partitions *parts, mbr_info_t *mbri, bool quiet) -{ - return 2; -} - -bool -md_parts_use_wholedisk(struct disk_partitions *parts) -{ - return parts_use_wholedisk(parts, 0, NULL); -} - -int -md_pre_mount(struct install_partition_desc *install, size_t ndx) -{ - return 0; -} - -bool -md_mbr_update_check(struct disk_partitions *parts, mbr_info_t *mbri) -{ - return false; /* no change, no need to write back */ -} - -#ifdef HAVE_GPT -bool -md_gpt_post_write(struct disk_partitions *parts, part_id root_id, - bool root_is_new, part_id efi_id, bool efi_is_new) -{ - /* no GPT boot support, nothing needs to be done here */ - return true; -} -#endif - diff --git a/overlay/usr.sbin/sysinst/arch/evbmips/md.h b/overlay/usr.sbin/sysinst/arch/evbmips/md.h deleted file mode 100644 index 6a1730fe2b..0000000000 --- a/overlay/usr.sbin/sysinst/arch/evbmips/md.h +++ /dev/null @@ -1,91 +0,0 @@ -/* $NetBSD: md.h,v 1.4 2026/07/12 15:39:07 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* md.h -- Machine specific definitions for the evbmips */ - -/* evbmips uses the mbr code. */ -#include "mbr.h" - -/* constants and defines */ - -/* Megs required for a full X installation. */ -#define XNEEDMB 50 - -/* have support for booting from UFS2 */ -#define HAVE_UFS2_BOOT - -/* - * Default filesets to fetch and install during installation or upgrade. - * The standard sets are: base etc comp games man misc rescue tests text - */ - -#if defined(ARCH_mipsel) || defined(ARCH_mipseb) -#define SET_KERNEL_1_NAME "kern-ALCHEMY" -#define SET_KERNEL_2_NAME "kern-AR531X" -#define SET_KERNEL_3_NAME "kern-DBAU1500" -#define SET_KERNEL_4_NAME "kern-DBAU1550" -#define SET_KERNEL_5_NAME "kern-MALTA" -#endif -#if defined(ARCH_mipsel) -#define SET_KERNEL_6_NAME "kern-MTX-1" -#define SET_KERNEL_7_NAME "kern-OMSAL400" -#endif - -#if defined(ARCH_mips64eb) || defined(ARCH_mips64el) || \ - defined(ARCH_mipsn64eb) || defined(ARCH_mipsn64el) -#define SET_KERNEL_4_NAME "kern-MALTA32" -#define SET_KERNEL_3_NAME "kern-MALTA64" -#define SET_KERNEL_2_NAME "kern-XLSATX32" -#define SET_KERNEL_1_NAME "kern-XLSATX64" -#endif - -#if defined(ARCH_mipsn64eb) || defined(ARCH_mips64eb) -#define SET_KERNEL_5_NAME "kern-OCTEON" -#endif - -#undef evbmips -#undef evbmips64 - -#define MD_SETS_SELECTED SET_SYSTEM - -/* - * Machine-specific command to write a new label to a disk. - * For example, bebox uses "/sbin/disklabel -w -r", just like bebox - * miniroot scripts, though this may leave a bogus incore label. - * Sun ports should probably use DISKLABEL_CMD "/sbin/disklabel -w" - * to get incore to ondisk inode translation for the Sun proms. - * If not defined, we assume the port does not support disklabels and - * hand-edited disklabel will NOT be written by MI code. - */ -#define DISKLABEL_CMD "disklabel -w -r" diff --git a/overlay/usr.sbin/sysinst/arch/evbmips/menus.md.en b/overlay/usr.sbin/sysinst/arch/evbmips/menus.md.en deleted file mode 100644 index 6edcbe92bf..0000000000 --- a/overlay/usr.sbin/sysinst/arch/evbmips/menus.md.en +++ /dev/null @@ -1,36 +0,0 @@ -/* $NetBSD: menus.md.en,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Menu definitions for sysinst. evbmips version, machine dependent. */ - diff --git a/overlay/usr.sbin/sysinst/arch/evbmips/menus.md.es b/overlay/usr.sbin/sysinst/arch/evbmips/menus.md.es deleted file mode 100644 index e6899c135f..0000000000 --- a/overlay/usr.sbin/sysinst/arch/evbmips/menus.md.es +++ /dev/null @@ -1,36 +0,0 @@ -/* $NetBSD: menus.md.es,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Menu definitions for sysinst. evbmips version, machine dependent. */ - diff --git a/overlay/usr.sbin/sysinst/arch/evbmips/menus.md.fr b/overlay/usr.sbin/sysinst/arch/evbmips/menus.md.fr deleted file mode 100644 index 6524156f71..0000000000 --- a/overlay/usr.sbin/sysinst/arch/evbmips/menus.md.fr +++ /dev/null @@ -1,36 +0,0 @@ -/* $NetBSD: menus.md.fr,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Menu definitions for sysinst. evbmips version, machine dependent. */ - diff --git a/overlay/usr.sbin/sysinst/arch/evbmips/menus.md.pl b/overlay/usr.sbin/sysinst/arch/evbmips/menus.md.pl deleted file mode 100644 index 037818a32f..0000000000 --- a/overlay/usr.sbin/sysinst/arch/evbmips/menus.md.pl +++ /dev/null @@ -1,38 +0,0 @@ -/* $NetBSD: menus.md.pl,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ -/* Based on english version: */ -/* NetBSD: menus.md.en,v 1.2 2001/11/29 23:21:01 thorpej Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Menu definitions for sysinst. evbmips version, machine dependent. */ - diff --git a/overlay/usr.sbin/sysinst/arch/evbmips/msg.md.de b/overlay/usr.sbin/sysinst/arch/evbmips/msg.md.de deleted file mode 100644 index 3bf3a0462e..0000000000 --- a/overlay/usr.sbin/sysinst/arch/evbmips/msg.md.de +++ /dev/null @@ -1,99 +0,0 @@ -/* $NetBSD: msg.md.de,v 1.2 2026/07/12 15:39:07 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- German, evbmips version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Wenn Sie von einer Diskette gebootet haben, können Sie diese jetzt -entfernen. -} - -message dobad144 -{Installiere die Tabelle der defekten Blöcke ... -} - -message dobootblks -{Installiere die Bootblöcke auf %s ... -} - - -.if KERNEL_NAMES_mipsel_or_mipseb -message set_kernel_1 -{Kernel (ALCHEMY)} - -message set_kernel_2 -{Kernel (AR531X)} - -message set_kernel_3 -{Kernel (DBAU1500)} - -message set_kernel_4 -{Kernel (DBAU1550)} - -message set_kernel_5 -{Kernel (MALTA)} -.endif - -.if KERNEL_NAMES_mipsel -message set_kernel_6 -{Kernel (MTX-1)} - -message set_kernel_7 -{Kernel (OMSAL400)} -.endif - -.if KERNEL_NAMES_mipsel64_or_mipseb64 -message set_kernel_4 -{Kernel (MALTA32)} - -message set_kernel_3 -{Kernel (MALTA64)} - -message set_kernel_2 -{Kernel (XLSATX32)} - -message set_kernel_1 -{Kernel (XLSATX64)} -.endif - -.if KERNEL_NAMES_mips64eb -message set_kernel_5 -{Kernel (OCTEON)} -.endif - - diff --git a/overlay/usr.sbin/sysinst/arch/evbmips/msg.md.en b/overlay/usr.sbin/sysinst/arch/evbmips/msg.md.en deleted file mode 100644 index ebc43720d1..0000000000 --- a/overlay/usr.sbin/sysinst/arch/evbmips/msg.md.en +++ /dev/null @@ -1,96 +0,0 @@ -/* $NetBSD: msg.md.en,v 1.2 2026/07/12 15:39:07 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- english, evbmips version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{If you booted from a floppy, you may now remove the disk. -} - -message dobad144 -{Installing the bad block table ... -} - -message dobootblks -{Installing boot blocks on %s.... -} - -.if KERNEL_NAMES_mipsel_or_mipseb -message set_kernel_1 -{Kernel (ALCHEMY)} - -message set_kernel_2 -{Kernel (AR531X)} - -message set_kernel_3 -{Kernel (DBAU1500)} - -message set_kernel_4 -{Kernel (DBAU1550)} - -message set_kernel_5 -{Kernel (MALTA)} -.endif - -.if KERNEL_NAMES_mipsel -message set_kernel_6 -{Kernel (MTX-1)} - -message set_kernel_7 -{Kernel (OMSAL400)} -.endif - -.if KERNEL_NAMES_mipsel64_or_mipseb64 -message set_kernel_4 -{Kernel (MALTA32)} - -message set_kernel_3 -{Kernel (MALTA64)} - -message set_kernel_2 -{Kernel (XLSATX32)} - -message set_kernel_1 -{Kernel (XLSATX64)} -.endif - -.if KERNEL_NAMES_mips64eb -message set_kernel_5 -{Kernel (OCTEON)} -.endif - diff --git a/overlay/usr.sbin/sysinst/arch/evbmips/msg.md.es b/overlay/usr.sbin/sysinst/arch/evbmips/msg.md.es deleted file mode 100644 index 13ef202084..0000000000 --- a/overlay/usr.sbin/sysinst/arch/evbmips/msg.md.es +++ /dev/null @@ -1,97 +0,0 @@ -/* $NetBSD: msg.md.es,v 1.2 2026/07/12 15:39:07 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- spanish, evbmips version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Si ha iniciado desde disquette, ahora debería retirar el disco. -} - -message dobad144 -{Instalando la tabla de bloques malos ... -} - -message dobootblks -{Instalando bloques de arranque en %s.... -} - -.if KERNEL_NAMES_mipsel_or_mipseb -message set_kernel_1 -{Núcleo (ALCHEMY)} - -message set_kernel_2 -{Núcleo (AR531X)} - -message set_kernel_3 -{Núcleo (DBAU1500)} - -message set_kernel_4 -{Núcleo (DBAU1550)} - -message set_kernel_5 -{Núcleo (MALTA)} -.endif - -.if KERNEL_NAMES_mipsel -message set_kernel_6 -{Núcleo (MTX-1)} - -message set_kernel_7 -{Núcleo (OMSAL400)} -.endif - -.if KERNEL_NAMES_mipsel64_or_mipseb64 -message set_kernel_4 -{Núcleo (MALTA32)} - -message set_kernel_3 -{Núcleo (MALTA64)} - -message set_kernel_2 -{Núcleo (XLSATX32)} - -message set_kernel_1 -{Núcleo (XLSATX64)} -.endif - -.if KERNEL_NAMES_mips64eb -message set_kernel_5 -{Núcleo (OCTEON)} -.endif - - diff --git a/overlay/usr.sbin/sysinst/arch/evbmips/msg.md.fr b/overlay/usr.sbin/sysinst/arch/evbmips/msg.md.fr deleted file mode 100644 index b82457b748..0000000000 --- a/overlay/usr.sbin/sysinst/arch/evbmips/msg.md.fr +++ /dev/null @@ -1,98 +0,0 @@ -/* $NetBSD: msg.md.fr,v 1.2 2026/07/12 15:39:07 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- french, evbmips version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Si vous avez démarré sur une disquette, vous pouvez maintenant la retirer. -} - -message dobad144 -{Installation de la table des blocs défectueux ... -} - -message dobootblks -{Installation des blocs de démarrage sur %s ... -} - - -.if KERNEL_NAMES_mipsel_or_mipseb -message set_kernel_1 -{Kernel (ALCHEMY)} - -message set_kernel_2 -{Kernel (AR531X)} - -message set_kernel_3 -{Kernel (DBAU1500)} - -message set_kernel_4 -{Kernel (DBAU1550)} - -message set_kernel_5 -{Kernel (MALTA)} -.endif - -.if KERNEL_NAMES_mipsel -message set_kernel_6 -{Kernel (MTX-1)} - -message set_kernel_7 -{Kernel (OMSAL400)} -.endif - -.if KERNEL_NAMES_mipsel64_or_mipseb64 -message set_kernel_4 -{Kernel (MALTA32)} - -message set_kernel_3 -{Kernel (MALTA64)} - -message set_kernel_2 -{Kernel (XLSATX32)} - -message set_kernel_1 -{Kernel (XLSATX64)} -.endif - -.if KERNEL_NAMES_mips64eb -message set_kernel_5 -{Kernel (OCTEON)} -.endif - - diff --git a/overlay/usr.sbin/sysinst/arch/evbmips/msg.md.pl b/overlay/usr.sbin/sysinst/arch/evbmips/msg.md.pl deleted file mode 100644 index 41a97b8bfe..0000000000 --- a/overlay/usr.sbin/sysinst/arch/evbmips/msg.md.pl +++ /dev/null @@ -1,100 +0,0 @@ -/* $NetBSD: msg.md.pl,v 1.2 2026/07/12 15:39:07 martin Exp $ */ -/* Based on english version: */ -/* NetBSD: msg.md.en,v 1.1 2001/10/24 19:43:40 briggs Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- Polish, evbmips version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Jesli uruchomiles komputer z dyskietki, mozesz ja teraz wyciagnac. -} - -message dobad144 -{Instalowanie tablicy zlych blokow ... -} - -message dobootblks -{Instalowanie bootblokow na %s.... -} - - -.if KERNEL_NAMES_mipsel_or_mipseb -message set_kernel_1 -{Kernel (ALCHEMY)} - -message set_kernel_2 -{Kernel (AR531X)} - -message set_kernel_3 -{Kernel (DBAU1500)} - -message set_kernel_4 -{Kernel (DBAU1550)} - -message set_kernel_5 -{Kernel (MALTA)} -.endif - -.if KERNEL_NAMES_mipsel -message set_kernel_6 -{Kernel (MTX-1)} - -message set_kernel_7 -{Kernel (OMSAL400)} -.endif - -.if KERNEL_NAMES_mipsel64_or_mipseb64 -message set_kernel_4 -{Kernel (MALTA32)} - -message set_kernel_3 -{Kernel (MALTA64)} - -message set_kernel_2 -{Kernel (XLSATX32)} - -message set_kernel_1 -{Kernel (XLSATX64)} -.endif - -.if KERNEL_NAMES_mips64eb -message set_kernel_5 -{Kernel (OCTEON)} -.endif - - diff --git a/overlay/usr.sbin/sysinst/arch/evbppc/Makefile b/overlay/usr.sbin/sysinst/arch/evbppc/Makefile deleted file mode 100644 index 182cdede28..0000000000 --- a/overlay/usr.sbin/sysinst/arch/evbppc/Makefile +++ /dev/null @@ -1,10 +0,0 @@ -# $NetBSD: Makefile,v 1.2 2019/06/12 06:20:19 martin Exp $ -# -# Makefile for evbppc (walnut-specific at this time) -# - -MENUS_MD= menus.md.${SYSINSTLANG} -MSG_MD= msg.md.${SYSINSTLANG} msg.mbr.${SYSINSTLANG} -NO_MBR=no - -.include "../../Makefile.inc" diff --git a/overlay/usr.sbin/sysinst/arch/evbppc/md.c b/overlay/usr.sbin/sysinst/arch/evbppc/md.c deleted file mode 100644 index 2a8bb3fe9c..0000000000 --- a/overlay/usr.sbin/sysinst/arch/evbppc/md.c +++ /dev/null @@ -1,254 +0,0 @@ -/* $NetBSD: md.c,v 1.12 2026/01/09 22:54:34 jmcneill Exp $ */ - -/* - * Copyright 1997,2002 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - */ - -/* md.c -- evbppc machine specific routines */ - -#include -#include -#include -#include -#include - -#include "defs.h" -#include "md.h" -#include "msg_defs.h" -#include "menu_defs.h" - -static bool cpu_espresso; - -void -md_init(void) -{ - static const int mib[2] = {CTL_HW, HW_MODEL}; - size_t len; - char *cpu_model; - - sysctl(mib, 2, NULL, &len, NULL, 0); - cpu_model = malloc(len); - sysctl(mib, 2, cpu_model, &len, NULL, 0); - - cpu_espresso = strstr(cpu_model, "Espresso") != NULL; - - free(cpu_model); -} - -void -md_init_set_status(int flags) -{ - struct utsname instsys; - - (void)flags; - - /* - * Get the name of the install kernel we are running under and - * enable the installation of the corresponding kernel. - */ - uname(&instsys); - if (strstr(instsys.version, "(INSTALL_NINTENDO")) { - if (cpu_espresso) { - set_kernel_set(EVBPPC_SET_KERNEL_NINTENDO_MP); - set_noextract_set(EVBPPC_SET_KERNEL_NINTENDO_MP); - } else { - set_kernel_set(EVBPPC_SET_KERNEL_NINTENDO); - set_noextract_set(EVBPPC_SET_KERNEL_NINTENDO); - } - } -} - -bool -md_get_info(struct install_partition_desc *install) -{ - int res; - - if (pm->no_mbr || pm->no_part) - return true; - -again: - if (pm->parts == NULL) { - - const struct disk_partitioning_scheme *ps = - select_part_scheme(pm, NULL, true, NULL); - - if (!ps) - return false; - - struct disk_partitions *parts = - (*ps->create_new_for_disk)(pm->diskdev, - 0, pm->dlsize, true, NULL); - if (!parts) - return false; - - pm->parts = parts; - if (ps->size_limit > 0 && pm->dlsize > ps->size_limit) - pm->dlsize = ps->size_limit; - } - - res = set_bios_geom_with_mbr_guess(pm->parts); - if (res == 0) - return false; - else if (res == 1) - return true; - - pm->parts->pscheme->destroy_part_scheme(pm->parts); - pm->parts = NULL; - goto again; -} - -/* - * md back-end code for menu-driven BSD disklabel editor. - */ -int -md_make_bsd_partitions(struct install_partition_desc *install) -{ - return make_bsd_partitions(install); -} - -/* - * any additional partition validation - */ -bool -md_check_partitions(struct install_partition_desc *install) -{ - return true; -} - -/* - * hook called before writing new disklabel. - */ -bool -md_pre_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - - if (parts->parent == NULL) - return true; /* no outer partitions */ - - parts = parts->parent; - - msg_display_subst(MSG_dofdisk, 3, parts->disk, - msg_string(parts->pscheme->name), - msg_string(parts->pscheme->short_name)); - - /* write edited "MBR" onto disk. */ - if (!parts->pscheme->write_to_disk(parts)) { - msg_display(MSG_wmbrfail); - process_menu(MENU_ok, NULL); - return false; - } - return true; -} - -/* - * hook called after writing disklabel to new target disk. - */ -bool -md_post_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - return true; -} - -/* - * hook called after upgrade() or install() has finished setting - * up the target disk but immediately before the user is given the - * ``disks are now set up'' message. - */ -int -md_post_newfs(struct install_partition_desc *install) -{ - /* Walnut doesn't do bootblocks */ - return 0; -} - -int -md_post_extract(struct install_partition_desc *install, bool upgrade) -{ - return 0; -} - -void -md_cleanup_install(struct install_partition_desc *install) -{ -#ifndef DEBUG - enable_rc_conf(); -#endif -} - -int -md_pre_update(struct install_partition_desc *install) -{ - return 1; -} - -/* Upgrade support */ -int -md_update(struct install_partition_desc *install) -{ - md_post_newfs(install); - return 1; -} - -int -md_check_mbr(struct disk_partitions *parts, mbr_info_t *mbri, bool quiet) -{ - return 2; -} - -bool -md_parts_use_wholedisk(struct disk_partitions *parts) -{ - return parts_use_wholedisk(parts, 0, NULL); -} - -int -md_pre_mount(struct install_partition_desc *install, size_t ndx) -{ - return 0; -} - -bool -md_mbr_update_check(struct disk_partitions *parts, mbr_info_t *mbri) -{ - return false; /* no change, no need to write back */ -} - -#ifdef HAVE_GPT -bool -md_gpt_post_write(struct disk_partitions *parts, part_id root_id, - bool root_is_new, part_id efi_id, bool efi_is_new) -{ - /* no GPT boot support, nothing needs to be done here */ - return true; -} -#endif diff --git a/overlay/usr.sbin/sysinst/arch/evbppc/md.h b/overlay/usr.sbin/sysinst/arch/evbppc/md.h deleted file mode 100644 index 391c460e96..0000000000 --- a/overlay/usr.sbin/sysinst/arch/evbppc/md.h +++ /dev/null @@ -1,71 +0,0 @@ -/* $NetBSD: md.h,v 1.5 2026/01/09 22:54:34 jmcneill Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* md.h -- Machine specific definitions for the bebox */ - - -/* bebox uses the mbr code. */ -#include "mbr.h" - -/* constants and defines */ - - -#define DEFROOTSIZE 80 /* Default root size */ -#define XNEEDMB 256 /* Extra megs for full X installation */ -#define DEBNEEDMB 880 /* Extra megs for debug sets */ - - - -/* - * Default filesets to fetch and install during installation - * or upgrade. The standard sets are: - * base etc comp games man misc rescue tests text xbase xcomp xetc xfont xserver - */ -#define SET_KERNEL_1_NAME "kern-NINTENDO" -#define SET_KERNEL_2_NAME "kern-NINTENDO.MP" -#define EVBPPC_SET_KERNEL_NINTENDO SET_KERNEL_1 -#define EVBPPC_SET_KERNEL_NINTENDO_MP SET_KERNEL_2 - -/* - * Machine-specific command to write a new label to a disk. - * For example, bebox uses "/sbin/disklabel -w -r", just like bebox - * miniroot scripts, though this may leave a bogus incore label. - * Sun ports should probably use DISKLABEL_CMD "/sbin/disklabel -w" - * to get incore to ondisk inode translation for the Sun proms. - * If not defined, we assume the port does not support disklabels and - * hand-edited disklabel will NOT be written by MI code. - * - * On bebox, do what the 1.2 install scripts did. - */ -#define DISKLABEL_CMD "disklabel -w -r" diff --git a/overlay/usr.sbin/sysinst/arch/evbppc/menus.md.en b/overlay/usr.sbin/sysinst/arch/evbppc/menus.md.en deleted file mode 100644 index c6cb888afd..0000000000 --- a/overlay/usr.sbin/sysinst/arch/evbppc/menus.md.en +++ /dev/null @@ -1,36 +0,0 @@ -/* $NetBSD: menus.md.en,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Menu definitions for sysinst. evbppc version, machine dependent. */ - diff --git a/overlay/usr.sbin/sysinst/arch/evbppc/menus.md.es b/overlay/usr.sbin/sysinst/arch/evbppc/menus.md.es deleted file mode 100644 index 8f4a98bc46..0000000000 --- a/overlay/usr.sbin/sysinst/arch/evbppc/menus.md.es +++ /dev/null @@ -1,36 +0,0 @@ -/* $NetBSD: menus.md.es,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Menu definitions for sysinst. evbppc version, machine dependent. */ - diff --git a/overlay/usr.sbin/sysinst/arch/evbppc/menus.md.fr b/overlay/usr.sbin/sysinst/arch/evbppc/menus.md.fr deleted file mode 100644 index cc23602606..0000000000 --- a/overlay/usr.sbin/sysinst/arch/evbppc/menus.md.fr +++ /dev/null @@ -1,36 +0,0 @@ -/* $NetBSD: menus.md.fr,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Menu definitions for sysinst. evbppc version, machine dependent. */ - diff --git a/overlay/usr.sbin/sysinst/arch/evbppc/menus.md.pl b/overlay/usr.sbin/sysinst/arch/evbppc/menus.md.pl deleted file mode 100644 index cee72bdd11..0000000000 --- a/overlay/usr.sbin/sysinst/arch/evbppc/menus.md.pl +++ /dev/null @@ -1,38 +0,0 @@ -/* $NetBSD: menus.md.pl,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ -/* Based on english version: */ -/* NetBSD: menus.md.en,v 1.2 2001/11/29 23:21:01 thorpej Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Menu definitions for sysinst. evbppc version, machine dependent. */ - diff --git a/overlay/usr.sbin/sysinst/arch/evbppc/msg.md.de b/overlay/usr.sbin/sysinst/arch/evbppc/msg.md.de deleted file mode 100644 index 3d69acfa18..0000000000 --- a/overlay/usr.sbin/sysinst/arch/evbppc/msg.md.de +++ /dev/null @@ -1,57 +0,0 @@ -/* $NetBSD: msg.md.de,v 1.2 2026/01/09 22:54:35 jmcneill Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- German, evbppc version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Wenn Sie von einer Diskette gebootet haben, können Sie diese jetzt -entfernen. -} - -message dobad144 -{Installiere die Tabelle der defekten Blöcke ... -} - -message dobootblks -{Installiere die Bootblöcke auf %s ... -} - -message set_kernel_1 -{Kernel (NINTENDO)} -message set_kernel_2 -{Kernel (NINTENDO.MP)} diff --git a/overlay/usr.sbin/sysinst/arch/evbppc/msg.md.en b/overlay/usr.sbin/sysinst/arch/evbppc/msg.md.en deleted file mode 100644 index 2c199302f7..0000000000 --- a/overlay/usr.sbin/sysinst/arch/evbppc/msg.md.en +++ /dev/null @@ -1,56 +0,0 @@ -/* $NetBSD: msg.md.en,v 1.2 2026/01/09 22:54:35 jmcneill Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- english, evbppc version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{If you booted from a floppy, you may now remove the disk. -} - -message dobad144 -{Installing the bad block table ... -} - -message dobootblks -{Installing boot blocks on %s.... -} - -message set_kernel_1 -{Kernel (NINTENDO)} -message set_kernel_2 -{Kernel (NINTENDO.MP)} diff --git a/overlay/usr.sbin/sysinst/arch/evbppc/msg.md.es b/overlay/usr.sbin/sysinst/arch/evbppc/msg.md.es deleted file mode 100644 index 799dc5c421..0000000000 --- a/overlay/usr.sbin/sysinst/arch/evbppc/msg.md.es +++ /dev/null @@ -1,56 +0,0 @@ -/* $NetBSD: msg.md.es,v 1.2 2026/01/09 22:54:35 jmcneill Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- spanish, evbppc version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Si ha iniciado desde disquette, ahora debería retirar el disco. -} - -message dobad144 -{Instalando la tabla de bloques malos ... -} - -message dobootblks -{Instalando bloques de arranque en %s.... -} - -message set_kernel_1 -{Núcleo (NINTENDO)} -message set_kernel_2 -{Núcleo (NINTENDO.MP)} diff --git a/overlay/usr.sbin/sysinst/arch/evbppc/msg.md.fr b/overlay/usr.sbin/sysinst/arch/evbppc/msg.md.fr deleted file mode 100644 index a0e470a47e..0000000000 --- a/overlay/usr.sbin/sysinst/arch/evbppc/msg.md.fr +++ /dev/null @@ -1,56 +0,0 @@ -/* $NetBSD: msg.md.fr,v 1.2 2026/01/09 22:54:35 jmcneill Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- french, evbppc version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Si vous avez démarré sur une disquette, vous pouvez maintenant la retirer. -} - -message dobad144 -{Installation de la table des blocs défectueux ... -} - -message dobootblks -{Installation des blocs de démarrage sur %s ... -} - -message set_kernel_1 -{Kernel (NINTENDO)} -message set_kernel_2 -{Kernel (NINTENDO.MP)} diff --git a/overlay/usr.sbin/sysinst/arch/evbppc/msg.md.pl b/overlay/usr.sbin/sysinst/arch/evbppc/msg.md.pl deleted file mode 100644 index cb60e4b7e1..0000000000 --- a/overlay/usr.sbin/sysinst/arch/evbppc/msg.md.pl +++ /dev/null @@ -1,58 +0,0 @@ -/* $NetBSD: msg.md.pl,v 1.2 2026/01/09 22:54:35 jmcneill Exp $ */ -/* Based on english version: */ -/* NetBSD: msg.md.en,v 1.1 2001/10/24 19:43:40 briggs Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- Polish, evbppc version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Jesli uruchomiles komputer z dyskietki, mozesz ja teraz wyciagnac. -} - -message dobad144 -{Instalowanie tablicy zlych blokow ... -} - -message dobootblks -{Instalowanie bootblokow na %s.... -} - -message set_kernel_1 -{Kernel (NINTENDO)} -message set_kernel_2 -{Kernel (NINTENDO.MP)} diff --git a/overlay/usr.sbin/sysinst/arch/evbsh3/Makefile b/overlay/usr.sbin/sysinst/arch/evbsh3/Makefile deleted file mode 100644 index af45a371aa..0000000000 --- a/overlay/usr.sbin/sysinst/arch/evbsh3/Makefile +++ /dev/null @@ -1,6 +0,0 @@ -# $NetBSD: Makefile,v 1.1 2014/07/26 19:30:45 dholland Exp $ -# -# Makefile for evbsh3 -# - -.include "../../Makefile.inc" diff --git a/overlay/usr.sbin/sysinst/arch/evbsh3/md.c b/overlay/usr.sbin/sysinst/arch/evbsh3/md.c deleted file mode 100644 index 96f1379dcf..0000000000 --- a/overlay/usr.sbin/sysinst/arch/evbsh3/md.c +++ /dev/null @@ -1,212 +0,0 @@ -/* $NetBSD: md.c,v 1.8 2023/03/26 19:10:34 andvar Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -#include -#include -#include -#include -#include -#include -#include -#include - -#include "defs.h" -#include "md.h" -#include "msg_defs.h" -#include "menu_defs.h" - -bool -md_get_info(struct install_partition_desc *install) -{ - struct disklabel disklabel; - int fd; - char dev_name[100]; - - snprintf(dev_name, 100, "/dev/r%s%c", pm->diskdev, 'a' + getrawpartition()); - - fd = open(dev_name, O_RDONLY, 0); - if (fd < 0) { - endwin(); - fprintf (stderr, "Can't open %s\n", dev_name); - exit(1); - } - if (ioctl(fd, DIOCGDINFO, &disklabel) == -1) { - endwin(); - fprintf (stderr, "Can't read disklabel on %s.\n", dev_name); - close(fd); - exit(1); - } - close(fd); - - pm->dlcyl = disklabel.d_ncylinders; - pm->dlhead = disklabel.d_ntracks; - pm->dlsec = disklabel.d_nsectors; - pm->sectorsize = disklabel.d_secsize; - pm->dlcylsize = disklabel.d_secpercyl; - - /* - * Compute whole disk size. Take max of (pm->dlcyl*pm->dlhead*pm->dlsec) - * and secperunit, just in case the disk is already labelled. - * (If our new label's RAW_PART size ends up smaller than the - * in-core RAW_PART size value, updating the label will fail.) - */ - pm->dlsize = pm->dlcyl * pm->dlhead * pm->dlsec; - if (disklabel.d_secperunit > pm->dlsize) - pm->dlsize = disklabel.d_secperunit; - - return true; -} - -/* - * hook called before writing new disklabel. - */ -bool -md_pre_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - - return true; -} - -/* - * hook called after writing disklabel to new target disk. - */ -bool -md_post_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - return true; -} - -/* - * MD hook called after upgrade() or install() has finished setting - * up the target disk but immediately before the user is given the - * ``disks are now set up'' message, so that if power fails, they can - * continue installation by booting the target disk and doing an - * `upgrade'. - */ -int -md_post_newfs(struct install_partition_desc *install) -{ - - return 0; -} - -int -md_make_bsd_partitions(struct install_partition_desc *install) -{ - - return make_bsd_partitions(install); -} - -/* - * any additional partition validation - */ -bool -md_check_partitions(struct install_partition_desc *install) -{ - - return true; -} - -/* Upgrade support */ -int -md_update(struct install_partition_desc *install) -{ - - endwin(); - md_post_newfs(install); - wrefresh(curscr); - wmove(stdscr, 0, 0); - wclear(stdscr); - wrefresh(stdscr); - return 1; -} - -void -md_cleanup_install(struct install_partition_desc *install) -{ - - enable_rc_conf(); -} - -int -md_pre_update(struct install_partition_desc *install) -{ - - return 1; -} - -void -md_init(void) -{ -} - -void -md_init_set_status(int flags) -{ - - (void)flags; -} - -int -md_post_extract(struct install_partition_desc *install, bool upgrade) -{ - return 0; -} - -int -md_pre_mount(struct install_partition_desc *install, size_t ndx) -{ - return 0; -} - -bool -md_parts_use_wholedisk(struct disk_partitions *parts) -{ - - return parts_use_wholedisk(parts, 0, NULL); -} - -#ifdef HAVE_GPT -bool -md_gpt_post_write(struct disk_partitions *parts, part_id root_id, - bool root_is_new, part_id efi_id, bool efi_is_new) -{ - /* no GPT boot support, nothing needs to be done here */ - return true; -} -#endif - diff --git a/overlay/usr.sbin/sysinst/arch/evbsh3/md.h b/overlay/usr.sbin/sysinst/arch/evbsh3/md.h deleted file mode 100644 index 339c50e0e9..0000000000 --- a/overlay/usr.sbin/sysinst/arch/evbsh3/md.h +++ /dev/null @@ -1,53 +0,0 @@ -/* $NetBSD: md.h,v 1.2 2025/04/26 03:49:32 tsutsui Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* - * Symbolic names for disk partitions - */ -#include - -#define DEFROOTSIZE 200 /* Default root size */ -#define XNEEDMB 100 /* Extra megs for full X installation */ - -#define SET_KERNEL_1_NAME "kern-T_SH7706LAN" - -/* - * Machine-specific command to write a new label to a disk. - * If not defined, we assume the port does not support disklabels and - * the hand-edited disklabel will NOT be written by MI code. - * ews4800mips stores disklabel and EWS-UX compatible PDINFO+VTOC. - * Don't use -r option. - */ -#define DISKLABEL_CMD "disklabel -w -r" diff --git a/overlay/usr.sbin/sysinst/arch/evbsh3/menus.md.en b/overlay/usr.sbin/sysinst/arch/evbsh3/menus.md.en deleted file mode 100644 index 29b311ec07..0000000000 --- a/overlay/usr.sbin/sysinst/arch/evbsh3/menus.md.en +++ /dev/null @@ -1 +0,0 @@ -/* $NetBSD: menus.md.en,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ diff --git a/overlay/usr.sbin/sysinst/arch/evbsh3/menus.md.fr b/overlay/usr.sbin/sysinst/arch/evbsh3/menus.md.fr deleted file mode 100644 index bfad3fa8ff..0000000000 --- a/overlay/usr.sbin/sysinst/arch/evbsh3/menus.md.fr +++ /dev/null @@ -1 +0,0 @@ -/* $NetBSD: menus.md.fr,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ diff --git a/overlay/usr.sbin/sysinst/arch/evbsh3/menus.md.pl b/overlay/usr.sbin/sysinst/arch/evbsh3/menus.md.pl deleted file mode 100644 index 358d3c4995..0000000000 --- a/overlay/usr.sbin/sysinst/arch/evbsh3/menus.md.pl +++ /dev/null @@ -1 +0,0 @@ -/* $NetBSD: menus.md.pl,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ diff --git a/overlay/usr.sbin/sysinst/arch/evbsh3/msg.md.de b/overlay/usr.sbin/sysinst/arch/evbsh3/msg.md.de deleted file mode 100644 index 99460d1ee9..0000000000 --- a/overlay/usr.sbin/sysinst/arch/evbsh3/msg.md.de +++ /dev/null @@ -1,48 +0,0 @@ -/* $NetBSD: msg.md.de,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* evbsh3 machine dependent messages, German */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{ -} - -message set_kernel_1 -{Kernel (T-SH7706LAN)} - diff --git a/overlay/usr.sbin/sysinst/arch/evbsh3/msg.md.en b/overlay/usr.sbin/sysinst/arch/evbsh3/msg.md.en deleted file mode 100644 index 49f6f2a880..0000000000 --- a/overlay/usr.sbin/sysinst/arch/evbsh3/msg.md.en +++ /dev/null @@ -1,48 +0,0 @@ -/* $NetBSD: msg.md.en,v 1.2 2025/12/15 20:50:04 andvar Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* evbsh3 machine dependent messages, English */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{ -} - -message set_kernel_1 -{Kernel (T-SH7706LAN)} - diff --git a/overlay/usr.sbin/sysinst/arch/evbsh3/msg.md.es b/overlay/usr.sbin/sysinst/arch/evbsh3/msg.md.es deleted file mode 100644 index 71baa3f42e..0000000000 --- a/overlay/usr.sbin/sysinst/arch/evbsh3/msg.md.es +++ /dev/null @@ -1,48 +0,0 @@ -/* $NetBSD: msg.md.es,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* evbsh3 machine dependent messages, Spanish */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{ -} - -message set_kernel_1 -{N?cleo (T-SH7706LAN)} - diff --git a/overlay/usr.sbin/sysinst/arch/evbsh3/msg.md.fr b/overlay/usr.sbin/sysinst/arch/evbsh3/msg.md.fr deleted file mode 100644 index f8266237f0..0000000000 --- a/overlay/usr.sbin/sysinst/arch/evbsh3/msg.md.fr +++ /dev/null @@ -1,48 +0,0 @@ -/* $NetBSD: msg.md.fr,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* evbsh3 machine dependent messages, French */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{ -} - -message set_kernel_1 -{Kernel (T-SH7706LAN)} - diff --git a/overlay/usr.sbin/sysinst/arch/evbsh3/msg.md.pl b/overlay/usr.sbin/sysinst/arch/evbsh3/msg.md.pl deleted file mode 100644 index ca3819ec7d..0000000000 --- a/overlay/usr.sbin/sysinst/arch/evbsh3/msg.md.pl +++ /dev/null @@ -1,48 +0,0 @@ -/* $NetBSD: msg.md.pl,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* evbsh3 machine dependent messages, Polish */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{ -} - -message set_kernel_1 -{Kernel (T-SH7706LAN)} - diff --git a/overlay/usr.sbin/sysinst/arch/ews4800mips/Makefile b/overlay/usr.sbin/sysinst/arch/ews4800mips/Makefile deleted file mode 100644 index 1babfb6a57..0000000000 --- a/overlay/usr.sbin/sysinst/arch/ews4800mips/Makefile +++ /dev/null @@ -1,16 +0,0 @@ -# $NetBSD: Makefile,v 1.4 2020/11/04 14:29:40 martin Exp $ -# -# Makefile for ews4800mips -# - -LANGUAGES= # no translations - -.ifdef SMALLPROG -CHECK_ENTROPY= no # do not check entropy/offer adding -NOPARTMAN= yes -NO_GPT= yes -NO_MBR= yes -NO_CLONES= yes -.endif - -.include "../../Makefile.inc" diff --git a/overlay/usr.sbin/sysinst/arch/ews4800mips/md.c b/overlay/usr.sbin/sysinst/arch/ews4800mips/md.c deleted file mode 100644 index cbd75017ef..0000000000 --- a/overlay/usr.sbin/sysinst/arch/ews4800mips/md.c +++ /dev/null @@ -1,276 +0,0 @@ -/* $NetBSD: md.c,v 1.8 2022/01/29 16:01:18 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - */ - -/* md.c -- ews4800mips machine specific routines */ - -#include -#include -#include -#include -#include -#include -#include -#include - -#include "defs.h" -#include "md.h" -#include "msg_defs.h" -#include "menu_defs.h" - -static int ews4800mips_boot_offset(void); - -void -md_init(void) -{ -} - -void -md_init_set_status(int flags) -{ - (void)flags; -} - -bool -md_get_info(struct install_partition_desc *install) -{ - struct disklabel disklabel; - int fd; - char dev_name[100]; - - snprintf(dev_name, 100, "/dev/r%s%c", pm->diskdev, 'a' + getrawpartition()); - - fd = open(dev_name, O_RDONLY, 0); - if (fd < 0) { - endwin(); - fprintf (stderr, "Can't open %s\n", dev_name); - exit(1); - } - if (ioctl(fd, DIOCGDINFO, &disklabel) == -1) { - endwin(); - fprintf (stderr, "Can't read disklabel on %s.\n", dev_name); - close(fd); - exit(1); - } - close(fd); - - pm->dlcyl = disklabel.d_ncylinders; - pm->dlhead = disklabel.d_ntracks; - pm->dlsec = disklabel.d_nsectors; - pm->sectorsize = disklabel.d_secsize; - pm->dlcylsize = disklabel.d_secpercyl; - - /* - * Compute whole disk size. Take max of (pm->dlcyl*pm->dlhead*pm->dlsec) - * and secperunit, just in case the disk is already labelled. - * (If our new label's RAW_PART size ends up smaller than the - * in-core RAW_PART size value, updating the label will fail.) - */ - pm->dlsize = pm->dlcyl * pm->dlhead * pm->dlsec; - if (disklabel.d_secperunit > pm->dlsize) - pm->dlsize = disklabel.d_secperunit; - - return true; -} - -/* - * md back-end code for menu-driven BSD disklabel editor. - */ -int -md_make_bsd_partitions(struct install_partition_desc *install) -{ - - return make_bsd_partitions(install); -} - -/* - * any additional partition validation - */ -bool -md_check_partitions(struct install_partition_desc *install) -{ - return true; -} - -/* - * hook called before writing new disklabel. - */ -bool -md_pre_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - part_id part; - struct disk_part_info info; - daddr_t boot_offset = ews4800mips_boot_offset(); - - /* make sure the boot partition is at the right offset */ - for (part = 0; part < parts->num_part; part++) { - if (!parts->pscheme->get_part_info(parts, part, &info)) - continue; - if (info.flags & (PTI_SEC_CONTAINER|PTI_WHOLE_DISK| - PTI_PSCHEME_INTERNAL|PTI_RAW_PART)) - continue; - if (info.fs_type != PART_BOOT_TYPE) - continue; - if (info.start == boot_offset) - continue; - info.start = boot_offset; - parts->pscheme->set_part_info(parts, part, &info, NULL); - } - - return true; -} - -/* - * hook called after writing disklabel to new target disk. - */ -bool -md_post_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - return true; -} - -/* - * hook called after upgrade() or install() has finished setting - * up the target disk but immediately before the user is given the - * ``disks are now set up'' message. - * - * On the ews4800mips, we use this opportunity to install the boot blocks. - */ -int -md_post_newfs(struct install_partition_desc *install) -{ - int flags; - - flags = RUN_DISPLAY | RUN_FATAL; - cp_to_target("/usr/mdec/boot", "/stand/boot"); - run_program(flags, "/usr/sbin/installboot /dev/r%s%c %s", - pm->diskdev, 'a' + getrawpartition(), - "/usr/mdec/bootxx_bfs"); - - return 0; -} - -int -md_post_extract(struct install_partition_desc *install, bool upgrade) -{ - return 0; -} - -void -md_cleanup_install(struct install_partition_desc *install) -{ -#ifndef DEBUG - enable_rc_conf(); -#endif -} - -int -md_pre_update(struct install_partition_desc *install) -{ - return 1; -} - -/* Upgrade support */ -int -md_update(struct install_partition_desc *install) -{ - md_post_newfs(install); - return 1; -} - -static int -ews4800mips_boot_offset(void) -{ - return pm->dlcylsize; -} - -/* - * used in bsddisklabel.c as BOOT_SIZE - */ -int -ews4800mips_boot_size(void) -{ - int i; - - /* - * pm->dlcylsize : PDINFO block - * pm->dlcylsize : 100 block - */ - i = pm->dlcylsize + 100; - if (i >= 1024) /* XXX bsddisklabel.c hack. convert to byte count. */ - i = pm->dlcylsize * pm->sectorsize * 2; - - return i; -} - -/* - * used in bsddisklabel.c as SYSVBFS_SIZE - */ -int -ews4800mips_sysvbfs_size(void) -{ - return (8 * 1024 * 1024) / 512; /* 8MB */ -} - -int -md_pre_mount(struct install_partition_desc *install, size_t ndx) -{ - return 0; -} - -bool -md_parts_use_wholedisk(struct disk_partitions *parts) -{ - struct disk_part_info boot_part = { - .size = PART_BOOT / 512, - .fs_type = PART_BOOT_TYPE, - }; - - boot_part.nat_type = parts->pscheme->get_fs_part_type( - PT_root, boot_part.fs_type, boot_part.fs_sub_type); - - return parts_use_wholedisk(parts, 1, &boot_part); -} - -#ifdef HAVE_GPT -bool -md_gpt_post_write(struct disk_partitions *parts, part_id root_id, - bool root_is_new, part_id efi_id, bool efi_is_new) -{ - /* no GPT boot support, nothing needs to be done here */ - return true; -} -#endif - diff --git a/overlay/usr.sbin/sysinst/arch/ews4800mips/md.h b/overlay/usr.sbin/sysinst/arch/ews4800mips/md.h deleted file mode 100644 index bb09467723..0000000000 --- a/overlay/usr.sbin/sysinst/arch/ews4800mips/md.h +++ /dev/null @@ -1,61 +0,0 @@ -/* $NetBSD: md.h,v 1.5 2022/06/11 16:38:51 tsutsui Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* - * Symbolic names for disk partitions - */ -#include - -#define PART_BOOT (8*MEG) -#define PART_BOOT_TYPE FS_SYSVBFS -#define PART_BOOT_MOUNT "/boot" - -#define DEFROOTSIZE 200 /* Default root size */ -#define XNEEDMB 250 /* Extra megs for full X installation */ -#define DEBNEEDMB 900 /* Extra megs for debug sets */ - -#define SET_KERNEL_1_NAME "kern-GENERIC" - -/* - * Machine-specific command to write a new label to a disk. - * If not defined, we assume the port does not support disklabels and - * the hand-edited disklabel will NOT be written by MI code. - * ews4800mips stores disklabel and EWS-UX compatible PDINFO+VTOC. - * Don't use -r option. - */ -#define DISKLABEL_CMD "disklabel -w" - -extern int ews4800mips_boot_size(void); -extern int ews4800mips_sysvbfs_size(void); diff --git a/overlay/usr.sbin/sysinst/arch/ews4800mips/menus.md.en b/overlay/usr.sbin/sysinst/arch/ews4800mips/menus.md.en deleted file mode 100644 index 29b311ec07..0000000000 --- a/overlay/usr.sbin/sysinst/arch/ews4800mips/menus.md.en +++ /dev/null @@ -1 +0,0 @@ -/* $NetBSD: menus.md.en,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ diff --git a/overlay/usr.sbin/sysinst/arch/ews4800mips/msg.md.en b/overlay/usr.sbin/sysinst/arch/ews4800mips/msg.md.en deleted file mode 100644 index 33a94e16d3..0000000000 --- a/overlay/usr.sbin/sysinst/arch/ews4800mips/msg.md.en +++ /dev/null @@ -1,52 +0,0 @@ -/* $NetBSD: msg.md.en,v 1.2 2025/12/15 20:50:04 andvar Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* ews4800mips machine dependent messages, English */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{If you booted from a floppy, you may now remove the disk. -} - -message dobootblks -{Installing boot blocks on %s.... -} - -message set_kernel_1 -{Kernel (GENERIC)} - diff --git a/overlay/usr.sbin/sysinst/arch/hp300/Makefile b/overlay/usr.sbin/sysinst/arch/hp300/Makefile deleted file mode 100644 index 8d3e22be09..0000000000 --- a/overlay/usr.sbin/sysinst/arch/hp300/Makefile +++ /dev/null @@ -1,16 +0,0 @@ -# $NetBSD: Makefile,v 1.2 2022/06/11 16:41:55 tsutsui Exp $ -# -# Makefile for hp300 -# - -LANGUAGES= # no translations - -.ifdef SMALLPROG -CHECK_ENTROPY= no # do not check entropy/offer adding -NOPARTMAN= yes -NO_GPT= yes -NO_MBR= yes -NO_CLONES= yes -.endif - -.include "../../Makefile.inc" diff --git a/overlay/usr.sbin/sysinst/arch/hp300/md.c b/overlay/usr.sbin/sysinst/arch/hp300/md.c deleted file mode 100644 index 4cef8dbb0f..0000000000 --- a/overlay/usr.sbin/sysinst/arch/hp300/md.c +++ /dev/null @@ -1,269 +0,0 @@ -/* $NetBSD: md.c,v 1.12 2022/01/29 16:01:18 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - */ - -/* md.c -- Machine specific code for hp300 */ -/* This file is in close sync with pmax, sparc, vax and x68k md.c */ - -#include -#include -#include -#include -#include - -#include "defs.h" -#include "md.h" -#include "msg_defs.h" -#include "menu_defs.h" - -void -md_init(void) -{ -} - -void -md_init_set_status(int flags) -{ - (void)flags; -} - -bool -md_get_info(struct install_partition_desc *install) -{ - char buf[1024]; - int fd; - char dev_name[100]; - struct disklabel disklabel; - - snprintf(dev_name, sizeof(dev_name), "/dev/r%sc", pm->diskdev); - - fd = open(dev_name, O_RDONLY, 0); - if (fd < 0) { - if (logfp) - (void)fprintf(logfp, "Can't open %s\n", dev_name); - endwin(); - fprintf(stderr, "Can't open %s\n", dev_name); - exit(1); - } - if (ioctl(fd, DIOCGDINFO, &disklabel) == -1) { - if (logfp) - (void)fprintf(logfp, "Can't read disklabel on %s.\n", - dev_name); - endwin(); - fprintf(stderr, "Can't read disklabel on %s.\n", dev_name); - close(fd); - exit(1); - } - if (disklabel.d_secsize != 512) { - endwin(); - fprintf(stderr, "Non-512byte/sector disk is not supported.\n"); - close(fd); - exit(1); - } - - pm->dlcyl = disklabel.d_ncylinders; - pm->dlhead = disklabel.d_ntracks; - pm->dlsec = disklabel.d_nsectors; - pm->sectorsize = disklabel.d_secsize; - pm->dlcylsize = disklabel.d_secpercyl; - pm->dlsize = pm->dlcyl*pm->dlhead*pm->dlsec; - - if (read(fd, buf, 1024) < 0) { - endwin(); - fprintf(stderr, "Can't read %s\n", dev_name); - close(fd); - exit(1); - } - - /* We will preserve the first cylinder as PART_BOOT for bootloader. */ - pm->ptstart = 0; - - close(fd); - - return true; -} - -/* - * md back-end code for menu-driven BSD disklabel editor. - */ -int -md_make_bsd_partitions(struct install_partition_desc *install) -{ - - return make_bsd_partitions(install); -} - -/* - * any additional partition validation - */ -bool -md_check_partitions(struct install_partition_desc *install) -{ - /* hp300 partitions must be in order of the range. */ - daddr_t last_end = 0; - size_t i; - char desc[STRSIZE]; - - for (i = 0; i < install->num; i++) { - if (i > 0) { - /* skip raw part and similar */ - if (install->infos[i].cur_flags & - (PTI_SEC_CONTAINER|PTI_PSCHEME_INTERNAL| - PTI_RAW_PART)) - continue; - - if (install->infos[i].cur_start < last_end) { - snprintf(desc, sizeof desc, - "%zu (%s)", i, - install->infos[i].mount); - msg_fmt_display(MSG_ordering, "%s", desc); - if (ask_yesno(NULL)) - return false; - } - } - last_end = install->infos[i].cur_start + install->infos[i].size; - } - - return true; -} - -/* - * hook called before writing new disklabel. - */ -bool -md_pre_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - return true; -} - -/* - * hook called after writing disklabel to new target disk. - */ -bool -md_post_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - return true; -} - -/* - * hook called after upgrade() or install() has finished setting - * up the target disk but immediately before the user is given the - * ``disks are now set up'' message. - * - * On hp300, we use this opportunity to install the boot blocks. - */ -int -md_post_newfs(struct install_partition_desc *install) -{ - /* boot blocks ... */ - msg_fmt_display(MSG_dobootblks, "%s", pm->diskdev); - if (run_program(RUN_DISPLAY | RUN_NO_CLEAR, - "/usr/sbin/installboot /dev/r%sc /usr/mdec/uboot.lif", pm->diskdev)) - process_menu(MENU_ok, - __UNCONST("Warning: disk is probably not bootable")); - - wclear(stdscr); - touchwin(stdscr); - clearok(stdscr, 1); - refresh(); - - return 0; -} - -int -md_post_extract(struct install_partition_desc *install, bool upgrade) -{ - return 0; -} - -void -md_cleanup_install(struct install_partition_desc *install) -{ -#ifdef notyet /* sed is too large for ramdisk */ - enable_rc_conf(); -#endif -} - -int -md_pre_update(struct install_partition_desc *install) -{ - return 1; -} - -/* Upgrade support */ -int -md_update(struct install_partition_desc *install) -{ - md_post_newfs(install); - return 1; -} - -/* - * Used in bsddisklabel.c as BOOT_SIZE - */ -int -hp300_boot_size(void) -{ - int i; - - i = pm->dlcylsize; - if (i >= 1024) /* XXX: bsddisklabel.c has a hack. */ - i = pm->dlcylsize * pm->sectorsize * 2; - - return i; -} - -int -md_pre_mount(struct install_partition_desc *install, size_t ndx) -{ - return 0; -} - -#ifdef HAVE_GPT -bool -md_gpt_post_write(struct disk_partitions *parts, part_id root_id, - bool root_is_new, part_id efi_id, bool efi_is_new) -{ - /* no GPT boot support, nothing needs to be done here */ - return true; -} -#endif - -bool -md_parts_use_wholedisk(struct disk_partitions *parts) -{ - return parts_use_wholedisk(parts, 0, NULL); -} - diff --git a/overlay/usr.sbin/sysinst/arch/hp300/md.h b/overlay/usr.sbin/sysinst/arch/hp300/md.h deleted file mode 100644 index 35367c2f25..0000000000 --- a/overlay/usr.sbin/sysinst/arch/hp300/md.h +++ /dev/null @@ -1,82 +0,0 @@ -/* $NetBSD: md.h,v 1.6 2022/06/16 14:03:38 tsutsui Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* md.h -- Machine specific definitions for the hp300 */ - - -#include -#include -#include -#include -#include - - -/* constants and defines */ - -/* - * Symbolic names for disk partitions. - */ -#define BOOT_SIZE hp300_boot_size() - -#define DEFROOTSIZE 40 /* Default root size */ -#define DEFSWAPSIZE 32 /* Default swap size */ -#define DEFVARSIZE 32 /* Default /var size, if created */ -#define DEFUSRSIZE 700 /* Default /usr size, if created */ -#define XNEEDMB 250 /* Extra megs for full X installation */ -#define DEBNEEDMB 800 /* Extra megs for debug sets */ - -/* - * Default filesets to fetch and install during installation - * or upgrade. The standard sets are: - * base etc comp games man misc rescue tests text xbase xcomp xetc xfont xserver - */ -#define SET_KERNEL_1_NAME "kern-GENERIC" - - -/* - * Machine-specific command to write a new label to a disk. - * For example, i386 uses "/sbin/disklabel -w -r", just like i386 - * miniroot scripts, though this may leave a bogus incore label. - * Sun ports should probably use DISKLABEL_CMD "/sbin/disklabel -w" - * to get incore to ondisk inode translation for the Sun proms. - * If not defined, we assume the port does not support disklabels and - * hand-edited disklabel will NOT be written by MI code. - * - * On hp300, do what the miniroot install scripts did. - */ -#define DISKLABEL_CMD "disklabel -w -r" - -extern int hp300_boot_size(void); - diff --git a/overlay/usr.sbin/sysinst/arch/hp300/menus.md.en b/overlay/usr.sbin/sysinst/arch/hp300/menus.md.en deleted file mode 100644 index 182b1752ef..0000000000 --- a/overlay/usr.sbin/sysinst/arch/hp300/menus.md.en +++ /dev/null @@ -1,37 +0,0 @@ -/* $NetBSD: menus.md.en,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* hp300 machine dependent menus, english */ - diff --git a/overlay/usr.sbin/sysinst/arch/hp300/msg.md.en b/overlay/usr.sbin/sysinst/arch/hp300/msg.md.en deleted file mode 100644 index 2b7e17c5f5..0000000000 --- a/overlay/usr.sbin/sysinst/arch/hp300/msg.md.en +++ /dev/null @@ -1,71 +0,0 @@ -/* $NetBSD: msg.md.en,v 1.2 2019/06/12 06:20:20 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* hp300 machine dependent messages, english */ - - -message md_hello -{If your machine has 4MB or less, sysinst will not operate correctly. -} - -message md_may_remove_boot_medium -{ -} - -message dobootblks -{Installing boot blocks on %s.... -} - -message ordering -{The order of partition %s is wrong. Edit again?} - -message set_kernel_1 -{Kernel (GENERIC)} - -.if notyet -/* XXX: not yet implemented */ -message existing -{Do you want to preserve existing BSD partition(s)?} - -message nofreepart -{%s does not have enough free partitions for NetBSD. -It must have at least 2 free partitions (for root file system and swap). -} - -message notfirst -{NetBSD/hp300 must be installed in the first part of the boot disk. -The first part of %s is not free. -} -.endif diff --git a/overlay/usr.sbin/sysinst/arch/hpcarm/Makefile b/overlay/usr.sbin/sysinst/arch/hpcarm/Makefile deleted file mode 100644 index b7d340de2e..0000000000 --- a/overlay/usr.sbin/sysinst/arch/hpcarm/Makefile +++ /dev/null @@ -1,10 +0,0 @@ -# $NetBSD: Makefile,v 1.2 2019/06/12 06:20:20 martin Exp $ -# -# Makefile for hpcarm -# - -MENUS_MD= menus.md.${SYSINSTLANG} -MSG_MD= msg.md.${SYSINSTLANG} msg.mbr.${SYSINSTLANG} -NO_MBR=no - -.include "../../Makefile.inc" diff --git a/overlay/usr.sbin/sysinst/arch/hpcarm/md.c b/overlay/usr.sbin/sysinst/arch/hpcarm/md.c deleted file mode 100644 index 2b5db80ba2..0000000000 --- a/overlay/usr.sbin/sysinst/arch/hpcarm/md.c +++ /dev/null @@ -1,293 +0,0 @@ -/* $NetBSD: md.c,v 1.11 2022/01/29 16:01:18 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - */ - -/* md.c -- hpcarm machine specific routines */ - -#include -#include -#include -#include -#include - -#include "defs.h" -#include "md.h" -#include "msg_defs.h" -#include "menu_defs.h" -#include "endian.h" -#include "mbr.h" - -void -md_init(void) -{ -} - -void -md_init_set_status(int flags) -{ - static const struct { - const char *name; - const int set; - } kern_sets[] = { - { "IPAQ", SET_KERNEL_IPAQ }, - { "JORNADA720", SET_KERNEL_JORNADA720 }, - { "WZERO3", SET_KERNEL_WZERO3 } - }; - static const int mib[2] = {CTL_KERN, KERN_VERSION}; - size_t len; - char *version; - u_int i; - - /* check INSTALL kernel name to select an appropriate kernel set */ - /* XXX: hw.cpu_model has a processor name on arm ports */ - sysctl(mib, 2, NULL, &len, NULL, 0); - version = malloc(len); - if (version == NULL) - return; - sysctl(mib, 2, version, &len, NULL, 0); - for (i = 0; i < __arraycount(kern_sets); i++) { - if (strstr(version, kern_sets[i].name) != NULL) { - set_kernel_set(kern_sets[i].set); - break; - } - } - free(version); -} - -bool -md_get_info(struct install_partition_desc *install) -{ - int res; - - if (pm->no_mbr || pm->no_part) - return true; - -again: - if (pm->parts == NULL) { - - const struct disk_partitioning_scheme *ps = - select_part_scheme(pm, NULL, true, NULL); - - if (!ps) - return false; - - struct disk_partitions *parts = - (*ps->create_new_for_disk)(pm->diskdev, - 0, pm->dlsize, true, NULL); - if (!parts) - return false; - - pm->parts = parts; - if (ps->size_limit > 0 && pm->dlsize > ps->size_limit) - pm->dlsize = ps->size_limit; - } - - res = set_bios_geom_with_mbr_guess(pm->parts); - if (res == 0) - return false; - else if (res == 1) - return true; - - pm->parts->pscheme->destroy_part_scheme(pm->parts); - pm->parts = NULL; - goto again; -} - -/* - * md back-end code for menu-driven BSD disklabel editor. - */ -int -md_make_bsd_partitions(struct install_partition_desc *install) -{ - return make_bsd_partitions(install); -} - -/* - * any additional partition validation - */ -bool -md_check_partitions(struct install_partition_desc *install) -{ - return true; -} - -/* - * hook called before writing new disklabel. - */ -bool -md_pre_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - - if (parts->parent == NULL) - return true; /* no outer partitions */ - - parts = parts->parent; - - msg_display_subst(MSG_dofdisk, 3, parts->disk, - msg_string(parts->pscheme->name), - msg_string(parts->pscheme->short_name)); - - /* write edited "MBR" onto disk. */ - if (!parts->pscheme->write_to_disk(parts)) { - msg_display(MSG_wmbrfail); - process_menu(MENU_ok, NULL); - return false; - } - return true; -} - -/* - * hook called after writing disklabel to new target disk. - */ -bool -md_post_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ -#if 0 - /* Sector forwarding / badblocks ... */ - if (*pm->doessf) { - msg_display(MSG_dobad144); - return run_program(RUN_DISPLAY, "/usr/sbin/bad144 %s 0", - pm->diskdev); - } -#endif - - return true; -} - -/* - * hook called after upgrade() or install() has finished setting - * up the target disk but immediately before the user is given the - * ``disks are now set up'' message. - */ -int -md_post_newfs(struct install_partition_desc *install) -{ - struct mbr_sector pbr; - char adevname[STRSIZE]; - ssize_t sz; - int fd = -1; - - snprintf(adevname, sizeof(adevname), "/dev/r%sa", pm->diskdev); - fd = open(adevname, O_RDWR); - if (fd < 0) - goto out; - - /* Read partition boot record */ - sz = pread(fd, &pbr, sizeof(pbr), 0); - if (sz != sizeof(pbr)) - goto out; - - /* Check magic number */ - if (pbr.mbr_magic != le16toh(MBR_MAGIC)) - goto out; - -#define OSNAME "NetBSD60" - /* Update oemname */ - memcpy(&pbr.mbr_oemname, OSNAME, sizeof(OSNAME) - 1); - - /* Clear BPB */ - memset(&pbr.mbr_bpb, 0, sizeof(pbr.mbr_bpb)); - - /* write-backed new partition boot record */ - (void)pwrite(fd, &pbr, sizeof(pbr), 0); - -out: - if (fd >= 0) - close(fd); - return 0; -} - -int -md_post_extract(struct install_partition_desc *install, bool upgrade) -{ - return 0; -} - -void -md_cleanup_install(struct install_partition_desc *install) -{ -#ifndef DEBUG - enable_rc_conf(); -#endif -} - -int -md_pre_update(struct install_partition_desc *install) -{ - return 1; -} - -/* Upgrade support */ -int -md_update(struct install_partition_desc *install) -{ - md_post_newfs(install); - return 1; -} - -int -md_check_mbr(struct disk_partitions *parts, mbr_info_t *mbri, bool quiet) -{ - return 2; -} - -bool -md_parts_use_wholedisk(struct disk_partitions *parts) -{ - return parts_use_wholedisk(parts, 0, NULL); -} - -int -md_pre_mount(struct install_partition_desc *install, size_t ndx) -{ - return 0; -} - -bool -md_mbr_update_check(struct disk_partitions *parts, mbr_info_t *mbri) -{ - return false; /* no change, no need to write back */ -} - -#ifdef HAVE_GPT -bool -md_gpt_post_write(struct disk_partitions *parts, part_id root_id, - bool root_is_new, part_id efi_id, bool efi_is_new) -{ - /* no GPT boot support, nothing needs to be done here */ - return true; -} -#endif - diff --git a/overlay/usr.sbin/sysinst/arch/hpcarm/md.h b/overlay/usr.sbin/sysinst/arch/hpcarm/md.h deleted file mode 100644 index b0a7b62cef..0000000000 --- a/overlay/usr.sbin/sysinst/arch/hpcarm/md.h +++ /dev/null @@ -1,87 +0,0 @@ -/* $NetBSD: md.h,v 1.3 2019/10/02 11:16:02 maya Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* md.h -- Machine specific definitions for the i386 */ - - -#include -#include -#include -#include -#include - -/* hpcarm uses the mbr code. */ -#include "mbr.h" - -/* constants and defines */ - -/* Megs for the / partition, if separate */ -#define DEFROOTSIZE 64 - -/* Megs for the /usr partition, if separate */ -#define DEFUSRSIZE 960 - -/* Megs required for a full X installation. */ -#define XNEEDMB 225 - -/* Megs required for debug sets */ -#define DEBNEEDMB 980 - - -/* - * Default filesets to fetch and install during installation - * or upgrade. The standard sets are: - * base etc comp games man misc rescue tests text xbase xcomp xetc xfont xserver - */ -#define SET_KERNEL_1_NAME "kern-IPAQ" -#define SET_KERNEL_2_NAME "kern-JORNADA720" -#define SET_KERNEL_3_NAME "kern-WZERO3" - -#define SET_KERNEL_IPAQ SET_KERNEL_1 -#define SET_KERNEL_JORNADA720 SET_KERNEL_2 -#define SET_KERNEL_WZERO3 SET_KERNEL_3 - - -/* - * Machine-specific command to write a new label to a disk. - * For example, i386 uses "/sbin/disklabel -w -r", just like i386 - * miniroot scripts, though this may leave a bogus incore label. - * Sun ports should probably use DISKLABEL_CMD "/sbin/disklabel -w" - * to get incore to ondisk inode translation for the Sun proms. - * If not defined, we assume the port does not support disklabels and - * hand-edited disklabel will NOT be written by MI code. - * - * On i386, do what the 1.2 install scripts did. - */ -#define DISKLABEL_CMD "disklabel -w -r" diff --git a/overlay/usr.sbin/sysinst/arch/hpcarm/menus.md.en b/overlay/usr.sbin/sysinst/arch/hpcarm/menus.md.en deleted file mode 100644 index 294f542f7e..0000000000 --- a/overlay/usr.sbin/sysinst/arch/hpcarm/menus.md.en +++ /dev/null @@ -1,36 +0,0 @@ -/* $NetBSD: menus.md.en,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Menu definitions for sysinst. hpcarm version, machine dependent. */ - diff --git a/overlay/usr.sbin/sysinst/arch/hpcarm/menus.md.es b/overlay/usr.sbin/sysinst/arch/hpcarm/menus.md.es deleted file mode 100644 index 585cf01c90..0000000000 --- a/overlay/usr.sbin/sysinst/arch/hpcarm/menus.md.es +++ /dev/null @@ -1,36 +0,0 @@ -/* $NetBSD: menus.md.es,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Menu definitions for sysinst. hpcarm version, machine dependent. */ - diff --git a/overlay/usr.sbin/sysinst/arch/hpcarm/menus.md.fr b/overlay/usr.sbin/sysinst/arch/hpcarm/menus.md.fr deleted file mode 100644 index 072e6c3476..0000000000 --- a/overlay/usr.sbin/sysinst/arch/hpcarm/menus.md.fr +++ /dev/null @@ -1,36 +0,0 @@ -/* $NetBSD: menus.md.fr,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Menu definitions for sysinst. hpcarm version, machine dependent. */ - diff --git a/overlay/usr.sbin/sysinst/arch/hpcarm/menus.md.pl b/overlay/usr.sbin/sysinst/arch/hpcarm/menus.md.pl deleted file mode 100644 index 9cc60c6687..0000000000 --- a/overlay/usr.sbin/sysinst/arch/hpcarm/menus.md.pl +++ /dev/null @@ -1,36 +0,0 @@ -/* $NetBSD: menus.md.pl,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Menu definitions for sysinst. hpcarm version, machine dependent. */ - diff --git a/overlay/usr.sbin/sysinst/arch/hpcarm/msg.md.de b/overlay/usr.sbin/sysinst/arch/hpcarm/msg.md.de deleted file mode 100644 index ec101fd0f3..0000000000 --- a/overlay/usr.sbin/sysinst/arch/hpcarm/msg.md.de +++ /dev/null @@ -1,56 +0,0 @@ -/* $NetBSD: msg.md.de,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- German, hpcarm version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Wenn Sie von einer Diskette gebootet haben, können Sie diese jetzt -entfernen. -} - -message dobad144 -{Installiere die Tabelle der defekten Blöcke ... -} - -message set_kernel_1 -{Kernel (IPAQ)} -message set_kernel_2 -{Kernel (JORNADA720)} -message set_kernel_3 -{Kernel (WZERO3)} - diff --git a/overlay/usr.sbin/sysinst/arch/hpcarm/msg.md.en b/overlay/usr.sbin/sysinst/arch/hpcarm/msg.md.en deleted file mode 100644 index 66216fa28e..0000000000 --- a/overlay/usr.sbin/sysinst/arch/hpcarm/msg.md.en +++ /dev/null @@ -1,55 +0,0 @@ -/* $NetBSD: msg.md.en,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- English, hpcarm version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{If you booted from an external device, you may now remove it. -} - -message dobad144 -{Installing the bad block table ... -} - -message set_kernel_1 -{Kernel (IPAQ)} -message set_kernel_2 -{Kernel (JORNADA720)} -message set_kernel_3 -{Kernel (WZERO3)} - diff --git a/overlay/usr.sbin/sysinst/arch/hpcarm/msg.md.es b/overlay/usr.sbin/sysinst/arch/hpcarm/msg.md.es deleted file mode 100644 index 689a788b6c..0000000000 --- a/overlay/usr.sbin/sysinst/arch/hpcarm/msg.md.es +++ /dev/null @@ -1,55 +0,0 @@ -/* $NetBSD: msg.md.es,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- Spanish, hpcarm version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Si ha iniciado desde disquette, ahora deberia retirar el disco. -} - -message dobad144 -{Instalando la tabla de bloques malos ... -} - -message set_kernel_1 -{Núcleo (IPAQ)} -message set_kernel_2 -{Núcleo (JORNADA720)} -message set_kernel_3 -{Núcleo (WZERO3)} - diff --git a/overlay/usr.sbin/sysinst/arch/hpcarm/msg.md.fr b/overlay/usr.sbin/sysinst/arch/hpcarm/msg.md.fr deleted file mode 100644 index 0ca7554a6f..0000000000 --- a/overlay/usr.sbin/sysinst/arch/hpcarm/msg.md.fr +++ /dev/null @@ -1,54 +0,0 @@ -/* $NetBSD: msg.md.fr,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- french, hpcarm version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Si vous avez démarré sur une disquette, vous pouvez maintenant la retirer. -} - -message dobad144 -{Installation de la table des blocs défectueux ... -} - -message set_kernel_1 -{Kernel (IPAQ)} -message set_kernel_2 -{Kernel (JORNADA720)} -message set_kernel_3 -{Kernel (WZERO3)} diff --git a/overlay/usr.sbin/sysinst/arch/hpcarm/msg.md.pl b/overlay/usr.sbin/sysinst/arch/hpcarm/msg.md.pl deleted file mode 100644 index 051825cef1..0000000000 --- a/overlay/usr.sbin/sysinst/arch/hpcarm/msg.md.pl +++ /dev/null @@ -1,54 +0,0 @@ -/* $NetBSD: msg.md.pl,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- Polish, hpcarm version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Jesli uruchomiles komputer z dyskietki, mozesz ja teraz wyciagnac. -} - -message dobad144 -{Instalowanie tablicy zlych blokow ... -} - -message set_kernel_1 -{Kernel (IPAQ)} -message set_kernel_2 -{Kernel (JORNADA720)} -message set_kernel_3 -{Kernel (WZERO3)} diff --git a/overlay/usr.sbin/sysinst/arch/hpcmips/Makefile b/overlay/usr.sbin/sysinst/arch/hpcmips/Makefile deleted file mode 100644 index 1f0300e8b5..0000000000 --- a/overlay/usr.sbin/sysinst/arch/hpcmips/Makefile +++ /dev/null @@ -1,10 +0,0 @@ -# $NetBSD: Makefile,v 1.2 2019/06/12 06:20:20 martin Exp $ -# -# Makefile for hpcmips -# - -MENUS_MD= menus.md.${SYSINSTLANG} -MSG_MD= msg.md.${SYSINSTLANG} msg.mbr.${SYSINSTLANG} -NO_MBR=no - -.include "../../Makefile.inc" diff --git a/overlay/usr.sbin/sysinst/arch/hpcmips/md.c b/overlay/usr.sbin/sysinst/arch/hpcmips/md.c deleted file mode 100644 index 196a5beb0d..0000000000 --- a/overlay/usr.sbin/sysinst/arch/hpcmips/md.c +++ /dev/null @@ -1,238 +0,0 @@ -/* $NetBSD: md.c,v 1.11 2026/09/03 02:12:15 gutteridge Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - */ - -/* md.c -- hpcmips machine specific routines */ - -#include -#include -#include -#include -#include - -#include "defs.h" -#include "md.h" -#include "msg_defs.h" -#include "menu_defs.h" -#include "endian.h" -#include "mbr.h" - -void -md_init(void) -{ -} - -void -md_init_set_status(int flags) -{ - (void)flags; -} - -bool -md_get_info(struct install_partition_desc *install) -{ - int res; - - if (pm->no_mbr || pm->no_part) - return true; - -again: - if (pm->parts == NULL) { - - const struct disk_partitioning_scheme *ps = - select_part_scheme(pm, NULL, true, NULL); - - if (!ps) - return false; - - struct disk_partitions *parts = - (*ps->create_new_for_disk)(pm->diskdev, - 0, pm->dlsize, true, NULL); - if (!parts) - return false; - - pm->parts = parts; - if (ps->size_limit > 0 && pm->dlsize > ps->size_limit) - pm->dlsize = ps->size_limit; - } - - res = set_bios_geom_with_mbr_guess(pm->parts); - if (res == 0) - return false; - else if (res == 1) - return true; - - pm->parts->pscheme->destroy_part_scheme(pm->parts); - pm->parts = NULL; - goto again; -} - -/* - * md back-end code for menu-driven BSD disklabel editor. - */ -int -md_make_bsd_partitions(struct install_partition_desc *install) -{ - return make_bsd_partitions(install); -} - -/* - * any additional partition validation - */ -bool -md_check_partitions(struct install_partition_desc *install) -{ - return true; -} - -/* - * hook called before writing new disklabel. - */ -bool -md_pre_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - - if (parts->parent == NULL) - return true; /* no outer partitions */ - - parts = parts->parent; - - msg_display_subst(MSG_dofdisk, 3, parts->disk, - msg_string(parts->pscheme->name), - msg_string(parts->pscheme->short_name)); - - /* write edited "MBR" onto disk. */ - if (!parts->pscheme->write_to_disk(parts)) { - msg_display(MSG_wmbrfail); - process_menu(MENU_ok, NULL); - return false; - } - return true; -} - -/* - * hook called after writing disklabel to new target disk. - */ -bool -md_post_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ -#if 0 /* XXX - when did bad144 get removed and this code not? */ - /* Sector forwarding / badblocks ... */ - if (*pm->doessf) { - msg_display(MSG_dobad144); - return run_program(RUN_DISPLAY, "/usr/sbin/bad144 %s 0", - pm->diskdev) == 0; - } -#endif - return true; -} - -/* - * hook called after upgrade() or install() has finished setting - * up the target disk but immediately before the user is given the - * ``disks are now set up'' message. - */ -int -md_post_newfs(struct install_partition_desc *install) -{ - return 0; -} - -void -md_cleanup_install(struct install_partition_desc *install) -{ -#ifndef DEBUG - enable_rc_conf(); -#endif -} - -int -md_pre_update(struct install_partition_desc *install) -{ - return 1; -} - -/* Upgrade support */ -int -md_update(struct install_partition_desc *install) -{ - md_post_newfs(install); - return 1; -} - -int -md_post_extract(struct install_partition_desc *install, bool upgrade) -{ - return 0; -} - -int -md_check_mbr(struct disk_partitions *parts, mbr_info_t *mbri, bool quiet) -{ - return 2; -} - -bool -md_parts_use_wholedisk(struct disk_partitions *parts) -{ - return parts_use_wholedisk(parts, 0, NULL); -} - -int -md_pre_mount(struct install_partition_desc *install, size_t ndx) -{ - return 0; -} - -/* returns false if no write-back of parts is required */ -bool -md_mbr_update_check(struct disk_partitions *parts, mbr_info_t *mbri) -{ - return false; -} - -#ifdef HAVE_GPT -/* - * New GPT partitions have been written, update bootloader or remember - * data until needed in md_post_newfs - */ -bool -md_gpt_post_write(struct disk_partitions *parts, part_id root_id, - bool root_is_new, part_id efi_id, bool efi_is_new) -{ - return true; -} -#endif - diff --git a/overlay/usr.sbin/sysinst/arch/hpcmips/md.h b/overlay/usr.sbin/sysinst/arch/hpcmips/md.h deleted file mode 100644 index e617829e19..0000000000 --- a/overlay/usr.sbin/sysinst/arch/hpcmips/md.h +++ /dev/null @@ -1,78 +0,0 @@ -/* $NetBSD: md.h,v 1.3 2019/10/02 11:16:02 maya Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* md.h -- Machine specific definitions for the hpcmips */ - - -#include -#include -#include -#include -#include - -/* hpcmips uses the mbr code. */ -#include "mbr.h" - -/* constants and defines */ - - -/* Megs for the / partition, if separate */ -#define DEFROOTSIZE 48 - -/* Megs required for a full X installation. */ -#define XNEEDMB 256 - -/* Megs required for debug sets */ -#define DEBNEEDMB 880 - - -/* - * Default filesets to fetch and install during installation - * or upgrade. The standard sets are: - * base etc comp games man misc rescue tests text xbase xcomp xetc xfont xserver - */ -#define SET_KERNEL_1_NAME "kern-GENERIC" -#define SET_KERNEL_2_NAME "kern-TX3912" - - -/* - * Machine-specific command to write a new label to a disk. - * For example, i386 uses "/sbin/disklabel -w -r", just like i386 - * miniroot scripts, though this may leave a bogus incore label. - * Sun ports should probably use DISKLABEL_CMD "/sbin/disklabel -w" - * to get incore to ondisk inode translation for the Sun proms. - * If not defined, we assume the port does not support disklabels and - * hand-edited disklabel will NOT be written by MI code. - */ -#define DISKLABEL_CMD "disklabel -w -r" diff --git a/overlay/usr.sbin/sysinst/arch/hpcmips/menus.md.en b/overlay/usr.sbin/sysinst/arch/hpcmips/menus.md.en deleted file mode 100644 index a6d67527d8..0000000000 --- a/overlay/usr.sbin/sysinst/arch/hpcmips/menus.md.en +++ /dev/null @@ -1,36 +0,0 @@ -/* $NetBSD: menus.md.en,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Menu definitions for sysinst. hpcmips version, machine dependent. */ - diff --git a/overlay/usr.sbin/sysinst/arch/hpcmips/menus.md.es b/overlay/usr.sbin/sysinst/arch/hpcmips/menus.md.es deleted file mode 100644 index b58b933ef3..0000000000 --- a/overlay/usr.sbin/sysinst/arch/hpcmips/menus.md.es +++ /dev/null @@ -1,36 +0,0 @@ -/* $NetBSD: menus.md.es,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Menu definitions for sysinst. hpcmips version, machine dependent. */ - diff --git a/overlay/usr.sbin/sysinst/arch/hpcmips/menus.md.fr b/overlay/usr.sbin/sysinst/arch/hpcmips/menus.md.fr deleted file mode 100644 index 8c154e2e86..0000000000 --- a/overlay/usr.sbin/sysinst/arch/hpcmips/menus.md.fr +++ /dev/null @@ -1,36 +0,0 @@ -/* $NetBSD: menus.md.fr,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Menu definitions for sysinst. hpcmips version, machine dependent. */ - diff --git a/overlay/usr.sbin/sysinst/arch/hpcmips/menus.md.pl b/overlay/usr.sbin/sysinst/arch/hpcmips/menus.md.pl deleted file mode 100644 index 2e0bb0792e..0000000000 --- a/overlay/usr.sbin/sysinst/arch/hpcmips/menus.md.pl +++ /dev/null @@ -1,38 +0,0 @@ -/* $NetBSD: menus.md.pl,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ -/* Based on english version: */ -/* NetBSD: menus.md.en,v 1.8 2002/03/23 03:24:34 shin Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Menu definitions for sysinst. hpcmips version, machine dependent. */ - diff --git a/overlay/usr.sbin/sysinst/arch/hpcmips/msg.md.de b/overlay/usr.sbin/sysinst/arch/hpcmips/msg.md.de deleted file mode 100644 index fbdbc218b9..0000000000 --- a/overlay/usr.sbin/sysinst/arch/hpcmips/msg.md.de +++ /dev/null @@ -1,55 +0,0 @@ -/* $NetBSD: msg.md.de,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- German, hpcmips version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Wenn Sie von einer Diskette gebootet haben, können Sie diese jetzt -entfernen. -} - -message dobad144 -{Installiere die Tabelle der defekten Blöcke ... -} - - -message set_kernel_1 -{Kernel (GENERIC)} -message set_kernel_2 -{Kernel (TX3912)} - diff --git a/overlay/usr.sbin/sysinst/arch/hpcmips/msg.md.en b/overlay/usr.sbin/sysinst/arch/hpcmips/msg.md.en deleted file mode 100644 index 98f890e08d..0000000000 --- a/overlay/usr.sbin/sysinst/arch/hpcmips/msg.md.en +++ /dev/null @@ -1,53 +0,0 @@ -/* $NetBSD: msg.md.en,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- English, hpcmips version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{If you booted from an external device, you may now remove it. -} - -message dobad144 -{Installing the bad block table ... -} - -message set_kernel_1 -{Kernel (GENERIC)} -message set_kernel_2 -{Kernel (TX3912)} - diff --git a/overlay/usr.sbin/sysinst/arch/hpcmips/msg.md.es b/overlay/usr.sbin/sysinst/arch/hpcmips/msg.md.es deleted file mode 100644 index d8ad423a46..0000000000 --- a/overlay/usr.sbin/sysinst/arch/hpcmips/msg.md.es +++ /dev/null @@ -1,53 +0,0 @@ -/* $NetBSD: msg.md.es,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- Spanish, hpcmips version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Si ha iniciado desde disquette, ahora deberia retirar el disco. -} - -message dobad144 -{Instalando la tabla de bloques malos ... -} - -message set_kernel_1 -{Núcleo (GENERIC)} -message set_kernel_2 -{Núcleo (TX3912)} - diff --git a/overlay/usr.sbin/sysinst/arch/hpcmips/msg.md.fr b/overlay/usr.sbin/sysinst/arch/hpcmips/msg.md.fr deleted file mode 100644 index 25fecb4cb5..0000000000 --- a/overlay/usr.sbin/sysinst/arch/hpcmips/msg.md.fr +++ /dev/null @@ -1,52 +0,0 @@ -/* $NetBSD: msg.md.fr,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- french, hpcmips version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Si vous avez démarré sur une disquette, vous pouvez maintenant la retirer. -} - -message dobad144 -{Installation de la table des blocs défectueux ... -} - -message set_kernel_1 -{Kernel (GENERIC)} -message set_kernel_2 -{Kernel (TX3912)} diff --git a/overlay/usr.sbin/sysinst/arch/hpcmips/msg.md.pl b/overlay/usr.sbin/sysinst/arch/hpcmips/msg.md.pl deleted file mode 100644 index c619e9ada2..0000000000 --- a/overlay/usr.sbin/sysinst/arch/hpcmips/msg.md.pl +++ /dev/null @@ -1,54 +0,0 @@ -/* $NetBSD: msg.md.pl,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ -/* Based on english version: */ -/* NetBSD: msg.md.en,v 1.4 2002/03/23 03:24:34 shin Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- Polish, hpcmips version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Jesli uruchomiles komputer z dyskietki, mozesz ja teraz wyciagnac. -} - -message dobad144 -{Instalowanie tablicy zlych blokow ... -} - -message set_kernel_1 -{Kernel (GENERIC)} -message set_kernel_2 -{Kernel (TX3912)} diff --git a/overlay/usr.sbin/sysinst/arch/hpcsh/Makefile b/overlay/usr.sbin/sysinst/arch/hpcsh/Makefile deleted file mode 100644 index 2c94ff1477..0000000000 --- a/overlay/usr.sbin/sysinst/arch/hpcsh/Makefile +++ /dev/null @@ -1,12 +0,0 @@ -# $NetBSD: Makefile,v 1.2 2019/06/12 06:20:20 martin Exp $ -# -# Makefile for hpcsh -# - -MENUS_MD= menus.md.${SYSINSTLANG} -MSG_MD= msg.md.${SYSINSTLANG} msg.mbr.${SYSINSTLANG} -NO_MBR=no - -LANGUAGES= # no translations ready yet - -.include "../../Makefile.inc" diff --git a/overlay/usr.sbin/sysinst/arch/hpcsh/md.c b/overlay/usr.sbin/sysinst/arch/hpcsh/md.c deleted file mode 100644 index bac5fdbaa3..0000000000 --- a/overlay/usr.sbin/sysinst/arch/hpcsh/md.c +++ /dev/null @@ -1,236 +0,0 @@ -/* $NetBSD: md.c,v 1.11 2022/01/29 16:01:18 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - */ - -/* md.c -- hpcsh machine specific routines */ - -#include -#include -#include -#include -#include - -#include "defs.h" -#include "md.h" -#include "msg_defs.h" -#include "menu_defs.h" -#include "endian.h" -#include "mbr.h" - -void -md_init(void) -{ -} - -void -md_init_set_status(int flags) -{ - - (void)flags; -} - -bool -md_get_info(struct install_partition_desc *install) -{ - int res; - - if (pm->no_mbr || pm->no_part) - return true; - -again: - if (pm->parts == NULL) { - - const struct disk_partitioning_scheme *ps = - select_part_scheme(pm, NULL, true, NULL); - - if (!ps) - return false; - - struct disk_partitions *parts = - (*ps->create_new_for_disk)(pm->diskdev, - 0, pm->dlsize, true, NULL); - if (!parts) - return false; - - pm->parts = parts; - if (ps->size_limit > 0 && pm->dlsize > ps->size_limit) - pm->dlsize = ps->size_limit; - } - - res = set_bios_geom_with_mbr_guess(pm->parts); - if (res == 0) - return false; - else if (res == 1) - return true; - - pm->parts->pscheme->destroy_part_scheme(pm->parts); - pm->parts = NULL; - goto again; -} - -/* - * md back-end code for menu-driven BSD disklabel editor. - */ -int -md_make_bsd_partitions(struct install_partition_desc *install) -{ - - return make_bsd_partitions(install); -} - -/* - * any additional partition validation - */ -bool -md_check_partitions(struct install_partition_desc *install) -{ - - return true; -} - -/* - * hook called before writing new disklabel. - */ -bool -md_pre_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - - if (parts->parent == NULL) - return true; /* no outer partitions */ - - parts = parts->parent; - - msg_display_subst(MSG_dofdisk, 3, parts->disk, - msg_string(parts->pscheme->name), - msg_string(parts->pscheme->short_name)); - - /* write edited "MBR" onto disk. */ - if (!parts->pscheme->write_to_disk(parts)) { - msg_display(MSG_wmbrfail); - process_menu(MENU_ok, NULL); - return false; - } - return true; -} - -/* - * hook called after writing disklabel to new target disk. - */ -bool -md_post_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - return true; -} - -/* - * hook called after upgrade() or install() has finished setting - * up the target disk but immediately before the user is given the - * ``disks are now set up'' message. - */ -int -md_post_newfs(struct install_partition_desc *install) -{ - - return 0; -} - -void -md_cleanup_install(struct install_partition_desc *install) -{ - -#ifndef DEBUG - enable_rc_conf(); -#endif -} - -int -md_pre_update(struct install_partition_desc *install) -{ - - return 1; -} - -/* Upgrade support */ -int -md_update(struct install_partition_desc *install) -{ - - md_post_newfs(install); - return 1; -} - -int -md_post_extract(struct install_partition_desc *install, bool upgrade) -{ - - return 0; -} - -int -md_check_mbr(struct disk_partitions *parts, mbr_info_t *mbri, bool quiet) -{ - - return 2; -} - -bool -md_parts_use_wholedisk(struct disk_partitions *parts) -{ - - return parts_use_wholedisk(parts, 0, NULL); -} - -int -md_pre_mount(struct install_partition_desc *install, size_t ndx) -{ - return 0; -} - -bool -md_mbr_update_check(struct disk_partitions *parts, mbr_info_t *mbri) -{ - return false; /* no change, no need to write back */ -} - -#ifdef HAVE_GPT -bool -md_gpt_post_write(struct disk_partitions *parts, part_id root_id, - bool root_is_new, part_id efi_id, bool efi_is_new) -{ - /* no GPT boot support, nothing needs to be done here */ - return true; -} -#endif - diff --git a/overlay/usr.sbin/sysinst/arch/hpcsh/md.h b/overlay/usr.sbin/sysinst/arch/hpcsh/md.h deleted file mode 100644 index bbc73a46bc..0000000000 --- a/overlay/usr.sbin/sysinst/arch/hpcsh/md.h +++ /dev/null @@ -1,72 +0,0 @@ -/* $NetBSD: md.h,v 1.2 2019/10/02 11:16:02 maya Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* md.h -- Machine specific definitions for the hpcsh */ - - -#include -#include -#include -#include -#include - -/* hpcsh uses the mbr code. */ -#include "mbr.h" - -/* constants and defines */ - - -/* Extra megs for full X installation */ -#define XNEEDMB 340 - - -/* - * Default filesets to fetch and install during installation - * or upgrade. The standard sets are: - * base etc comp games man misc rescue tests text xbase xcomp xetc xfont xserver - */ -#define SET_KERNEL_1_NAME "kern-GENERIC" -#define SET_KERNEL_2_NAME "kern-HPW650PA" - - -/* - * Machine-specific command to write a new label to a disk. - * For example, i386 uses "/sbin/disklabel -w -r", just like i386 - * miniroot scripts, though this may leave a bogus incore label. - * Sun ports should probably use DISKLABEL_CMD "/sbin/disklabel -w" - * to get incore to ondisk inode translation for the Sun proms. - * If not defined, we assume the port does not support disklabels and - * hand-edited disklabel will NOT be written by MI code. - */ -#define DISKLABEL_CMD "disklabel -w -r" diff --git a/overlay/usr.sbin/sysinst/arch/hpcsh/menus.md.en b/overlay/usr.sbin/sysinst/arch/hpcsh/menus.md.en deleted file mode 100644 index 4ad2027bc3..0000000000 --- a/overlay/usr.sbin/sysinst/arch/hpcsh/menus.md.en +++ /dev/null @@ -1,36 +0,0 @@ -/* $NetBSD: menus.md.en,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Menu definitions for sysinst. hpcsh version, machine dependent. */ - diff --git a/overlay/usr.sbin/sysinst/arch/hpcsh/msg.md.en b/overlay/usr.sbin/sysinst/arch/hpcsh/msg.md.en deleted file mode 100644 index 263224d668..0000000000 --- a/overlay/usr.sbin/sysinst/arch/hpcsh/msg.md.en +++ /dev/null @@ -1,49 +0,0 @@ -/* $NetBSD: msg.md.en,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- English, hpcsh version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{If you booted from an external device, you may now remove it. -} - -message set_kernel_1 -{Kernel (GENERIC)} -message set_kernel_2 -{Kernel (HPW650PA)} - diff --git a/overlay/usr.sbin/sysinst/arch/hppa/Makefile b/overlay/usr.sbin/sysinst/arch/hppa/Makefile deleted file mode 100644 index b6144f49ee..0000000000 --- a/overlay/usr.sbin/sysinst/arch/hppa/Makefile +++ /dev/null @@ -1,6 +0,0 @@ -# $NetBSD: Makefile,v 1.1 2014/07/26 19:30:45 dholland Exp $ -# -# Makefile for hppa -# - -.include "../../Makefile.inc" diff --git a/overlay/usr.sbin/sysinst/arch/hppa/md.c b/overlay/usr.sbin/sysinst/arch/hppa/md.c deleted file mode 100644 index ad5b35e2a8..0000000000 --- a/overlay/usr.sbin/sysinst/arch/hppa/md.c +++ /dev/null @@ -1,245 +0,0 @@ -/* $NetBSD: md.c,v 1.9 2022/01/29 16:01:18 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - */ - -/* md.c -- hppa machine specific routines */ -/* This file is in close sync with pmax, vax, and x68k, sparc md.c */ - -#include -#include -#include -#include -#include -#include -#include -#include - -#include "defs.h" -#include "md.h" -#include "msg_defs.h" -#include "menu_defs.h" - -#define HP700_PDC_LIMIT ((unsigned)2*1024*1024*1024) - -void -md_init(void) -{ -} - -void -md_init_set_status(int flags) -{ - (void)flags; -} - -bool -md_get_info(struct install_partition_desc *install) -{ - struct disklabel disklabel; - int fd; - char dev_name[100]; - - snprintf(dev_name, 100, "/dev/r%sc", pm->diskdev); - - fd = open(dev_name, O_RDONLY, 0); - if (fd < 0) { - if (logfp) - (void)fprintf(logfp, "Can't open %s\n", dev_name); - endwin(); - fprintf(stderr, "Can't open %s\n", dev_name); - exit(1); - } - if (ioctl(fd, DIOCGDINFO, &disklabel) == -1) { - if (logfp) - (void)fprintf(logfp, "Can't read disklabel on %s.\n", - dev_name); - endwin(); - fprintf(stderr, "Can't read disklabel on %s.\n", dev_name); - close(fd); - exit(1); - } - close(fd); - - pm->dlcyl = disklabel.d_ncylinders; - pm->dlhead = disklabel.d_ntracks; - pm->dlsec = disklabel.d_nsectors; - pm->sectorsize = disklabel.d_secsize; - pm->dlcylsize = disklabel.d_secpercyl; - - /* - * Compute whole disk size. Take max of (pm->dlcyl*pm->dlhead*pm->dlsec) - * and secperunit, just in case the disk is already labelled. - * (If our new label's RAW_PART size ends up smaller than the - * in-core RAW_PART size value, updating the label will fail.) - */ - pm->dlsize = pm->dlcyl*pm->dlhead*pm->dlsec; - if (disklabel.d_secperunit > pm->dlsize) - pm->dlsize = disklabel.d_secperunit; - - /* - * hp700 PDC can only address up to 2GB. - */ - root_limit = HP700_PDC_LIMIT / (unsigned)pm->sectorsize; - - return true; -} - -/* - * md back-end code for menu-driven BSD disklabel editor. - */ -int -md_make_bsd_partitions(struct install_partition_desc *install) -{ - return make_bsd_partitions(install); -} - -/* - * any additional partition validation - */ -bool -md_check_partitions(struct install_partition_desc *install) -{ - /* Check the root partition is sane. */ - daddr_t limit = HP700_PDC_LIMIT / (unsigned)pm->sectorsize; - size_t part; - - for (part = 0; part < install->num; part++) { - if (strcmp(install->infos[part].mount, "/") == 0) { - daddr_t offset = install->infos[part].cur_start; - daddr_t size = install->infos[part].size; - - if (offset > limit || offset + size > limit) { - msg_display(MSG_md_pdclimit); - process_menu(MENU_ok, NULL); - return false; - } - } - } - - return true; -} - -/* - * hook called before writing new disklabel. - */ -bool -md_pre_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - return true; -} - -/* - * hook called after writing disklabel to new target disk. - */ -bool -md_post_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - return true; -} - -/* - * hook called after upgrade() or install() has finished setting - * up the target disk but immediately before the user is given the - * ``disks are now set up'' message. - */ -int -md_post_newfs(struct install_partition_desc *install) -{ - int error; - - error = cp_to_target("/usr/mdec/boot", "/boot"); - if (error) - return error; - - /* boot blocks ... */ - msg_fmt_display(MSG_dobootblks, "%s", pm->diskdev); - if (run_program(RUN_DISPLAY, - "/usr/sbin/installboot -v /dev/r%sc /usr/mdec/xxboot", - pm->diskdev)) - process_menu(MENU_ok, - __UNCONST("Warning: disk is probably not bootable")); - return 0; -} - -int -md_post_extract(struct install_partition_desc *install, bool upgrade) -{ - return 0; -} - -void -md_cleanup_install(struct install_partition_desc *install) -{ -#ifndef DEBUG - enable_rc_conf(); -#endif -} - -int -md_pre_update(struct install_partition_desc *install) -{ - return 1; -} - -/* Upgrade support */ -int -md_update(struct install_partition_desc *install) -{ - md_post_newfs(install); - return 1; -} - -int -md_pre_mount(struct install_partition_desc *install, size_t ndx) -{ - return 0; -} - -bool -md_parts_use_wholedisk(struct disk_partitions *parts) -{ - return parts_use_wholedisk(parts, 0, NULL); -} - -#ifdef HAVE_GPT -bool -md_gpt_post_write(struct disk_partitions *parts, part_id root_id, - bool root_is_new, part_id efi_id, bool efi_is_new) -{ - /* no GPT boot support, nothing needs to be done here */ - return true; -} -#endif - diff --git a/overlay/usr.sbin/sysinst/arch/hppa/md.h b/overlay/usr.sbin/sysinst/arch/hppa/md.h deleted file mode 100644 index 47878a91d9..0000000000 --- a/overlay/usr.sbin/sysinst/arch/hppa/md.h +++ /dev/null @@ -1,61 +0,0 @@ -/* $NetBSD: md.h,v 1.5 2025/06/01 07:12:57 skrll Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* md.h -- Machine specific definitions for the hppa */ - -/* Constants and defines */ - -#define DEFROOTSIZE 64 /* Default root size */ -#define DEFSWAPSIZE 64 /* Default swap size */ -#define DEFVARSIZE 32 /* Default /var size, if created */ -#define DEFUSRSIZE 700 /* Default /usr size, if /home */ -#define XNEEDMB 250 /* Extra megs for full X installation */ -#define DEBNEEDMB 850 /* Extra megs for debug sets */ - -/* have support for booting from UFS2 */ -#define HAVE_UFS2_BOOT - -/* - * Default filesets to fetch and install during installation - * or upgrade. - */ -#define SET_KERNEL_1_NAME "kern-GENERIC" - -/* - * Machine-specific command to write a new label to a disk. - * If not defined, we assume the port does not support disklabels and - * the hand-edited disklabel will NOT be written by MI code. - */ -#define DISKLABEL_CMD "disklabel -w -r" diff --git a/overlay/usr.sbin/sysinst/arch/hppa/menus.md.en b/overlay/usr.sbin/sysinst/arch/hppa/menus.md.en deleted file mode 100644 index 5aaa8ddb31..0000000000 --- a/overlay/usr.sbin/sysinst/arch/hppa/menus.md.en +++ /dev/null @@ -1,37 +0,0 @@ -/* $NetBSD: menus.md.en,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* hppa machine dependent menus, english */ - diff --git a/overlay/usr.sbin/sysinst/arch/hppa/menus.md.es b/overlay/usr.sbin/sysinst/arch/hppa/menus.md.es deleted file mode 100644 index e2323a9bca..0000000000 --- a/overlay/usr.sbin/sysinst/arch/hppa/menus.md.es +++ /dev/null @@ -1,37 +0,0 @@ -/* $NetBSD: menus.md.es,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* hppa machine dependent menus, spanish */ - diff --git a/overlay/usr.sbin/sysinst/arch/hppa/menus.md.fr b/overlay/usr.sbin/sysinst/arch/hppa/menus.md.fr deleted file mode 100644 index 2e387d5be1..0000000000 --- a/overlay/usr.sbin/sysinst/arch/hppa/menus.md.fr +++ /dev/null @@ -1,37 +0,0 @@ -/* $NetBSD: menus.md.fr,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* hppa machine dependent menus, french */ - diff --git a/overlay/usr.sbin/sysinst/arch/hppa/menus.md.pl b/overlay/usr.sbin/sysinst/arch/hppa/menus.md.pl deleted file mode 100644 index 00be5de756..0000000000 --- a/overlay/usr.sbin/sysinst/arch/hppa/menus.md.pl +++ /dev/null @@ -1,39 +0,0 @@ -/* $NetBSD: menus.md.pl,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ -/* Based on english version: */ -/* NetBSD: menus.md.en,v 1.5 2001/11/29 32:21:02 thorpej Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* hppa machine dependent menus, Polish */ - diff --git a/overlay/usr.sbin/sysinst/arch/hppa/msg.md.de b/overlay/usr.sbin/sysinst/arch/hppa/msg.md.de deleted file mode 100644 index 471378909d..0000000000 --- a/overlay/usr.sbin/sysinst/arch/hppa/msg.md.de +++ /dev/null @@ -1,55 +0,0 @@ -/* $NetBSD: msg.md.de,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* hppa machine dependent messages, German */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{ -} - -message dobootblks -{Installiere die Bootblöcke auf %s ... -} - -message set_kernel_1 -{Kernel (GENERIC)} - -message md_pdclimit -{Die Root-Partition überschreitet die PDC Grenze von 2GB} diff --git a/overlay/usr.sbin/sysinst/arch/hppa/msg.md.en b/overlay/usr.sbin/sysinst/arch/hppa/msg.md.en deleted file mode 100644 index fe0cd9d150..0000000000 --- a/overlay/usr.sbin/sysinst/arch/hppa/msg.md.en +++ /dev/null @@ -1,55 +0,0 @@ -/* $NetBSD: msg.md.en,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* hppa machine dependent messages, english */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{ -} - -message dobootblks -{Installing boot blocks on %s.... -} - -message set_kernel_1 -{Kernel (GENERIC)} - -message md_pdclimit -{The root partition extends beyond the PDC limit of 2GB} diff --git a/overlay/usr.sbin/sysinst/arch/hppa/msg.md.es b/overlay/usr.sbin/sysinst/arch/hppa/msg.md.es deleted file mode 100644 index 9f83d499e0..0000000000 --- a/overlay/usr.sbin/sysinst/arch/hppa/msg.md.es +++ /dev/null @@ -1,55 +0,0 @@ -/* $NetBSD: msg.md.es,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* hppa machine dependent messages, english */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{ -} - -message dobootblks -{Instalando bloques de arranque en %s.... -} - -message set_kernel_1 -{Kernel (GENERIC)} - -message md_pdclimit -{La partición raíz se extiende más allá del límite de 2 GB PDC} diff --git a/overlay/usr.sbin/sysinst/arch/hppa/msg.md.fr b/overlay/usr.sbin/sysinst/arch/hppa/msg.md.fr deleted file mode 100644 index 53fa2ee609..0000000000 --- a/overlay/usr.sbin/sysinst/arch/hppa/msg.md.fr +++ /dev/null @@ -1,55 +0,0 @@ -/* $NetBSD: msg.md.fr,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* hppa machine dependent messages, french */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{ -} - -message dobootblks -{Installation des blocs de démarrage sur %s ... -} - -message set_kernel_1 -{Kernel (GENERIC)} - -message md_pdclimit -{La partition racine s'étend au-delà de la limite de 2Go PDC} diff --git a/overlay/usr.sbin/sysinst/arch/hppa/msg.md.pl b/overlay/usr.sbin/sysinst/arch/hppa/msg.md.pl deleted file mode 100644 index 7afc623cc3..0000000000 --- a/overlay/usr.sbin/sysinst/arch/hppa/msg.md.pl +++ /dev/null @@ -1,57 +0,0 @@ -/* $NetBSD: msg.md.pl,v 1.1 2014/07/26 19:30:45 dholland Exp $ */ -/* Based on english version: */ -/* NetBSD: msg.md.en,v 1.2 2002/12/03 01:54:49 minoura Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* hppa machine dependent messages, Polish */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{ -} - -message dobootblks -{Instalowanie bootblokow na %s.... -} - -message set_kernel_1 -{Kernel (GENERIC)} - -message md_pdclimit -{Partycja jest d?u?szy ni? PDC 2GB} diff --git a/overlay/usr.sbin/sysinst/arch/i386/Makefile b/overlay/usr.sbin/sysinst/arch/i386/Makefile deleted file mode 100644 index 532d600320..0000000000 --- a/overlay/usr.sbin/sysinst/arch/i386/Makefile +++ /dev/null @@ -1,15 +0,0 @@ -# $NetBSD: Makefile,v 1.3 2026/06/22 19:26:01 martin Exp $ -# -# Makefile for i386 -# - -MENUS_MD= menus.md -MSG_MD= msg.md.${SYSINSTLANG} msg.mbr.${SYSINSTLANG} -MD_OPTIONS= BOOTSEL AOUT2ELF HAVE_INSTALL_IMAGE -NO_MBR=no -HAVE_DVD_IMAGE=yes - -CPPFLAGS+= -DBOOTSEL -DWSKBD -# CPPFLAGS+= -DNO_LBA_READS - -.include "../../Makefile.inc" diff --git a/overlay/usr.sbin/sysinst/arch/i386/md.c b/overlay/usr.sbin/sysinst/arch/i386/md.c deleted file mode 100644 index dabae8e60b..0000000000 --- a/overlay/usr.sbin/sysinst/arch/i386/md.c +++ /dev/null @@ -1,1143 +0,0 @@ -/* $NetBSD: md.c,v 1.36 2026/09/03 02:12:16 gutteridge Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - */ - -/* md.c -- i386 machine specific routines - also used by amd64 */ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "defs.h" -#include "md.h" -#include "endian.h" -#include "msg_defs.h" -#include "menu_defs.h" - -#ifdef NO_LBA_READS /* for testing */ -#undef BIFLAG_EXTINT13 -#define BIFLAG_EXTINT13 0 -#endif - -static struct biosdisk_info *biosdisk = NULL; -static bool uefi_boot; - -/* prototypes */ - -static bool get_bios_info(const char*, struct disk_partitions*, int*, int*, int*); -static int mbr_root_above_chs(daddr_t); -static int md_read_bootcode(const char *, struct mbr_sector *); -static unsigned int get_bootmodel(void); - -static int conmib[] = { CTL_MACHDEP, CPU_CONSDEV }; - -#define BOOT_PART (128*(MEG/512)) -#define BOOT_PART_TYPE PT_EFI_SYSTEM - -static const char * uefi_bootloaders[] = { - "/usr/mdec/bootia32.efi", - "/usr/mdec/bootx64.efi", -}; - -void -md_init(void) -{ - char boot_method[100]; - size_t len; - - len = sizeof(boot_method); - if (sysctlbyname("machdep.bootmethod", boot_method, &len, NULL, 0) - != -1) { - if (strcmp(boot_method, "BIOS") == 0) - uefi_boot = false; - else if (strcmp(boot_method, "UEFI") == 0) - uefi_boot = true; - } -} - -void -md_init_set_status(int flags) -{ - (void)flags; - - /* Default to install same type of kernel as we are running */ - set_kernel_set(get_bootmodel()); -} - -bool -md_get_info(struct install_partition_desc *install) -{ - int bcyl = 0, bhead = 0, bsec = 0, res; - - if (pm->no_mbr || pm->no_part) - return true; - - /* - * Makronix simple installation: the disk is partitioned from scratch, - * so drop the partitioning that is on it (the same call as at the end - * of this function) and let the scheme be chosen again. - */ - if (simple_install && pm->parts != NULL) { - pm->parts->pscheme->destroy_part_scheme(pm->parts); - pm->parts = NULL; - pm->ptstart = 0; - pm->ptsize = 0; - } - -again: - if (pm->parts == NULL) { - - const struct disk_partitioning_scheme *ps = - select_part_scheme(pm, NULL, true, NULL); - - if (!ps) - return false; - - struct disk_partitions *parts = - (*ps->create_new_for_disk)(pm->diskdev, - 0, pm->dlsize, true, NULL); - if (!parts) - return false; - - pm->parts = parts; - if (ps->size_limit > 0 && pm->dlsize > ps->size_limit) - pm->dlsize = ps->size_limit; - } - - if (get_bios_info(pm->diskdev, pm->parts, &bcyl, &bhead, &bsec) - && pm->parts->pscheme->change_disk_geom != NULL) - pm->parts->pscheme->change_disk_geom(pm->parts, - bcyl, bhead, bsec); - else - set_default_sizemult(pm->diskdev, MEG, pm->sectorsize); - - /* - * If the selected scheme does not need two-stage partitioning - * (like GPT), do not bother to edit the outer partitions. - */ - if (pm->parts->pscheme->secondary_partitions == NULL || - pm->parts->pscheme->secondary_scheme == NULL) - return true; - - if (pm->no_mbr || pm->no_part) - return true; - - res = edit_outer_parts(pm->parts); - if (res == 0) - return false; - else if (res == 1) - return true; - - pm->parts->pscheme->destroy_part_scheme(pm->parts); - pm->parts = NULL; - goto again; -} - -/* - * md back-end code for menu-driven BSD disklabel editor. - */ -int -md_make_bsd_partitions(struct install_partition_desc *install) -{ - return make_bsd_partitions(install); -} - -/* - * any additional partition validation - */ -bool -md_check_partitions(struct install_partition_desc *install) -{ - int rval; - char *bootxx; - - /* if booting via UEFI no boot blocks are needed */ - if (uefi_boot) - return true; - - /* check we have boot code for the root partition type */ - bootxx = bootxx_name(install); - rval = access(bootxx, R_OK); - free(bootxx); - if (rval == 0) - return true; - process_menu(MENU_ok, __UNCONST(MSG_No_Bootcode)); - return false; -} - -/* - * hook called before writing new disklabel. - */ -bool -md_pre_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - - if (parts->parent == NULL) - return true; /* no outer partitions */ - - parts = parts->parent; - - msg_display_subst(MSG_dofdisk, 3, parts->disk, - msg_string(parts->pscheme->name), - msg_string(parts->pscheme->short_name)); - - /* write edited "MBR" onto disk. */ - if (!parts->pscheme->write_to_disk(parts)) { - msg_display(MSG_wmbrfail); - process_menu(MENU_ok, NULL); - return false; - } - return true; -} - -/* - * hook called after writing disklabel to new target disk. - */ -bool -md_post_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - return true; -} - -/* - * Do all legacy bootblock update/setup here - */ -static int -update_bios_boot(struct install_partition_desc *install, bool use_target_files) -{ - int ret; - size_t len; - char boot_options[1024]; - char *bootxx_filename, *p; - /* - * XXX - this code retains a lot of cruft from when we went - * to great pains to exclude installboot from the ramdisk - * for size reasons and should be rewritten. - */ - static const char *consoles[]={ - "pc", /* CONSDEV_PC */ - "com0", /* CONSDEV_COM0 */ - "com1", /* CONSDEV_COM1 */ - "com2", /* CONSDEV_COM2 */ - "com3", /* CONSDEV_COM3 */ - "com0kbd", /* CONSDEV_COM0KBD */ - "com1kbd", /* CONSDEV_COM1KBD */ - "com2kbd", /* CONSDEV_COM2KBD */ - "com3kbd" /* CONSDEV_COM3KBD */ }; - static struct x86_boot_params boottype = - {sizeof boottype, 0, 5, 0, 9600, { '\0' }, "", 0}; - struct termios t; - dev_t condev; - - if (pm == NULL || !pm->no_part) { - /* - * Get console device, should either be ttyE0 or tty0n. - * Too hard to double check, so just 'know' the device numbers. - */ - len = sizeof condev; - if (sysctl(conmib, __arraycount(conmib), &condev, &len, NULL, - 0) != -1 && (condev & ~3) == 0x800) { - /* Motherboard serial port */ - boottype.bp_consdev = (condev & 3) + 1; - /* Defaulting the baud rate to that of stdin should - suffice */ - if (tcgetattr(0, &t) != -1) - boottype.bp_conspeed = t.c_ispeed; - } - - /* - * Makronix simple installation: keep the default, which is - * the console the installer is running on (set above). - */ - if (!simple_install) - process_menu(MENU_getboottype, &boottype); - msg_fmt_display(MSG_dobootblks, "%s", pm->diskdev); - if (boottype.bp_consdev == ~0u) - /* Use existing bootblocks */ - return 0; - } - - if (use_target_files) - ret = cp_within_target("/usr/mdec/boot", "/", 0); - else - ret = cp_to_target("/usr/mdec/boot", "/"); - if (ret) - return ret; - if (pm && pm->no_part) - return 0; - - p = bootxx_name(install); - if (p && use_target_files) { - bootxx_filename = strdup(target_expand(p)); - free(p); - } else { - bootxx_filename = p; - } - if (bootxx_filename != NULL) { - char rdev[PATH_MAX]; - - install->infos[0].parts->pscheme->get_part_device( - install->infos[0].parts, install->infos[0].cur_part_id, - rdev, sizeof rdev, NULL, raw_dev_name, true, true); - - snprintf(boot_options, sizeof boot_options, - "console=%s,speed=%u", consoles[boottype.bp_consdev], - boottype.bp_conspeed); - ret = run_program(RUN_DISPLAY, - "/usr/sbin/installboot -f -o %s %s %s", - boot_options, rdev, bootxx_filename); - free(bootxx_filename); - } else { - ret = -1; - } - - if (ret != 0) - process_menu(MENU_ok, - __UNCONST("Warning: disk is probably not bootable")); - - return ret; -} - -static int -md_post_newfs_bios(struct install_partition_desc *install) -{ -#ifdef CGDROOT - /* - * Encrypted install: the disk here is cgd0, which nothing boots from. - * The boot partition is made after the sets are extracted - * (cgdroot_finish), it needs the kernel and the loader from them. - */ - if (cgdroot_install) - return 0; -#endif - return update_bios_boot(install, false); -} - -#ifdef CGDROOT -/* - * Makronix: can the machine boot an encrypted root? Both the BIOS and the - * UEFI loader can load cgdroot.kmod (boot.cfg(5), "load"). - */ -bool -md_cgdroot_possible(void) -{ - - return true; -} - -/* UEFI: loader, kernel and module live on the EFI system partition. */ -bool -md_cgdroot_uefi(void) -{ - - return uefi_boot; -} - -/* - * The boot partition is mounted at mnt and holds the kernel, the loader and - * cgdroot.kmod. Write boot.cfg so that the loader loads the module before - * it boots the kernel, install the boot blocks into that partition (FFSv2) - * and point the protective MBR at it, with the console the installer runs on - * (the same choice as update_bios_boot). - */ -int -md_cgdroot_boot(const char *kdir, const char *esp, const char *disk, - const char *boot_rdev, daddr_t boot_start) -{ - static const char *consoles[] = { - "pc", "com0", "com1", "com2", "com3", - "com0kbd", "com1kbd", "com2kbd", "com3kbd" }; - unsigned int consdev = 0, speed = 9600; - char path[PATH_MAX]; - struct termios t; - dev_t condev; - size_t len; - FILE *f; - int i; - - len = sizeof condev; - if (sysctl(conmib, __arraycount(conmib), &condev, &len, NULL, 0) - != -1 && (condev & ~3) == 0x800) { - consdev = (condev & 3) + 1; - if (tcgetattr(0, &t) != -1) - speed = t.c_ispeed; - } - - /* - * boot.cfg in the root of the kernel partition (the loader's default - * device) and, for UEFI, where the EFI loader looks first: - * esp:/EFI/NetBSD/boot.cfg (efiboot/boot.c, EFIBOOTCFG_FILENAME). - */ - for (i = 0; i < 2; i++) { - if (i == 0) - snprintf(path, sizeof path, "%s/boot.cfg", kdir); - else if (esp != NULL) - snprintf(path, sizeof path, "%s/EFI/NetBSD/boot.cfg", - esp); - else - break; - f = fopen(path, "w"); - if (f == NULL) - return -1; - fprintf(f, "menu=Boot encrypted Makronix:load /cgdroot.kmod;" - "boot /netbsd\n"); - fprintf(f, "timeout=5\n"); - fclose(f); - } - - if (esp != NULL) { - /* the console of the installer goes into the EFI loader */ - snprintf(path, sizeof path, "%s/EFI/boot/bootx64.efi", esp); - return run_program(RUN_DISPLAY | RUN_PROGRESS, - "/usr/sbin/installboot -m %s -e -o console=%s,speed=%u %s", - machine, consoles[consdev], speed, path) != 0 ? -1 : 0; - } - if (run_program(RUN_DISPLAY | RUN_PROGRESS, - "/usr/sbin/installboot -f -o console=%s,speed=%u %s %s/%s", - consoles[consdev], speed, boot_rdev, BOOTXXDIR, - BOOTXX_FFSV2) != 0) - return -1; - if (run_program(RUN_SILENT, "gpt biosboot -b %" PRIu64 " %s", - (uint64_t)boot_start, disk) != 0) - return -1; - return 0; -} -#endif - -/* - * Make sure our bootloader(s) are in the proper directory in the boot - * boot partition (or update them). - */ -static int -copy_uefi_boot(const struct part_usage_info *boot, bool target_is_populated) -{ - char dev[MAXPATHLEN], path[MAXPATHLEN], src[MAXPATHLEN]; - const char *s; - size_t i; - int err; - - if (!boot->parts->pscheme->get_part_device(boot->parts, - boot->cur_part_id, dev, sizeof(dev), NULL, plain_name, true, true)) - return -1; - - /* - * We should have a valid file system on that partition. - * Try to mount it and check if there is a /EFI in there. - */ - if (boot->mount[0]) - strlcpy(path, boot->mount, sizeof(path)); - else - strcpy(path, "/mnt"); - - if (!(boot->instflags & PUIINST_MOUNT)) { - make_target_dir(path); - err = target_mount("", dev, path); - if (err != 0) - return err; - } - - strlcat(path, "/EFI/boot", sizeof(path)); - make_target_dir(path); - - for (i = 0; i < __arraycount(uefi_bootloaders); i++) { - s = uefi_bootloaders[i]; - strcpy(src, target_is_populated ? target_expand(s) : s); - if (access(src, R_OK) != 0) - continue; - err = target_is_populated ? - cp_within_target(s, path, 0) : - cp_to_target(s, path); - if (err) - return err; - } - if (boot->mount[0] == 0) - target_unmount("/mnt"); - - return 0; -} - -/* - * Find (U)EFI boot partition and install/update bootloaders - */ -static int -update_uefi_boot_code(struct install_partition_desc *install, - bool target_is_populated) -{ - size_t i, boot_part; - - boot_part = ~0U; - for (i = 0; i < install->num; i++) { - if (!(install->infos[i].instflags & PUIINST_BOOT)) - continue; - boot_part = i; - break; - } - if (boot_part == ~0U) { - /* - * Didn't find an explicitly marked boot partition, - * check if we have any EFI System Partitions and - * use the first. - */ - for (i = 0; i < install->num; i++) { - if (install->infos[i].type != PT_EFI_SYSTEM) - continue; - boot_part = i; - break; - } - } - - if (boot_part < install->num) - return copy_uefi_boot(&install->infos[boot_part], - target_is_populated); - - return -1; /* no EFI boot partition found */ -} - -/* - * Find bootloader options and update bootloader - */ -static int -update_bios_boot_code(struct install_partition_desc *install) -{ - return update_bios_boot(install, true); -} - -static int -update_boot_code(struct install_partition_desc *install, - bool target_is_populated) -{ - return uefi_boot ? - update_uefi_boot_code(install, target_is_populated) - : update_bios_boot_code(install); -} - -static int -md_post_newfs_uefi(struct install_partition_desc *install) -{ - return update_uefi_boot_code(install, false); -} - -/* - * hook called after upgrade() or install() has finished setting - * up the target disk but immediately before the user is given the - * ``disks are now set up'' message. - */ -int -md_post_newfs(struct install_partition_desc *install) -{ -#ifdef CGDROOT - /* encrypted install: the disk here is cgd0, see cgdroot_finish() */ - if (cgdroot_install) - return 0; -#endif - - return uefi_boot ? md_post_newfs_uefi(install) - : md_post_newfs_bios(install); -} - -int -md_post_extract(struct install_partition_desc *install, bool upgrade) -{ - if (upgrade) - update_boot_code(install, true); - -#if defined(__amd64__) - if (get_kernel_set() == SET_KERNEL_2) { - int ret; - - ret = cp_within_target("/usr/mdec/prekern", "/prekern", 0); - if (ret) - return ret; - } -#endif - - return 0; -} - -void -md_cleanup_install(struct install_partition_desc *install) -{ - size_t len; - dev_t condev; - -#ifndef DEBUG - enable_rc_conf(); - add_rc_conf("wscons=YES\n"); - -# if defined(__i386__) && defined(SET_KERNEL_TINY) - /* - * For GENERIC_TINY, do not enable any extra screens or wsmux. - * Otherwise, run getty on 4 VTs. - */ - if (get_kernel_set() == SET_KERNEL_TINY) - run_program(RUN_CHROOT, - "sed -an -e '/^screen/s/^/#/;/^mux/s/^/#/;" - "H;$!d;g;w /etc/wscons.conf' /etc/wscons.conf"); - else -# endif - run_program(RUN_CHROOT, - "sed -an -e '/^ttyE[1-9]/s/off/on/;" - "H;$!d;g;w /etc/ttys' /etc/ttys"); - -#endif - - /* - * Get console device, should either be ttyE0 or tty0n. - * Too hard to double check, so just 'know' the device numbers. - */ - len = sizeof condev; - if (sysctl(conmib, __arraycount(conmib), &condev, &len, NULL, 0) != -1 - && (condev & ~3) != 0x800) { - - /* - * Current console is not com*, assume ttyE*. - * Modify /etc/ttys to use wsvt25 for all ports. - */ - - run_program(RUN_CHROOT, - "sed -an -e 's/vt100/wsvt25/g;" - "H;$!d;g;w /etc/ttys' /etc/ttys"); - } -} - -int -md_pre_update(struct install_partition_desc *install) -{ - return 1; -} - -/* Upgrade support */ -int -md_update(struct install_partition_desc *install) -{ - return 1; -} - -int -md_check_mbr(struct disk_partitions *parts, mbr_info_t *mbri, bool quiet) -{ - mbr_info_t *ext; - struct mbr_partition *p; - const char *bootcode; - daddr_t inst_start, inst_size; - int i, names, fl, ofl; -#define ACTIVE_FOUND 0x0100 -#define NETBSD_ACTIVE 0x0200 -#define NETBSD_NAMED 0x0400 -#define ACTIVE_NAMED 0x0800 - - root_limit = 0; - if (parts->pscheme->guess_install_target == NULL || - !parts->pscheme->guess_install_target(parts, &inst_start, - &inst_size)) { - inst_start = parts->disk_start; - inst_size = parts->disk_size; - } - - if (biosdisk != NULL && (biosdisk->bi_flags & BIFLAG_EXTINT13) == 0) { - if (mbr_root_above_chs(inst_start)) { - if (quiet) - return 0; - msg_display(MSG_partabovechs); - if (!ask_noyes(NULL)) - return 1; - /* The user is shooting themselves in the foot here...*/ - } else { - if (parts->pscheme->size_limit) - root_limit = min(parts->pscheme->size_limit, - parts->disk_size); - else - root_limit = parts->disk_size; - } - } - - /* - * Ensure the install partition (at sector inst_start) and the active - * partition are bootable. - * Determine whether the bootselect code is needed. - * Note that MBR_BS_NEWMBR is always set, so we ignore it! - */ - fl = 0; - names = 0; - for (ext = mbri; ext != NULL; ext = ext->extended) { - p = ext->mbr.mbr_parts; - for (i = 0; i < MBR_PART_COUNT; p++, i++) { - if (p->mbrp_flag == MBR_PFLAG_ACTIVE) { - fl |= ACTIVE_FOUND; - if (ext->sector + p->mbrp_start == inst_start) - fl |= NETBSD_ACTIVE; - } - if (ext->mbrb.mbrbs_nametab[i][0] == 0) { - /* No bootmenu label... */ - if (ext->sector == 0) - continue; - if (ext->sector + p->mbrp_start == inst_start) - /* - * Have installed into an extended ptn - * force name & bootsel... - */ - names++; - continue; - } - /* Partition has a bootmenu label... */ - if (ext->sector != 0) - fl |= MBR_BS_EXTLBA; - if (ext->sector + p->mbrp_start == inst_start) - fl |= NETBSD_NAMED; - else if (p->mbrp_flag == MBR_PFLAG_ACTIVE) - fl |= ACTIVE_NAMED; - else - names++; - } - } - if (!(fl & ACTIVE_FOUND)) - fl |= NETBSD_ACTIVE; - if (fl & NETBSD_NAMED && fl & NETBSD_ACTIVE) - fl |= ACTIVE_NAMED; - - if ((names > 0 || !(fl & NETBSD_ACTIVE)) && - (!(fl & NETBSD_NAMED) || !(fl & ACTIVE_NAMED))) { - /* - * There appear to be multiple bootable partitions, but they - * don't all have bootmenu texts. - */ - if (quiet) - return 0; - - msg_display(MSG_missing_bootmenu_text); - if (ask_yesno(NULL)) - return 1; - } - - if ((fl & MBR_BS_EXTLBA) && - (biosdisk == NULL || !(biosdisk->bi_flags & BIFLAG_EXTINT13))) { - /* Need unsupported LBA reads to read boot sectors */ - if (quiet) - return 0; - - msg_display(MSG_no_extended_bootmenu); - if (!ask_noyes(NULL)) - return 1; - } - - /* Sort out the name of the mbr code we need */ - if (names > 1 || - (parts->num_part > 1 && (fl & (NETBSD_NAMED | ACTIVE_NAMED)))) { - /* Need bootselect code */ - fl |= MBR_BS_ACTIVE; - bootcode = fl & MBR_BS_EXTLBA ? _PATH_BOOTEXT : _PATH_BOOTSEL; - } else { - bootcode = _PATH_MBR; - } - - fl &= MBR_BS_ACTIVE | MBR_BS_EXTLBA; - - /* Look at what is installed */ - ofl = mbri->mbrb.mbrbs_flags; - if (ofl == 0) { - /* Check there is some bootcode at all... */ - if (mbri->mbr.mbr_magic != htole16(MBR_MAGIC) || - mbri->mbr.mbr_jmpboot[0] == 0 || - mbr_root_above_chs(inst_start)) - /* Existing won't do, force update */ - fl |= MBR_BS_NEWMBR; - } - ofl = mbri->oflags & (MBR_BS_ACTIVE | MBR_BS_EXTLBA); - - if (!quiet) { - if (fl & ~ofl || (fl == 0 && ofl & MBR_BS_ACTIVE)) { - /* Existing boot code isn't the right one... */ - if (fl & MBR_BS_ACTIVE) - msg_display(MSG_installbootsel); - else - msg_display(MSG_installmbr); - } else - /* Existing code would (probably) be ok */ - msg_display(MSG_updatembr); - - if (!ask_yesno(NULL)) - /* User doesn't want to update mbr code */ - return 2; - } - - if (md_read_bootcode(bootcode, &mbri->mbr) == 0) - /* update suceeded - to memory copy */ - return 2; - - /* This shouldn't happen since the files are in the floppy fs... */ - msg_fmt_display("Can't find %s", "%s", bootcode); - return ask_reedit(parts); -} - -bool -md_parts_use_wholedisk(struct disk_partitions *parts) -{ - struct disk_part_info boot_part = { - .size = BOOT_PART, - .fs_type = FS_MSDOS, .fs_sub_type = MBR_PTYPE_FAT32L, - }; - - if (!uefi_boot) - return parts_use_wholedisk(parts, 0, NULL); - - boot_part.nat_type = parts->pscheme->get_generic_part_type( - PT_EFI_SYSTEM); - - return parts_use_wholedisk(parts, 1, &boot_part); -} - -static bool -get_bios_info(const char *dev, struct disk_partitions *parts, int *bcyl, - int *bhead, int *bsec) -{ - static struct disklist *disklist = NULL; - static int mib[2] = {CTL_MACHDEP, CPU_DISKINFO}; - int i; - size_t len; - struct biosdisk_info *bip; - struct nativedisk_info *nip = NULL, *nat; - int cyl, head, sec; - - if (disklist == NULL) { - if (sysctl(mib, 2, NULL, &len, NULL, 0) < 0) - goto nogeom; - disklist = malloc(len); - if (disklist == NULL) { - fprintf(stderr, "Out of memory\n"); - return false; - } - sysctl(mib, 2, disklist, &len, NULL, 0); - } - - for (i = 0; i < disklist->dl_nnativedisks; i++) { - nat = &disklist->dl_nativedisks[i]; - if (!strcmp(dev, nat->ni_devname)) { - nip = nat; - break; - } - } - if (nip == NULL || nip->ni_nmatches == 0) { -nogeom: - if (nip != NULL) - msg_fmt_display(MSG_nobiosgeom, "%d%d%d", - pm->dlcyl, pm->dlhead, pm->dlsec); - if (guess_biosgeom_from_parts(parts, &cyl, &head, &sec) >= 0 - && nip != NULL) - { - msg_fmt_display_add(MSG_biosguess, "%d%d%d", - cyl, head, sec); - } - biosdisk = NULL; - } else { - guess_biosgeom_from_parts(parts, &cyl, &head, &sec); - if (nip->ni_nmatches == 1) { - bip = &disklist->dl_biosdisks[nip->ni_biosmatches[0]]; - biosdisk = bip; - /* - * Makronix simple installation: exactly one BIOS disk - * matches, which is the answer the menu would offer - * as its default; do not ask. - */ - if (!simple_install) { - msg_display(MSG_onebiosmatch); - msg_table_add(MSG_onebiosmatch_header); - msg_fmt_table_add(MSG_onebiosmatch_row, - "%d%d%d%d%u%u", - bip->bi_dev, bip->bi_cyl, bip->bi_head, - bip->bi_sec, (unsigned)bip->bi_lbasecs, - (unsigned)(bip->bi_lbasecs / - (1000000000 / 512))); - msg_display_add(MSG_biosgeom_advise); - process_menu(MENU_biosonematch, &biosdisk); - } - } else { - msg_display(MSG_biosmultmatch); - msg_table_add(MSG_biosmultmatch_header); - for (i = 0; i < nip->ni_nmatches; i++) { - bip = &disklist->dl_biosdisks[ - nip->ni_biosmatches[i]]; - msg_fmt_table_add(MSG_biosmultmatch_row, - "%d%d%d%d%d%u%u", i, - bip->bi_dev, bip->bi_cyl, bip->bi_head, - bip->bi_sec, (unsigned)bip->bi_lbasecs, - (unsigned)bip->bi_lbasecs/(1000000000/512)); - } - process_menu(MENU_biosmultmatch, &i); - if (i == -1) - biosdisk = NULL; - else - biosdisk = &disklist->dl_biosdisks[ - nip->ni_biosmatches[i]]; - } - } - if (biosdisk == NULL) { - *bcyl = cyl; - *bhead = head; - *bsec = sec; - if (nip != NULL) - set_bios_geom(parts, bcyl, bhead, bsec); - } else { - *bcyl = biosdisk->bi_cyl; - *bhead = biosdisk->bi_head; - *bsec = biosdisk->bi_sec; - } - return true; -} - -static int -mbr_root_above_chs(daddr_t ptstart) -{ - return ptstart + (daddr_t)DEFROOTSIZE * (daddr_t)(MEG / 512) - >= pm->max_chs; -} - -/* returns false if no write-back of parts is required */ -bool -md_mbr_update_check(struct disk_partitions *parts, mbr_info_t *mbri) -{ - struct mbr_partition *mbrp; - int i, netbsdpart = -1, oldbsdpart = -1, oldbsdcount = 0; - - if (pm->no_mbr || pm->no_part) - return false; - - mbrp = &mbri->mbr.mbr_parts[0]; - - for (i = 0; i < MBR_PART_COUNT; i++) { - if (mbrp[i].mbrp_type == MBR_PTYPE_386BSD) { - oldbsdpart = i; - oldbsdcount++; - } else if (mbrp[i].mbrp_type == MBR_PTYPE_NETBSD) - netbsdpart = i; - } - - if (netbsdpart == -1 && oldbsdcount == 1) { - mbrp[oldbsdpart].mbrp_type = MBR_PTYPE_NETBSD; - return true; - } - - return false; -} - -/* - * Read MBR code from a file. - * The existing partition table and bootselect configuration is kept. - */ -static int -md_read_bootcode(const char *path, struct mbr_sector *mbrs) -{ - int fd; - struct stat st; - size_t len; - struct mbr_sector new_mbr; - uint32_t dsn; - - fd = open(path, O_RDONLY); - if (fd < 0) - return -1; - - if (fstat(fd, &st) < 0 || st.st_size != sizeof *mbrs) { - close(fd); - return -1; - } - - if (read(fd, &new_mbr, sizeof new_mbr) != sizeof new_mbr) { - close(fd); - return -1; - } - close(fd); - - if (new_mbr.mbr_bootsel_magic != htole16(MBR_BS_MAGIC)) - return -1; - - if (mbrs->mbr_bootsel_magic == htole16(MBR_BS_MAGIC)) { - len = offsetof(struct mbr_sector, mbr_bootsel); - } else - len = offsetof(struct mbr_sector, mbr_parts); - - /* Preserve the 'drive serial number' - especially for Vista */ - dsn = mbrs->mbr_dsn; - memcpy(mbrs, &new_mbr, len); - mbrs->mbr_dsn = dsn; - - /* Keep flags from object file - indicate the properties */ - mbrs->mbr_bootsel.mbrbs_flags = new_mbr.mbr_bootsel.mbrbs_flags; - mbrs->mbr_magic = htole16(MBR_MAGIC); - - return 0; -} - -static unsigned int -get_bootmodel(void) -{ -#if defined(__i386__) - struct utsname ut; -#ifdef DEBUG - char *envstr; - - envstr = getenv("BOOTMODEL"); - if (envstr != NULL) - return atoi(envstr); -#endif - - if (uname(&ut) < 0) - ut.version[0] = 0; - -#if defined(SET_KERNEL_TINY) - if (strstr(ut.version, "TINY") != NULL) - return SET_KERNEL_TINY; -#endif -#if defined(SET_KERNEL_PS2) - if (strstr(ut.version, "PS2") != NULL) - return SET_KERNEL_PS2; -#endif -#endif - return SET_KERNEL_GENERIC; -} - - -int -md_pre_mount(struct install_partition_desc *install, size_t ndx) -{ - return 0; -} - -#ifdef HAVE_GPT -/* - * New GPT partitions have been written, update bootloader or remember - * data until needed in md_post_newfs - */ -bool -md_gpt_post_write(struct disk_partitions *parts, part_id root_id, - bool root_is_new, part_id efi_id, bool efi_is_new) -{ - struct disk_part_info info; - - if (root_id != NO_PART) { - /* we always update the gpt boot record for now */ - if (!parts->pscheme->get_part_info(parts, root_id, &info)) - return false; - if (run_program(RUN_SILENT, "gpt biosboot -b %" PRIu64 " %s", - info.start, parts->disk) != 0) - return false; - } - - return true; -} -#endif - -/* - * When we do an UEFI install, we have completely different default - * partitions and need to adjust the description at runtime. - */ -void -x86_md_part_defaults(struct pm_devs *cur_pm, struct part_usage_info **partsp, - size_t *num_usage_infos) -{ - static const struct part_usage_info uefi_boot_part = - { - .size = BOOT_PART, - .type = BOOT_PART_TYPE, - .instflags = PUIINST_NEWFS|PUIINST_BOOT, - .fs_type = FS_MSDOS, .fs_version = MBR_PTYPE_FAT32L, - .flags = PUIFLAG_ADD_OUTER, - }; - - struct disk_partitions *parts; - struct part_usage_info *new_usage, *boot; - struct disk_part_info info; - size_t num; - part_id pno; - -#ifdef CGDROOT - /* encrypted install: this is cgd0, the ESP is made by cgdroot.c */ - if (cgdroot_install) - return; -#endif - if (!uefi_boot) - return; /* legacy defaults apply */ - - /* - * Insert a UEFI boot partition at the beginning of the array - */ - - /* create space for new description */ - num = *num_usage_infos + 1; - new_usage = realloc(*partsp, sizeof(*new_usage)*num); - if (new_usage == NULL) - return; - *partsp = new_usage; - *num_usage_infos = num; - boot = new_usage; - memmove(boot+1, boot, sizeof(*boot)*(num-1)); - *boot = uefi_boot_part; - - /* - * Check if the UEFI partition already exists - */ - parts = pm->parts; - if (parts->parent != NULL) - parts = parts->parent; - for (pno = 0; pno < parts->num_part; pno++) { - if (!parts->pscheme->get_part_info(parts, pno, &info)) - continue; - if (info.nat_type->generic_ptype != boot->type) - continue; - boot->flags &= ~PUIFLAG_ADD_OUTER; - boot->flags |= PUIFLG_IS_OUTER|PUIFLG_ADD_INNER; - boot->size = info.size; - boot->cur_start = info.start; - boot->cur_flags = info.flags; - break; - } -} - -/* no need to install bootblock if installing for UEFI */ -bool -x86_md_need_bootblock(struct install_partition_desc *install) -{ - - return !uefi_boot; -} diff --git a/overlay/usr.sbin/sysinst/arch/i386/md.h b/overlay/usr.sbin/sysinst/arch/i386/md.h deleted file mode 100644 index a969cd02b7..0000000000 --- a/overlay/usr.sbin/sysinst/arch/i386/md.h +++ /dev/null @@ -1,127 +0,0 @@ -/* $NetBSD: md.h,v 1.9 2021/09/25 08:54:31 maya Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* md.h -- Machine specific definitions for the i386 */ - - -#include -#include -#include -#include -#include -#include - -/* i386 uses the mbr code. */ -#include "mbr.h" - -/* constants and defines */ -#define DEFUSRSIZE 0 -#define DEFSWAPSIZE (-1) -#define DEFROOTSIZE 90 - -/* Megs required for a full X installation. */ -#define XNEEDMB 250 - -#define DEBNEEDMB 1024 /* Extra megs for debug sets */ - -/* use UFS2 by default for ffs */ -#define DEFAULT_UFS2 - -/* have support for booting from UFS2 */ -#define HAVE_UFS2_BOOT - -/* have support for booting from GPT disks */ -#define HAVE_GPT_BOOT - -/* allow using tmpfs for /tmp instead of mfs */ -#define HAVE_TMPFS - -/* have file system specific primary boot loader */ -#define HAVE_BOOTXX_xFS -#define BOOTXXDIR "/usr/mdec" -#define BOOTXX_FFSV1 "bootxx_ffsv1" -#define BOOTXX_FFSV2 "bootxx_ffsv2" - -/* - * Default filesets to fetch and install during installation - * or upgrade. The standard sets are: - * base etc comp games gpufw man misc rescue tests text xbase xcomp xetc xfont xserver - */ - -#define SET_KERNEL_GENERIC SET_KERNEL_1 - -#define SET_KERNEL_1_NAME "kern-GENERIC" - -/* - * Machine-specific command to write a new label to a disk. - * For example, i386 uses "/sbin/disklabel -w -r", just like i386 - * miniroot scripts, though this may leave a bogus incore label. - * Sun ports should probably use DISKLABEL_CMD "/sbin/disklabel -w" - * to get incore to ondisk inode translation for the Sun proms. - * If not defined, we assume the port does not support disklabels and - * hand-edited disklabel will NOT be written by MI code. - * - * On i386, do what the 1.2 install scripts did. - */ -#define DISKLABEL_CMD "disklabel -w -r" - -#define _PATH_MBR DEFAULT_BOOTDIR "/" DEFAULT_BOOTCODE -#define _PATH_BOOTSEL DEFAULT_BOOTDIR "/" DEFAULT_BOOTSELCODE -#define _PATH_BOOTEXT DEFAULT_BOOTDIR "/" DEFAULT_BOOTEXTCODE - -extern struct mbr_bootsel *mbs; - -/* i386 can still have old mcd ISA devices */ -#ifdef CD_NAMES -#undef CD_NAMES -#endif -#define CD_NAMES "cd*","mcd*" - -/* - * prototypes for MD code. - */ - -/* - * When we do an UEFI install, we have completely different default - * partitions and need to adjust the description at runtime. - */ -void x86_md_part_defaults(struct pm_devs*, struct part_usage_info**, - size_t *num_usage_infos); -#define MD_PART_DEFAULTS(A,B,C) x86_md_part_defaults(A,&(B),&(C)) - -/* no need to install bootblock if installing for UEFI */ -bool x86_md_need_bootblock(struct install_partition_desc *install); -#define MD_NEED_BOOTBLOCK(A) x86_md_need_bootblock(A) - -#define HAVE_EFI_BOOT 1 /* we support EFI boot partitions */ diff --git a/overlay/usr.sbin/sysinst/arch/i386/menus.md b/overlay/usr.sbin/sysinst/arch/i386/menus.md deleted file mode 100644 index 3eb6ecf05f..0000000000 --- a/overlay/usr.sbin/sysinst/arch/i386/menus.md +++ /dev/null @@ -1,114 +0,0 @@ -/* $NetBSD: menus.md,v 1.3 2019/11/16 18:08:59 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Menu definitions for sysinst. i386 version, machine dependent. */ - -menu getboottype, title MSG_Bootblocks_selection, y=10, exit, no clear, - exitstring MSG_Continue; - display action { msg_display(MSG_getboottype); - switch (((struct x86_boot_params *)arg)->bp_consdev) { - default: - case 0: - msg_display_add(MSG_console_PC); - break; - case 1: case 2: case 3: case 4: - if (menu->cursel == 0) - menu->cursel = ((struct x86_boot_params *)arg)->bp_consdev; - msg_fmt_display_add(MSG_console_com, "%u%u", - ((struct x86_boot_params *)arg)->bp_consdev - 1, - ((struct x86_boot_params *)arg)->bp_conspeed); - break; - case ~0: - msg_display_add(MSG_console_unchanged); - break; - }}; - option MSG_Use_normal_bootblocks, exit, action - {((struct x86_boot_params *)arg)->bp_consdev = 0; m->cursel = 7;}; - option MSG_Use_serial_com0, action - {((struct x86_boot_params *)arg)->bp_consdev = 1; m->cursel = 5;}; - option MSG_Use_serial_com1, action - {((struct x86_boot_params *)arg)->bp_consdev = 2; m->cursel = 5;}; - option MSG_Use_serial_com2, action - {((struct x86_boot_params *)arg)->bp_consdev = 3; m->cursel = 5;}; - option MSG_Use_serial_com3, action - {((struct x86_boot_params *)arg)->bp_consdev = 4; m->cursel = 5;}; - option MSG_serial_baud_rate, sub menu consolebaud; - option MSG_Use_existing_bootblocks, exit, action - {((struct x86_boot_params *)arg)->bp_consdev = ~0; m->cursel = 7;}; - -menu consolebaud, title MSG_serial_baud_rate, x=40, y=13; - display action { - switch (((struct x86_boot_params *)arg)->bp_conspeed) { - default: - case 9600: menu->cursel = 0; break; - case 19200: menu->cursel = 1; break; - case 38400: menu->cursel = 2; break; - case 57600: menu->cursel = 3; break; - case 115200: menu->cursel = 4; break; - case 0: menu->cursel = 5; break; - }}; - option "9600", exit, action - {((struct x86_boot_params *)arg)->bp_conspeed = 9600;}; - option "19200", exit, action - {((struct x86_boot_params *)arg)->bp_conspeed = 19200;}; - option "38400", exit, action - {((struct x86_boot_params *)arg)->bp_conspeed = 38400;}; - option "57600", exit, action - {((struct x86_boot_params *)arg)->bp_conspeed = 57600;}; - option "115200", exit, action - {((struct x86_boot_params *)arg)->bp_conspeed = 115200;}; - option "BIOS", exit, action - {((struct x86_boot_params *)arg)->bp_conspeed = 0;}; - -menu biosonematch, y=-1; - option MSG_This_is_the_correct_geometry, exit, action { }; - option MSG_Set_the_geometry_by_hand, exit, action - {*(void **)arg = NULL;}; - -menu biosmultmatch; - option MSG_Use_one_of_these_disks, exit, action { - int sel; - char res[4]; - - do { - strcpy(res, "0"); - msg_prompt_win(MSG_pickdisk, -1, -1, 0, 0, - res, res, sizeof res); - sel = atoi(res); - } while (sel < 0 || sel >= *(int *)arg); - *(int *)arg = sel; - }; - option MSG_Set_the_geometry_by_hand, exit, action { - *(int *)arg = -1; - }; diff --git a/overlay/usr.sbin/sysinst/arch/i386/msg.md.de b/overlay/usr.sbin/sysinst/arch/i386/msg.md.de deleted file mode 100644 index 8cad050ea1..0000000000 --- a/overlay/usr.sbin/sysinst/arch/i386/msg.md.de +++ /dev/null @@ -1,168 +0,0 @@ -/* $NetBSD: msg.md.de,v 1.4 2019/11/16 21:25:14 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- German, i386 version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{ -} - -message Keyboard_type {Tastaturschema} -message kb_default {de} - -message dobad144 -{Installiere die Tabelle der defekten Blöcke ... -} - -message getboottype -{Möchten Sie normale oder serielle Bootblöcke installieren? - -Normale Bootblöcke benutzen die BIOS Konsolenschnittstelle als Konsole -(meistens der Monitor und die Tastatur). Serielle Bootblöcke benutzen den -gewählten seriellen Anschluss als Konsole. - -Selektierter Bootblock: } - -message console_PC {BIOS Konsole} -message console_com {Serielle Konsole an com%d mit %d baud} -message console_unchanged {Unverändert} - -message Bootblocks_selection -{Auswahl der Bootblöcke} -message Use_normal_bootblocks {BIOS Konsole} -message Use_serial_com0 {Serielle Konsole an com0} -message Use_serial_com1 {Serielle Konsole an com1} -message Use_serial_com2 {Serielle Konsole an com2} -message Use_serial_com3 {Serielle Konsole an com3} -message serial_baud_rate {Serielle Geschwindigkeit wählen...} -message Use_existing_bootblocks {Vorhandene Bootblöcke benutzen} - -message dobootblks -{Installiere die Bootblöcke auf %s ... -} - -message onebiosmatch -{Diese Festplatte entspricht der folgenden BIOS Disk: - -} - -message onebiosmatch_header -{BIOS # Zylinder Köpfe Sektoren Anzahl Sektoren GB ------- -------- ----- -------- --------------- ---- -} - -message onebiosmatch_row -{%#6x %8d %5d %8d %13u %3u\n} - -message This_is_the_correct_geometry -{Das ist die korrekte Geometrie} -message Set_the_geometry_by_hand -{die Geometrie von Hand setzen} -message Use_one_of_these_disks -{Benutzen Sie eine dieser Festplatten} - -message biosmultmatch -{Diese Festplatte entspricht den folgenden BIOS Disks: - -} - -message biosmultmatch_header -{ BIOS # Zylinder Köpfe Sektoren Anzahl Sektoren GB - ------ -------- ----- -------- ---------------- ---- -} - -message biosmultmatch_row -{%-1d: %#6x %8d %5d %8d %13u %3u\n} - -message biosgeom_advise -{ -Achtung: sysinst hat festgestellt, dass die von Ihnen ausgewählte Festplatte -einer anderen - dem BIOS bekannten - entspricht; damit sind obige Werte mit -höchster Wahrscheinlichkeit korrekt, sollten also nicht verändert werden (die -Werte für Zylinder, Köpfe und Sektoren sind wahrscheinlich 1023, 255 und 63 - -dies ist korrekt). -Sie sollten nur die Geometrie abändern falls Sie wissen, dass das BIOS -falsche Werte liefert. -} - -message pickdisk -{Festplatte auswählen: } - -message partabovechs -{Der Makronix Teil der Festplatte liegt außerhalb der vom BIOS dieser Maschine -adressierbaren Bereich. Eventuell können Sie von dieser Partition nicht -booten. Sind Sie sicher, dass Sie fortfahren möchten? - -(Antworten Sie mit 'nein' um die Partitionen erneut zu editieren.)} - - -message missing_bootmenu_text -{Sie haben mehr als ein Betriebssystem auf dieser Festplatte; allerdings ist kein -'bootmenu' (Eintrag für den Makronix Bootloader) für die aktive Partition und/oder -der Partition vorhanden, auf die Makronix installiert werden soll. - -Wollen Sie die Partition zum Hinzufügen eines 'bootmenu' Eintrages -editieren?} - - -message no_extended_bootmenu -{Sie haben eine erweiterte Partition in das 'bootmenu' eingetragen. -Doch scheint Ihr BIOS System den 'read' (Lese-) Befehl für diese -Version des 'bootmenu' Codes nicht zu unterstützen. -Sind Sie sicher, dass Sie dennoch fortfahren möchten? - -(Antworten Sie 'nein' um zum Partitionierungsmenü zurück zu -gelangen.)} - -message installbootsel -{Ihre Konfiguration benötigt den Makronix Bootselect (Bootauswahl) Code, um -das zu startende Betriebssystem beim Start des Computers zu wählen. - -Dieser ist gegenwärtig noch nicht installiert; wollen Sie dies jetzt tun?} - -message installmbr -{Der Bootcode im Master Boot Record scheint nicht gültig zu sein. - -Wollen Sie den Makronix Bootcode installieren?} - -message updatembr -{Wollen Sie den Bootcode im Master Boot Record auf die letzte Version des -Makronix Bootcodes updaten?} - -message set_kernel_1 {Kernel (GENERIC)} -message set_kernel_2 {Kernel (GENERIC_KASLR)} diff --git a/overlay/usr.sbin/sysinst/arch/i386/msg.md.en b/overlay/usr.sbin/sysinst/arch/i386/msg.md.en deleted file mode 100644 index ec27297acb..0000000000 --- a/overlay/usr.sbin/sysinst/arch/i386/msg.md.en +++ /dev/null @@ -1,164 +0,0 @@ -/* $NetBSD: msg.md.en,v 1.5 2024/01/16 21:04:26 gson Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- English, i386 version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{ -} - -message Keyboard_type {Keyboard type} -message kb_default {} - -message dobad144 -{Installing the bad block table ... -} - -message getboottype -{Would you like to install the normal set of bootblocks or serial bootblocks? - -Normal bootblocks use the BIOS console device as the console -(usually the monitor and keyboard). Serial bootblocks use the selected -serial port as the console. - -Selected bootblock: } - -message console_PC {BIOS console} -message console_com {Serial port com%d at %d baud} -message console_unchanged {Unchanged} - -message Bootblocks_selection -{Bootblocks selection} -message Use_normal_bootblocks {Use BIOS console} -message Use_serial_com0 {Use serial port com0} -message Use_serial_com1 {Use serial port com1} -message Use_serial_com2 {Use serial port com2} -message Use_serial_com3 {Use serial port com3} -message serial_baud_rate {Set serial baud rate} -message Use_existing_bootblocks {Use existing bootblocks} - -message dobootblks -{Installing boot blocks on %s.... -} - -message onebiosmatch -{This disk matches the following BIOS disk: - -} - -message onebiosmatch_header -{BIOS # cylinders heads sectors total sectors GB ------- --------- ----- ------- ------------- ---- -} - -message onebiosmatch_row -{%#6x %9d %5d %7d %13u %3u\n} - -message This_is_the_correct_geometry -{This is the correct geometry} -message Set_the_geometry_by_hand -{Set the geometry by hand} -message Use_one_of_these_disks -{Use one of these disks} - -message biosmultmatch -{This disk matches the following BIOS disks: - -} - -message biosmultmatch_header -{ BIOS # cylinders heads sectors total sectors GB - ------ --------- ----- ------- ------------- ---- -} - -message biosmultmatch_row -{%-1d: %#6x %9d %5d %7d %13u %3u\n} - -message biosgeom_advise -{ -Note: since sysinst was able to uniquely match the disk you chose with a disk -known to the BIOS, the values displayed above are very likely correct, and -should not be changed (the values for cylinders, heads and sectors are -probably 1023, 255 and 63 - this is correct). -You should only change the geometry if you know the BIOS reports incorrect -values. -} - -message pickdisk -{Choose disk: } - -message partabovechs -{The Makronix part of the disk lies outside of the range that the BIOS on -your machine can address. -Booting from it may not be possible. -Are you sure you that you want to do this? - -(Answering 'no' will take you back to the partition edit menu.)} - -message missing_bootmenu_text -{You have more than one operating system on this disk, but have not -specified a 'bootmenu' for either the active partition, or the -Makronix partition that you are going to install into. - -Do you want to re-edit the partition to add a bootmenu entry?} - -message no_extended_bootmenu -{You have requested that an extended partition be included in the bootmenu. -However your system BIOS doesn't appear to support the read command used -by that version of the bootmenu code. -Are you sure you that you want to do this? - -(Answering 'no' will take you back to the partition edit menu.)} - -message installbootsel -{Your configuration requires the Makronix bootselect code to -select which operating system to use. - -It is not currently installed, do you want to install it now?} - -message installmbr -{The bootcode in the Master Boot Record does not appear to be valid. - -Do you want to install the Makronix bootcode?} - -message updatembr -{Do you want to update the bootcode in the Master Boot Record to -the latest version of the Makronix bootcode?} - -message set_kernel_1 {Kernel (GENERIC)} -message set_kernel_2 {Kernel (GENERIC_KASLR)} diff --git a/overlay/usr.sbin/sysinst/arch/i386/msg.md.es b/overlay/usr.sbin/sysinst/arch/i386/msg.md.es deleted file mode 100644 index d0fd8ea583..0000000000 --- a/overlay/usr.sbin/sysinst/arch/i386/msg.md.es +++ /dev/null @@ -1,165 +0,0 @@ -/* $NetBSD: msg.md.es,v 1.4 2019/11/16 21:25:14 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- Spanish, i386 version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{ -} - -message Keyboard_type {Tipo de teclado} -message kb_default {es} - -message dobad144 -{Instalando la tabla de bloques malos ... -} - -message getboottype -{¿Le gustaria instalar el set normal de bootblocks o bootblocks por serie? - -Bootblocks normal usa el dispositivo de consola de BIOS como consola -(normalmente el monitor y teclado). Bootblocks por serie usa el primer -puerto serie como consola. - -Bootblock seleccionado: } - -message console_PC {Consola BIOS} -message console_com {Puerto serie en com%D en %d baud} -message console_unchanged {Sin cambios} - -message Bootblocks_selection -{Seleccion de bootblocks} -message Use_normal_bootblocks {Usar consola BIOS} -message Use_serial_com0 {Usar puerto serie com0} -message Use_serial_com1 {Usar puerto serie com1} -message Use_serial_com2 {Usar puerto serie com2} -message Use_serial_com3 {Usar puerto serie com3} -message serial_baud_rate {Baudios puerto serie} -message Use_existing_bootblocks {Usar bootblocks existente} - -message dobootblks -{Instalando bloques de arranque en %s.... -} - -message onebiosmatch -{Este disco coincide con el siguiente disco de BIOS: - -} - -message onebiosmatch_header -{BIOS # cilindros cabez sectors sect. totales GB ------- --------- ----- ------- ------------- ---- -} - -message onebiosmatch_row -{%#6x %9d %5d %7d %13u %3u\n} - -message This_is_the_correct_geometry -{Esta es la geometría correcta} -message Set_the_geometry_by_hand -{Ajustar geometría a mano} -message Use_one_of_these_disks -{Usar uno de estos discos} - -message biosmultmatch -{Este disco coincide con los siguientes discos de BIOS: - -} - -message biosmultmatch_header -{ BIOS # cilindros cabez sectors sect totales GB - ------ --------- ----- ------- ------------- ---- -} - -message biosmultmatch_row -{%-1d: %#6x %9d %5d %7d %13u %3u\n} - -message biosgeom_advise -{ -Nota: como sysinst es capaz de concordar unicamente el disco que escoja -con un disco conocido por BIOS, los valores anteriores son probablemente -correctos, y no deberían ser cambiados (los valores para cilindros, -cabezales y sectores son probablemente 1023, 255 y 63 - esto es correcto). -Solo debería cambiar la geometría si sabe que su BIOS reporta valores -incorrectos. -} - -message pickdisk -{Escoja disco: } - -message partabovechs -{La parte Makronix del disco está fuera del rango que la BIOS de su maquina -puede acceder. -Puede que no sea posible iniciar desde ahi. -¿Está seguro de que quiere hacer eso? - -(Seleccionando 'no' le devolverá al menú de edicion de particiones.)} - -message missing_bootmenu_text -{Tiene mas de un sistema operativo en el disco, pero no ha especificado -un 'menu de arranque' para la partición activa o la partición de Makronix -en la que lo va a instalar. - -¿Quiere re-editar la partición para añadir una entrada en el menu de -arranque?} - -message no_extended_bootmenu -{Ha pedido que una partición extendida sea incluida en el menú de arranque. -Sin embargo la BIOS de su sistema no parece soportar el comando de lectura -usado por esa versión del código del menu de arranque. -¿Está seguro de que quiere hacer eso? - -(Seleccionando 'no' le devolverá al menú de edición de particiones.)} - -message installbootsel -{Su configuración requiere el código de bootselect de Makronix -para seleccionar que sistema usar. - -Actualmente no está instalado, ¿lo quiere instalar ahora?} - -message installmbr -{El código de arranque del Master Boot Record no parece ser válido. - -¿Quiere instalar el código de arranque de Makronix?} - -message updatembr -{¿Quiere actualizar el código de arranque en el Master Boot -Record a la ultima versión del código de arranque de Makronix?} - -message set_kernel_1 {Núcleo (GENERIC)} -message set_kernel_2 {Kernel (GENERIC_KASLR)} diff --git a/overlay/usr.sbin/sysinst/arch/i386/msg.md.fr b/overlay/usr.sbin/sysinst/arch/i386/msg.md.fr deleted file mode 100644 index 7d7aec3dbb..0000000000 --- a/overlay/usr.sbin/sysinst/arch/i386/msg.md.fr +++ /dev/null @@ -1,160 +0,0 @@ -/* $NetBSD: msg.md.fr,v 1.4 2019/11/16 21:25:14 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- french, i386 version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{ -} - -message Keyboard_type {Type de clavier} -message kb_default {fr} - -message dobad144 -{Installation de la table des blocs défectueux ... -} - -message getboottype -{Voulez-vous installer le programme de démarrage standard ou sur port série ? - -Le programme de démarrage standard utilise les périphériques définis par le -BIOS (en général le moniteur et le clavier). Le programme de démarrage sur -port série utilise quant à lui le premier port série. - -Programme de démarrage sélectionné : } - -message console_PC {Console du BIOS} -message console_com {Port série com%d, baud rate %d} -message console_unchanged {Pas de modification} - -message Bootblocks_selection -{Sélection du programme de démarrage} -message Use_normal_bootblocks {Console du BIOS } -message Use_serial_com0 {port série com0} -message Use_serial_com1 {port série com1} -message Use_serial_com2 {port série com2} -message Use_serial_com3 {port série com3} -message serial_baud_rate {Vitesse du port série} -message Use_existing_bootblocks {Conserver le programme de démarrage existant} - -message dobootblks -{Installation programme de démarrage sur %s ... -} - -message onebiosmatch -{Ce disque correspond au disque du BIOS suivant : - -} - -message onebiosmatch_header -{BIOS # cylindres têtes secteurs nb total de secteurs GB ------- --------- ----- -------- -------------------- ---- -} - -message onebiosmatch_row /* XXX adjust for length of titles above */ -{%#6x %9d %5d %8d %20u %3u\n} - -message This_is_the_correct_geometry -{C'est la bonne géométrie} -message Set_the_geometry_by_hand -{Entrer la géométrie} -message Use_one_of_these_disks -{Utiliser l'un de ces disques} - -message biosmultmatch -{Ce disque correspond aux disques du BIOS suivants : - -} - -message biosmultmatch_header -{ BIOS # cylindres têtes secteurs nb total de secteurs GB - ------ --------- ----- -------- -------------------- ---- -} - -message biosmultmatch_row /* XXX adjust for length of titles above */ -{%-1d: %#6x %9d %5d %8d %20u %3u\n} - -message biosgeom_advise -{ -Note: puisque sysinst a pu trouver une correspondance unique entre le -disque choisi et un disque connu du BIOS, les valeurs ci-dessus sont -probablement correctes. Modifiez-les uniquement si elles sont manifestement -fausses. -} - -message pickdisk -{Choisissez un disque : } - -message partabovechs -{La partition de votre disque réservée à Makronix se trouve en-dehors de l'espace -que le BIOS de votre machine peut adresser. L'amorçage depuis cette partition -ne sera peut-être pas possible. Voulez-vous réellement faire ceci ? - -('Non' vous ramènera au menu d'édition des partitions.)} - -message missing_bootmenu_text -{Vous avez plus d'un système d'exploitation sur ce disque, mais vous n'avez -pas spécifié d'entrée dans le menu de boot pour la partition active ou la -partition Makronix sur laquelle vous allez installer. - -Voulez-vous réediter la partition pour ajouter une entrée dans le menu de boot ?} - -message no_extended_bootmenu -{Vous avez ajouté une partition étendue au menu de boot, mais il semble que -le BIOS de votre système ne supporte pas la commande de lecture utilisée -par cette version du menu de boot. -Voulez-vous vraiment faire ceci ? - -('non' vous ramènera au menu d'édition des partitions.)} - -message installbootsel -{Votre configuration nécessite le selecteur de boot de Makronix pour choisir -le système d'exploitation à démarrer. -Il n'est pour l'instant pas installé, voulez-vous l'installer maintenant ?} - -message installmbr -{Le code d'amorçage dans le secteur de boot ne semble pas être valide. - -Voulez-vous installer le code d'amorçage de Makronix ?} - -message updatembr -{Voulez-vous mettre à jour le code d'amorçage dans le secteur de boot -avec la dernière version du code d'amorçage de Makronix ?} - -message set_kernel_1 {Kernel (GENERIC)} -message set_kernel_2 {Kernel (GENERIC_KASLR)} diff --git a/overlay/usr.sbin/sysinst/arch/i386/msg.md.pl b/overlay/usr.sbin/sysinst/arch/i386/msg.md.pl deleted file mode 100644 index 468e4b7db6..0000000000 --- a/overlay/usr.sbin/sysinst/arch/i386/msg.md.pl +++ /dev/null @@ -1,159 +0,0 @@ -/* $NetBSD: msg.md.pl,v 1.4 2019/11/16 21:25:14 martin Exp $ */ -/* Based on english version: */ -/* NetBSD: msg.md.en,v 1.24 2001/01/27 07:34:39 jmc Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- Polish, i386 version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{ -} - -message Keyboard_type {Keyboard type} -message kb_default {pl} - -message dobad144 -{Instalowanie tablicy zlych blokow ... -} - -message getboottype -{Czy chcesz zainstalowac normalne bootbloki, czy te do uzycia z zewn. konsola? - -Selected bootblock: } - -message console_PC {Konsola BIOS} -message console_com {Port szeregowy com%d, %d bodow} -message console_unchanged {Bez zmian} - -message Bootblocks_selection -{Wybor bootblokow} -message Use_normal_bootblocks {Uzyj konsoli BIOS} -message Use_serial_com0 {Uzyj portu szeregowego com0} -message Use_serial_com1 {Uzyj portu szeregowego com1} -message Use_serial_com2 {Uzyj portu szeregowego com2} -message Use_serial_com3 {Uzyj portu szeregowego com3} -message serial_baud_rate {Liczba bodow} -message Use_existing_bootblocks {Uzyj istniejacych bootblokow} - -message dobootblks -{Instalowanie bootblokow na %s.... -} - -message onebiosmatch -{Ten dysk odpowiada ponizszemu dyskowi BIOS: - -} - -message onebiosmatch_header -{BIOS # cylindry glowice sektory razem sektory GB ------- -------- ------- ------- ------------- ---- -} - -message onebiosmatch_row -{%#6x %8d %7d %7d %13u %3u\n} - -message This_is_the_correct_geometry -{To jest prawidlowa geometria} -message Set_the_geometry_by_hand -{Ustaw geometrie recznie} -message Use_one_of_these_disks -{Uzyj jednego z tych dyskow} - -message biosmultmatch -{Ten dysk odpowiada ponizszym dyskom BIOS: - -} - -message biosmultmatch_header -{ BIOS # cylindry glowice sektory razem sektory GB - ------ -------- ------- ------- ------------- ---- -} - -message biosmultmatch_row -{%-1d: %6x %8d %7d %7d %13u %3u\n} - -message biosgeom_advise -{ -Notatka: od kiedy sysinst jest w stanie unikalnie rozpoznac dysk, ktory -wybrales i powiazac go z dyskiem BIOS, wartosci wyswietlane powyzej sa -bardzo prawdopodobnie prawidlowe i nie powinny byc zmieniane. Zmieniaj je -tylko wtedy jesli sa naprawde _obrzydliwie_ zle. -} - -message pickdisk -{Wybierz dysk: } - -message partabovechs -{Czesc Makronix dysku lezy poza obszarem, ktory BIOS w twojej maszynie moze -zaadresowac. Nie mozliwe bedzie bootowanie z tego dysku. Jestes pewien, ze -chcesz to zrobic? - -(Odpowiedz 'nie' zabierze cie spowrotem do menu edycji partycji.)} - -message missing_bootmenu_text -{Masz wiecej niz jeden system operacyjny na tym dysku, ale nie -zostalo wskazane menu ani dla aktywnej partycji ani dla partycji -Makronix, ktora bedzie zainstalowana. - -Chcesz zmienic partycje, aby dodac wpis do menu?} - -message no_extended_bootmenu -{Wskazane zostalo, ze w menu zostanie zawarta partycja rozszerzona. -Nie wyglada na to, ze system BIOS wspiera polecenie odczytu uzywane -przez te wersje kodu menu. -Czy na pewno chcesz tak zrobic? - -(Odpowiedz 'nie' przeniesie z powrotem do menu zmiany partycji.)} - -message installbootsel -{Twoje konfiguracja wymaga kodu rozruchowego Makronix, aby -wybierac, ktorego systemu operacyjnego uzywac. - -Nie jest on obecnie zainstalowany. Czy zainstalowac go teraz?} - -message installmbr -{Kod rozruchowy w MBR nie wyglada na poprawny. - -Chcesz zainstalowac kod rozruchowy Makronix?} - -message updatembr -{Chcesz uaktualnic kod rozruchowy w MBR do najnowszej wersji -kodu rozruchowego Makronix?} - -message set_kernel_1 {Kernel (GENERIC)} -message set_kernel_2 {Kernel (GENERIC_KASLR)} diff --git a/overlay/usr.sbin/sysinst/arch/i386/msg.md.pt b/overlay/usr.sbin/sysinst/arch/i386/msg.md.pt deleted file mode 100644 index 8bd9961143..0000000000 --- a/overlay/usr.sbin/sysinst/arch/i386/msg.md.pt +++ /dev/null @@ -1,163 +0,0 @@ -/* $NetBSD: msg.md.pt,v 1.5 2024/01/16 21:04:26 gson Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- English, i386 version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{ -} - -message Keyboard_type {Tipo de teclado} -message kb_default {br} - -message dobad144 -{Instalando a tabela de blocos defeituosos ... -} - -message getboottype -{Deseja instalar o conjunto normal de blocos de boot ou o de console serial? - -Os blocos de boot normais usam o console da BIOS como console -(em geral o monitor e o teclado). Os blocos de boot seriais usam a porta -serial selecionada como console. - -Blocos de boot selecionados: } - -message console_PC {Console da BIOS} -message console_com {Porta serial com%d a %d baud} -message console_unchanged {Inalterado} - -message Bootblocks_selection -{Seleção dos blocos de boot} -message Use_normal_bootblocks {Usar console da BIOS} -message Use_serial_com0 {Usar porta serial com0} -message Use_serial_com1 {Usar porta serial com1} -message Use_serial_com2 {Usar porta serial com2} -message Use_serial_com3 {Usar porta serial com3} -message serial_baud_rate {Definir velocidade da porta serial} -message Use_existing_bootblocks {Usar blocos de boot existentes} - -message dobootblks -{Instalando blocos de boot em %s.... -} - -message onebiosmatch -{Este disco corresponde ao seguinte disco da BIOS: - -} - -message onebiosmatch_header -{BIOS # cilindros cabeças setores total setores GB ------- --------- ------- ------- ------------- ---- -} - -message onebiosmatch_row -{%#6x %9d %5d %7d %13u %3u\n} - -message This_is_the_correct_geometry -{Esta é a geometria correta} -message Set_the_geometry_by_hand -{Definir a geometria manualmente} -message Use_one_of_these_disks -{Usar um destes discos} - -message biosmultmatch -{Este disco corresponde aos seguintes discos da BIOS: - -} - -message biosmultmatch_header -{ BIOS # cilindros cabeças setores total setores GB - ------ --------- ------- ------- ------------- ---- -} - -message biosmultmatch_row -{%-1d: %#6x %9d %5d %7d %13u %3u\n} - -message biosgeom_advise -{ -Nota: como o sysinst conseguiu associar de forma única o disco escolhido a um -disco conhecido pela BIOS, os valores exibidos acima provavelmente estão -corretos e não devem ser alterados (os valores de cilindros, cabeças e setores -provavelmente são 1023, 255 e 63 - isto está correto). -Altere a geometria somente se souber que a BIOS informa valores incorretos. -} - -message pickdisk -{Escolha o disco: } - -message partabovechs -{A parte Makronix do disco fica fora da faixa que a BIOS do seu computador -consegue endereçar. -Talvez não seja possível iniciar o sistema a partir dela. -Tem certeza de que deseja fazer isso? - -(Responder 'não' leva de volta ao menu de edição de partições.)} - -message missing_bootmenu_text -{Há mais de um sistema operacional neste disco, mas você não especificou -um 'menu de boot' nem para a partição ativa nem para a partição Makronix -em que vai instalar. - -Deseja editar a partição de novo para adicionar uma entrada no menu de boot?} - -message no_extended_bootmenu -{Você pediu que uma partição estendida fosse incluída no menu de boot. -Porém a BIOS do seu sistema não parece suportar o comando de leitura usado -por essa versão do código do menu de boot. -Tem certeza de que deseja fazer isso? - -(Responder 'não' leva de volta ao menu de edição de partições.)} - -message installbootsel -{Sua configuração exige o código bootselect do Makronix para -selecionar qual sistema operacional usar. - -Ele não está instalado no momento. Deseja instalá-lo agora?} - -message installmbr -{O código de boot no Master Boot Record não parece ser válido. - -Deseja instalar o código de boot do Makronix?} - -message updatembr -{Deseja atualizar o código de boot no Master Boot Record para -a versão mais recente do código de boot do Makronix?} - -message set_kernel_1 {Kernel (GENERIC)} -message set_kernel_2 {Kernel (GENERIC_KASLR)} diff --git a/overlay/usr.sbin/sysinst/arch/landisk/Makefile b/overlay/usr.sbin/sysinst/arch/landisk/Makefile deleted file mode 100644 index 31f9c6bd28..0000000000 --- a/overlay/usr.sbin/sysinst/arch/landisk/Makefile +++ /dev/null @@ -1,10 +0,0 @@ -# $NetBSD: Makefile,v 1.2 2019/06/12 06:20:21 martin Exp $ -# -# Makefile for landisk -# - -MENUS_MD= menus.md.${SYSINSTLANG} -MSG_MD= msg.md.${SYSINSTLANG} msg.mbr.${SYSINSTLANG} -NO_MBR=no - -.include "../../Makefile.inc" diff --git a/overlay/usr.sbin/sysinst/arch/landisk/md.c b/overlay/usr.sbin/sysinst/arch/landisk/md.c deleted file mode 100644 index 1cebf965b9..0000000000 --- a/overlay/usr.sbin/sysinst/arch/landisk/md.c +++ /dev/null @@ -1,245 +0,0 @@ -/* $NetBSD: md.c,v 1.16 2022/10/02 10:21:36 martin Exp $ */ - -/* - * Copyright 1997,2002 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - */ - -/* md.c -- landisk machine specific routines */ - -#include -#include -#include -#include - -#include "defs.h" -#include "md.h" -#include "msg_defs.h" -#include "menu_defs.h" - -void -md_init(void) -{ -} - -void -md_init_set_status(int flags) -{ - (void)flags; -} - -bool -md_get_info(struct install_partition_desc *install) -{ - int res; - - if (pm->no_mbr || pm->no_part) - return true; - -again: - if (pm->parts == NULL) { - - const struct disk_partitioning_scheme *ps = - select_part_scheme(pm, NULL, true, NULL); - - if (!ps) - return false; - - struct disk_partitions *parts = - (*ps->create_new_for_disk)(pm->diskdev, - 0, pm->dlsize, true, NULL); - if (!parts) - return false; - - pm->parts = parts; - if (ps->size_limit > 0 && pm->dlsize > ps->size_limit) - pm->dlsize = ps->size_limit; - } - - res = set_bios_geom_with_mbr_guess(pm->parts); - if (res == 0) - return false; - else if (res == 1) - return true; - - pm->parts->pscheme->destroy_part_scheme(pm->parts); - pm->parts = NULL; - goto again; -} - -/* - * md back-end code for menu-driven BSD disklabel editor. - */ -int -md_make_bsd_partitions(struct install_partition_desc *install) -{ - return make_bsd_partitions(install); -} - -/* - * any additional partition validation - */ -bool -md_check_partitions(struct install_partition_desc *install) -{ - return true; -} - -/* - * hook called before writing new disklabel. - */ -bool -md_pre_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - - if (parts->parent == NULL) - return true; /* no outer partitions */ - - parts = parts->parent; - - msg_display_subst(MSG_dofdisk, 3, parts->disk, - msg_string(parts->pscheme->name), - msg_string(parts->pscheme->short_name)); - - /* write edited "MBR" onto disk. */ - if (!parts->pscheme->write_to_disk(parts) || - run_program(RUN_SILENT | RUN_ERROR_OK, - "/sbin/fdisk -f -i -c /usr/mdec/mbr %s", parts->disk)) { - msg_display(MSG_wmbrfail); - process_menu(MENU_ok, NULL); - return false; - } - return true; -} - -/* - * hook called after writing disklabel to new target disk. - */ -bool -md_post_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - return true; -} - -/* - * hook called after upgrade() or install() has finished setting - * up the target disk but immediately before the user is given the - * ``disks are now set up'' message. - * - * On the landisk, we use this opportunity to install the boot blocks. - */ -int -md_post_newfs(struct install_partition_desc *install) -{ - char *bootxx; - int error; - - msg_fmt_display(MSG_dobootblks, "%s", pm->diskdev); - cp_to_target("/usr/mdec/boot", "/boot"); - bootxx = bootxx_name(install); - if (bootxx != NULL) { - error = run_program(RUN_DISPLAY, - "/usr/sbin/installboot -v /dev/r%sa %s", pm->diskdev, bootxx); - free(bootxx); - } else - error = -1; - - if (error != 0) - process_menu(MENU_ok, - __UNCONST("Warning: disk is probably not bootable")); - - return 0; -} - -int -md_post_extract(struct install_partition_desc *install, bool upgrade) -{ - return 0; -} - -void -md_cleanup_install(struct install_partition_desc *install) -{ -#ifndef DEBUG - enable_rc_conf(); -#endif -} - -int -md_pre_update(struct install_partition_desc *install) -{ - return 1; -} - -/* Upgrade support */ -int -md_update(struct install_partition_desc *install) -{ - md_post_newfs(install); - return 1; -} - -int -md_check_mbr(struct disk_partitions *parts, mbr_info_t *mbri, bool quiet) -{ - return 2; -} - -bool -md_parts_use_wholedisk(struct disk_partitions *parts) -{ - return parts_use_wholedisk(parts, 0, NULL); -} - - -int -md_pre_mount(struct install_partition_desc *install, size_t ndx) -{ - return 0; -} - -bool -md_mbr_update_check(struct disk_partitions *parts, mbr_info_t *mbri) -{ - return false; /* no change, no need to write back */ -} - -#ifdef HAVE_GPT -bool -md_gpt_post_write(struct disk_partitions *parts, part_id root_id, - bool root_is_new, part_id efi_id, bool efi_is_new) -{ - /* no GPT boot support, nothing needs to be done here */ - return true; -} -#endif - diff --git a/overlay/usr.sbin/sysinst/arch/landisk/md.h b/overlay/usr.sbin/sysinst/arch/landisk/md.h deleted file mode 100644 index 1a64ddd75f..0000000000 --- a/overlay/usr.sbin/sysinst/arch/landisk/md.h +++ /dev/null @@ -1,71 +0,0 @@ -/* $NetBSD: md.h,v 1.2 2019/10/02 11:16:03 maya Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* md.h -- Machine specific definitions for the landisk */ - -/* landisk uses the mbr code. */ -#include "mbr.h" - -/* constants and defines */ - -/* Megs required for a full X installation. */ -#define XNEEDMB 340 - -/* have support for booting from UFS2 */ -#define HAVE_UFS2_BOOT - -/* have file system specific primary boot loader */ -#define HAVE_BOOTXX_xFS -#define BOOTXXDIR "/usr/mdec" -#define BOOTXX_FFSV1 "bootxx_ffsv1" -#define BOOTXX_FFSV2 "bootxx_ffsv2" - -/* - * Default filesets to fetch and install during installation or upgrade. - * The standard sets are: base etc comp games man misc rescue tests text - */ -#define SET_KERNEL_1_NAME "kern-GENERIC" - -#define MD_SETS_SELECTED SET_KERNEL_1, SET_SYSTEM, SET_X11_NOSERVERS - -/* - * Machine-specific command to write a new label to a disk. - * For example, bebox uses "/sbin/disklabel -w -r", just like bebox - * miniroot scripts, though this may leave a bogus incore label. - * Sun ports should probably use DISKLABEL_CMD "/sbin/disklabel -w" - * to get incore to ondisk inode translation for the Sun proms. - * If not defined, we assume the port does not support disklabels and - * hand-edited disklabel will NOT be written by MI code. - */ -#define DISKLABEL_CMD "disklabel -w -r" diff --git a/overlay/usr.sbin/sysinst/arch/landisk/menus.md.en b/overlay/usr.sbin/sysinst/arch/landisk/menus.md.en deleted file mode 100644 index f0af9c4262..0000000000 --- a/overlay/usr.sbin/sysinst/arch/landisk/menus.md.en +++ /dev/null @@ -1,36 +0,0 @@ -/* $NetBSD: menus.md.en,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Menu definitions for sysinst. landisk version, machine dependent. */ - diff --git a/overlay/usr.sbin/sysinst/arch/landisk/menus.md.es b/overlay/usr.sbin/sysinst/arch/landisk/menus.md.es deleted file mode 100644 index 2245816582..0000000000 --- a/overlay/usr.sbin/sysinst/arch/landisk/menus.md.es +++ /dev/null @@ -1,36 +0,0 @@ -/* $NetBSD: menus.md.es,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Menu definitions for sysinst. landisk version, machine dependent. */ - diff --git a/overlay/usr.sbin/sysinst/arch/landisk/menus.md.fr b/overlay/usr.sbin/sysinst/arch/landisk/menus.md.fr deleted file mode 100644 index 432481bc01..0000000000 --- a/overlay/usr.sbin/sysinst/arch/landisk/menus.md.fr +++ /dev/null @@ -1,36 +0,0 @@ -/* $NetBSD: menus.md.fr,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Menu definitions for sysinst. landisk version, machine dependent. */ - diff --git a/overlay/usr.sbin/sysinst/arch/landisk/menus.md.pl b/overlay/usr.sbin/sysinst/arch/landisk/menus.md.pl deleted file mode 100644 index 79e470c7c4..0000000000 --- a/overlay/usr.sbin/sysinst/arch/landisk/menus.md.pl +++ /dev/null @@ -1,38 +0,0 @@ -/* $NetBSD: menus.md.pl,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ -/* Based on english version: */ -/* NetBSD: menus.md.en,v 1.2 2001/11/29 23:21:01 thorpej Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Menu definitions for sysinst. sandpoint version, machine dependent. */ - diff --git a/overlay/usr.sbin/sysinst/arch/landisk/msg.md.de b/overlay/usr.sbin/sysinst/arch/landisk/msg.md.de deleted file mode 100644 index eff6344dd1..0000000000 --- a/overlay/usr.sbin/sysinst/arch/landisk/msg.md.de +++ /dev/null @@ -1,55 +0,0 @@ -/* $NetBSD: msg.md.de,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- German, landisk version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Wenn Sie von einer Diskette gebootet haben, können Sie diese jetzt -entfernen. -} - -message dobad144 -{Installiere die Tabelle der defekten Blöcke ... -} - -message dobootblks -{Installiere die Bootblöcke auf %s ... -} - -message set_kernel_1 -{Kernel (GENERIC)} diff --git a/overlay/usr.sbin/sysinst/arch/landisk/msg.md.en b/overlay/usr.sbin/sysinst/arch/landisk/msg.md.en deleted file mode 100644 index 51522cecc7..0000000000 --- a/overlay/usr.sbin/sysinst/arch/landisk/msg.md.en +++ /dev/null @@ -1,54 +0,0 @@ -/* $NetBSD: msg.md.en,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- english, landisk version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{If you booted from a floppy, you may now remove the disk. -} - -message dobad144 -{Installing the bad block table ... -} - -message dobootblks -{Installing boot blocks on %s.... -} - -message set_kernel_1 -{Kernel (GENERIC)} diff --git a/overlay/usr.sbin/sysinst/arch/landisk/msg.md.es b/overlay/usr.sbin/sysinst/arch/landisk/msg.md.es deleted file mode 100644 index 2983da134a..0000000000 --- a/overlay/usr.sbin/sysinst/arch/landisk/msg.md.es +++ /dev/null @@ -1,54 +0,0 @@ -/* $NetBSD: msg.md.es,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- spanish, bebox version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Si ha iniciado desde disquette, ahora debería retirar el disco. -} - -message dobad144 -{Instalando la tabla de bloques malos ... -} - -message dobootblks -{Instalando bloques de arranque en %s.... -} - -message set_kernel_1 -{Núcleo (GENERIC)} diff --git a/overlay/usr.sbin/sysinst/arch/landisk/msg.md.fr b/overlay/usr.sbin/sysinst/arch/landisk/msg.md.fr deleted file mode 100644 index 16dc000117..0000000000 --- a/overlay/usr.sbin/sysinst/arch/landisk/msg.md.fr +++ /dev/null @@ -1,54 +0,0 @@ -/* $NetBSD: msg.md.fr,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- french, bebox version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Si vous avez démarré sur une disquette, vous pouvez maintenant la retirer. -} - -message dobad144 -{Installation de la table des blocs défectueux ... -} - -message dobootblks -{Installation des blocs de démarrage sur %s ... -} - -message set_kernel_1 -{Kernel (GENERIC)} diff --git a/overlay/usr.sbin/sysinst/arch/landisk/msg.md.pl b/overlay/usr.sbin/sysinst/arch/landisk/msg.md.pl deleted file mode 100644 index fe04e95ad0..0000000000 --- a/overlay/usr.sbin/sysinst/arch/landisk/msg.md.pl +++ /dev/null @@ -1,56 +0,0 @@ -/* $NetBSD: msg.md.pl,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ -/* Based on english version: */ -/* NetBSD: msg.md.en,v 1.1 2001/10/24 19:43:40 briggs Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- Polish, sandpoint version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Jesli uruchomiles komputer z dyskietki, mozesz ja teraz wyciagnac. -} - -message dobad144 -{Instalowanie tablicy zlych blokow ... -} - -message dobootblks -{Instalowanie bootblokow na %s.... -} - -message set_kernel_1 -{Kernel (GENERIC)} diff --git a/overlay/usr.sbin/sysinst/arch/luna68k/Makefile b/overlay/usr.sbin/sysinst/arch/luna68k/Makefile deleted file mode 100644 index 1f2faa6eb0..0000000000 --- a/overlay/usr.sbin/sysinst/arch/luna68k/Makefile +++ /dev/null @@ -1,18 +0,0 @@ -# $NetBSD: Makefile,v 1.2 2022/06/11 16:41:55 tsutsui Exp $ -# -# Makefile for luna68k -# - -MD_OPTIONS= AOUT2ELF # Who will update from NetBSD/luna68k 1.5!? - -LANGUAGES= # won't bother to prepare translations - -.ifdef SMALLPROG -CHECK_ENTROPY= no # do not check entropy/offer adding -NOPARTMAN= yes -NO_GPT= yes -NO_MBR= yes -NO_CLONES= yes -.endif - -.include "../../Makefile.inc" diff --git a/overlay/usr.sbin/sysinst/arch/luna68k/md.c b/overlay/usr.sbin/sysinst/arch/luna68k/md.c deleted file mode 100644 index 5cd0cfd095..0000000000 --- a/overlay/usr.sbin/sysinst/arch/luna68k/md.c +++ /dev/null @@ -1,310 +0,0 @@ -/* $NetBSD: md.c,v 1.12 2024/02/10 18:43:54 andvar Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - */ - -/* md.c -- luna68k machine specific routines */ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "defs.h" -#include "md.h" -#include "msg_defs.h" -#include "menu_defs.h" - -#define PART_BOOT_BSIZE 4096 -#define PART_BOOT_FSIZE 512 - -void -md_init(void) -{ -} - -void -md_init_set_status(int flags) -{ - - (void)flags; -} - -bool -md_get_info(struct install_partition_desc *install) -{ - struct disklabel disklabel; - int fd; - char dev_name[100]; - - snprintf(dev_name, sizeof(dev_name), "/dev/r%sc", pm->diskdev); - - fd = open(dev_name, O_RDONLY, 0); - if (fd < 0) { - endwin(); - fprintf (stderr, "Can't open %s\n", dev_name); - exit(1); - } - if (ioctl(fd, DIOCGDINFO, &disklabel) == -1) { - endwin(); - fprintf (stderr, "Can't read disklabel on %s.\n", dev_name); - close(fd); - exit(1); - } - close(fd); - - pm->dlcyl = disklabel.d_ncylinders; - pm->dlhead = disklabel.d_ntracks; - pm->dlsec = disklabel.d_nsectors; - pm->sectorsize = disklabel.d_secsize; - pm->dlcylsize = disklabel.d_secpercyl; - - /* - * Compute whole disk size. Take max of (pm->dlcyl*pm->dlhead*pm->dlsec) - * and secperunit, just in case the disk is already labelled. - * (If our new label's RAW_PART size ends up smaller than the - * in-core RAW_PART size value, updating the label will fail.) - */ - pm->dlsize = pm->dlcyl * pm->dlhead * pm->dlsec; - if (disklabel.d_secperunit > pm->dlsize) - pm->dlsize = disklabel.d_secperunit; - - return true; -} - -/* - * md back-end code for menu-driven BSD disklabel editor. - */ -int -md_make_bsd_partitions(struct install_partition_desc *install) -{ - - return make_bsd_partitions(install); -} - -static part_id -find_boot_part(struct install_partition_desc *install) -{ - for (size_t i = 0; i < install->num; i++) { - if (install->infos[i].fs_type != PART_BOOT_TYPE) - continue; - if (install->infos[i].fs_version != PART_BOOT_SUBT) - continue; - if (install->infos[i].size < (PART_BOOT/512)) - continue; - if (install->infos[i].cur_start > 0) - continue; - return i; - } - return NO_PART; -} - -/* - * any additional partition validation - */ -bool -md_check_partitions(struct install_partition_desc *install) -{ - - /* - * Make sure that a boot partition (old 4.3BSD UFS) is prepared - * properly for our native bootloader. - */ - if (find_boot_part(install) != NO_PART) - return true; - - msg_display(MSG_nobootpartdisklabel); - process_menu(MENU_ok, NULL); - return false; -} - -/* - * hook called before writing new disklabel. - */ -bool -md_pre_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - - return true; -} - -/* - * hook called after writing disklabel to new target disk. - */ -bool -md_post_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - return true; -} - -static int -copy_bootloader(const char *diskdev) -{ - const char *mntdir = "/mnt2"; - - msg_fmt_display(MSG_copybootloader, "%s", diskdev); - if (!run_program(RUN_SILENT | RUN_ERROR_OK, - "mount %s %s", diskdev, mntdir)) { - mnt2_mounted = 1; - run_program(0, "/bin/cp /usr/mdec/boot %s", mntdir); - run_program(RUN_SILENT | RUN_ERROR_OK, "umount %s", mntdir); - mnt2_mounted = 0; - } else { - /* XXX print proper error message */ - return 1; - } - return 0; -} - -/* - * hook called after install() has finished setting up the target disk - * but immediately before the user is given the ``disks are now set up'' - * message. - */ -int -md_post_newfs(struct install_partition_desc *install) -{ - char rdisk[STRSIZE], disk[STRSIZE]; - part_id boot_part = find_boot_part(install); - - if (boot_part == NO_PART) - return 1; - - if (!install->infos[boot_part].parts->pscheme->get_part_device( - install->infos[boot_part].parts, - install->infos[boot_part].cur_part_id, - rdisk, sizeof rdisk, NULL, raw_dev_name, true, true)) - return 1; - if (!install->infos[boot_part].parts->pscheme->get_part_device( - install->infos[boot_part].parts, - install->infos[boot_part].cur_part_id, - disk, sizeof disk, NULL, plain_name, true, true)) - return 1; - - if (run_program(RUN_DISPLAY | RUN_PROGRESS, - "/sbin/newfs -V2 -O 0 -b %d -f %d %s", - PART_BOOT_BSIZE, PART_BOOT_FSIZE, rdisk)) - return 1; - return copy_bootloader(disk); -} - -int -md_post_extract(struct install_partition_desc *install, bool upgrade) -{ - - return 0; -} - -void -md_cleanup_install(struct install_partition_desc *install) -{ - -#ifndef DEBUG - enable_rc_conf(); -#endif - msg_display(MSG_howtoboot); - process_menu(MENU_ok, NULL); -} - -int -md_pre_update(struct install_partition_desc *install) -{ - return 1; -} - -/* Upgrade support */ -int -md_update(struct install_partition_desc *install) -{ - const char *mntdir = "/mnt2"; - char bootpath[MAXPATHLEN]; - struct stat sb; - bool hasboot = false; - char disk[STRSIZE]; - part_id boot_part = find_boot_part(install); - - if (boot_part == NO_PART) - return 0; - - if (!install->infos[boot_part].parts->pscheme->get_part_device( - install->infos[boot_part].parts, - install->infos[boot_part].cur_part_id, - disk, sizeof disk, NULL, plain_name, true, true)) - return 0; - - /* - * Check if there is a boot UFS partition and it has the old bootloader. - * We'll update bootloader only if the old one was installed. - */ - if (!run_program(RUN_SILENT | RUN_ERROR_OK, - "mount -r %s %s", disk, mntdir)) { - mnt2_mounted = 1; - snprintf(bootpath, sizeof(bootpath), "%s/%s", mntdir, "boot"); - if (stat(bootpath, &sb) == 0 && S_ISREG(sb.st_mode)) - hasboot = true; - run_program(RUN_SILENT | RUN_ERROR_OK, "umount %s", mntdir); - mnt2_mounted = 0; - if (hasboot) - (void)copy_bootloader(disk); - } - return 1; -} - -int -md_pre_mount(struct install_partition_desc *install, size_t ndx) -{ - return 0; -} - -bool -md_parts_use_wholedisk(struct disk_partitions *parts) -{ - return parts_use_wholedisk(parts, 0, NULL); -} - -#ifdef HAVE_GPT -bool -md_gpt_post_write(struct disk_partitions *parts, part_id root_id, - bool root_is_new, part_id efi_id, bool efi_is_new) -{ - /* no GPT boot support, nothing needs to be done here */ - return true; -} -#endif diff --git a/overlay/usr.sbin/sysinst/arch/luna68k/md.h b/overlay/usr.sbin/sysinst/arch/luna68k/md.h deleted file mode 100644 index a788bb78ba..0000000000 --- a/overlay/usr.sbin/sysinst/arch/luna68k/md.h +++ /dev/null @@ -1,78 +0,0 @@ -/* $NetBSD: md.h,v 1.7 2023/01/06 18:14:56 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* md.h -- Machine specific definitions for the luna68k */ - -/* Constants and defines */ - -/* - * Symbolic names for disk partitions - */ - -#define PART_BOOT (8 * MEG) /* for a.out kernel and boot */ -#define PART_BOOT_TYPE FS_BSDFFS -#define PART_BOOT_SUBT 1 /* old 4.3BSD UFS */ - -#define DEFROOTSIZE 40 /* Default root size */ -#define DEFSWAPSIZE 32 /* Default swap size */ -#define DEFVARSIZE 32 /* Default /var size, if created */ -#define DEFUSRSIZE 700 /* Default /usr size, if created */ -#define XNEEDMB 250 /* Extra megs for full X installation */ -#define DEBNEEDMB 800 /* Extra megs for debug sets */ - -/* - * Default filesets to fetch and install during installation - * or upgrade. - */ -#define SET_KERNEL_1_NAME "kern-GENERIC" - -/* - * Machine-specific command to write a new label to a disk. - * If not defined, we assume the port does not support disklabels and - * the hand-edited disklabel will NOT be written by MI code. - */ -#define DISKLABEL_CMD "disklabel -w -r" - -/* - * Our boot partition is FFSv1, so it will be reported as PT_root - * and might take up disklabel slot 0 (partition 'a'), which we would - * like to avoid and make it use 'd' instead. - * Only allow PT_root partitions for slots before RAW_PART if they - * start past the boot partition size. - */ -#define MD_DISKLABEL_PART_INDEX_CHECK(DL,NDX,INFO) \ - (((INFO)->nat_type->generic_ptype != PT_root) \ - || (NDX > RAW_PART) \ - || ((INFO)->start >= (PART_BOOT/512))) diff --git a/overlay/usr.sbin/sysinst/arch/luna68k/menus.md.en b/overlay/usr.sbin/sysinst/arch/luna68k/menus.md.en deleted file mode 100644 index 165e7c8d8f..0000000000 --- a/overlay/usr.sbin/sysinst/arch/luna68k/menus.md.en +++ /dev/null @@ -1,37 +0,0 @@ -/* $NetBSD: menus.md.en,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* luna68k machine dependent menus, english */ - diff --git a/overlay/usr.sbin/sysinst/arch/luna68k/msg.md.en b/overlay/usr.sbin/sysinst/arch/luna68k/msg.md.en deleted file mode 100644 index cf81acf90c..0000000000 --- a/overlay/usr.sbin/sysinst/arch/luna68k/msg.md.en +++ /dev/null @@ -1,73 +0,0 @@ -/* $NetBSD: msg.md.en,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* luna68k machine dependent messages, english */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{ -} - -message nobootpartdisklabel -{There is no boot UFS partition in the disklabel. The boot partition should -be prepared for the LUNA's firmware to load our native bootloader.} - -message copybootloader -{Copying bootloader into the 4.3BSD boot partition on %s... -} - -message howtoboot -{The installation is almost complete. Note the installer doesn't set -firmware NVRAM variables to load NetBSD's bootloader by default. - -To boot NetBSD, you need to set boot NVRAM variables 'drv' -(or 'id' on LUNA-II), 'par' (partition, should be 'd'), and 'fname' -(filename, should be 'boot') by 'k' (Set Boot-file constant) command. - -On LUNA-I, drv 0 is SCSI ID 6 disk, and drv 1 is SCSI ID 5 disk. -The firmware can't boot from other SCSI ID disks. -On LUNA-II, 'id' is SCSI ID and you can also specify the external SCSI -controller number (1) like '1-6'. - -Check 'h' (Help) and 'hk' (Help of 'k' command) commands on the firmware -prompt for more details. -} - -message set_kernel_1 -{Kernel (GENERIC)} diff --git a/overlay/usr.sbin/sysinst/arch/mac68k/Makefile b/overlay/usr.sbin/sysinst/arch/mac68k/Makefile deleted file mode 100644 index a8b98e113a..0000000000 --- a/overlay/usr.sbin/sysinst/arch/mac68k/Makefile +++ /dev/null @@ -1,18 +0,0 @@ -# $NetBSD: Makefile,v 1.4 2023/06/03 21:33:25 lukem Exp $ -# -# Makefile for mac68k -# - -MD_OPTIONS= AOUT2ELF -NODISKLABEL= yes -LANGUAGES= en pl de - -.ifdef SMALLPROG -NOPARTMAN= yes -NO_GPT= yes -NO_MBR= yes -.endif - -COPTS.md.c= ${CC_WNO_STRINGOP_TRUNCATION} - -.include "../../Makefile.inc" diff --git a/overlay/usr.sbin/sysinst/arch/mac68k/md.c b/overlay/usr.sbin/sysinst/arch/mac68k/md.c deleted file mode 100644 index 3e77119c75..0000000000 --- a/overlay/usr.sbin/sysinst/arch/mac68k/md.c +++ /dev/null @@ -1,1217 +0,0 @@ -/* $NetBSD: md.c,v 1.14 2025/07/29 19:07:53 andvar Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - */ - -/* md.c -- mac68k machine specific routines */ - -#include -#include -#include -#include -#include -#include -#include - -#include "defs.h" -#include "md.h" -#include "msg_defs.h" -#include "menu_defs.h" - -static int stricmp(const char *c1, const char *c2); -static void setpartition(struct apple_part_map_entry *, char *, int); -static int getFreeLabelEntry(char *); -static char *getFstype(struct apple_part_map_entry *, int, char *); -static char *getUse(struct apple_part_map_entry *, int, char *); -static char *getName(struct apple_part_map_entry *, int, char *); -static int findStdType(int, char *, int, int *, int); -static int check_for_errors(void); -static int edit_diskmap(void); -#ifdef MD_DEBUG_SORT_MERGE -static int md_debug_dump(char *); -#endif - -int blk_size; - -MAP_TYPE map_types[] = { - {MAP_RESERVED, APPLE_PART_TYPE_DRIVER}, - {MAP_RESERVED, APPLE_PART_TYPE_DRIVER43}, - {MAP_RESERVED, APPLE_PART_TYPE_DRIVERATA}, - {MAP_RESERVED, APPLE_PART_TYPE_FWB_COMPONENT}, - {MAP_MACOS, APPLE_PART_TYPE_MAC}, - {MAP_NETBSD, APPLE_PART_TYPE_NETBSD}, - {MAP_RESERVED, APPLE_PART_TYPE_PARTMAP}, - {MAP_OTHER, APPLE_PART_TYPE_SCRATCH}, - {MAP_NETBSD, APPLE_PART_TYPE_UNIX}, - {MAP_EOL, NULL} -}; - -MAP map = {0, 0, 0, 0, 0, 0, 0, 0, {0}, NULL}; - -struct apple_part_map_entry new_map[] = -{ - { APPLE_PART_MAP_ENTRY_MAGIC, 0xa5a5, 6, 1, NEW_MAP_SIZE & 0x7e, - "Apple", "Apple_Partition_Map", 0, NEW_MAP_SIZE, 0x37, - 0, 0, 0, 0, 0, 0, 0, {0}, {0}, {0}}, - { APPLE_PART_MAP_ENTRY_MAGIC, 0, 6, 64, 32, - "Macintosh", "Apple_Driver", 0, 0, 0x37, - 0, 0, 0, 0, 0, 0, 0, {0}, {0}, {0}}, - { APPLE_PART_MAP_ENTRY_MAGIC, 0, 6, 96, 64, - "Macintosh", "Apple_Driver43", 0, 0, 0x37, - 0, 0, 0, 0, 0, 0, 0, {0}, {0}, {0}}, - { APPLE_PART_MAP_ENTRY_MAGIC, 0, 6, 160, 64, - "Macintosh", "Apple_Driver_ATA", 0, 0, 0x37, - 0, 0, 0, 0, 0, 0, 0, {0}, {0}, {0}}, - { APPLE_PART_MAP_ENTRY_MAGIC, 0, 6, 224, 4096, - "untitled", "Apple_HFS", 0, 0, 0x37, - 0, 0, 0, 0, 0, 0, 0, {0}, {0}, {0}}, - { APPLE_PART_MAP_ENTRY_MAGIC, 0, 6,4320, 0, - "untitled", "Apple_Free", 0, 0, 0x37, - 0, 0, 0, 0, 0, 0, 0, {0}, {0}, {0}} -}; - -void -md_init(void) -{ -} - -void -md_init_set_status(int flags) -{ - struct utsname instsys; - - (void)flags; - - /* - * Get the name of the Install Kernel we are running under and - * enable the installation of the corresponding GENERIC kernel. - * - * Note: In md.h the two kernels are disabled. If they are - * enabled there the logic here needs to be switched. - */ - uname(&instsys); - if (strstr(instsys.version, "(INSTALLSBC)")) - /* - * Running the SBC Installation Kernel, so enable GENERICSBC - */ - set_kernel_set(SET_KERNEL_2); - else - /* - * Running the GENERIC Installation Kernel, so enable GENERIC - */ - set_kernel_set(SET_KERNEL_1); -} - -bool -md_get_info(struct install_partition_desc *install) -{ - struct disklabel disklabel; - int fd, i; - char dev_name[100]; - struct apple_part_map_entry block; - - snprintf(dev_name, sizeof(dev_name), "/dev/r%s%c", - pm->diskdev, 'a' + getrawpartition()); - - /* - * Open the disk as a raw device - */ - fd = open(dev_name, O_RDONLY, 0); - if (fd < 0) { - endwin(); - fprintf (stderr, "Can't open %s\n", dev_name); - exit(1); - } - /* - * Try to get the default disklabel info for the device - */ - if (ioctl(fd, DIOCGDINFO, &disklabel) == -1) { - endwin(); - fprintf (stderr, "Can't read disklabel on %s\n", dev_name); - close(fd); - exit(1); - } - /* - * Get the disk parameters from the disk driver. It should have - * obtained them by querying the disk itself. - */ - blk_size = disklabel.d_secsize; - pm->dlcyl = disklabel.d_ncylinders; - pm->dlhead = disklabel.d_ntracks; - pm->dlsec = disklabel.d_nsectors; - /* - * Just in case, initialize the structures we'll need if we - * need to completely initialize the disk. - */ - pm->dlsize = disklabel.d_secperunit; -/* - * XXX this code is broken: it accesses off the end of new_map[], - * because NEW_MAP_SIZE is substantially larger than the number of - * entries in new_map[]. Based on the description of struct - * apple_part_map_entry in sys/bootblock.h, and the usage of it in - * new_map[], NEW_MAP_SIZE is expected to be a block count, not an - * entry count. As far I can tell the logic here is just wrong; it - * needs someone with platform knowledge to sort it out. - * - * Note that nothing uses the data this writes into new_map[] so - * disabling it should have no adverse consequences. - * - * - dholland 20160530 - */ -#if 0 /* XXX broken */ - for (i=0;i 0) - new_map[i].pmPyPartStart = new_map[i-1].pmPyPartStart + - new_map[i-1].pmPartBlkCnt; - new_map[i].pmDataCnt = new_map[i].pmPartBlkCnt; - if (new_map[i].pmPartBlkCnt == 0) { - new_map[i].pmPartBlkCnt = pm->dlsize; - new_map[i].pmDataCnt = pm->dlsize; - break; - } - pm->dlsize -= new_map[i].pmPartBlkCnt; - } -#endif /* 0 - broken */ - pm->dlsize = disklabel.d_secperunit; -#if 0 - msg_fmt_display(MSG_dldebug, "%d%d%d%d%d", - blk_size, pm->dlcyl, pm->dlhead, pm->dlsec, pm->dlsize); - process_menu(MENU_ok, NULL); -#endif - map.size = 0; - /* - * Verify the disk has been initialized for MacOS use by checking - * to see if the disk have a Boot Block - */ - if (lseek(fd, (off_t)0 * blk_size, SEEK_SET) < 0 || - read(fd, &block, sizeof(block)) - sizeof(block) != 0 || - block.pmSig != 0x4552) { - process_menu(MENU_nodiskmap, NULL); - } - else { - /* - * Scan for the Partition Map entry that describes the Partition - * Map itself. We need to know the number of blocks allocated - * to it and the number currently in use. - */ - for (i=0;iparts->pscheme->delete_all_partitions(pm->parts); - - /* - * Now, scan through the Disk Partition Map and transfer the - * information into the incore disklabel. - */ - for (i=0;iflags.part) { - mountpoint = NULL; - fs_type = FS_UNUSED; - switch (whichType(&map.blk[j])) { - case HFS_PART: - fs_type = FS_HFS; - mountpoint = (const char*)bzb->mount_point; - break; - case ROOT_PART: - case UFS_PART: - fs_type = FS_BSDFFS; - mountpoint = (const char*)bzb->mount_point; - break; - case SWAP_PART: - fs_type = FS_SWAP; - break; - case SCRATCH_PART: - fs_type = FS_OTHER; - mountpoint = (const char*)bzb->mount_point; - break; - default: - continue; - } - if (fs_type != FS_UNUSED) { - memset(&info, 0, sizeof info); - info.start = map.blk[j].pmPyPartStart; - info.size = map.blk[j].pmPartBlkCnt; - info.fs_type = fs_type; - info.last_mounted = mountpoint; - info.nat_type = pm->parts->pscheme->get_fs_part_type( - PT_root, fs_type, 0); - pid = pm->parts->pscheme->add_outer_partition(pm->parts, - &info, NULL); - if (pid == NO_PART) - return 0; - } - } - } - - /* Disk name - don't bother asking, just use the physical name*/ - pm->parts->pscheme->set_disk_pack_name(pm->parts, pm->diskdev); - - /* Write the converted partitions */ - if (!pm->parts->pscheme->write_to_disk(pm->parts)) - return 0; - - /* now convert to install info */ - if (!install_desc_from_parts(install, pm->parts)) - return 0; - - /* set newfs flag for all FFS partitions */ - for (ndx = 0; ndx < install->num; ndx++) { - if (install->infos[ndx].fs_type == FS_BSDFFS && - install->infos[ndx].size > 0 && - (install->infos[ndx].instflags & PUIINST_MOUNT)) - install->infos[ndx].instflags |= PUIINST_NEWFS; - } - - return 1; -} - -/* - * any additional partition validation - */ -bool -md_check_partitions(struct install_partition_desc *install) -{ - return true; -} - -/* - * hook called before writing new disklabel. - */ -bool -md_pre_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - int fd; - char dev_name[100]; - struct disklabel lp; - Block0 new_block0 = {APPLE_DRVR_MAP_MAGIC, 512, - 0, 0, 0, 0, 0, 0, 0, 0, {0}}; - - /* - * Danger Will Robinson! We're about to turn that nice MacOS disk - * into an expensive doorstop... - */ - printf ("%s", msg_string (MSG_dodiskmap)); - - snprintf (dev_name, sizeof(dev_name), "/dev/r%sc", pm->diskdev); - /* - * Open the disk as a raw device - */ - if ((fd = open(dev_name, O_WRONLY, 0)) < 0) { - endwin(); - fprintf(stderr, "Can't open %s to rewrite the Disk Map\n", dev_name); - exit (1); - } - /* - * First check the pmSigPad field of the first block in the incore - * Partition Map. It should be zero, but if it's 0xa5a5 that means - * we need to write out Block0 too. - */ - if (map.blk[0].pmSigPad == 0xa5a5) { - if (lseek (fd, (off_t)0 * blk_size, SEEK_SET) < 0) { - endwin(); - fprintf (stderr, "Can't position to write Block0\n"); - close (fd); - exit (1); - } - new_block0.sbBlkCount = pm->dlsize; /* Set disk size */ - if (write (fd, &new_block0, blk_size) != blk_size) { - endwin(); - fprintf (stderr, "I/O error writing Block0\n"); - close (fd); - exit (1); - } - map.blk[0].pmSigPad = 0; - } - if (lseek (fd, (off_t)1 * blk_size, SEEK_SET) < 0) { - endwin(); - fprintf (stderr, "Can't position disk to rewrite Disk Map\n"); - close (fd); - exit (1); - } - if (write (fd, map.blk, map.size * blk_size) != (map.size * blk_size)) { - endwin(); - fprintf(stderr, "I/O error writing Disk Map\n"); - close (fd); - exit (1); - } - fsync(fd); - /* - * Well, if we get here the dirty deed has been done. - * - * Now we need to force the incore disk table to get updated. This - * should be done by disklabel -- which is normally called right after - * we return -- but may be commented out for the mac68k port. We'll - * instead update the incore table by forcing a dummy write here. This - * relies on a change in the mac68k-specific write_disklabel() routine. - * If that change doesn't exist nothing bad happens here. If disklabel - * properly updates the ondisk and incore labels everything still - * works. Only if we fail here and if disklabel fails are we in - * in a state where we've updated the disk but not the incore and - * a reboot is necessary. - * - * First, we grab a copy of the incore label as it existed before - * we did anything to it. Then we invoke the "write label" ioctl to - * rewrite it to disk. As a result, the ondisk partition map is - * re-read and the incore label is reconstructed from it. If - * disklabel() is then called to update again, either that fails - * because the mac68k port doesn't support native disklabels, or it - * succeeds and writes out a new ondisk copy. - */ - ioctl(fd, DIOCGDINFO, &lp); /* Get the current disk label */ - ioctl(fd, DIOCWDINFO, &lp); /* Write it out again */ - - close (fd); - return true; -} - -/* - * hook called after writing disklabel to new target disk. - */ -bool -md_post_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ -#if 0 // XXX - struct disklabel updated_label; - int fd, i, no_match; - char dev_name[100], buf[80]; - const char *fst[] = {"free", "swap", " v6 ", " v7 ", "sysv", "v71k", - " v8 ", "ffs ", "dos ", "lfs ", "othr", "hpfs", - "9660", "boot", "ados", "hfs ", "fcor", "ex2f", - "ntfs", "raid", "ccd "}; - - snprintf(dev_name, sizeof(dev_name), "/dev/r%sc", pm->diskdev); - /* - * Open the disk as a raw device - */ - if ((fd = open(dev_name, O_RDONLY, 0)) < 0) - return false; - /* - * Get the "new" label to see if we were successful. If we aren't - * we'll return an error to keep from destroying the user's disk. - */ - ioctl(fd, DIOCGDINFO, &updated_label); - close(fd); - /* - * Make sure the in-core label matches the on-disk one - */ - no_match = 0; - for (i=0;i updated_label.d_npartitions) - break; - if (pm->bsdlabel[i].pi_size != updated_label.d_partitions[i].p_size) - no_match = 1; - if (pm->bsdlabel[i].pi_size) { - if (pm->bsdlabel[i].pi_offset != updated_label.d_partitions[i].p_offset) - no_match = 1; - if (pm->bsdlabel[i].pi_fstype != updated_label.d_partitions[i].p_fstype) - no_match = 1; - } - if (no_match) - break; - } - /* - * If the labels don't match, tell the user why - */ - if (no_match) { - msg_clear(); - msg_display(MSG_label_error); - msg_fmt_table_add(MSG_dump_line, "%s", - " in-core: offset size type on-disk: offset size type"); - for (i=0;ibsdlabel[i].pi_offset, pm->bsdlabel[i].pi_size, - fst[pm->bsdlabel[i].pi_fstype], - updated_label.d_partitions[i].p_offset, - updated_label.d_partitions[i].p_size, - fst[updated_label.d_partitions[i].p_fstype]); - msg_fmt_table_add(MSG_dump_line, "%s", buf); - } - process_menu(MENU_ok2, NULL); - } - return no_match == 0; -#else - return true; -#endif -} - -/* - * hook called after upgrade() or install() has finished setting - * up the target disk but immediately before the user is given the - * ``disks are now set up'' message. - */ -int -md_post_newfs(struct install_partition_desc *install) -{ - return 0; -} - -int -md_post_extract(struct install_partition_desc *install, bool upgrade) -{ - return 0; -} - -void -md_cleanup_install(struct install_partition_desc *install) -{ -#ifndef DEBUG - enable_rc_conf(); -#endif -} - -int -md_pre_update(struct install_partition_desc *install) -{ - return 1; -} - -/* Upgrade support */ -int -md_update(struct install_partition_desc *install) -{ - md_post_newfs(install); - return 1; -} - -/* - * Compare lexigraphically two strings - */ -static int -stricmp(s1, s2) - const char *s1; - const char *s2; -{ - char c1, c2; - - while (1) { - c1 = tolower((unsigned char)*s1++); - c2 = tolower((unsigned char)*s2++); - if (c1 < c2) return -1; - if (c1 > c2) return 1; - if (c1 == 0) return 0; - } -} - -static void -setpartition(part, in_use, slot) - struct apple_part_map_entry *part; - char in_use[]; - int slot; -{ - EBZB *bzb; - - bzb = (EBZB *)&part->pmBootArgs[0]; - in_use[slot] = 1; - bzb->flags.used = 1; - bzb->flags.part = 'a' + slot; -} - -/* - * Find an entry in a use array that is unused and return it or - * -1 if no entry is available - */ -static int -getFreeLabelEntry(slots) - char *slots; -{ - int i; - - for ( i = 0; i < MAXPARTITIONS; i++) { - if (i != RAW_PART && slots[i] == 0) - return i; - } - return -1; -} - -/* - * Figure out what type type of the given partition is and return it. - */ -int -whichType(part) - struct apple_part_map_entry *part; -{ - MAP_TYPE *map_entry = (MAP_TYPE *)&map_types; - EBZB *bzb; - char partyp[32]; - int type, maxsiz, entry_type = MAP_OTHER; - - bzb = (EBZB *)&part->pmBootArgs[0]; - if (part->pmSig != APPLE_PART_MAP_ENTRY_MAGIC) - return 0; - maxsiz = sizeof(part->pmPartType); - if (maxsiz > (int)sizeof(partyp)) - maxsiz = sizeof(partyp); - strncpy(partyp, (char *)part->pmPartType, maxsiz); - partyp[maxsiz-1] = '\0'; - - /* - * Find out how to treat the partition type under NetBSD - */ - while (map_entry->type != MAP_EOL) { - if (stricmp(map_entry->name, partyp) == 0) { - entry_type = map_entry->type; - break; - } - map_entry++; - } - - /* - * Now classify the use for NetBSD - */ - if (entry_type == MAP_RESERVED) - type = 0; - else if (entry_type == MAP_NETBSD) { - if (bzb->magic != APPLE_BZB_MAGIC) - type = 0; - else if (bzb->type == APPLE_BZB_TYPEFS) { - if (bzb->flags.root) - type = ROOT_PART; - else if (bzb->flags.usr) - type = UFS_PART; - else - type = SCRATCH_PART; - } else if (bzb->type == APPLE_BZB_TYPESWAP) - type = SWAP_PART; - else - type = SCRATCH_PART; - } else if (entry_type == MAP_MACOS) - type = HFS_PART; - else - type = SCRATCH_PART; - return type; -} - -static char * -getFstype(part, len_type, type) - struct apple_part_map_entry *part; - int len_type; - char *type; -{ - *type = '\0'; - switch(whichType(part)) { - case ROOT_PART: - case UFS_PART: - strncpy(type, "4.2BSD", len_type); - break; - case SWAP_PART: - strncpy(type, "swap", len_type); - break; - case HFS_PART: - strncpy(type, "HFS", len_type); - break; - case SCRATCH_PART: - default: - break; - } - return (type); -} - -static char * -getUse(part, len_use, use) - struct apple_part_map_entry *part; - int len_use; - char *use; -{ - EBZB *bzb; - char partyp[32]; - - *use = '\0'; - bzb = (EBZB *)&part->pmBootArgs[0]; - switch(whichType(part)) { - case ROOT_PART: - if (bzb->flags.usr) - strncpy(use, "Root&Usr", len_use); - else - strncpy(use, "Root", len_use); - break; - case UFS_PART: - strncpy(use, "Usr", len_use); - break; - case SWAP_PART: - break; - case HFS_PART: - strncpy(use, "MacOS", len_use); - break; - case SCRATCH_PART: - strncpy(partyp, (char *)part->pmPartType, sizeof(partyp)); - partyp[sizeof(partyp)-1] = '\0'; - if (stricmp("Apple_Free", partyp) == 0) - strncpy(use, "Free", len_use); - else if (stricmp("Apple_Scratch", partyp) == 0) - strncpy(use, "Scratch", len_use); - else if (stricmp("Apple_MFS", partyp) == 0) - strncpy(use, "MFS", len_use); - else if (stricmp("Apple_PRODOS", partyp) == 0) - strncpy(use, "PRODOS", len_use); - else - strncpy(use, "unknown", len_use); - default: - break; - } - return(use); -} - -static char * -getName(part, len_name, name) - struct apple_part_map_entry *part; - int len_name; - char *name; -{ - EBZB *bzb; - int fd; - off_t seek; - char dev_name[100], macosblk[512]; - - *name = '\0'; - bzb = (EBZB *)&part->pmBootArgs[0]; - switch(whichType(part)) { - case SCRATCH_PART: - case ROOT_PART: - case UFS_PART: - strncpy(name, (char *)bzb->mount_point, len_name); - break; - case SWAP_PART: - break; - case HFS_PART: - /* - * OK, this is stupid but it's damn nice to know! - */ - snprintf (dev_name, sizeof(dev_name), "/dev/r%sc", pm->diskdev); - /* - * Open the disk as a raw device - */ - if ((fd = open(dev_name, O_RDONLY, 0)) >= 0) { - seek = (off_t)part->pmPyPartStart + (off_t)2; - seek *= (off_t)blk_size; - lseek(fd, seek, SEEK_SET); - read(fd, &macosblk, sizeof(macosblk)); - macosblk[37+32] = '\0'; - strncpy(name, (char *)bzb->mount_point, len_name); - strncat(name, " (", len_name-strlen(name)); - strncat(name, &macosblk[37], len_name-strlen(name)); - strncat(name, ")", len_name-strlen(name)); - close(fd); - } - break; - default: - break; - } - return(name); -} - -/* - * Find the first occurrence of a Standard Type partition and - * mark it for use along with the default mount slot. - */ -static int -findStdType(num_parts, in_use, type, count, alt) - int num_parts; - char in_use[]; - int type; - int *count; - int alt; -{ - EBZB *bzb; - int i; - - for (i = 0; i < num_parts; i++) { - bzb = (EBZB *)&map.blk[i].pmBootArgs[0]; - if (whichType(&map.blk[i]) != type || bzb->flags.used) - continue; - if (type == ROOT_PART) { - if (alt >= 0 && alt != bzb->cluster) - continue; - setpartition(&map.blk[i], in_use, 0); - strcpy ((char *)bzb->mount_point, "/"); - *count += 1; - } else if (type == UFS_PART) { - if (alt >= 0 && alt != bzb->cluster) - continue; - setpartition(&map.blk[i], in_use, 6); - if (bzb->mount_point[0] == '\0') - strcpy ((char *)bzb->mount_point, "/usr"); - *count += 1; - } else if (type == SWAP_PART) { - setpartition(&map.blk[i], in_use, 1); - *count += 1; - } - return 0; - } - return -1; -} - -/* - * Reset the flags and reserved fields in the selected partition. - * This functions isn't called to process any of the reserved partitions - * where the boot code for MacOS is stored, so (hopefully) we won't - * do more damage that we're trying to avoid. Eventually the NetBSD - * Boot Code will need to go into a partition too, but that should go - * into a reserved partition as well. I'd suggest using a partition - * named something like "NetBSD_Boot" with a pmPartName of "Macintosh". - * The Apple Start Manager (in ROM) will then recognize the partition - * as the one containing the system bootstrip for the volume. - */ -void -reset_part_flags(part) - struct apple_part_map_entry *part; -{ - EBZB *bzb; - - /* - * Clear out the MacOS fields that might be used for booting just - * in case we've clobbered the boot code. - */ - part->pmLgDataStart = 0; - part->pmPartStatus = 0x77; /* make sure the partition shows up */ - part->pmLgBootStart = 0; - part->pmBootSize = 0; - part->pmBootLoad = 0; - part->pmBootLoad2 = 0; - part->pmBootEntry = 0; - part->pmBootEntry2 = 0; - part->pmBootCksum = 0; - - /* - * Clear out all the NetBSD fields too. We only clear out the ones - * that should get reset during our processing. - */ - bzb = (EBZB *)&part->pmBootArgs[0]; - bzb->magic = 0; - bzb->cluster = 0; - bzb->inode = 0; - bzb->type = 0; - bzb->flags.root = 0; - bzb->flags.usr = 0; - bzb->flags.crit = 0; - bzb->flags.slice = 0; - bzb->flags.used = 0; - return; -} - -/* - * sortmerge: - * 1) Moves all the Partition Map entries to the front of the Map. - * This is required because some disk formatters leave holes. - * 2) Sorts all entries by ascending start block number. - * Needed so the NetBSD algorithm for finding partitions works - * consistently from a user perspective. - * 3) Collapse multiple adjected "free" entries into a single entry. - * 4) Identify the NetBSD mount_points. - */ -void -sortmerge(void) -{ - struct apple_part_map_entry tmp_blk; - char in_use[MAXPARTITIONS]; - int i, j; - EBZB *bzb; - - /* - * Step 1, squeeze out the holes that some disk formatters leave in - * the Map. Also convert any "old" Map entries to the new entry - * type. Also clear out our used flag which is used to indicate - * we've mapped the partition. - */ - map.in_use_cnt = 0; - for (i=0;iflags.used = 0; - bzb->flags.part = 0; - } - } - - /* - * Step 2, sort by ascending starting block number. Since - * we've already removed the holes we only need to - * deal with the in_use count of blocks. - */ - for (i=0;i map.blk[j].pmPyPartStart) { - memcpy (&tmp_blk, &map.blk[i], sizeof(tmp_blk)); - memcpy (&map.blk[i], &map.blk[j], sizeof(map.blk[i])); - memcpy (&map.blk[j], &tmp_blk, sizeof(map.blk[j])); - } - } - } - - /* - * Step 3, merge adjacent free space - */ - for (i=0;iflags.used == 0) { - if ((j = getFreeLabelEntry(in_use)) < 0) - break; - switch (whichType(&map.blk[i])) { - case ROOT_PART: - map.root_cnt += 1; - setpartition(&map.blk[i], in_use, j); - break; - case UFS_PART: - map.usr_cnt += 1; - setpartition(&map.blk[i], in_use, j); - break; - case SWAP_PART: - map.swap_cnt += 1; - setpartition(&map.blk[i], in_use, j); - break; - case HFS_PART: - map.hfs_cnt += 1; - setpartition(&map.blk[i], in_use, j); - break; - case SCRATCH_PART: - setpartition(&map.blk[i], in_use, j); - default: - break; - } - } - } -#ifdef MD_DEBUG_SORT_MERGE - md_debug_dump("After sort merge"); -#endif - return; -} - -void -disp_selected_part(sel) - int sel; -{ - int i,j; - char fstyp[16], use[16], name[32]; - EBZB *bzb; - - msg_table_add(MSG_mac68k_part_header); - for (i=0;idiskdev, - bzb->flags.part, map.blk[j].pmPyPartStart, - map.blk[j].pmPartBlkCnt, fstyp, use, name); - if (i == sel) msg_standend(); - } - return; -} - -/* - * check for any anomalies on the requested setup - */ -static int -check_for_errors() -{ - int i, j; - int errs = 0; - - errs = (!map.root_cnt) || (map.root_cnt > 1) || (!map.swap_cnt) || - (map.swap_cnt > 1); - - for (i=0;i pm->dlsize) - errs++; - if ((map.blk[j].pmPyPartStart + map.blk[j].pmPartBlkCnt) > pm->dlsize + 1) - errs++; - } - return(errs); -} - -/* - * check for and report anomalies on the requested setup - */ -void -report_errors() -{ - int i, j; - int errs = 0; - EBZB *bzb; - - if (!map.root_cnt) { - msg_display_add(MSG_disksetup_no_root); - errs++; - } - if (map.root_cnt > 1) { - msg_display_add(MSG_disksetup_multiple_roots); - errs++; - } - if (!map.swap_cnt) { - msg_display_add(MSG_disksetup_no_swap); - errs++; - } - if (map.swap_cnt > 1) { - msg_display_add(MSG_disksetup_multiple_swaps); - errs++; - } - for (i=0;i pm->dlsize) { - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - msg_fmt_display_add(MSG_disksetup_part_beginning, "%s%c", - pm->diskdev, bzb->flags.part); - errs++; - } - if ((map.blk[j].pmPyPartStart + map.blk[j].pmPartBlkCnt) > pm->dlsize) { - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - msg_fmt_display_add(MSG_disksetup_part_size, "%s%c", - pm->diskdev, bzb->flags.part); - errs++; - } - } - if (!errs) - msg_display_add(MSG_disksetup_noerrors); - return; -} - -static int -edit_diskmap(void) -{ - int i; - - /* Ask full/part */ - msg_fmt_display (MSG_mac68k_fullpart, "%s", pm->diskdev); - process_menu (MENU_fullpart, NULL); - - map.selected = 0; - sortmerge(); - - /* If blowing away the whole disk, let user know if there - * are any active disk partitions */ - if (usefull) { - if (map.usable_cnt > (map.root_cnt+map.swap_cnt+map.usr_cnt)) { - msg_display (MSG_mac68k_ovrwrite); - if (!ask_noyes(NULL)) { - endwin(); - return 0; - } - } - /* - * mark all non-reserved partitions as "free" - * then sort and merge the map into something sensible - */ - for (i=0;iflags.part; - if (type < 'a' || type > 'h') type = '?'; - if (j == 0) strcpy (name, "reserved for Apple"); - sprintf(buf, " %02d:%c %08x %8s %10s %s", i+1, type, - map.blk[i].pmPyPartStart, fstyp, use, name); - msg_fmt_table_add(MSG_dump_line, "%s", buf); - } - process_menu(MENU_okabort, &rv); - msg_clear(); - return rv; -} -#endif /* MD_DEBUG_SORT_MERGE */ - -int -md_pre_mount(struct install_partition_desc *install, size_t ndx) -{ - return 0; -} - -bool -md_parts_use_wholedisk(struct disk_partitions *parts) -{ - return parts_use_wholedisk(parts, 0, NULL); -} - -#ifdef HAVE_GPT -bool -md_gpt_post_write(struct disk_partitions *parts, part_id root_id, - bool root_is_new, part_id efi_id, bool efi_is_new) -{ - /* no GPT boot support, nothing needs to be done here */ - return true; -} -#endif - diff --git a/overlay/usr.sbin/sysinst/arch/mac68k/md.h b/overlay/usr.sbin/sysinst/arch/mac68k/md.h deleted file mode 100644 index 2b49f19459..0000000000 --- a/overlay/usr.sbin/sysinst/arch/mac68k/md.h +++ /dev/null @@ -1,195 +0,0 @@ -/* $NetBSD: md.h,v 1.4 2026/06/10 21:24:10 andvar Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -#include -#include - -/* md.h -- Machine specific definitions for the mac68k */ - -/* - * Apple Partition Map Types - * Reserved - Entry hidden by sysinst from user - * NetBSD - Entry used for NetBSD - * MacOS - Entry used for MacOS and mapped to NetBSD - * Other - Entry use unknown, mapped for scratch. This may - * include partitions used by other systems (Linux). - */ -#define MAP_EOL 0 -#define MAP_RESERVED 1 -#define MAP_NETBSD 2 -#define MAP_MACOS 3 -#define MAP_OTHER 4 - -typedef struct { - int type; /* Entry type from above */ - const char *name; /* Partition Type string */ -} MAP_TYPE; - -/* - * Define Apple Partition Map types typically seen on 68k Macs - * This should match the definitions in include/machine/disklabel.h - * and must conform to the matching rules in arch/mac68k/mac68k/disksubr.c - */ -extern MAP_TYPE map_types[]; - -/* - * Define NetBSD partition types - */ -#define ROOT_PART 1 -#define UFS_PART 2 -#define SWAP_PART 3 -#define HFS_PART 4 -#define SCRATCH_PART 5 - -int usefull; /* on install, clobber entire disk */ - -typedef struct { - int size; /* number of blocks in map for I/O */ - int in_use_cnt; /* number of block in current use in map */ - int usable_cnt; /* number of partitions usable by NetBSD */ - int hfs_cnt; /* number of MacOS partitions found */ - int root_cnt; /* number of root partitions in map */ - int swap_cnt; /* number of swap partitions in map */ - int usr_cnt; /* number of usr partitions in map */ - int selected; /* current partition selection in mblk */ - int mblk[MAXPARTITIONS];/* map block number of usable partition */ - struct apple_part_map_entry *blk; -} MAP; - -/* - * Define the default size for the Disk Partition Map if we have to - * write one to the disk. It should be a power of two minus one for - * the Block0 block, i.e. 7, 15, 31, 63. - */ -#define NEW_MAP_SIZE 15 - -MAP map; - -/* constants and defines */ - -/* - * The Block Zero Block is stored in the Partition Map Entry in the - * pmPad (or pmBootArgs) area. The current NetBSD definition of this - * area is incomplete, so we have our own local definition here. - */ -typedef struct { - u_int32_t magic; /* magic number that identifes Block Zero Block */ - u_int8_t cluster; /* Autorecovery cluster grouping */ - u_int8_t type; /* 1=>Std FS, 2=>Autorecovery FS, 3=>SWAP FS */ - u_int16_t inode; /* bad block inode number */ - struct { - unsigned int root : 1; /* FS contains a Root FS */ - unsigned int usr : 1; /* FS contains a Usr FS */ - unsigned int crit : 1; /* FS contains a "Critical"? FS */ - unsigned int used : 1; /* FS in use */ - unsigned int : 7; - unsigned int slice : 5; /* Slice number to associate with plus one */ - unsigned int part : 16; /* reserved, but we'll hide disk part here */ - } flags; - u_int32_t tmade; /* time FS was created */ - u_int32_t tmount; /* time of last mount */ - u_int32_t tumount; /* time of last umount */ - struct { - u_int32_t size; /* size of map in bytes */ - u_int32_t ents; /* number of used entries */ - u_int32_t start; /* start of cltblk map */ - } abm; /* altblk map */ - u_int32_t filler[7]; /* reserved for abm expansion */ - u_int8_t mount_point[64]; /* mount point for the FS */ -} EBZB; - -/* - * Also define Block 0 on the device. We only use this when we have to - * initialize the entire disk and then we really only care about the - * Signature word, but someday someone might want to fill in other - * parts. - */ -typedef struct { - unsigned short sbSig; /* unique value for SCSI block 0 */ - unsigned short sbBlkSize; /* block size of device */ - unsigned long sbBlkCount; /* number of blocks on device */ - unsigned short sbDevType; /* device type */ - unsigned short sbDevId; /* device id */ - unsigned long sbData; /* not used */ - unsigned short sbDrvrCount; /* driver descriptor count */ - unsigned long ddBlock; /* 1st driver's starting block */ - unsigned short ddSize; /* size of 1st driver (512-byte blks) */ - unsigned short ddType; /* system type (1 for Mac+) */ - unsigned short ddPad[243]; /* ARRAY[0..242] OF INTEGER; not used */ -} Block0; - -/* - * Default Disk Partition Map used for an uninitialized disk. - * Has minimal entry for an old Apple SCSI driver, a newer 43 SCSI - * driver and an IDE driver (for those Macs with IDE). - */ -extern struct apple_part_map_entry new_map[]; - - -/* Megs for the / partition, if separate */ -#define DEFROOTSIZE 60 - -/* Megs required for a full X installation. */ -#define XNEEDMB 225 - -/* - * Machine-specific command to write a new label to a disk. - * For example, i386 uses "/sbin/disklabel -w -r", just like i386 - * miniroot scripts, though this may leave a bogus incore label. - * Sun ports should probably use DISKLABEL_CMD "/sbin/disklabel -w" - * to get incore to ondisk inode translation for the Sun proms. - * If not defined, we assume the port does not support disklabels and - * hand-edited disklabel will NOT be written by MI code. - * - * The mac68k port doesn't support real disklabels so we don't define the - * command string. The Apple Disk Partition Map gets written in the - * md_pre_disklabel() routine, which also forces the incore copy to be - * updated. If native disklabels are supported or if disklabel() is - * fixed to work for writing labels, this command should be defined - * to a value that will force the writing of the label. In that case, - * the code in md_pre_disklabel() which forces the incore update can be - * removed, though its presence won't hurt. - * - * #define DISKLABEL_CMD - */ - -/* Definition of files to retrieve from ftp. */ -#define SET_KERNEL_1_NAME "kern-GENERIC" -#define SET_KERNEL_2_NAME "kern-GENERICSBC" - -extern void sortmerge(void); -extern void disp_selected_part(int); -extern void reset_part_flags(struct apple_part_map_entry *); -extern int whichType(struct apple_part_map_entry *); -extern void report_errors(void); diff --git a/overlay/usr.sbin/sysinst/arch/mac68k/menus.md.de b/overlay/usr.sbin/sysinst/arch/mac68k/menus.md.de deleted file mode 100644 index 7f1dd2305b..0000000000 --- a/overlay/usr.sbin/sysinst/arch/mac68k/menus.md.de +++ /dev/null @@ -1,331 +0,0 @@ -/* $NetBSD: menus.md.de,v 1.7 2021/07/24 21:31:39 andvar Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Menu definitions for sysinst. mac68k version, machine dependent. */ - -menu fullpart, title "Bitte wählen Sie"; - option "Nur einen Teil der Festplatte nutzen", exit, action {usefull = 0;}; - option "Die ganze Festplatte für NetBSD verwenden", exit, action {usefull = 1;}; - -menu nodiskmap, title "Bitte wählen Sie", y=16; - display action { msg_fmt_display (MSG_nodiskmap, "%s", pm->diskdev); }; - option "Installation abbrechen", exit, action { - endwin(); exit(1); - }; - option "Initialisiere Festplatten Partition Übersicht", exit, action { - int i, rv; - - msg_clear(); - msg_display (MSG_okwritediskmap); - process_menu (MENU_okabort, &rv); - if (!rv) { - endwin(); - return 0; - } - map.size = NEW_MAP_SIZE; - map.in_use_cnt = new_map[0].pmMapBlkCnt; - map.blk = (struct apple_part_map_entry *)calloc(map.size, - sizeof(struct apple_part_map_entry)); - for (i=0;i= map.usable_cnt) - map.selected = 0; - disp_selected_part (map.selected); - }; - option "Nächste Partition auswählen", action { - map.selected += 1; - if (map.selected >= map.usable_cnt) - map.selected = 0; - }; - option "Ausgewählte Partition bearbeiten", sub menu chooseid; - option "Mount Point festlegen", sub menu mount_point; - option "Gewählte Partition unterteilen", action { - int i, j, k, size, free_size, rv; - char buf[40]; - EBZB *bzb; - - j = map.mblk[map.selected]; - msg_fmt_display(MSG_split_part, "%s", map.blk[j].pmPartBlkCnt); - msg_prompt_add (MSG_scratch_size, NULL, buf, sizeof(buf)); - size = atoi(buf); - if (size > 0 && size < map.blk[j].pmPartBlkCnt) { - k = map.in_use_cnt+1; - if (k <= map.size) { - memcpy (&map.blk[k], &map.blk[j], - sizeof(struct apple_part_map_entry)); - free_size = map.blk[j].pmPartBlkCnt - size; - strcpy (map.blk[j].pmPartType, "Apple_Scratch"); - map.blk[j].pmPartBlkCnt = size; - map.blk[j].pmDataCnt = size; - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - bzb->magic = 0; - bzb->mount_point[0] = '\0'; - strcpy (map.blk[k].pmPartType, "Apple_Free"); - map.blk[k].pmPyPartStart += size; - if ((map.blk[k].pmPyPartStart + free_size) > pm->dlsize) - map.blk[k].pmPartBlkCnt = - pm->dlsize - map.blk[k].pmPyPartStart; - else - map.blk[k].pmPartBlkCnt = free_size; - map.blk[k].pmDataCnt = map.blk[k].pmPartBlkCnt; - bzb = (EBZB *)&map.blk[k].pmBootArgs[0]; - bzb->magic = 0; - bzb->mount_point[0] = '\0'; - map.in_use_cnt += 1; /* Count new part as usable */ - sortmerge(); - } else { - msg_display (MSG_diskfull); - process_menu (MENU_okabort, &rv); - if (!rv) { - free (map.blk); - map.size = NEW_MAP_SIZE; - map.in_use_cnt = new_map[0].pmMapBlkCnt; - map.blk = (struct apple_part_map_entry *)calloc(map.size, - sizeof(struct apple_part_map_entry)); - for (i=0;idiskdev, bzb->flags.part, map.blk[i].pmPyPartStart, - map.blk[i].pmPartBlkCnt); - if ((map.blk[i].pmPyPartStart + - map.blk[i].pmPartBlkCnt) > pm->dlsize) { - msg_fmt_display_add(MSG_parttable_fix_fixing, - "%s%c", pm->diskdev, bzb->flags.part); - map.blk[i].pmPartBlkCnt = - pm->dlsize - map.blk[i].pmPyPartStart; - map.blk[i].pmDataCnt = - map.blk[i].pmPartBlkCnt; - } else { - msg_fmt_display_add(MSG_parttable_fix_fine, "%s%c", - pm->diskdev, bzb->flags.part); - } - process_menu(MENU_ok, NULL); - }; - - -menu ok2, title "Abbrechen?", y=17; - option "OK", exit, action { }; - -menu okabort, title "Was möchten Sie?", y=17; - option "Fortfahren", exit, action { *((int*)arg) = 1; }; - option "Installation abbrechen", exit, action { *((int*)arg) = 0; }; - -menu chooseid, title "Partitionstyp?"; - option "NetBSD Root", exit, action { - int i, j; - EBZB *bzb; - - j = map.mblk[map.selected]; - reset_part_flags(&map.blk[j]); - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - bzb->magic = APPLE_BZB_MAGIC; - strcpy (map.blk[j].pmPartName, "NetBSD Root"); - strcpy (map.blk[j].pmPartType, "Apple_Unix_SVR2"); - bzb->type = APPLE_BZB_TYPEFS; - bzb->flags.root = 1; - /* - * Automatically determine root mount points. The first - * root-type filesystem is mounted on "/", all others - * will mount on "/altroot". If there are multiple - * occurrences of "/altroot" they will be picked up on - * the sanity_scan in the next step of the installation. - */ - for (i=0,map.root_cnt=0;itype == APPLE_BZB_TYPEFS && bzb->flags.root) { - if (map.root_cnt++ == 0) - strcpy (bzb->mount_point, "/"); - else - strcpy (bzb->mount_point, "/altroot"); - } - } - } }; - option "NetBSD SWAP", exit, action { - int j; - EBZB *bzb; - - j = map.mblk[map.selected]; - reset_part_flags(&map.blk[j]); - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - bzb->magic = APPLE_BZB_MAGIC; - strcpy (map.blk[j].pmPartName, "NetBSD SWAP"); - strcpy (map.blk[j].pmPartType, "Apple_Unix_SVR2"); - bzb->type = APPLE_BZB_TYPESWAP; }; - option "NetBSD Usr", exit, action { - int j; - EBZB *bzb; - - j = map.mblk[map.selected]; - reset_part_flags(&map.blk[j]); - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - bzb->magic = APPLE_BZB_MAGIC; - strcpy (map.blk[j].pmPartName, "NetBSD Usr"); - strcpy (map.blk[j].pmPartType, "Apple_Unix_SVR2"); - bzb->type = APPLE_BZB_TYPEFS; - bzb->flags.usr = 1; - if (map.usr_cnt++ == 0) - strcpy (bzb->mount_point, "/usr"); - }; - option "NetBSD Root&Usr", exit, action { - int j; - EBZB *bzb; - - j = map.mblk[map.selected]; - reset_part_flags(&map.blk[j]); - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - bzb->magic = APPLE_BZB_MAGIC; - strcpy (map.blk[j].pmPartName, "NetBSD Root & Usr"); - strcpy (map.blk[j].pmPartType, "Apple_Unix_SVR2"); - bzb->type = APPLE_BZB_TYPEFS; - bzb->flags.root = 1; - bzb->flags.usr = 1; - if (map.root_cnt++ == 0) - strcpy (bzb->mount_point, "/"); - else { - if (map.usr_cnt++ == 0) - strcpy (bzb->mount_point, "/usr"); - } }; - option "MacOS HFS", exit, action { - int j; - EBZB *bzb; - - j = map.mblk[map.selected]; - reset_part_flags(&map.blk[j]); - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - bzb->magic = 0; - bzb->mount_point[0] = '\0'; - strcpy (map.blk[j].pmPartName, "unbetitelt (HFS)"); - strcpy (map.blk[j].pmPartType, "Apple_HFS"); }; - option "Scratch", exit, action { - int j; - EBZB *bzb; - - j = map.mblk[map.selected]; - reset_part_flags(&map.blk[j]); - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - bzb->magic = 0; - bzb->mount_point[0] = '\0'; - strcpy (map.blk[j].pmPartName, "unbetitelt (Scratch)"); - strcpy (map.blk[j].pmPartType, "Apple_Scratch"); }; - option "Frei", exit, action { - int j; - EBZB *bzb; - - j = map.mblk[map.selected]; - reset_part_flags(&map.blk[j]); - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - bzb->magic = 0; - bzb->mount_point[0] = '\0'; - strcpy (map.blk[j].pmPartName, "unbetitelt (frei)"); - strcpy (map.blk[j].pmPartType, "Apple_Free"); }; - -menu mount_point, title "Mount Point?"; - option "/usr", exit, action { - int j; - EBZB *bzb; - - j = map.mblk[map.selected]; - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - strcpy (bzb->mount_point, "/usr"); }; - option "/home", exit, action { - int j; - EBZB *bzb; - - j = map.mblk[map.selected]; - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - strcpy (bzb->mount_point, "/home"); }; - option "/var", exit, action { - int j; - EBZB *bzb; - - j = map.mblk[map.selected]; - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - strcpy (bzb->mount_point, "/var"); }; - option "/tmp", exit, action { - int j; - EBZB *bzb; - - j = map.mblk[map.selected]; - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - strcpy (bzb->mount_point, "/tmp"); }; - option "Keiner", exit, action { - int j; - EBZB *bzb; - - j = map.mblk[map.selected]; - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - bzb->mount_point[0] = '\0'; }; - option "Sonstige", exit, action { - int j; - char buf[60]; - EBZB *bzb; - - msg_display (MSG_custom_mount_point); - msg_prompt_add (MSG_mountpoint, NULL, buf, sizeof(buf)); - j = map.mblk[map.selected]; - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - if (buf[0] != '\0') { - bzb->mount_point[0] = '\0'; - if (buf[0] != '/') - strcpy (bzb->mount_point, "/"); - strcat(bzb->mount_point, buf); - } }; - -menu sanity, title "Bitte wählen Sie"; - display action {msg_display (MSG_sanity_check); - report_errors(); }; - option "Installation abbrechen", exit, action { *((int*)arg) = -1; }; - option "Warnungen ignorieren und fortfahren", exit, action { *((int*)arg) = 1;}; - option "Festplatten Partitions Übersicht erneut ändern", exit, action { *((int*)arg) = 0; }; - -/* - * This menu shouldn't be used in the mac68k port, but it needs to be - * defined because it's referenced from the toplevel code. - */ diff --git a/overlay/usr.sbin/sysinst/arch/mac68k/menus.md.en b/overlay/usr.sbin/sysinst/arch/mac68k/menus.md.en deleted file mode 100644 index 93ccc72cb1..0000000000 --- a/overlay/usr.sbin/sysinst/arch/mac68k/menus.md.en +++ /dev/null @@ -1,332 +0,0 @@ -/* $NetBSD: menus.md.en,v 1.7 2021/07/24 21:31:39 andvar Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Menu definitions for sysinst. mac68k version, machine dependent. */ - -menu fullpart, title "Select your choice"; - option "Use only part of the disk", exit, action {usefull = 0;}; - option "Use the entire disk", exit, action {usefull = 1;}; - -menu nodiskmap, title "Choose an option", y=16; - display action { msg_fmt_display (MSG_nodiskmap, "%s", pm->diskdev); }; - option "Abort install", exit, action { - endwin(); exit(1); - }; - option "Initialize Disk partition Map", exit, action { - int i, rv; - - msg_clear(); - msg_display (MSG_okwritediskmap); - process_menu (MENU_okabort, &rv); - if (!rv) { - endwin(); - return 0; - } - map.size = NEW_MAP_SIZE; - map.in_use_cnt = new_map[0].pmMapBlkCnt; - map.blk = (struct apple_part_map_entry *)calloc(map.size, - sizeof(struct apple_part_map_entry)); - for (i=0;i= map.usable_cnt) - map.selected = 0; - disp_selected_part (map.selected); - }; - option "Select next partition", action { - map.selected += 1; - if (map.selected >= map.usable_cnt) - map.selected = 0; - }; - option "Change selected partition", sub menu chooseid; - option "Set mount point for partition", sub menu mount_point; - option "Split selected partition", action { - int i, j, k, size, free_size, rv; - char buf[40]; - EBZB *bzb; - - j = map.mblk[map.selected]; - msg_fmt_display(MSG_split_part, "%d", map.blk[j].pmPartBlkCnt); - msg_prompt_add (MSG_scratch_size, NULL, buf, sizeof(buf)); - size = atoi(buf); - if (size > 0 && size < (int)map.blk[j].pmPartBlkCnt) { - k = map.in_use_cnt+1; - if (k <= map.size) { - memcpy (&map.blk[k], &map.blk[j], - sizeof(struct apple_part_map_entry)); - free_size = map.blk[j].pmPartBlkCnt - size; - strcpy ((char *)map.blk[j].pmPartType, "Apple_Scratch"); - map.blk[j].pmPartBlkCnt = size; - map.blk[j].pmDataCnt = size; - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - bzb->magic = 0; - bzb->mount_point[0] = '\0'; - strcpy ((char *)map.blk[k].pmPartType, "Apple_Free"); - map.blk[k].pmPyPartStart += size; - if ((map.blk[k].pmPyPartStart + free_size) > pm->dlsize) - map.blk[k].pmPartBlkCnt = - pm->dlsize - map.blk[k].pmPyPartStart; - else - map.blk[k].pmPartBlkCnt = free_size; - map.blk[k].pmDataCnt = map.blk[k].pmPartBlkCnt; - bzb = (EBZB *)&map.blk[k].pmBootArgs[0]; - bzb->magic = 0; - bzb->mount_point[0] = '\0'; - map.in_use_cnt += 1; /* Count new part as usable */ - sortmerge(); - } else { - msg_display (MSG_diskfull); - process_menu (MENU_okabort, &rv); - if (!rv) { - free (map.blk); - map.size = NEW_MAP_SIZE; - map.in_use_cnt = new_map[0].pmMapBlkCnt; - map.blk = (struct apple_part_map_entry *)calloc(map.size, - sizeof(struct apple_part_map_entry)); - for (i=0;idiskdev, bzb->flags.part, map.blk[i].pmPyPartStart, - map.blk[i].pmPartBlkCnt); - if ((map.blk[i].pmPyPartStart + - map.blk[i].pmPartBlkCnt) > pm->dlsize) { - msg_fmt_display_add(MSG_parttable_fix_fixing, - "%s%c%d%d", - pm->diskdev, bzb->flags.part); - map.blk[i].pmPartBlkCnt = - pm->dlsize - map.blk[i].pmPyPartStart; - map.blk[i].pmDataCnt = - map.blk[i].pmPartBlkCnt; - } else { - msg_fmt_display_add(MSG_parttable_fix_fine, "%s%c", - pm->diskdev, bzb->flags.part); - } - process_menu(MENU_ok, NULL); - }; - - -menu ok2, title "Abort?", y=17; - option "OK", exit, action { }; - -menu okabort, title "What do you want to do?", y=17; - option "Continue", exit, action { *((int*)arg) = 1; }; - option "Abort install", exit, action { *((int*)arg) = 0; }; - -menu chooseid, title "Partition Type?"; - option "NetBSD Root", exit, action { - int i, j; - EBZB *bzb; - - j = map.mblk[map.selected]; - reset_part_flags(&map.blk[j]); - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - bzb->magic = APPLE_BZB_MAGIC; - strcpy ((char *)map.blk[j].pmPartName, "NetBSD Root"); - strcpy ((char *)map.blk[j].pmPartType, "Apple_Unix_SVR2"); - bzb->type = APPLE_BZB_TYPEFS; - bzb->flags.root = 1; - /* - * Automatically determine root mount points. The first - * root-type filesystem is mounted on "/", all others - * will mount on "/altroot". If there are multiple - * occurrences of "/altroot" they will be picked up on - * the sanity_scan in the next step of the installation. - */ - for (i=0,map.root_cnt=0;itype == APPLE_BZB_TYPEFS && bzb->flags.root) { - if (map.root_cnt++ == 0) - strcpy ((char *)bzb->mount_point, "/"); - else - strcpy ((char *)bzb->mount_point, "/altroot"); - } - } - } }; - option "NetBSD SWAP", exit, action { - int j; - EBZB *bzb; - - j = map.mblk[map.selected]; - reset_part_flags(&map.blk[j]); - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - bzb->magic = APPLE_BZB_MAGIC; - strcpy ((char *)map.blk[j].pmPartName, "NetBSD SWAP"); - strcpy ((char *)map.blk[j].pmPartType, "Apple_Unix_SVR2"); - bzb->type = APPLE_BZB_TYPESWAP; }; - option "NetBSD Usr", exit, action { - int j; - EBZB *bzb; - - j = map.mblk[map.selected]; - reset_part_flags(&map.blk[j]); - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - bzb->magic = APPLE_BZB_MAGIC; - strcpy ((char *)map.blk[j].pmPartName, "NetBSD Usr"); - strcpy ((char *)map.blk[j].pmPartType, "Apple_Unix_SVR2"); - bzb->type = APPLE_BZB_TYPEFS; - bzb->flags.usr = 1; - if (map.usr_cnt++ == 0) - strcpy ((char *)bzb->mount_point, "/usr"); - }; - option "NetBSD Root&Usr", exit, action { - int j; - EBZB *bzb; - - j = map.mblk[map.selected]; - reset_part_flags(&map.blk[j]); - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - bzb->magic = APPLE_BZB_MAGIC; - strcpy ((char *)map.blk[j].pmPartName, "NetBSD Root & Usr"); - strcpy ((char *)map.blk[j].pmPartType, "Apple_Unix_SVR2"); - bzb->type = APPLE_BZB_TYPEFS; - bzb->flags.root = 1; - bzb->flags.usr = 1; - if (map.root_cnt++ == 0) - strcpy ((char *)bzb->mount_point, "/"); - else { - if (map.usr_cnt++ == 0) - strcpy ((char *)bzb->mount_point, "/usr"); - } }; - option "MacOS HFS", exit, action { - int j; - EBZB *bzb; - - j = map.mblk[map.selected]; - reset_part_flags(&map.blk[j]); - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - bzb->magic = 0; - bzb->mount_point[0] = '\0'; - strcpy ((char *)map.blk[j].pmPartName, "untitled (HFS)"); - strcpy ((char *)map.blk[j].pmPartType, "Apple_HFS"); }; - option "Scratch", exit, action { - int j; - EBZB *bzb; - - j = map.mblk[map.selected]; - reset_part_flags(&map.blk[j]); - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - bzb->magic = 0; - bzb->mount_point[0] = '\0'; - strcpy ((char *)map.blk[j].pmPartName, "untitled (Scratch)"); - strcpy ((char *)map.blk[j].pmPartType, "Apple_Scratch"); }; - option "Free", exit, action { - int j; - EBZB *bzb; - - j = map.mblk[map.selected]; - reset_part_flags(&map.blk[j]); - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - bzb->magic = 0; - bzb->mount_point[0] = '\0'; - strcpy ((char *)map.blk[j].pmPartName, "untitled (Free)"); - strcpy ((char *)map.blk[j].pmPartType, "Apple_Free"); }; - -menu mount_point, title "Mount Point?"; - option "/usr", exit, action { - int j; - EBZB *bzb; - - j = map.mblk[map.selected]; - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - strcpy ((char *)bzb->mount_point, "/usr"); }; - option "/home", exit, action { - int j; - EBZB *bzb; - - j = map.mblk[map.selected]; - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - strcpy ((char *)bzb->mount_point, "/home"); }; - option "/var", exit, action { - int j; - EBZB *bzb; - - j = map.mblk[map.selected]; - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - strcpy ((char *)bzb->mount_point, "/var"); }; - option "/tmp", exit, action { - int j; - EBZB *bzb; - - j = map.mblk[map.selected]; - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - strcpy ((char *)bzb->mount_point, "/tmp"); }; - option "None", exit, action { - int j; - EBZB *bzb; - - j = map.mblk[map.selected]; - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - bzb->mount_point[0] = '\0'; }; - option "other", exit, action { - int j; - char buf[60]; - EBZB *bzb; - - msg_display (MSG_custom_mount_point); - msg_prompt_add (MSG_mountpoint, NULL, buf, sizeof(buf)); - j = map.mblk[map.selected]; - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - if (buf[0] != '\0') { - bzb->mount_point[0] = '\0'; - if (buf[0] != '/') - strcpy ((char *)bzb->mount_point, "/"); - strcat((char *)bzb->mount_point, buf); - } }; - -menu sanity, title "Choose an option"; - display action {msg_display (MSG_sanity_check); - report_errors(); }; - option "Abort installation", exit, action { *((int*)arg) = -1; }; - option "Ignore warnings and continue", exit, action { *((int*)arg) = 1;}; - option "Re-edit Disk Partition Map", exit, action { *((int*)arg) = 0; }; - -/* - * This menu shouldn't be used in the mac68k port, but it needs to be - * defined because it's referenced from the toplevel code. - */ diff --git a/overlay/usr.sbin/sysinst/arch/mac68k/menus.md.es b/overlay/usr.sbin/sysinst/arch/mac68k/menus.md.es deleted file mode 100644 index b3c216abf5..0000000000 --- a/overlay/usr.sbin/sysinst/arch/mac68k/menus.md.es +++ /dev/null @@ -1,331 +0,0 @@ -/* $NetBSD: menus.md.es,v 1.7 2021/07/24 21:31:39 andvar Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Menu definitions for sysinst. mac68k version, machine dependent. */ - -menu fullpart, title "Seleccione su opcion"; - option "Usar solo parte del disco", exit, action {usefull = 0;}; - option "Usar el disco entero", exit, action {usefull = 1;}; - -menu nodiskmap, title "Escoja una opcion", y=16; - display action { msg_fmt_display (MSG_nodiskmap, "%s", pm->diskdev); }; - option "Abortar instalacion", exit, action { - endwin(); exit(1); - }; - option "Inicializar Mapa de particiones de Disco", exit, action { - int i, rv; - - msg_clear(); - msg_display (MSG_okwritediskmap); - process_menu (MENU_okabort, &rv); - if (!rv) { - endwin(); - return 0; - } - map.size = NEW_MAP_SIZE; - map.in_use_cnt = new_map[0].pmMapBlkCnt; - map.blk = (struct apple_part_map_entry *)calloc(map.size, - sizeof(struct apple_part_map_entry)); - for (i=0;i= map.usable_cnt) - map.selected = 0; - disp_selected_part (map.selected); - }; - option "Seleccione particion siguiente", action { - map.selected += 1; - if (map.selected >= map.usable_cnt) - map.selected = 0; - }; - option "Cambiar particion seleccionada", sub menu chooseid; - option "Ajustar punto de montaje para particion", sub menu mount_point; - option "Partir particion seleccionada", action { - int i, j, k, size, free_size, rv; - char buf[40]; - EBZB *bzb; - - j = map.mblk[map.selected]; - msg_fmt_display(MSG_split_part, "%d", map.blk[j].pmPartBlkCnt); - msg_prompt_add (MSG_scratch_size, NULL, buf, sizeof(buf)); - size = atoi(buf); - if (size > 0 && size < map.blk[j].pmPartBlkCnt) { - k = map.in_use_cnt+1; - if (k <= map.size) { - memcpy (&map.blk[k], &map.blk[j], - sizeof(struct apple_part_map_entry)); - free_size = map.blk[j].pmPartBlkCnt - size; - strcpy (map.blk[j].pmPartType, "Apple_Scratch"); - map.blk[j].pmPartBlkCnt = size; - map.blk[j].pmDataCnt = size; - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - bzb->magic = 0; - bzb->mount_point[0] = '\0'; - strcpy (map.blk[k].pmPartType, "Apple_Free"); - map.blk[k].pmPyPartStart += size; - if ((map.blk[k].pmPyPartStart + free_size) > pm->dlsize) - map.blk[k].pmPartBlkCnt = - pm->dlsize - map.blk[k].pmPyPartStart; - else - map.blk[k].pmPartBlkCnt = free_size; - map.blk[k].pmDataCnt = map.blk[k].pmPartBlkCnt; - bzb = (EBZB *)&map.blk[k].pmBootArgs[0]; - bzb->magic = 0; - bzb->mount_point[0] = '\0'; - map.in_use_cnt += 1; /* Count new part as usable */ - sortmerge(); - } else { - msg_display (MSG_diskfull); - process_menu (MENU_okabort, &rv); - if (!rv) { - free (map.blk); - map.size = NEW_MAP_SIZE; - map.in_use_cnt = new_map[0].pmMapBlkCnt; - map.blk = (struct apple_part_map_entry *)calloc(map.size, - sizeof(struct apple_part_map_entry)); - for (i=0;idiskdev, - bzb->flags.part, map.blk[i].pmPyPartStart, - map.blk[i].pmPartBlkCnt); - if ((map.blk[i].pmPyPartStart + - map.blk[i].pmPartBlkCnt) > pm->dlsize) { - msg_fmt_display_add(MSG_parttable_fix_fixing, "%s%c", - pm->diskdev, bzb->flags.part); - map.blk[i].pmPartBlkCnt = - pm->dlsize - map.blk[i].pmPyPartStart; - map.blk[i].pmDataCnt = - map.blk[i].pmPartBlkCnt; - } else { - msg_fmt_display_add(MSG_parttable_fix_fine, "%s%c", - pm->diskdev, bzb->flags.part); - } - process_menu(MENU_ok, NULL); - }; - - -menu ok2, title "¿Abortar?", y=17; - option "OK", exit, action { }; - -menu okabort, title "¿Que quiere hacer?", y=17; - option "Continuar", exit, action { *((int*)arg) = 1; }; - option "Abortar instalacion", exit, { *((int*)arg) = 0; }; - -menu chooseid, title "¿Tipo de particion?"; - option "NetBSD Root", exit, action { - int i, j; - EBZB *bzb; - - j = map.mblk[map.selected]; - reset_part_flags(&map.blk[j]); - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - bzb->magic = APPLE_BZB_MAGIC; - strcpy (map.blk[j].pmPartName, "NetBSD Root"); - strcpy (map.blk[j].pmPartType, "Apple_Unix_SVR2"); - bzb->type = APPLE_BZB_TYPEFS; - bzb->flags.root = 1; - /* - * Automatically determine root mount points. The first - * root-type filesystem is mounted on "/", all others - * will mount on "/altroot". If there are multiple - * occurrences of "/altroot" they will be picked up on - * the sanity_scan in the next step of the installation. - */ - for (i=0,map.root_cnt=0;itype == APPLE_BZB_TYPEFS && bzb->flags.root) { - if (map.root_cnt++ == 0) - strcpy (bzb->mount_point, "/"); - else - strcpy (bzb->mount_point, "/altroot"); - } - } - } }; - option "NetBSD SWAP", exit, action { - int j; - EBZB *bzb; - - j = map.mblk[map.selected]; - reset_part_flags(&map.blk[j]); - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - bzb->magic = APPLE_BZB_MAGIC; - strcpy (map.blk[j].pmPartName, "NetBSD SWAP"); - strcpy (map.blk[j].pmPartType, "Apple_Unix_SVR2"); - bzb->type = APPLE_BZB_TYPESWAP; }; - option "NetBSD Usr", exit, action { - int j; - EBZB *bzb; - - j = map.mblk[map.selected]; - reset_part_flags(&map.blk[j]); - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - bzb->magic = APPLE_BZB_MAGIC; - strcpy (map.blk[j].pmPartName, "NetBSD Usr"); - strcpy (map.blk[j].pmPartType, "Apple_Unix_SVR2"); - bzb->type = APPLE_BZB_TYPEFS; - bzb->flags.usr = 1; - if (map.usr_cnt++ == 0) - strcpy (bzb->mount_point, "/usr"); - }; - option "NetBSD Root&Usr", exit, action { - int j; - EBZB *bzb; - - j = map.mblk[map.selected]; - reset_part_flags(&map.blk[j]); - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - bzb->magic = APPLE_BZB_MAGIC; - strcpy (map.blk[j].pmPartName, "NetBSD Root & Usr"); - strcpy (map.blk[j].pmPartType, "Apple_Unix_SVR2"); - bzb->type = APPLE_BZB_TYPEFS; - bzb->flags.root = 1; - bzb->flags.usr = 1; - if (map.root_cnt++ == 0) - strcpy (bzb->mount_point, "/"); - else { - if (map.usr_cnt++ == 0) - strcpy (bzb->mount_point, "/usr"); - } }; - option "MacOS HFS", exit, action { - int j; - EBZB *bzb; - - j = map.mblk[map.selected]; - reset_part_flags(&map.blk[j]); - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - bzb->magic = 0; - bzb->mount_point[0] = '\0'; - strcpy (map.blk[j].pmPartName, "sin nombre (HFS)"); - strcpy (map.blk[j].pmPartType, "Apple_HFS"); }; - option "Scratch", exit, action { - int j; - EBZB *bzb; - - j = map.mblk[map.selected]; - reset_part_flags(&map.blk[j]); - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - bzb->magic = 0; - bzb->mount_point[0] = '\0'; - strcpy (map.blk[j].pmPartName, "sin nombre (Scratch)"); - strcpy (map.blk[j].pmPartType, "Apple_Scratch"); }; - option "Libre", exit, action { - int j; - EBZB *bzb; - - j = map.mblk[map.selected]; - reset_part_flags(&map.blk[j]); - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - bzb->magic = 0; - bzb->mount_point[0] = '\0'; - strcpy (map.blk[j].pmPartName, "sin nombre (Libre)"); - strcpy (map.blk[j].pmPartType, "Apple_Libre"); }; - -menu mount_point, title "¿Punto de montaje?"; - option "/usr", exit, action { - int j; - EBZB *bzb; - - j = map.mblk[map.selected]; - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - strcpy (bzb->mount_point, "/usr"); }; - option "/home", exit, action { - int j; - EBZB *bzb; - - j = map.mblk[map.selected]; - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - strcpy (bzb->mount_point, "/home"); }; - option "/var", exit, action { - int j; - EBZB *bzb; - - j = map.mblk[map.selected]; - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - strcpy (bzb->mount_point, "/var"); }; - option "/tmp", exit, action { - int j; - EBZB *bzb; - - j = map.mblk[map.selected]; - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - strcpy (bzb->mount_point, "/tmp"); }; - option "Ninguna", exit, action { - int j; - EBZB *bzb; - - j = map.mblk[map.selected]; - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - bzb->mount_point[0] = '\0'; }; - option "otra", exit, action { - int j; - char buf[60]; - EBZB *bzb; - - msg_display (MSG_custom_mount_point); - msg_prompt_add (MSG_mountpoint, NULL, buf, sizeof(buf)); - j = map.mblk[map.selected]; - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - if (buf[0] != '\0') { - bzb->mount_point[0] = '\0'; - if (buf[0] != '/') - strcpy (bzb->mount_point, "/"); - strcat(bzb->mount_point, buf); - } }; - -menu sanity, title "Escoja una opcion"; - display action {msg_display (MSG_sanity_check); - report_errors(); }; - option "Abortar instalacion", exit, action { *((int*)arg) = -1; }; - option "Ignorar avisos y continuar", exit, action { *((int*)arg) = 1;}; - option "Re-editar Mapa de Particiones de Disco", exit, action { *((int*)arg) = 0; }; - -/* - * This menu shouldn't be used in the mac68k port, but it needs to be - * defined because it's referenced from the toplevel code. - */ diff --git a/overlay/usr.sbin/sysinst/arch/mac68k/menus.md.pl b/overlay/usr.sbin/sysinst/arch/mac68k/menus.md.pl deleted file mode 100644 index fa5e8bad32..0000000000 --- a/overlay/usr.sbin/sysinst/arch/mac68k/menus.md.pl +++ /dev/null @@ -1,333 +0,0 @@ -/* $NetBSD: menus.md.pl,v 1.7 2021/07/24 21:31:39 andvar Exp $ */ -/* Based on english version: */ -/* NetBSD: menus.md.en,v 1.13 2001/11/29 23:20:58 thorpej Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Menu definitions for sysinst. mac68k version, machine dependent. */ - -menu fullpart, title "Wybierz"; - option "Uzyj tylko czesci dysku", exit, action {usefull = 0;}; - option "Uzyj calego dysku", exit, action {usefull = 1;}; - -menu nodiskmap, title "Wybierz opcje", y=16; - display action { msg_fmt_display (MSG_nodiskmap, "%s", pm->diskdev); }; - option "Przerwij instalacje", exit, action { - endwin(); exit(1); - }; - option "Zainicjuj Mape partycji Dysku", exit, action { - int i, rv; - - msg_clear(); - msg_display (MSG_okwritediskmap); - process_menu (MENU_okabort, &rv); - if (!rv) { - endwin(); - return 0; - } - map.size = NEW_MAP_SIZE; - map.in_use_cnt = new_map[0].pmMapBlkCnt; - map.blk = (struct apple_part_map_entry *)calloc(map.size, - sizeof(struct apple_part_map_entry)); - for (i=0;i= map.usable_cnt) - map.selected = 0; - disp_selected_part (map.selected); - }; - option "Wybierz nastepna partycje", action { - map.selected += 1; - if (map.selected >= map.usable_cnt) - map.selected = 0; - }; - option "Zmien wybrana partycje", sub menu chooseid; - option "Ustaw punkt montazu dla partycji", sub menu mount_point; - option "Podziel wybrana partycje", action { - int i, j, k, size, free_size, rv; - char buf[40]; - EBZB *bzb; - - j = map.mblk[map.selected]; - msg_fmt_display(MSG_split_part, %d", map.blk[j].pmPartBlkCnt); - msg_prompt_add (MSG_scratch_size, NULL, buf, sizeof(buf)); - size = atoi(buf); - if (size > 0 && size < map.blk[j].pmPartBlkCnt) { - k = map.in_use_cnt+1; - if (k <= map.size) { - memcpy (&map.blk[k], &map.blk[j], - sizeof(struct apple_part_map_entry)); - free_size = map.blk[j].pmPartBlkCnt - size; - strcpy (map.blk[j].pmPartType, "Apple_Scratch"); - map.blk[j].pmPartBlkCnt = size; - map.blk[j].pmDataCnt = size; - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - bzb->magic = 0; - bzb->mount_point[0] = '\0'; - strcpy (map.blk[k].pmPartType, "Apple_Free"); - map.blk[k].pmPyPartStart += size; - if ((map.blk[k].pmPyPartStart + free_size) > pm->dlsize) - map.blk[k].pmPartBlkCnt = - pm->dlsize - map.blk[k].pmPyPartStart; - else - map.blk[k].pmPartBlkCnt = free_size; - map.blk[k].pmDataCnt = map.blk[k].pmPartBlkCnt; - bzb = (EBZB *)&map.blk[k].pmBootArgs[0]; - bzb->magic = 0; - bzb->mount_point[0] = '\0'; - map.in_use_cnt += 1; /* Count new part as usable */ - sortmerge(); - } else { - msg_display (MSG_diskfull); - process_menu (MENU_okabort, &rv); - if (!rv) { - free (map.blk); - map.size = NEW_MAP_SIZE; - map.in_use_cnt = new_map[0].pmMapBlkCnt; - map.blk = (struct apple_part_map_entry *)calloc(map.size, - sizeof(struct apple_part_map_entry)); - for (i=0;idiskdev, - bzb->flags.part, map.blk[i].pmPyPartStart, - map.blk[i].pmPartBlkCnt); - if ((map.blk[i].pmPyPartStart + - map.blk[i].pmPartBlkCnt) > pm->dlsize) { - msg_fmt_display_add(MSG_parttable_fix_fixing, "%s%c", - pm->diskdev, bzb->flags.part); - map.blk[i].pmPartBlkCnt = - pm->dlsize - map.blk[i].pmPyPartStart; - map.blk[i].pmDataCnt = - map.blk[i].pmPartBlkCnt; - } else { - msg_fmt_display_add(MSG_parttable_fix_fine, "%s%c", - pm->diskdev, bzb->flags.part); - } - process_menu(MENU_ok, NULL); - }; - - -menu ok2, title "Przerwac?", y=17; - option "OK", exit, action { }; - -menu okabort, title "Co chcesz zrobic?"; - option "OK", exit, action { *((int*)arg) = 1; }; - option "Przerwac instalacje", exit, action { *((int*)arg) = 0; }; - -menu chooseid, title "Rodzaj partycji?"; - option "NetBSD Root", exit, action { - int i, j; - EBZB *bzb; - - j = map.mblk[map.selected]; - reset_part_flags(&map.blk[j]); - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - bzb->magic = APPLE_BZB_MAGIC; - strcpy (map.blk[j].pmPartName, "NetBSD Root"); - strcpy (map.blk[j].pmPartType, "Apple_Unix_SVR2"); - bzb->type = APPLE_BZB_TYPEFS; - bzb->flags.root = 1; - /* - * Automatically determine root mount points. The first - * root-type filesystem is mounted on "/", all others - * will mount on "/altroot". If there are multiple - * occurrences of "/altroot" they will be picked up on - * the sanity_scan in the next step of the installation. - */ - for (i=0,map.root_cnt=0;itype == APPLE_BZB_TYPEFS && bzb->flags.root) { - if (map.root_cnt++ == 0) - strcpy (bzb->mount_point, "/"); - else - strcpy (bzb->mount_point, "/altroot"); - } - } - } }; - option "NetBSD SWAP", exit, action { - int j; - EBZB *bzb; - - j = map.mblk[map.selected]; - reset_part_flags(&map.blk[j]); - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - bzb->magic = APPLE_BZB_MAGIC; - strcpy (map.blk[j].pmPartName, "NetBSD SWAP"); - strcpy (map.blk[j].pmPartType, "Apple_Unix_SVR2"); - bzb->type = APPLE_BZB_TYPESWAP; }; - option "NetBSD Usr", exit, action { - int j; - EBZB *bzb; - - j = map.mblk[map.selected]; - reset_part_flags(&map.blk[j]); - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - bzb->magic = APPLE_BZB_MAGIC; - strcpy (map.blk[j].pmPartName, "NetBSD Usr"); - strcpy (map.blk[j].pmPartType, "Apple_Unix_SVR2"); - bzb->type = APPLE_BZB_TYPEFS; - bzb->flags.usr = 1; - if (map.usr_cnt++ == 0) - strcpy (bzb->mount_point, "/usr"); - }; - option "NetBSD Root&Usr", exit, action { - int j; - EBZB *bzb; - - j = map.mblk[map.selected]; - reset_part_flags(&map.blk[j]); - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - bzb->magic = APPLE_BZB_MAGIC; - strcpy (map.blk[j].pmPartName, "NetBSD Root & Usr"); - strcpy (map.blk[j].pmPartType, "Apple_Unix_SVR2"); - bzb->type = APPLE_BZB_TYPEFS; - bzb->flags.root = 1; - bzb->flags.usr = 1; - if (map.root_cnt++ == 0) - strcpy (bzb->mount_point, "/"); - else { - if (map.usr_cnt++ == 0) - strcpy (bzb->mount_point, "/usr"); - } }; - option "MacOS HFS", exit, action { - int j; - EBZB *bzb; - - j = map.mblk[map.selected]; - reset_part_flags(&map.blk[j]); - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - bzb->magic = 0; - bzb->mount_point[0] = '\0'; - strcpy (map.blk[j].pmPartName, "untitled (HFS)"); - strcpy (map.blk[j].pmPartType, "Apple_HFS"); }; - option "Scratch", exit, action { - int j; - EBZB *bzb; - - j = map.mblk[map.selected]; - reset_part_flags(&map.blk[j]); - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - bzb->magic = 0; - bzb->mount_point[0] = '\0'; - strcpy (map.blk[j].pmPartName, "untitled (Scratch)"); - strcpy (map.blk[j].pmPartType, "Apple_Scratch"); }; - option "Free", exit, action { - int j; - EBZB *bzb; - - j = map.mblk[map.selected]; - reset_part_flags(&map.blk[j]); - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - bzb->magic = 0; - bzb->mount_point[0] = '\0'; - strcpy (map.blk[j].pmPartName, "untitled (Free)"); - strcpy (map.blk[j].pmPartType, "Apple_Free"); }; - -menu mount_point, title "Punkt montazu?"; - option "/usr", exit, action { - int j; - EBZB *bzb; - - j = map.mblk[map.selected]; - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - strcpy (bzb->mount_point, "/usr"); }; - option "/home", exit, action { - int j; - EBZB *bzb; - - j = map.mblk[map.selected]; - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - strcpy (bzb->mount_point, "/home"); }; - option "/var", exit, action { - int j; - EBZB *bzb; - - j = map.mblk[map.selected]; - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - strcpy (bzb->mount_point, "/var"); }; - option "/tmp", exit, action { - int j; - EBZB *bzb; - - j = map.mblk[map.selected]; - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - strcpy (bzb->mount_point, "/tmp"); }; - option "Zaden", exit, action { - int j; - EBZB *bzb; - - j = map.mblk[map.selected]; - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - bzb->mount_point[0] = '\0'; }; - option "inny", exit, action { - int j; - char buf[60]; - EBZB *bzb; - - msg_display (MSG_custom_mount_point); - msg_prompt_add (MSG_mountpoint, NULL, buf, sizeof(buf)); - j = map.mblk[map.selected]; - bzb = (EBZB *)&map.blk[j].pmBootArgs[0]; - if (buf[0] != '\0') { - bzb->mount_point[0] = '\0'; - if (buf[0] != '/') - strcpy (bzb->mount_point, "/"); - strcat(bzb->mount_point, buf); - } }; - -menu sanity, title "Wybierz opcje"; - display action {msg_display (MSG_sanity_check); - report_errors(); }; - option "Przerwij instalacje", exit, action { *((int*)arg) = -1; }; - option "Zignoruj ostrzezenia i kontynuuj", exit, action { *((int*)arg) = 1;}; - option "Ponownie wyedytuj mape partycji dysku", exit, action { *((int*)arg) = 0; }; - -/* - * This menu shouldn't be used in the mac68k port, but it needs to be - * defined because it's referenced from the toplevel code. - */ diff --git a/overlay/usr.sbin/sysinst/arch/mac68k/msg.md.de b/overlay/usr.sbin/sysinst/arch/mac68k/msg.md.de deleted file mode 100644 index 8e87e0183d..0000000000 --- a/overlay/usr.sbin/sysinst/arch/mac68k/msg.md.de +++ /dev/null @@ -1,245 +0,0 @@ -/* $NetBSD: msg.md.de,v 1.2 2019/06/12 06:20:21 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- german, mac68k version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{ -} - -message mac68k_fullpart -{NetBSD wird nun auf die Festplatte %s installiert. Sie -können die gesamte Festplatte oder nur einen Teil davon für NetBSD -verwenden. -Ihre Wahl? -} - -message nodiskmap -{Die Festplatte %s ist anscheinend nicht für die Verwendung mit MacOS -initialisiert worden. Dieses Programm benutzt das Disk-Layout aus -der Festplatten Partitions Übersicht, die vom MacOS Formatierungsprogramm -beim Initialisieren der Festplatte geschrieben wird. -Sie können nun: - -* Die Installation abbrechen. Sie können die Festplatte mit einem beliebigen -Formatierungsprogramm initialisieren. Partitionen müssen nicht als -A/UX definiert sein, das NetBSD Installationsprogramm bietet Ihnen -später, wenn nötig, die Überarbeitung der Partitionstypen an. - -* Sysinst erlauben, die Festplatten Partitions Übersicht auf die Festplatte -zu schreiben. Diese Festplatte wird dann nicht für MacOS bootbar sein und kann -eventuell gar nicht mit MacOS benutzt werden, solange die MacOS Treiber nicht -mit einem MacOS-kompatiblem Formatierer installiert werden. - -} - -message okwritediskmap -{Sysinst wird Ihre Festplatte mit einer neuen Festplatten Partitions Übersicht -initialisieren, deren Werte vom Festplatten-Treiber geliefert wurden. Diese -Standard Übersicht wird eine minimale Block0-Definition enthalten, eine -Partitions Übersicht für bis zu 15 Partitionen, sowie vordefinierte Partitionesn -für den Mac, Festplattentreiber sowie eine minimale MacOS HFS Partition. Der Rest der -Festplatte bleibt ungenutzt. Die Festplattentreiber Partition wird nicht initialisiert, -sodass das Volume nicht mit MacOS bootbar sein wird. Wenn Sie fortfahren, werden -Sie aufgefordert diese Partitions Übersicht zu editieren, so wie Sie es für die -NetBSD Installation benötigen. Die Übersicht wird nicht auf die Festplatte -geschrieben, bis Sie die Partitionierung erfolgreich abgeschlossen haben. - -Möchten Sie fortfahren?} - -message mac68k_part_header -{Part Start Größe FS-Typ verw. Dateisystem (Name) ----- ---------- ---------- ------ --------- ------------------\n} - -message part_row -{%3s%c %10d %10d %6s %-9s %s\n} - -message mac68k_ovrwrite -{Ihr Festplatte enthält mindestens eine MacOS HFS Partition. Das überschreiben -der ganzen Festplatte wird die Festplatte für MacOS unbenutzbar machen. Sie -sollten erwägen, eine kleine MacOS HFS Partition anzulegen, um -sicherzustellen, dass die Festplatte unter MacOS benutzt werden kann. Dies -wäre eine gute Stelle, um eine Kopie der NetBSD/mac68k Booter Applikation -zu speichern, mit der NetBSD von MacOS aus gestartet wird. - -Sind Sie sicher, dass Sie die MacOS HFS Partition(en) überschreiben -möchten? -} - -message mac68k_editparttable -{Festplatten Partitions Übersicht bearbeiten: Die Übersicht auf der Festplatte -wurde nach Benutzerpartitionen durchsucht, aber nur die für NetBSD nutzbaren -werden hier angezeigt. - -Die Partitionstabelle sieht jetzt so aus: -} - -message split_part -{Die von Ihnen gewählte Partition wird in zwei Partition unterteilt. -Eine wird den Typ Apple_Scratch erhalten, die andere den Typ Apple_Free. -Sie können dann beide Partitionstypen in beliebige andere Typen ändern. -Falls die Apple_Free Partition an eine andere Apple_Free Partition -grenzt, werden diese Partitionen automatisch zusammengefasst. - -Es gibt %d Disk Blöcke in der gewählten Partition. Geben Sie ein, wieviel -Blöcke davon in die Apple_Scratch Partition übernommen werden sollen. -Wenn Sie 0 oder einen zu großen Wert angeben, bleibt die Partition -unverändert. - -} - -message scratch_size -{Größe des Apple_Scratch Teiles beim Unterteilen} - -message diskfull -{Sie haben versucht, eine existierende Partition in zwei Teile aufzuteilen, -aber in der Festplatten Partitions Übersicht ist kein Platz für den zweiten -Teil. -Wahrscheinlich hat Ihr Festplattenformatierer nicht genug zusätzlichen Platz -in der Original Festplatten Partitions Übersicht für zukünftige Erweiterungen -reserviert. Sie können nun: - -* Die Partition nicht aufteilen und mit der aktuellen Festplatten Partitions -Übersicht weiterarbeiten, oder - -* Sysinst gestatten, die neue Partitions Übersicht zu schreiben. Dadurch werden -alle auf der Festplatte existierenden Daten gelöscht. VORSICHT! - -Möchten Sie die Teilung dieser Partition abbrechen?} - -message custom_mount_point -{Wählen Sie einen Mount Point für die ausgewählte Partition. Dies sollte -ein eindeutiger Name sein, der mit "/" beginnt und der nicht für andere -Partitionen benutzt wird. - -} - -message sanity_check -{Beim Erstellen eines disklabels für Ihr Laufwerk sind Probleme aufgetreten. -Sie können diese ignorieren und fortfahren, aber dadurch wird die -Installation eventuell fehlschlagen. Folgende Probleme wurden festgestellt: - -} - -message dodiskmap -{Erstelle die Festplatten Partitions Übersicht ... -} - -message label_error -{Das neu auf der Festplatte gespeicherte Disklabel stimmt nicht mit der aktuell -geladenen Version überein. Jeder Versuch fortzufahren wird mit hoher -Wahrscheinlichkeit zum Verlust der Daten auf allen bereits existierenden -Partitionen führen. Da Ihre neue Partitions Übersicht bereits auf die -Festplatte geschrieben wurde, wird Sie beim nächsten Start verfügbar sein. -Bitte starten Sie daher jetzt den Computer neu und führen Sie die Installation -erneut aus. -} - -.if debug -message mapdebug -{Partitions Übersicht: -HFS count: %d -Root count: %d -Swap count: %d -Usr count: %d -Benutzbarer count: %d -} - -message dldebug -{Disklabel: -bsize: %d -dlcyl: %d -dlhead: %d -dlsec: %d -dlsize: %d -} - -message newfsdebug -{Ausführen von newfs auf Partition: %s\n -} - -message geomdebug -{Ausführen von: %s %s\n -} - -message geomdebug2 -{Calling: %s %d\n" -} -.endif - -message partdebug -{Partition %s%c: -Offset: %d -Größe: %d -} - -message disksetup_no_root -{* Keine Root Disk Partition definiert!\n} - -message disksetup_multiple_roots -{* Mehrere Root Disk Partitionen definiert!\n} - -message disksetup_no_swap -{* Keine SWAP (Auslagerungsspeicher) Partition definiert!\n} - -message disksetup_multiple_swaps -{* Mehrere SWAP (Auslagerungsspeicher) Partitionen definiert!\n} - -message disksetup_part_beginning -{* Die Partition %s%c beginnt nach dem Ende der Festplatte\n} - -message disksetup_part_size -{* Die Partition %s%c erstreckt sich über das Ende der Festplatte hinaus\n} - -message disksetup_noerrors -{** Es wurden keine Fehler oder Anomalien bei der Einrichtung der Festplatte gefunden.\n} - -message parttable_fix_fixing -{Korrektur der Partition %s%c\n} - -message parttable_fix_fine -{Partition %s%c ist bereits in Ordnung!\n} - -message dump_line -{%s\n} - -message set_kernel_1 -{Kernel (GENERIC)} -message set_kernel_2 -{Kernel (GENERICSBC)} - diff --git a/overlay/usr.sbin/sysinst/arch/mac68k/msg.md.en b/overlay/usr.sbin/sysinst/arch/mac68k/msg.md.en deleted file mode 100644 index bb2ae23184..0000000000 --- a/overlay/usr.sbin/sysinst/arch/mac68k/msg.md.en +++ /dev/null @@ -1,239 +0,0 @@ -/* $NetBSD: msg.md.en,v 1.2 2019/06/12 06:20:21 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- english, mac68k version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{ -} - -message mac68k_fullpart -{We are now going to install NetBSD on the disk %s. You may -choose to install NetBSD on the entire disk or part of the disk. -Which would you like to do? -} - -message nodiskmap -{It appears that your disk, %s, has not been formatted and initialized -for use on MacOS. This program gets the disk layout of your disk by -reading the Disk Partition Map which is written by the disk formatter -when it prepared the disk for use with the Macintosh system. Your -options are: - -* Abort the install. You can format and define a preliminary -partition structure with any disk formatter. Partitions do not -have to be defined as A/UX types; the NetBSD install process will -allow you to redefine them as necessary. - -* Allow sysinst to initialize the Disk Partition Map for you. The -disk will not be MacOS bootable and may not be usable by MacOS unless -MacOS drivers are installed with a MacOS compatible disk formatter. - -} - -message okwritediskmap -{Sysinst will attempt to initialize your disk with a new Disk Partition -Map using values obtained from the disk driver. This default Map will -include a minimal Block0 definition, a Partition Map allowing for up to -15 disk partitions, and pre-defined partitions for the Map, disk drivers, -and a minimal MacOS HFS partition. The rest of the disk will be marked -as available for use. The disk driver partitions will not be initialized -so the volume will not be MacOS bootable. If you choose to proceed from -this point with the installation you may edit this new partition map to -suit your NetBSD needs. The Map will not be written to the disk until -you have completed your partition setups. - -Shall we continue?} - -message mac68k_part_header -{Part start size fstype use mount point (name) ----- ---------- ---------- ------ --------- ------------------\n} - -message part_row -{%3s%c %10d %10d %6s %-9s %s\n} - -message mac68k_ovrwrite -{Your disk currently has at least one MacOS HFS partition. Overwriting -the entire disk will delete the partition and may make the disk unusable -under MacOS. You should consider creating a single small MacOS HFS -partition to insure that the disk can be mounted under MacOS. This -would be a good place to keep a copy of the NetBSD/mac68k Booter -application used to boot NetBSD from MacOS. - -Are you really sure you want to overwrite the MacOS HFS partition(s)? -} - -message mac68k_editparttable -{Edit Disk Partition Map: The Map on the disk has been scanned for all -user-level partitions, but only those usable by NetBSD are displayed. -The partition table currently looks like: - -} - -message split_part -{The disk partition you have selected will be split into two partitions. -One will be an Apple_Scratch type partition and the other an Apple_Free -type partition. You may then change either of the partitions into one of -another type. If the Apple_Free part is physically adjacent to another -partition which is also an Apple_Free type, the two will be automatically -merged into a single Apple_Free type partition. - -There are %d disk blocks in the selected partition. Enter the number -of disk blocks you would like allocated to the Apple_Scratch partition. -Entering a value of zero, or a value greater than the number available -will leave the selected partition unchanged. - -} - -message scratch_size -{Size of the Apple_Scratch part of the split} - -message diskfull -{You have tried to split an existing disk partition into two parts but -there is no room in the Disk Partition Map to map the second part. This -is probably because your disk formatter didn't reserve additional space -in the original Disk Partition Map for future modifications such as this. -Your options at this point are: - -* Abandon any hope of splitting this partition, with the present -Disk Partition Map, or - -* Allow sysinst to install a new Disk Map on your disk. This will -destroy all existing data on all partitions on the volume. USE WITH CARE! - -Would you like to Abandon splitting this partition?} - -message custom_mount_point -{Specify a Mount Point for the currently selected disk partition. This -should be a unique name, starting with a "/", which is not being used -for any other partition. - -} - -message sanity_check -{In setting up the disklabel for your volume the following anomalies were -found. You may choose to ignore these and continue, but doing so may result -in an installation failure. The following problems were found: - -} - -message dodiskmap -{Setting up the Disk Partition Map ... -} - -message label_error -{The new on-disk partition label does not match the one currently in-core. -Any attempt to proceed will most likely result in damage to any pre-existing -disk partitions. However your new Disk Partition Map has been written to -the disk and will be available the next time NetBSD is booted. Please -reboot immediately and restart the Installation Process. -} - -.if debug -message mapdebug -{Partition Map: -HFS count: %d -Root count: %d -Swap count: %d -Usr count: %d -Usable count: %d -} - -message dldebug -{Disklabel: -bsize: %d -dlcyl: %d -dlhead: %d -dlsec: %d -dlsize: %d -} - -message newfsdebug -{Running newfs on partition: %s\n -} - -message geomdebug -{Calling: %s %s\n -} - -message geomdebug2 -{Calling: %s %d\n" -} -.endif - -message partdebug -{Partition %s%c: -Offset: %d -Size: %d -} - -message disksetup_no_root -{* No Disk Partition defined for Root!\n} - -message disksetup_multiple_roots -{* Multiple Disk Partitions defined for Root\n} - -message disksetup_no_swap -{* No Disk Partition defined for SWAP!\n} - -message disksetup_multiple_swaps -{* Multiple Disk Partitions defined for SWAP\n} - -message disksetup_part_beginning -{* Partition %s%c begins beyond end of disk\n} - -message disksetup_part_size -{* Partition %s%c extends beyond end of disk\n} - -message disksetup_noerrors -{** No errors or anomalies found in disk setup.\n} - -message parttable_fix_fixing -{Fixing partition %s%c\n} - -message parttable_fix_fine -{Partition %s%c is just fine!\n} - -message dump_line -{%s\n} - -message set_kernel_1 -{Kernel (GENERIC)} -message set_kernel_2 -{Kernel (GENERICSBC)} - diff --git a/overlay/usr.sbin/sysinst/arch/mac68k/msg.md.es b/overlay/usr.sbin/sysinst/arch/mac68k/msg.md.es deleted file mode 100644 index 31c2d01dd1..0000000000 --- a/overlay/usr.sbin/sysinst/arch/mac68k/msg.md.es +++ /dev/null @@ -1,248 +0,0 @@ -/* $NetBSD: msg.md.es,v 1.2 2019/06/12 06:20:21 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- spanish, mac68k version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{ -} - -message mac68k_fullpart -{Ahora vamos a instalar NetBSD en el disco %s. Debería escoger -entre instalar NetBSD en el disco entero o en una parte del disco. -¿Que le gustaría hacer? -} - -message nodiskmap -{Parece que su disco, %s, no ha sido formateado e inicializado para -usar en MacOS. Este programa obtiene la disposición de su disco -leyendo el Mapa de Particiones del Disco que es escrito por el -formateador de disco cuando prepara el disco para usar con el -sistema Macintosh. Sus opciones son: - -* Abortar la instalación. Puede formatear y definir una estructura -preliminar de particiones con cualquier formateador de disco. -Las particiones no tienen que estar definidas como del tipo A/UX; -el proceso de instalación de NetBSD le permitira redefinirlas -si fuera necesario. - -* Permitir a sysinst inicializar el Mapa de Particiones del Disco -por usted. El disco no será iniciable por MacOS y puede que no sea -usable por MacOS a no ser que los drivers de MacOS estén instalados -con un formateador compatible con MacOS. - -} - -message okwritediskmap -{Sysinst intentará inicializar su disco con un nuevo Mapa de Particiones -de Disco usando los valores obtenidos del driver del disco. Este mapa -por defecto incluira una definición minima de Block0, un Mapa de -Particiones permitiendo hasta 15 particiones de disco, y particiones -pre-definidas para el Mapa, drivers de disco, y una partición minima -de MacOS HFS. El resto del disco será marcado como disponible para uso. -Las particiones de drivers de disco no serán inicializadas asi que el -volumen no será iniciable por MacOS. Si escoge proceder con la -instalación desde este punto deberá editar este nuevo Mapa de Particiones -para ajustar NetBSD a sus necesidades. El Mapa no será escrito a disco -hasta que no haya completado el ajuste de sus particiones. - -¿Deberíamos continuar?} - -message mac68k_part_header -{Part Inicio Tamaño TipoFS Uso Punt Montaj (Nomb) ----- ---------- ---------- ------ --------- ------------------\n} - -message part_row -{%4s%c %10d %10d %6s %-9s %s\n} - -message mac68k_ovrwrite -{Actualmente su disco tiene al menos una partición MacOS HFS. -Sobreescribiendo el disco entero eliminará la partición y puede hacer -el disco inusable bajo MacOS. Debería considerar el crear una partición -sola MacOS HFS para asegurarse de que el disco pueda ser montado bajo -MacOS. Este será un buen sitio para mantener una copia de la aplicación -de arranque de NetBSD/mac68k usada para iniciar NetBSD desde MacOS. - -¿Está realmente seguro de que quiere sobreescribir la(s) particion(es) -MacOS HFS? -} - -message mac68k_editparttable -{Editar Tabla de Particiones de Disco: El Mapa en el disco ha sido -escaneada para todas las particiones a nivel de usuario, pero solo -se muestran las usables por NetBSD. -La tabla de particiones actualmente se muestra como: - -} - -message split_part -{La partición del disco que ha escogido sera partida en dos particiones. -Una partición será del tipo Apple_Scratch y la otra sera del tipo -Apple_Libre. Entonces debera cambiar una de las dos particiones en una -de otro tipo. Si la parte Apple_Libre es fisicamente adyacente a otra -particion que tambien sea del tipo Apple_Libre, las dos seran combinadas -automaticamente en una sola particion del tipo Apple_Free. - -Hay %d bloques en la particion seleccionada. Entre el numero de bloques -de disco que desearia alojar a la particion Apple_Scratch. -Entrar un valor de cero, o un valor mayor que el numero disponible -dejara la particion sin cambios. - -} - -message scratch_size -{Tamaño de la parte Apple_Scratch de la particion} - -message diskfull -{Ha intentado separar una particion de disco existente en dos partes -pero no hay espacio en el Mapa de Particiones de Disco para mapear -la segunda parte. Esto es probablemente porque su formateador de disco -no reservo espacio adicional en el Mapa de Particiones de Disco original -para futuras modificaciones como esta. -Sus opciones en este punto son: - -* Abandonar y esperar partir esta particion, con el Mapa de Particiones -de Disco actual, o - -* Permitir a sysinst instalar el nuevo Mapa de Particiones en su disco. -Esto destruira todos los datos en todas las particiones del volumen. -¡USAR CON CUIDADO! - -¿Desea Abandonar el particionaje de esta particion?} - -message custom_mount_point -{Especifique un Punto de Montaje para la particion de disco -seleccionada. Este deberia ser un nombre unico, empezando con una "/", -que no sera usado para ninguna otra particion. - -} - -message sanity_check -{Se han encontrado las siguientes anomalias cuando se ajustaba el -disklabel para su volumen. Deberia escoger ignorarlas y continuar, -pero hacer eso podria resultar en una instalacion fallida. Los -siguientes problemas han sido encontrados: - -} - -message dodiskmap -{Ajustando el Mapa de Particiones de Disco ... -} - -message label_error -{La nueva etiqueta del disco no concuerda con la actual in-core. -Cualquier intento de proceder probablemente resultara en daño a cualquier -particion pre-existente en disco. Sin embargo su nuevo Mapa de Particiones -de Disco ha sido escrita a disco y estara disponible la proxima vez que -NetBSD sea iniciado. Por favor reinicie inmediatamente y vuelva a iniciar -el Proceso de Instalacion. -} - -.if debug -message mapdebug -{Mapa de Particiones: -HFS count: %d -Root count: %d -Swap count: %d -Usr count: %d -Usable count: %d -} - -message dldebug -{Disklabel: -bsize: %d -dlcyl: %d -dlhead: %d -dlsec: %d -dlsize: %d -} - -message newfsdebug -{Ejecutando newfs en particion: %s\n -} - -message geomdebug -{Llamando: %s %s\n -} - -message geomdebug2 -{Llamando: %s %d\n" -} -.endif - -message partdebug -{Particion %s%c: -Compensacion: %d -Tamaño: %d -} - -message disksetup_no_root -{* ¡Ninguna Particion de Disco definida para Root!\n} - -message disksetup_multiple_roots -{* Multiples Particiones de Disco definidas para Root\n} - -message disksetup_no_swap -{* ¡Ninguna Particion de Disco definida para SWAP!\n} - -message disksetup_multiple_swaps -{* Multiples Particiones de Disco definidas para SWAP\n} - -message disksetup_part_beginning -{* La Particion %s%c empieza mas alla del final del disco\n} - -message disksetup_part_size -{* La Particion %s%c se extiende mas alla del final del disco\n} - -message disksetup_noerrors -{** No se han hallado errores ni anomalias en el disco de setup.\n} - -message parttable_fix_fixing -{Arreglando particion %s%c\n} - -message parttable_fix_fine -{¡La particion %s%c ya es correcta!\n} - -message dump_line -{%s\n} - -message set_kernel_1 -{Nucleo (GENERIC)} -message set_kernel_2 -{Nucleo (GENERICSBC)} - diff --git a/overlay/usr.sbin/sysinst/arch/mac68k/msg.md.pl b/overlay/usr.sbin/sysinst/arch/mac68k/msg.md.pl deleted file mode 100644 index 8b7cf1b670..0000000000 --- a/overlay/usr.sbin/sysinst/arch/mac68k/msg.md.pl +++ /dev/null @@ -1,239 +0,0 @@ -/* $NetBSD: msg.md.pl,v 1.2 2019/06/12 06:20:21 martin Exp $ */ -/* Based on english version: */ -/* NetBSD: msg.md.en,v 1.10 2001/07/26 22:47:34 wiz Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- Polish, mac68k version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{ -} - -message mac68k_fullpart -{Zainstalujemy teraz NetBSD na dysku %s. Mozesz wybrac, czy chcesz -zainstalowac NetBSD na calym dysku, czy tylko na jego czesci. - -Ktora instalacje chcesz zrobic? -} - -message nodiskmap -{Wyglada na to, ze twoj dysk %s, nie zostal sformatowany i zainicjalizowany -do uzycia z MacOS. Ten program pobiera strukture twojego dysku poprzez -czytanie Mapy Partycji Dysku ktora jest zapisana przez program, ktory -przygotowal dysk do uzycia z systemem Macintosh. Twoje mozliwosci to: - -* Przerwac instalacje. Mozesz sformatowac dysk i zdefiniowac strukture -partycji z jakimkolwiek programem. Partycje nie musza byc zdefiniowane -jako A/UX; Proces instalacji NetBSD pozwoli ci na ich zredefiniowanie -jesli bedzie to potrzebne. - -* Pozwolic aby sysinst zainicjowal Mape Partycji Dysku dla ciebie. -Spowoduje to, ze dysk nie bedzie bootowalny ani uzyteczny pod MacOS. -} - -message okwritediskmap -{Sysinst sprobuje zainicjalizowac twoj dysk z nowa Mapa Partycji Dysku -uzywajac wartosci pobranych ze sterownika dysku. Ta domyslna Mapa -bedzie zawierala minimalna definicje Bloku0, Mape Partycji pozwalajaca -na maskymalnie 15 partycji dyskowych, oraz pre-definiowane partycje -dla Mapy, sterownikow dysku, oraz minimalna partycje HFS MacOS. Reszta -dysku zostanie oznaczona jako dostepna do uzycia. Partycje sterownikow dysku -nie zostana zainicjowane, wiec wolumin nie bedzie bootowalny dla MacOS. -Jesli bedziesz kontynuowal, bedziesz mogl wyedytowac nowa mape partycji -aby odpowiadala ona twoim potrzebom dla NetBSD. Mapa nie zostanie zapisana -na dysk, dopoki nie ukonczysz ustawiania partycji. - -Kontynuowac?} - -message mac68k_part_header -{Part przesun rozmiar FStype uzycie punk montazu (nazwa) ----- ---------- ---------- ------ --------- ------------------\n} - -message part_row -{%3s%c %-10d %-10d %-6s %-9s %s\n} - -message mac68k_ovrwrite -{Twoj dysk posiada aktualnie przynajmniej jedna partycje HFS MacOS. -Nadpisywanie calego dysku spowoduje usuniecie partycji, co moze -spowodowac ze dysk stanie sie nie uzyteczny pod MacOS. Powinienes -rozwazyc utworzenie osobnej malej partycji HFS MacOS, aby upewnic -sie, ze bedziesz mogl zamontowac dysk pod MacOS. Byloby to dobre -miejsce na trzymanie kopii bootloadera NetBSD/mac68k. Pewnosc, ze -dysk moze byc zamontowany pod MacOS moze przydac sie przy probie -uzyskania dostepu do czesci dysku za pomoca aplikacji MacOS, takich -jak np stary Instalator. - -Czy napewno chcesz nadpisac partycje MacOS HFS? -} - -message mac68k_editparttable -{Edycja Mapy Partycji Dysku: Mapa na dysku zostala przeszukana pod katem -wszystkich partycji uzytkownika, ale tylko te uzyteczne w NetBSD, zostaly -wyswietlone. -Aktualna tablica partycji wyglada tak: - -} - -message split_part -{Partycje, ktore wybrales zostana podzielone na dwie partycje. -Jedna bedzie partycja Apple_Scratch, a druga Apple_Free. -Jesli czesc Apple_Free fizycznie sasiaduje z inna partycja ktora jest -take typu Apple_Free, obie zostana automatycznie polaczone w jedna -typu Apple_Free. Mozesz pozniej zmienic ja w partycje innego typu. - -Wybrana partycja ma %s blokow. Wprowadz ilosc blokow, ktore chcialbys -zaalokowac dla partycji Apple_Scratch. Jesli podasz 0 lub wartosc wieksza -niz dozwolona, partycje pozostanie bez zmian. - -} - -message scratch_size -{Rozmiar podzielonej czesci Apple_Scratch} - -message diskfull -{Probowales podzielic istniejaca partycje na dwie czesci, ale nie ma na to -miejsca w Mapie Partycji Dysku. Jest to prawdopodobnie spowodowane tym, ze -twoj program formatujacy nie zarezerwowal dodatkowej przestrzeni w -oryginalnej Mapie Partycji Dysku na przyszle modyfikacje takie jak ta. -Mozesz teraz: - -* Porzucic nadzieje na podzielenie tej partycji, z aktualna -Mapa Partycji Dysku, lub -* Pozwolic aby sysinst zainstalowal Nowa Mape na dysku. Spowoduje to -utrate wszystkich danych na wszystkich partycjach. UZYWAJ Z UWAGA! - -Czy chcesz zrezygnowac z podzialu tej partycji?} - -message custom_mount_point -{Podaj Punkt Montazu dla aktualnie wybranej partycji. Powinna byc to -unikalna nazwa, zaczynajaca sie od "/", ktora nie jest juz uzywana -przez inna partycje. - -} - -message sanity_check -{W trakcie konfigurowania twojego dysku zostaly znalezione nastepujace -anomalie. Mozesz je zignorowac i kontynuowac, ale zrobienie tego moze -spowodowac nie powodzenie instalacji. Oto problemy, ktore wystapily: - -} - -message dodiskmap -{Konfigurowanie Mapy Partycji Dysku ... -} - -message label_error -{Nowa etykieta partycji na dysku nie zgadza sie z obecna etykieta w kernelu. -Kazda proba kontynuacji prawdopodobnie skonczy sie uszkodzeniem istniejacych -wszesniej partycji. Ale nowa mapa partycji dyskowych zostala zapisana na -dysk i bedzie dostepna przy nastepnym uruchomieniu NetBSD. Prosze -natyczmiast uruchomic ponownie komputer i wznowic proces instalacji. -} - -.if debug -message mapdebug -{Mapa partycji: -HFS count: %d -Root count: %d -Swap count: %d -Usr count: %d -Usable count: %d -} - -message dldebug -{Disklabel: -bsize: %d -dlcyl: %d -dlhead: %d -dlsec: %d -dlsize: %d -} - -message newfsdebug -{Uruchamianie newfs na partycji: %s\n -} - -message geomdebug -{Wywolywanie: %s %s\n -} - -message geomdebug2 -{Wywolywanie: %s %d\n" -} -.endif - -message partdebug -{Partycja %s%c: -Przesuniecie: %d -Rozmiar: %d -} - -message disksetup_no_root -{* Nie zdefiniowano partycji dla Root!\n} - -message disksetup_multiple_roots -{* Zdefiniowano kilka partycji dla Root\n} - -message disksetup_no_swap -{* Nie zdefiniowano partycji dla SWAP!\n} - -message disksetup_multiple_swaps -{* Zdefiniowano kilka partycji dla SWAP\n} - -message disksetup_part_beginning -{* Partycja %s%c zaczyna sie poza koncem dysku\n} - -message disksetup_part_size -{* Partycja %s%c wykracza poza koniec dysku\n} - -message disksetup_noerrors -{** Nie znaleziono bledow lub anomali na dyskach.\n} - -message parttable_fix_fixing -{Naprawianie partycji %s%c\n} - -message parttable_fix_fine -{Partycja %s%c jest w porzadku!\n} - -message dump_line -{%s\n} - -message set_kernel_1 -{Kernel (GENERIC)} -message set_kernel_2 -{Kernel (GENERICSBC)} diff --git a/overlay/usr.sbin/sysinst/arch/macppc/Makefile b/overlay/usr.sbin/sysinst/arch/macppc/Makefile deleted file mode 100644 index 738cf3f271..0000000000 --- a/overlay/usr.sbin/sysinst/arch/macppc/Makefile +++ /dev/null @@ -1,6 +0,0 @@ -# $NetBSD: Makefile,v 1.1 2014/07/26 19:30:46 dholland Exp $ -# -# Makefile for macppc -# - -.include "../../Makefile.inc" diff --git a/overlay/usr.sbin/sysinst/arch/macppc/md.c b/overlay/usr.sbin/sysinst/arch/macppc/md.c deleted file mode 100644 index 90d06e980c..0000000000 --- a/overlay/usr.sbin/sysinst/arch/macppc/md.c +++ /dev/null @@ -1,236 +0,0 @@ -/* $NetBSD: md.c,v 1.7 2022/01/29 16:01:19 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - */ - -/* md.c -- macppc machine specific routines */ - -#include -#include -#include -#include -#include -#include -#include -#include - -#include "defs.h" -#include "md.h" -#include "msg_defs.h" -#include "menu_defs.h" - -void -md_init(void) -{ -} - -void -md_init_set_status(int flags) -{ - (void)flags; -} - -bool -md_get_info(struct install_partition_desc *install) -{ - struct disklabel disklabel; - int fd; - char dev_name[100]; - - snprintf (dev_name, 100, "/dev/r%sc", pm->diskdev); - - fd = open (dev_name, O_RDONLY, 0); - if (fd < 0) { - endwin(); - fprintf (stderr, "Can't open %s\n", dev_name); - exit(1); - } - if (ioctl(fd, DIOCGDINFO, &disklabel) == -1) { - endwin(); - fprintf (stderr, "Can't read disklabel on %s.\n", dev_name); - close(fd); - exit(1); - } - close(fd); - - pm->dlcyl = disklabel.d_ncylinders; - pm->dlhead = disklabel.d_ntracks; - pm->dlsec = disklabel.d_nsectors; - pm->sectorsize = disklabel.d_secsize; - pm->dlcylsize = disklabel.d_secpercyl; - - /* - * Compute whole disk size. Take max of (pm->dlcyl*pm->dlhead*pm->dlsec) - * and secperunit, just in case the disk is already labelled. - * (If our new label's RAW_PART size ends up smaller than the - * in-core RAW_PART size value, updating the label will fail.) - */ - pm->dlsize = pm->dlcyl*pm->dlhead*pm->dlsec; - if (disklabel.d_secperunit > pm->dlsize) - pm->dlsize = disklabel.d_secperunit; - - return true; -} - -/* - * md back-end code for menu-driven BSD disklabel editor. - */ -int -md_make_bsd_partitions(struct install_partition_desc *install) -{ - return make_bsd_partitions(install); -} - -/* - * any additional partition validation - */ -bool -md_check_partitions(struct install_partition_desc *install) -{ - return true; -} - -/* - * hook called before writing new disklabel. - */ -bool -md_pre_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - return true; -} - -/* - * hook called after writing disklabel to new target disk. - */ -bool -md_post_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - return true; -} - -/* - * hook called after upgrade() or install() has finished setting - * up the target disk but immediately before the user is given the - * ``disks are now set up'' message. - * - * On the macppc, we use this opportunity to install the boot blocks. - */ -int -md_post_newfs(struct install_partition_desc *install) -{ - const char *bootfile = "/boot"; - - /* - * XXX - * Only OpenFirmware version 1 and 2 machines need installboot(8) - * and it uses a faked Apple partition map with the primary bootxx. - * installboot(8) assumes that root partition is at the beginning of - * the disk and put a faked Apple partition map at the top of - * the partition, so it won't work if root partition has some - * offset from physical block 0 where the Apple driver descriptor - * map resides on. - * - * On OpenFirmware version 3 machines, the strategy used on OF1/2 - * machines doesn't work (they don't recognize boot code info - * in Apple partition map entries) and they need to have - * an extra native partition (HFS or MSDOSFS) which can be - * recognized by the newer firmware to put a loadable bootloader. - * installboot(8) against partition `a' on such machines might - * corrupt existing disklabel or a valid Apple partition map. - * - * Currently there is no way to see OF version on running machine - * yet, so assume partition a has some offset on OF3 machines - * and don't try installboot(8) in that case. - */ - if (install->num == 0 || install->infos[0].cur_start != 0) - return 0; - - msg_fmt_display(MSG_dobootblks, "%s", pm->diskdev); - cp_to_target("/usr/mdec/ofwboot", bootfile); - sync(); - run_program(RUN_DISPLAY, "/usr/sbin/installboot /dev/r%sa %s %s", - pm->diskdev, "/usr/mdec/bootxx", bootfile); - return 0; -} - -int -md_post_extract(struct install_partition_desc *install, bool upgrade) -{ - return 0; -} - -void -md_cleanup_install(struct install_partition_desc *install) -{ -#ifndef DEBUG - enable_rc_conf(); -#endif -} - -int -md_pre_update(struct install_partition_desc *install) -{ - return 1; -} - -/* Upgrade support */ -int -md_update(struct install_partition_desc *install) -{ - md_post_newfs(install); - return 1; -} - -int -md_pre_mount(struct install_partition_desc *install, size_t ndx) -{ - return 0; -} - -bool -md_parts_use_wholedisk(struct disk_partitions *parts) -{ - return parts_use_wholedisk(parts, 0, NULL); -} - -#ifdef HAVE_GPT -bool -md_gpt_post_write(struct disk_partitions *parts, part_id root_id, - bool root_is_new, part_id efi_id, bool efi_is_new) -{ - /* no GPT boot support, nothing needs to be done here */ - return true; -} -#endif - diff --git a/overlay/usr.sbin/sysinst/arch/macppc/md.h b/overlay/usr.sbin/sysinst/arch/macppc/md.h deleted file mode 100644 index 0f006ae120..0000000000 --- a/overlay/usr.sbin/sysinst/arch/macppc/md.h +++ /dev/null @@ -1,65 +0,0 @@ -/* $NetBSD: md.h,v 1.4 2025/04/26 03:49:32 tsutsui Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* md.h -- Machine specific definitions for the macppc */ - -/* Constants and defines */ - -/* Megs for the / partition, if separate */ -#define DEFROOTSIZE 60 - -/* Megs required for a full X installation. */ -#define XNEEDMB 256 - -/* Megs required for debug sets */ -#define DEBNEEDMB 900 - -/* have support for booting from UFS2 */ -#define HAVE_UFS2_BOOT - -/* - * Default filesets to fetch and install during installation - * or upgrade. - */ -#define SET_KERNEL_1_NAME "kern-GENERIC" -#define SET_KERNEL_2_NAME "kern-GENERIC.MP" -#define SET_KERNEL_3_NAME "kern-GENERIC_601" - -/* - * Machine-specific command to write a new label to a disk. - * If not defined, we assume the port does not support disklabels and - * the hand-edited disklabel will NOT be written by MI code. - */ -#define DISKLABEL_CMD "disklabel -w -r" diff --git a/overlay/usr.sbin/sysinst/arch/macppc/menus.md.en b/overlay/usr.sbin/sysinst/arch/macppc/menus.md.en deleted file mode 100644 index b4ee6deb57..0000000000 --- a/overlay/usr.sbin/sysinst/arch/macppc/menus.md.en +++ /dev/null @@ -1,37 +0,0 @@ -/* $NetBSD: menus.md.en,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* macppc machine dependent menus, english */ - diff --git a/overlay/usr.sbin/sysinst/arch/macppc/menus.md.es b/overlay/usr.sbin/sysinst/arch/macppc/menus.md.es deleted file mode 100644 index fe14533d39..0000000000 --- a/overlay/usr.sbin/sysinst/arch/macppc/menus.md.es +++ /dev/null @@ -1,37 +0,0 @@ -/* $NetBSD: menus.md.es,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* macppc machine dependent menus, spanish */ - diff --git a/overlay/usr.sbin/sysinst/arch/macppc/menus.md.fr b/overlay/usr.sbin/sysinst/arch/macppc/menus.md.fr deleted file mode 100644 index 6b86a94765..0000000000 --- a/overlay/usr.sbin/sysinst/arch/macppc/menus.md.fr +++ /dev/null @@ -1,37 +0,0 @@ -/* $NetBSD: menus.md.fr,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* macppc machine dependent menus, french */ - diff --git a/overlay/usr.sbin/sysinst/arch/macppc/menus.md.pl b/overlay/usr.sbin/sysinst/arch/macppc/menus.md.pl deleted file mode 100644 index 6ab15437a3..0000000000 --- a/overlay/usr.sbin/sysinst/arch/macppc/menus.md.pl +++ /dev/null @@ -1,39 +0,0 @@ -/* $NetBSD: menus.md.pl,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ -/* Based on english version: */ -/* NetBSD: menus.md.en,v 1.15 2001/11/29 23:20:59 thorpej Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* macppc machine dependent menus, Polish */ - diff --git a/overlay/usr.sbin/sysinst/arch/macppc/msg.md.de b/overlay/usr.sbin/sysinst/arch/macppc/msg.md.de deleted file mode 100644 index d2f53f3122..0000000000 --- a/overlay/usr.sbin/sysinst/arch/macppc/msg.md.de +++ /dev/null @@ -1,59 +0,0 @@ -/* $NetBSD: msg.md.de,v 1.2 2019/01/07 18:08:28 scole Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* macppc machine dependent messages, German */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Wenn Sie von einer Diskette gebootet haben, können Sie diese jetzt -entfernen. -} - -message dobootblks -{Installiere die Bootblöcke auf %s ... -} - -message set_kernel_1 -{Kernel (GENERIC)} - -message set_kernel_2 -{Kernel (GENERIC.MP)} - -message set_kernel_3 -{Kernel (GENERIC_601)} diff --git a/overlay/usr.sbin/sysinst/arch/macppc/msg.md.en b/overlay/usr.sbin/sysinst/arch/macppc/msg.md.en deleted file mode 100644 index 6ccb9b7573..0000000000 --- a/overlay/usr.sbin/sysinst/arch/macppc/msg.md.en +++ /dev/null @@ -1,58 +0,0 @@ -/* $NetBSD: msg.md.en,v 1.2 2019/01/07 18:08:28 scole Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* macppc machine dependent messages, english */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{If you booted from a floppy, you may now remove the disk. -} - -message dobootblks -{Installing boot blocks on %s.... -} - -message set_kernel_1 -{Kernel (GENERIC)} - -message set_kernel_2 -{Kernel (GENERIC.MP)} - -message set_kernel_3 -{Kernel (GENERIC_601)} diff --git a/overlay/usr.sbin/sysinst/arch/macppc/msg.md.es b/overlay/usr.sbin/sysinst/arch/macppc/msg.md.es deleted file mode 100644 index a0301e1056..0000000000 --- a/overlay/usr.sbin/sysinst/arch/macppc/msg.md.es +++ /dev/null @@ -1,58 +0,0 @@ -/* $NetBSD: msg.md.es,v 1.2 2019/01/07 18:08:28 scole Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* macppc machine dependent messages, spanish */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Si ha iniciado desde disquette, ahora debería retirar el disco. -} - -message dobootblks -{Instalando bloques de arranque en %s.... -} - -message set_kernel_1 -{Núcleo (GENERIC)} - -message set_kernel_2 -{Núcleo (GENERIC.MP)} - -message set_kernel_3 -{Núcleo (GENERIC_601)} diff --git a/overlay/usr.sbin/sysinst/arch/macppc/msg.md.fr b/overlay/usr.sbin/sysinst/arch/macppc/msg.md.fr deleted file mode 100644 index 0bee271c03..0000000000 --- a/overlay/usr.sbin/sysinst/arch/macppc/msg.md.fr +++ /dev/null @@ -1,58 +0,0 @@ -/* $NetBSD: msg.md.fr,v 1.2 2019/01/07 18:08:28 scole Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* macppc machine dependent messages, french */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Si vous avez démarré sur une disquette, vous pouvez maintenant la retirer. -} - -message dobootblks -{Installation des blocs de démarrage sur %s ... -} - -message set_kernel_1 -{Kernel (GENERIC)} - -message set_kernel_2 -{Kernel (GENERIC.MP)} - -message set_kernel_3 -{Kernel (GENERIC_601)} diff --git a/overlay/usr.sbin/sysinst/arch/macppc/msg.md.pl b/overlay/usr.sbin/sysinst/arch/macppc/msg.md.pl deleted file mode 100644 index cd6c43ff89..0000000000 --- a/overlay/usr.sbin/sysinst/arch/macppc/msg.md.pl +++ /dev/null @@ -1,60 +0,0 @@ -/* $NetBSD: msg.md.pl,v 1.2 2019/01/07 18:08:28 scole Exp $ */ -/* Based on english version: */ -/* NetBSD: msg.md.en,v 1.5 2000/12/03 01:54:48 minoura Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* macppc machine dependent messages, Polish */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Jesli uruchomiles komputer z dyskietki, mozesz ja teraz wyciagnac. -} - -message dobootblks -{Instalowanie bootblokow na %s.... -} - -message set_kernel_1 -{Kernel (GENERIC)} - -message set_kernel_2 -{Kernel (GENERIC.MP)} - -message set_kernel_3 -{Kernel (GENERIC_601)} diff --git a/overlay/usr.sbin/sysinst/arch/mipsco/Makefile b/overlay/usr.sbin/sysinst/arch/mipsco/Makefile deleted file mode 100644 index 53b96fad70..0000000000 --- a/overlay/usr.sbin/sysinst/arch/mipsco/Makefile +++ /dev/null @@ -1,11 +0,0 @@ -# $NetBSD: Makefile,v 1.2 2021/10/09 08:21:03 martin Exp $ -# -# Makefile for mipsco -# - -.ifdef SMALLPROG -NOPARTMAN= yes -NO_CLONES= yes -.endif - -.include "../../Makefile.inc" diff --git a/overlay/usr.sbin/sysinst/arch/mipsco/md.c b/overlay/usr.sbin/sysinst/arch/mipsco/md.c deleted file mode 100644 index 015a91e674..0000000000 --- a/overlay/usr.sbin/sysinst/arch/mipsco/md.c +++ /dev/null @@ -1,229 +0,0 @@ -/* $NetBSD: md.c,v 1.10 2025/02/17 22:16:37 andvar Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* md.c -- mipsco machine specific routines */ -/* This file is in close sync with pmax, sparc, vax, and x68k md.c */ - -#include -#include -#include -#include -#include -#include -#include - -#include "defs.h" -#include "md.h" -#include "msg_defs.h" -#include "menu_defs.h" - -void -md_init(void) -{ -} - -void -md_init_set_status(int flags) -{ - (void)flags; -} - -bool -md_get_info(struct install_partition_desc *install) -{ - struct disklabel disklabel; - int fd; - char dev_name[100]; - - snprintf(dev_name, 100, "/dev/r%sc", pm->diskdev); - - fd = open(dev_name, O_RDONLY, 0); - if (fd < 0) { - if (logfp) - (void)fprintf(logfp, "Can't open %s\n", dev_name); - endwin(); - fprintf(stderr, "Can't open %s\n", dev_name); - exit(1); - } - if (ioctl(fd, DIOCGDINFO, &disklabel) == -1) { - if (logfp) - (void)fprintf(logfp, "Can't read disklabel on %s.\n", - dev_name); - endwin(); - fprintf(stderr, "Can't read disklabel on %s.\n", dev_name); - close(fd); - exit(1); - } - close(fd); - - pm->dlcyl = disklabel.d_ncylinders; - pm->dlhead = disklabel.d_ntracks; - pm->dlsec = disklabel.d_nsectors; - pm->sectorsize = disklabel.d_secsize; - pm->dlcylsize = disklabel.d_secpercyl; - - /* - * Compute whole disk size. Take max of (pm->dlcyl*pm->dlhead*pm->dlsec) - * and secperunit, just in case the disk is already labelled. - * (If our new label's RAW_PART size ends up smaller than the - * in-core RAW_PART size value, updating the label will fail.) - */ - pm->dlsize = pm->dlcyl*pm->dlhead*pm->dlsec; - if (disklabel.d_secperunit > pm->dlsize) - pm->dlsize = disklabel.d_secperunit; - - return true; -} - -/* - * md back-end code for menu-driven BSD disklabel editor. - */ -int -md_make_bsd_partitions(struct install_partition_desc *install) -{ - return make_bsd_partitions(install); -} - -/* - * any additional partition validation - */ -bool -md_check_partitions(struct install_partition_desc *install) -{ - return true; -} - -/* - * hook called before writing new disklabel. - */ -bool -md_pre_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - return true; -} - -/* - * hook called after writing disklabel to new target disk. - */ -bool -md_post_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - return true; -} - -/* - * hook called after upgrade() or install() has finished setting - * up the target disk but immediately before the user is given the - * ``disks are now set up'' message. - * - * On mipsco, we take this opportunity to update the bootblocks. - */ -int -md_post_newfs(struct install_partition_desc *install) -{ - - /* XXX boot blocks ... */ - if (target_already_root()) { - /* /usr is empty and we must already have bootblocks?*/ - return 0; - } - - msg_fmt_display(MSG_dobootblks, "%s", pm->diskdev); - cp_to_target("/usr/mdec/boot", "/boot"); - if (run_program(RUN_DISPLAY | RUN_NO_CLEAR, - "/usr/mdec/installboot /dev/r%sc /usr/mdec/bootxx_ffs", pm->diskdev)) - process_menu(MENU_ok, - __UNCONST("Warning: disk is probably not bootable")); - - wclear(stdscr); - touchwin(stdscr); - clearok(stdscr, 1); - refresh(); - - return 0; -} - -int -md_post_extract(struct install_partition_desc *install, bool upgrade) -{ - return 0; -} - -void -md_cleanup_install(struct install_partition_desc *install) -{ -#ifndef DEBUG - enable_rc_conf(); -#endif -} - -int -md_pre_update(struct install_partition_desc *install) -{ - return 1; -} - -/* Upgrade support */ -int -md_update(struct install_partition_desc *install) -{ - md_post_newfs(install); - return 1; -} - -int -md_pre_mount(struct install_partition_desc *install, size_t ndx) -{ - return 0; -} - -bool -md_parts_use_wholedisk(struct disk_partitions *parts) -{ - return parts_use_wholedisk(parts, 0, NULL); -} - -#ifdef HAVE_GPT -bool -md_gpt_post_write(struct disk_partitions *parts, part_id root_id, - bool root_is_new, part_id efi_id, bool efi_is_new) -{ - /* no GPT boot support, nothing needs to be done here */ - return true; -} -#endif - diff --git a/overlay/usr.sbin/sysinst/arch/mipsco/md.h b/overlay/usr.sbin/sysinst/arch/mipsco/md.h deleted file mode 100644 index 6478b252c3..0000000000 --- a/overlay/usr.sbin/sysinst/arch/mipsco/md.h +++ /dev/null @@ -1,59 +0,0 @@ -/* $NetBSD: md.h,v 1.4 2025/04/26 03:49:33 tsutsui Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code Written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* md.h -- Machine specific definitions for NetBSD/mipsco */ - -/* Constants and defines */ - -#define DEFROOTSIZE 64 /* Default root size */ -#define DEFSWAPSIZE 32 /* Default swap size */ -#define DEFVARSIZE 32 /* Default /var size, if created */ -#define DEFUSRSIZE 750 /* Default /usr size, if /home */ -#define XNEEDMB 250 /* Extra megs for full X installation */ -#define DEBNEEDMB 900 /* Extra megs for debug sets */ - -/* - * Default filesets to fetch and install during installation - * or upgrade. - */ -#define SET_KERNEL_1_NAME "kern-GENERIC" -#define MD_SETS_VALID SET_KERNEL, SET_SYSTEM, SET_X11_NOSERVERS - -/* - * Machine-specific command to write a new label to a disk. - * If not defined, we assume the port does not support disklabels and - * hand-edited disklabel will NOT be written by MI code. - */ -#define DISKLABEL_CMD "disklabel -w -r" diff --git a/overlay/usr.sbin/sysinst/arch/mipsco/menus.md.en b/overlay/usr.sbin/sysinst/arch/mipsco/menus.md.en deleted file mode 100644 index 55fa49e9a1..0000000000 --- a/overlay/usr.sbin/sysinst/arch/mipsco/menus.md.en +++ /dev/null @@ -1,36 +0,0 @@ -/* $NetBSD: menus.md.en,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* mipsco machine dependent menus, english */ - diff --git a/overlay/usr.sbin/sysinst/arch/mipsco/menus.md.es b/overlay/usr.sbin/sysinst/arch/mipsco/menus.md.es deleted file mode 100644 index b683fc191a..0000000000 --- a/overlay/usr.sbin/sysinst/arch/mipsco/menus.md.es +++ /dev/null @@ -1,36 +0,0 @@ -/* $NetBSD: menus.md.es,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* mipsco machine dependent menus, spanish */ - diff --git a/overlay/usr.sbin/sysinst/arch/mipsco/menus.md.fr b/overlay/usr.sbin/sysinst/arch/mipsco/menus.md.fr deleted file mode 100644 index 967dd97383..0000000000 --- a/overlay/usr.sbin/sysinst/arch/mipsco/menus.md.fr +++ /dev/null @@ -1,36 +0,0 @@ -/* $NetBSD: menus.md.fr,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* mipsco machine dependent menus, french */ - diff --git a/overlay/usr.sbin/sysinst/arch/mipsco/menus.md.pl b/overlay/usr.sbin/sysinst/arch/mipsco/menus.md.pl deleted file mode 100644 index a1b2b839d8..0000000000 --- a/overlay/usr.sbin/sysinst/arch/mipsco/menus.md.pl +++ /dev/null @@ -1,39 +0,0 @@ -/* $NetBSD: menus.md.pl,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ -/* Based on english version: */ -/* NetBSD: menus.md.en,v 1.2 2001/11/29 23:20:59 thorpej Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* mipsco machine dependent menus, Polish */ - diff --git a/overlay/usr.sbin/sysinst/arch/mipsco/msg.md.de b/overlay/usr.sbin/sysinst/arch/mipsco/msg.md.de deleted file mode 100644 index 2e90da4a7f..0000000000 --- a/overlay/usr.sbin/sysinst/arch/mipsco/msg.md.de +++ /dev/null @@ -1,52 +0,0 @@ -/* $NetBSD: msg.md.de,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* mipsco machine dependent messages, German */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Wenn Sie von einer Diskette gebootet haben, können Sie diese jetzt -enfernen. -} - -message dobootblks -{Installiere die Bootblöcke auf %s ... -} - -message set_kernel_1 -{Kernel (GENERIC)} diff --git a/overlay/usr.sbin/sysinst/arch/mipsco/msg.md.en b/overlay/usr.sbin/sysinst/arch/mipsco/msg.md.en deleted file mode 100644 index 3a89f3e338..0000000000 --- a/overlay/usr.sbin/sysinst/arch/mipsco/msg.md.en +++ /dev/null @@ -1,51 +0,0 @@ -/* $NetBSD: msg.md.en,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* mipsco machine dependent messages, english */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{If you booted from a floppy, you may now remove the disk. -} - -message dobootblks -{Installing boot blocks on %s.... -} - -message set_kernel_1 -{Kernel (GENERIC)} diff --git a/overlay/usr.sbin/sysinst/arch/mipsco/msg.md.es b/overlay/usr.sbin/sysinst/arch/mipsco/msg.md.es deleted file mode 100644 index 0d4602b555..0000000000 --- a/overlay/usr.sbin/sysinst/arch/mipsco/msg.md.es +++ /dev/null @@ -1,51 +0,0 @@ -/* $NetBSD: msg.md.es,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* mipsco machine dependent messages, spanish */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Si ha iniciado desde disquette, ahora deberia retirar el disco. -} - -message dobootblks -{Instalando bloques de arranque en %s.... -} - -message set_kernel_1 -{Núcleo (GENERIC)} diff --git a/overlay/usr.sbin/sysinst/arch/mipsco/msg.md.fr b/overlay/usr.sbin/sysinst/arch/mipsco/msg.md.fr deleted file mode 100644 index fe5e6e7927..0000000000 --- a/overlay/usr.sbin/sysinst/arch/mipsco/msg.md.fr +++ /dev/null @@ -1,52 +0,0 @@ -/* $NetBSD: msg.md.fr,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* mipsco machine dependent messages, french */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Si vous avez démarré sur une disquette, vous pouvez maintenant la retirer. -} - -message dobootblks -{Installation des secteurs de démarrage sur %s ... -} - -message set_kernel_1 -{Kernel (GENERIC)} - diff --git a/overlay/usr.sbin/sysinst/arch/mipsco/msg.md.pl b/overlay/usr.sbin/sysinst/arch/mipsco/msg.md.pl deleted file mode 100644 index 4597046974..0000000000 --- a/overlay/usr.sbin/sysinst/arch/mipsco/msg.md.pl +++ /dev/null @@ -1,55 +0,0 @@ -/* $NetBSD: msg.md.pl,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ -/* Based on english version: */ -/* NetBSD: msg.md.en,v 1.1 2001/02/19 07:38:45 wdk Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* mipsco machine dependent messages, Polish */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Jesli uruchomiles komputer z dyskietki, mozesz ja teraz wyciagnac. -} - -message dobootblks -{Instalowanie bootblokow na %s.... -} - -message set_kernel_1 -{Kernel (GENERIC)} - diff --git a/overlay/usr.sbin/sysinst/arch/mvme68k/Makefile b/overlay/usr.sbin/sysinst/arch/mvme68k/Makefile deleted file mode 100644 index 2718e2b6ae..0000000000 --- a/overlay/usr.sbin/sysinst/arch/mvme68k/Makefile +++ /dev/null @@ -1,6 +0,0 @@ -# $NetBSD: Makefile,v 1.1 2014/07/26 19:30:46 dholland Exp $ -# -# Makefile for mvme68k -# - -.include "../../Makefile.inc" diff --git a/overlay/usr.sbin/sysinst/arch/mvme68k/md.c b/overlay/usr.sbin/sysinst/arch/mvme68k/md.c deleted file mode 100644 index 6342c2faa0..0000000000 --- a/overlay/usr.sbin/sysinst/arch/mvme68k/md.c +++ /dev/null @@ -1,257 +0,0 @@ -/* $NetBSD: md.c,v 1.12 2022/01/29 16:01:19 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - */ - -/* md.c -- mvme68k machine specific routines */ -/* This file is in close sync with hp300, pmax, sparc, vax and x68k md.c */ - -#include -#include -#include -#include -#include - -#include "defs.h" -#include "md.h" -#include "msg_defs.h" -#include "menu_defs.h" - -void -md_init(void) -{ -} - -void -md_init_set_status(int flags) -{ - (void)flags; -} - -bool -md_get_info(struct install_partition_desc *install) -{ - char buf[1024]; - int fd; - char dev_name[100]; - struct disklabel disklabel; - - snprintf(dev_name, 100, "/dev/r%sc", pm->diskdev); - - fd = open(dev_name, O_RDONLY, 0); - if (fd < 0) { - if (logfp) - (void)fprintf(logfp, "Can't open %s\n", dev_name); - endwin(); - fprintf(stderr, "Can't open %s\n", dev_name); - exit(1); - } - if (ioctl(fd, DIOCGDINFO, &disklabel) == -1) { - if (logfp) - (void)fprintf(logfp, "Can't read disklabel on %s.\n", - dev_name); - endwin(); - fprintf(stderr, "Can't read disklabel on %s.\n", dev_name); - close(fd); - exit(1); - } - if (disklabel.d_secsize != 512) { - endwin(); - fprintf(stderr, "Non-512byte/sector disk is not supported.\n"); - close(fd); - exit(1); - } - - pm->dlcyl = disklabel.d_ncylinders; - pm->dlhead = disklabel.d_ntracks; - pm->dlsec = disklabel.d_nsectors; - pm->sectorsize = disklabel.d_secsize; - pm->dlcylsize = disklabel.d_secpercyl; - pm->dlsize = pm->dlcyl*pm->dlhead*pm->dlsec; - - if (read(fd, buf, 1024) < 0) { - endwin(); - fprintf(stderr, "Can't read %s\n", dev_name); - close(fd); - exit(1); - } - - /* preserve first cylinder for system. */ - pm->ptstart = disklabel.d_secpercyl; - - close(fd); - - return true; -} - -/* - * md back-end code for menu-driven BSD disklabel editor. - */ -int -md_make_bsd_partitions(struct install_partition_desc *install) -{ - - return make_bsd_partitions(install); -} - -/* - * any additional partition validation - */ -bool -md_check_partitions(struct install_partition_desc *install) -{ - /* mvme68k partitions must be in order of the range. */ - daddr_t last_end = 0; - size_t i; - char desc[STRSIZE]; - - for (i = 0; i < install->num; i++) { - if (i > 0) { - /* skip raw part and similar */ - if (install->infos[i].cur_flags & - (PTI_SEC_CONTAINER|PTI_PSCHEME_INTERNAL| - PTI_RAW_PART)) - continue; - - if (install->infos[i].cur_start < last_end) { - snprintf(desc, sizeof desc, - "%zu (%s)", i, - install->infos[i].mount); - msg_fmt_display(MSG_ordering, "%s", desc); - if (!ask_yesno(NULL)) - return false; - } - } - last_end = install->infos[i].cur_start + install->infos[i].size; - } - - return true; -} - -/* - * hook called before writing new disklabel. - */ -bool -md_pre_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - return true; -} - -/* - * hook called after writing disklabel to new target disk. - */ -bool -md_post_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - return true; -} - -/* - * hook called after upgrade() or install() has finished setting - * up the target disk but immediately before the user is given the - * ``disks are now set up'' message.. - * - * On mvme68k, we use this opportunity to install the boot blocks. - */ -int -md_post_newfs(struct install_partition_desc *install) -{ - - /* boot blocks ... */ - msg_fmt_display(MSG_dobootblks, "%s", pm->diskdev); - cp_to_target("/usr/mdec/bootsd", "/.bootsd"); - if (run_program(RUN_DISPLAY | RUN_NO_CLEAR, - "/usr/mdec/installboot %s /usr/mdec/bootxx /dev/r%sa", - target_expand("/.bootsd"), pm->diskdev)) - process_menu(MENU_ok, - __UNCONST("Warning: disk is probably not bootable")); - - wclear(stdscr); - touchwin(stdscr); - clearok(stdscr, 1); - refresh(); - - return 0; -} - -int -md_post_extract(struct install_partition_desc *install, bool upgrade) -{ - return 0; -} - -void -md_cleanup_install(struct install_partition_desc *install) -{ -#ifdef notyet /* sed is too large for ramdisk */ - enable_rc_conf(); -#endif -} - -int -md_pre_update(struct install_partition_desc *install) -{ - return 1; -} - -/* Upgrade support */ -int -md_update(struct install_partition_desc *install) -{ - md_post_newfs(install); - return 1; -} - -int -md_pre_mount(struct install_partition_desc *install, size_t ndx) -{ - return 0; -} - -bool -md_parts_use_wholedisk(struct disk_partitions *parts) -{ - return parts_use_wholedisk(parts, 0, NULL); -} - -#ifdef HAVE_GPT -bool -md_gpt_post_write(struct disk_partitions *parts, part_id root_id, - bool root_is_new, part_id efi_id, bool efi_is_new) -{ - /* no GPT boot support, nothing needs to be done here */ - return true; -} -#endif - diff --git a/overlay/usr.sbin/sysinst/arch/mvme68k/md.h b/overlay/usr.sbin/sysinst/arch/mvme68k/md.h deleted file mode 100644 index 6aee320042..0000000000 --- a/overlay/usr.sbin/sysinst/arch/mvme68k/md.h +++ /dev/null @@ -1,74 +0,0 @@ -/* $NetBSD: md.h,v 1.5 2025/04/26 03:49:33 tsutsui Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* md.h -- Machine specific definitions for the mvme68k */ - - -#include -#include -#include -#include -#include - - -/* constants and defines */ - -#define DEFROOTSIZE 40 /* Default root size */ -#define DEFSWAPSIZE 32 /* Default swap size */ -#define DEFVARSIZE 32 /* Default /var size, if created */ -#define DEFUSRSIZE 700 /* Default /usr size, if /home */ -#define XNEEDMB 250 /* Extra megs for full X installation */ -#define DEBNEEDMB 800 /* Extra megs for debug sets */ - -/* - * Default filesets to fetch and install during installation - * or upgrade. The standard sets are: - * base etc comp games man misc rescue tests text xbase xcomp xetc xfont xserver - */ -#define SET_KERNEL_1_NAME "kern-GENERIC" -#define MD_SETS_VALID SET_KERNEL, SET_SYSTEM, SET_X11_NOSERVERS - -/* - * Machine-specific command to write a new label to a disk. - * For example, i386 uses "/sbin/disklabel -w -r", just like i386 - * miniroot scripts, though this may leave a bogus incore label. - * Sun ports should probably use DISKLABEL_CMD "/sbin/disklabel -w" - * to get incore to ondisk inode translation for the Sun proms. - * If not defined, we assume the port does not support disklabels and - * hand-edited disklabel will NOT be written by MI code. - * - * On mvme68k, do what the miniroot install scripts did. - */ -#define DISKLABEL_CMD "disklabel -w -r" diff --git a/overlay/usr.sbin/sysinst/arch/mvme68k/menus.md.en b/overlay/usr.sbin/sysinst/arch/mvme68k/menus.md.en deleted file mode 100644 index f1301afe80..0000000000 --- a/overlay/usr.sbin/sysinst/arch/mvme68k/menus.md.en +++ /dev/null @@ -1,37 +0,0 @@ -/* $NetBSD: menus.md.en,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* mvme68k machine dependent menus, english */ - diff --git a/overlay/usr.sbin/sysinst/arch/mvme68k/menus.md.es b/overlay/usr.sbin/sysinst/arch/mvme68k/menus.md.es deleted file mode 100644 index 252b5c5da1..0000000000 --- a/overlay/usr.sbin/sysinst/arch/mvme68k/menus.md.es +++ /dev/null @@ -1,37 +0,0 @@ -/* $NetBSD: menus.md.es,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* mvme68k machine dependent menus, spanish */ - diff --git a/overlay/usr.sbin/sysinst/arch/mvme68k/menus.md.fr b/overlay/usr.sbin/sysinst/arch/mvme68k/menus.md.fr deleted file mode 100644 index fb6bc506c9..0000000000 --- a/overlay/usr.sbin/sysinst/arch/mvme68k/menus.md.fr +++ /dev/null @@ -1,36 +0,0 @@ -/* $NetBSD: menus.md.fr,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Menu definitions for sysinst. mvme68k version, machine dependent. */ - diff --git a/overlay/usr.sbin/sysinst/arch/mvme68k/menus.md.pl b/overlay/usr.sbin/sysinst/arch/mvme68k/menus.md.pl deleted file mode 100644 index 924921fffd..0000000000 --- a/overlay/usr.sbin/sysinst/arch/mvme68k/menus.md.pl +++ /dev/null @@ -1,39 +0,0 @@ -/* $NetBSD: menus.md.pl,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ -/* Based on english version: */ -/* NetBSD: menus.md.en,v 1.1 2002/03/24 22:04:05 scw Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* mvme68k machine dependent menus, Polish */ - diff --git a/overlay/usr.sbin/sysinst/arch/mvme68k/msg.md.de b/overlay/usr.sbin/sysinst/arch/mvme68k/msg.md.de deleted file mode 100644 index a4de18bbd9..0000000000 --- a/overlay/usr.sbin/sysinst/arch/mvme68k/msg.md.de +++ /dev/null @@ -1,84 +0,0 @@ -/* $NetBSD: msg.md.de,v 1.3 2020/02/03 10:37:46 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* mvme68k machine dependent messages, German */ - - -message md_hello -{Wenn Ihre Maschine nur über 4MB oder weniger Arbeitsspeicher verfügt, wird -sysinst fehlschlagen. Bitte installieren Sie in diesem Fall manuell. -} - -message md_may_remove_boot_medium -{ -} - -message dobootblks -{Installiere die Bootblöcke auf %s ... -} - -message newdisk -{Ihre Festplatte, %s, hat noch kein mvme68k Disklabel. Sysinst -wird ein neues erstellen. -} - -message ordering -{Die Anordnung der Partition %s ist falsch. Erneut editieren?} - - -message set_kernel_1 -{Kernel (GENERIC)} - -.if notyet -/* XXX: not yet implemented */ -message emptypart -{Nach der oder den leeren Partition(en) existiert eine gültige Partition %c. -Bitte editieren Sie die Partitionstabelle noch einmal.} - -message existing -{Wollen Sie die vorhandene(n) BSD Partition(en) beibehalten?} - - -message nofreepart -{%s verfügt nicht über genügend freie Partitionen für NetBSD. -Mindestens 2 freie Partitionen (für das Root Dateisystem und Swap) sind nötig. -} - - -message notfirst -{NetBSD/mvme68k muss im ersten Abschnitt der Bootdisk installiert werden. -Dieser Teil ist bei %s nicht frei. -} -.endif diff --git a/overlay/usr.sbin/sysinst/arch/mvme68k/msg.md.en b/overlay/usr.sbin/sysinst/arch/mvme68k/msg.md.en deleted file mode 100644 index 0f4e3c8d31..0000000000 --- a/overlay/usr.sbin/sysinst/arch/mvme68k/msg.md.en +++ /dev/null @@ -1,81 +0,0 @@ -/* $NetBSD: msg.md.en,v 1.3 2020/02/03 10:37:46 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* mvme68k machine dependent messages, english */ - - -message md_hello -{If your machine has 4MB or less, sysinst will not operate correctly. -} - -message md_may_remove_boot_medium -{ -} - -message dobootblks -{Installing boot blocks on %s.... -} - -message newdisk -{It appears that your disk, %s, has no mvme68k disklabel. sysinst is -writing a disklabel. -} - -message ordering -{The order of partition %s is wrong. Edit again?} - -message set_kernel_1 -{Kernel (GENERIC)} - -.if notyet -/* XXX: not yet implemented */ - -message emptypart -{There is a valid partition %c after empty partition(s). -Please re-edit the partition table.} - -message existing -{Do you want to preserve existing BSD partition(s)?} - -message nofreepart -{%s does not have enough free partitions for NetBSD. -It must have at least 2 free partitions (for root file system and swap). -} - -message notfirst -{NetBSD/mvme68k must be installed in the first part of the boot disk. -The first part of %s is not free. -} -.endif diff --git a/overlay/usr.sbin/sysinst/arch/mvme68k/msg.md.es b/overlay/usr.sbin/sysinst/arch/mvme68k/msg.md.es deleted file mode 100644 index 2d3de8c723..0000000000 --- a/overlay/usr.sbin/sysinst/arch/mvme68k/msg.md.es +++ /dev/null @@ -1,81 +0,0 @@ -/* $NetBSD: msg.md.es,v 1.3 2020/02/03 10:37:46 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* mvme68k machine dependent messages, spanish */ - - -message md_hello -{Si su maquina tiene 4MB o menos, sysinst no funcionará correctamente. -} - -message md_may_remove_boot_medium -{ -} - -message dobootblks -{Instalando bloques de arranque en %s.... -} - -message newdisk -{Parece que su disco, %s, no tiene un disklavel mvme68k. sysinst va -a escribir un disklabel. -} - -message ordering -{El orden de la partición %s esta mal. ¿Editar de nuevo?} - -message set_kernel_1 -{Núcleo (GENERIC)} - -.if notyet -/* XXX: not yet implemented */ -message emptypart -{Hay una partición valida %c despues de particion(es) valida(s). -Por favor, reedite la tabla de particiones} - -message existing -{¿Quiere preservar particion(es) BSD existente(s)?} - -message nofreepart -{%s no tiene suficiente espacio libre para particiones para NetBSD. -Debe tener como minimo 2 particiones libres (para el sistema de archivos -raiz y para swap). -} - -message notfirst -{NetBSD/mvme68k debe estar instalado en la primera parte del disco de arranque. -La primera parte de %s no esta libre. -} -.endif diff --git a/overlay/usr.sbin/sysinst/arch/mvme68k/msg.md.fr b/overlay/usr.sbin/sysinst/arch/mvme68k/msg.md.fr deleted file mode 100644 index 989ba4f4c4..0000000000 --- a/overlay/usr.sbin/sysinst/arch/mvme68k/msg.md.fr +++ /dev/null @@ -1,60 +0,0 @@ -/* $NetBSD: msg.md.fr,v 1.3 2020/02/03 10:37:46 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- french, mvme68k version */ - -message md_hello -{Si votre machine possède 4Mo ou moins, sysinst ne pourra pas fonctionner -correctement. -} - -message md_may_remove_boot_medium -{ -} - -message dobootblks -{Installation des blocs de démarrage sur %s ... -} - -message newdisk -{Il apparaît que votre disque, %s, n'a pas de marque de label de disque mvme68k. -sysinst écrit un label de disque. -} - -message ordering -{L'ordre de la partition %s est erroné. Modifier à nouveau ?} - -message set_kernel_1 -{Kernel (GENERIC)} - diff --git a/overlay/usr.sbin/sysinst/arch/mvme68k/msg.md.pl b/overlay/usr.sbin/sysinst/arch/mvme68k/msg.md.pl deleted file mode 100644 index 2b49293875..0000000000 --- a/overlay/usr.sbin/sysinst/arch/mvme68k/msg.md.pl +++ /dev/null @@ -1,62 +0,0 @@ -/* $NetBSD: msg.md.pl,v 1.3 2020/02/03 10:37:46 martin Exp $ */ -/* Based on english version: */ -/* NetBSD: msg.md.en,v 1.1 2002/03/24 22:04:06 scw Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* mvme68k machine dependent messages, Polish */ - - -message md_hello -{Jesli masz mniej niz 4 MB ram, sysinst nie bedzie pracowal prawidlowo -} - -message md_may_remove_boot_medium -{ -} - -message dobootblks -{Instalowanie bootblokow na %s.... -} - -message newdisk -{Wyglada na to, ze twoj dysk %s, nie ma etykiety mvme68k. sysinst zapisuje -taka etykiete. -} - -message ordering -{Uklad partycji %s jest bledny. Edytowac jeszcze raz?} - -message set_kernel_1 -{Kernel (GENERIC)} diff --git a/overlay/usr.sbin/sysinst/arch/news68k/Makefile b/overlay/usr.sbin/sysinst/arch/news68k/Makefile deleted file mode 100644 index 2df8ab4120..0000000000 --- a/overlay/usr.sbin/sysinst/arch/news68k/Makefile +++ /dev/null @@ -1,18 +0,0 @@ -# $NetBSD: Makefile,v 1.2 2022/06/11 16:41:55 tsutsui Exp $ -# -# Makefile for news68k -# - -MD_OPTIONS= AOUT2ELF - -LANGUAGES= # no translations - -.ifdef SMALLPROG -CHECK_ENTROPY= no # do not check entropy/offer adding -NOPARTMAN= yes -NO_GPT= yes -NO_MBR= yes -NO_CLONES= yes -.endif - -.include "../../Makefile.inc" diff --git a/overlay/usr.sbin/sysinst/arch/news68k/md.c b/overlay/usr.sbin/sysinst/arch/news68k/md.c deleted file mode 100644 index 08da861b43..0000000000 --- a/overlay/usr.sbin/sysinst/arch/news68k/md.c +++ /dev/null @@ -1,219 +0,0 @@ -/* $NetBSD: md.c,v 1.8 2022/01/29 16:01:19 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - */ - -/* md.c -- news68k machine specific routines */ - -#include -#include -#include -#include -#include -#include -#include -#include - -#include "defs.h" -#include "md.h" -#include "msg_defs.h" -#include "menu_defs.h" - -void -md_init(void) -{ -} - -void -md_init_set_status(int flags) -{ - - (void)flags; -} - -bool -md_get_info(struct install_partition_desc *install) -{ - struct disklabel disklabel; - int fd; - char dev_name[100]; - - snprintf(dev_name, sizeof(dev_name), "/dev/r%sc", pm->diskdev); - - fd = open(dev_name, O_RDONLY, 0); - if (fd < 0) { - endwin(); - fprintf(stderr, "Can't open %s\n", dev_name); - exit(1); - } - if (ioctl(fd, DIOCGDINFO, &disklabel) == -1) { - endwin(); - fprintf(stderr, "Can't read disklabel on %s.\n", dev_name); - close(fd); - exit(1); - } - close(fd); - - pm->dlcyl = disklabel.d_ncylinders; - pm->dlhead = disklabel.d_ntracks; - pm->dlsec = disklabel.d_nsectors; - pm->sectorsize = disklabel.d_secsize; - pm->dlcylsize = disklabel.d_secpercyl; - - /* - * Compute whole disk size. Take max of (pm->dlcyl*pm->dlhead*pm->dlsec) - * and secperunit, just in case the disk is already labelled. - * (If our new label's RAW_PART size ends up smaller than the - * in-core RAW_PART size value, updating the label will fail.) - */ - pm->dlsize = pm->dlcyl * pm->dlhead * pm->dlsec; - if (disklabel.d_secperunit > pm->dlsize) - pm->dlsize = disklabel.d_secperunit; - - return true; -} - -/* - * md back-end code for menu-driven BSD disklabel editor. - */ -int -md_make_bsd_partitions(struct install_partition_desc *install) -{ - - return make_bsd_partitions(install); -} - -/* - * any additional partition validation - */ -bool -md_check_partitions(struct install_partition_desc *install) -{ - - return true; -} - -/* - * hook called before writing new disklabel. - */ -bool -md_pre_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - - return true; -} - -/* - * hook called after writing disklabel to new target disk. - */ -bool -md_post_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - return true; -} - -/* - * hook called after upgrade() or install() has finished setting - * up the target disk but immediately before the user is given the - * ``disks are now set up'' message. - * - * On the news68k, we use this opportunity to install the boot blocks. - */ -int -md_post_newfs(struct install_partition_desc *install) -{ - const char *bootfile = "/boot"; - - msg_fmt_display(MSG_dobootblks, "%s", pm->diskdev); - cp_to_target("/usr/mdec/boot", bootfile); - sync(); - run_program(RUN_DISPLAY, "/usr/sbin/installboot /dev/r%sc %s %s", - pm->diskdev, "/usr/mdec/bootxx", bootfile); - return 0; -} - -int -md_post_extract(struct install_partition_desc *install, bool upgrade) -{ - - return 0; -} - -void -md_cleanup_install(struct install_partition_desc *install) -{ - -#ifndef DEBUG - enable_rc_conf(); -#endif -} - -int -md_pre_update(struct install_partition_desc *install) -{ - - return 1; -} - -/* Upgrade support */ -int -md_update(struct install_partition_desc *install) -{ - - md_post_newfs(install); - return 1; -} - -int -md_pre_mount(struct install_partition_desc *install, size_t ndx) -{ - return 0; -} - -bool -md_parts_use_wholedisk(struct disk_partitions *parts) -{ - return parts_use_wholedisk(parts, 0, NULL); -} - -#ifdef HAVE_GPT -bool -md_gpt_post_write(struct disk_partitions *parts, part_id root_id, - bool root_is_new, part_id efi_id, bool efi_is_new) -{ - /* no GPT boot support, nothing needs to be done here */ - return true; -} -#endif - diff --git a/overlay/usr.sbin/sysinst/arch/news68k/md.h b/overlay/usr.sbin/sysinst/arch/news68k/md.h deleted file mode 100644 index d0863686bf..0000000000 --- a/overlay/usr.sbin/sysinst/arch/news68k/md.h +++ /dev/null @@ -1,61 +0,0 @@ -/* $NetBSD: md.h,v 1.5 2025/04/26 03:49:33 tsutsui Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* md.h -- Machine specific definitions for the news68k */ - -/* Constants and defines */ - -#define DEFROOTSIZE 40 /* Default root size */ -#define DEFSWAPSIZE 32 /* Default swap size */ -#define DEFVARSIZE 32 /* Default /var size, if created */ -#define DEFUSRSIZE 700 /* Default /usr size, if created */ -#define XNEEDMB 250 /* Extra megs for full X installation */ -#define DEBNEEDMB 800 /* Extra megs for debug sets */ - -/* - * Default filesets to fetch and install during installation - * or upgrade. - */ -#define SET_KERNEL_1_NAME "kern-GENERIC" -#define SET_KERNEL_2_NAME "kern-GENERIC_TINY" - -#define MD_SETS_SELECTED SET_KERNEL_1, SET_SYSTEM, SET_X11_NOSERVERS - -/* - * Machine-specific command to write a new label to a disk. - * If not defined, we assume the port does not support disklabels and - * the hand-edited disklabel will NOT be written by MI code. - */ -#define DISKLABEL_CMD "disklabel -w -r" diff --git a/overlay/usr.sbin/sysinst/arch/news68k/menus.md.en b/overlay/usr.sbin/sysinst/arch/news68k/menus.md.en deleted file mode 100644 index 6b6b8e252d..0000000000 --- a/overlay/usr.sbin/sysinst/arch/news68k/menus.md.en +++ /dev/null @@ -1,37 +0,0 @@ -/* $NetBSD: menus.md.en,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* news68k machine dependent menus, english */ - diff --git a/overlay/usr.sbin/sysinst/arch/news68k/msg.md.en b/overlay/usr.sbin/sysinst/arch/news68k/msg.md.en deleted file mode 100644 index ad724783e1..0000000000 --- a/overlay/usr.sbin/sysinst/arch/news68k/msg.md.en +++ /dev/null @@ -1,55 +0,0 @@ -/* $NetBSD: msg.md.en,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* news68k machine dependent messages, english */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{If you booted from a floppy, you may now remove the disk. -} - -message dobootblks -{Installing boot blocks on %s.... -} - -message set_kernel_1 -{Kernel (GENERIC)} -message set_kernel_2 -{Kernel (GENERIC_TINY)} - diff --git a/overlay/usr.sbin/sysinst/arch/newsmips/Makefile b/overlay/usr.sbin/sysinst/arch/newsmips/Makefile deleted file mode 100644 index 5a26e10428..0000000000 --- a/overlay/usr.sbin/sysinst/arch/newsmips/Makefile +++ /dev/null @@ -1,14 +0,0 @@ -# $NetBSD: Makefile,v 1.2 2022/06/11 16:41:55 tsutsui Exp $ -# -# Makefile for newsmips -# - -.ifdef SMALLPROG -CHECK_ENTROPY= no # do not check entropy/offer adding -NOPARTMAN= yes -NO_GPT= yes -NO_MBR= yes -NO_CLONES= yes -.endif - -.include "../../Makefile.inc" diff --git a/overlay/usr.sbin/sysinst/arch/newsmips/md.c b/overlay/usr.sbin/sysinst/arch/newsmips/md.c deleted file mode 100644 index 2711d98641..0000000000 --- a/overlay/usr.sbin/sysinst/arch/newsmips/md.c +++ /dev/null @@ -1,210 +0,0 @@ -/* $NetBSD: md.c,v 1.7 2022/01/29 16:01:19 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - */ - -/* md.c -- newsmips machine specific routines */ - -#include -#include -#include -#include -#include -#include -#include -#include - -#include "defs.h" -#include "md.h" -#include "msg_defs.h" -#include "menu_defs.h" - -void -md_init(void) -{ -} - -void -md_init_set_status(int flags) -{ - (void)flags; -} - -bool -md_get_info(struct install_partition_desc *install) -{ - struct disklabel disklabel; - int fd; - char dev_name[100]; - - snprintf (dev_name, 100, "/dev/r%sc", pm->diskdev); - - fd = open (dev_name, O_RDONLY, 0); - if (fd < 0) { - endwin(); - fprintf (stderr, "Can't open %s\n", dev_name); - exit(1); - } - if (ioctl(fd, DIOCGDINFO, &disklabel) == -1) { - endwin(); - fprintf (stderr, "Can't read disklabel on %s.\n", dev_name); - close(fd); - exit(1); - } - close(fd); - - pm->dlcyl = disklabel.d_ncylinders; - pm->dlhead = disklabel.d_ntracks; - pm->dlsec = disklabel.d_nsectors; - pm->sectorsize = disklabel.d_secsize; - pm->dlcylsize = disklabel.d_secpercyl; - - /* - * Compute whole disk size. Take max of (pm->dlcyl*pm->dlhead*pm->dlsec) - * and secperunit, just in case the disk is already labelled. - * (If our new label's RAW_PART size ends up smaller than the - * in-core RAW_PART size value, updating the label will fail.) - */ - pm->dlsize = pm->dlcyl*pm->dlhead*pm->dlsec; - if (disklabel.d_secperunit > pm->dlsize) - pm->dlsize = disklabel.d_secperunit; - - return true; -} - -/* - * md back-end code for menu-driven BSD disklabel editor. - */ -int -md_make_bsd_partitions(struct install_partition_desc *install) -{ - return make_bsd_partitions(install); -} - -/* - * any additional partition validation - */ -bool -md_check_partitions(struct install_partition_desc *install) -{ - return true; -} - -/* - * hook called before writing new disklabel. - */ -bool -md_pre_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - return true; -} - -/* - * hook called after writing disklabel to new target disk. - */ -bool -md_post_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - return true; -} - -/* - * hook called after upgrade() or install() has finished setting - * up the target disk but immediately before the user is given the - * ``disks are now set up'' message. - * - * On the newsmips, we use this opportunity to install the boot blocks. - */ -int -md_post_newfs(struct install_partition_desc *install) -{ - const char *bootfile = "/boot"; - - msg_fmt_display(MSG_dobootblks, "%s", pm->diskdev); - cp_to_target("/usr/mdec/boot", bootfile); - sync(); - run_program(RUN_DISPLAY, "/usr/sbin/installboot /dev/r%sc %s %s", - pm->diskdev, "/usr/mdec/bootxx", bootfile); - return 0; -} - -int -md_post_extract(struct install_partition_desc *install, bool upgrade) -{ - return 0; -} - -void -md_cleanup_install(struct install_partition_desc *install) -{ -#ifndef DEBUG - enable_rc_conf(); -#endif -} - -int -md_pre_update(struct install_partition_desc *install) -{ - return 1; -} - -/* Upgrade support */ -int -md_update(struct install_partition_desc *install) -{ - md_post_newfs(install); - return 1; -} - -int -md_pre_mount(struct install_partition_desc *install, size_t ndx) -{ - return 0; -} - -bool -md_parts_use_wholedisk(struct disk_partitions *parts) -{ - return parts_use_wholedisk(parts, 0, NULL); -} - -#ifdef HAVE_GPT -bool -md_gpt_post_write(struct disk_partitions *parts, part_id root_id, - bool root_is_new, part_id efi_id, bool efi_is_new) -{ - /* no GPT boot support, nothing needs to be done here */ - return true; -} -#endif diff --git a/overlay/usr.sbin/sysinst/arch/newsmips/md.h b/overlay/usr.sbin/sysinst/arch/newsmips/md.h deleted file mode 100644 index ba5fd38078..0000000000 --- a/overlay/usr.sbin/sysinst/arch/newsmips/md.h +++ /dev/null @@ -1,58 +0,0 @@ -/* $NetBSD: md.h,v 1.4 2025/04/26 03:49:33 tsutsui Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* md.h -- Machine specific definitions for the newsmips */ - -/* Constants and defines */ - -#define DEFROOTSIZE 64 /* Default root size */ -#define DEFSWAPSIZE 32 /* Default swap size */ -#define DEFVARSIZE 32 /* Default /var size, if created */ -#define DEFUSRSIZE 800 /* Default /usr size, if created */ -#define XNEEDMB 250 /* Extra megs for full X installation */ -#define DEBNEEDMB 900 /* Extra megs for debug sets */ - -/* - * Default filesets to fetch and install during installation - * or upgrade. - */ -#define SET_KERNEL_1_NAME "kern-GENERIC" - -/* - * Machine-specific command to write a new label to a disk. - * If not defined, we assume the port does not support disklabels and - * the hand-edited disklabel will NOT be written by MI code. - */ -#define DISKLABEL_CMD "disklabel -w -r" diff --git a/overlay/usr.sbin/sysinst/arch/newsmips/menus.md.en b/overlay/usr.sbin/sysinst/arch/newsmips/menus.md.en deleted file mode 100644 index 41d3e7834e..0000000000 --- a/overlay/usr.sbin/sysinst/arch/newsmips/menus.md.en +++ /dev/null @@ -1,37 +0,0 @@ -/* $NetBSD: menus.md.en,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* newsmips machine dependent menus, english */ - diff --git a/overlay/usr.sbin/sysinst/arch/newsmips/menus.md.es b/overlay/usr.sbin/sysinst/arch/newsmips/menus.md.es deleted file mode 100644 index 29ca896acc..0000000000 --- a/overlay/usr.sbin/sysinst/arch/newsmips/menus.md.es +++ /dev/null @@ -1,37 +0,0 @@ -/* $NetBSD: menus.md.es,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* newsmips machine dependent menus, spanish */ - diff --git a/overlay/usr.sbin/sysinst/arch/newsmips/menus.md.fr b/overlay/usr.sbin/sysinst/arch/newsmips/menus.md.fr deleted file mode 100644 index acd91a2a15..0000000000 --- a/overlay/usr.sbin/sysinst/arch/newsmips/menus.md.fr +++ /dev/null @@ -1,37 +0,0 @@ -/* $NetBSD: menus.md.fr,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* newsmips machine dependent menus, french */ - diff --git a/overlay/usr.sbin/sysinst/arch/newsmips/menus.md.pl b/overlay/usr.sbin/sysinst/arch/newsmips/menus.md.pl deleted file mode 100644 index 23a9b0a10a..0000000000 --- a/overlay/usr.sbin/sysinst/arch/newsmips/menus.md.pl +++ /dev/null @@ -1,39 +0,0 @@ -/* $NetBSD: menus.md.pl,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ -/* Based on english version: */ -/* NetBSD: menus.md.en,v 1.1 2002/03/16 15:47:56 tsutsui Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* newsmips machine dependent menus, Polish */ - diff --git a/overlay/usr.sbin/sysinst/arch/newsmips/msg.md.de b/overlay/usr.sbin/sysinst/arch/newsmips/msg.md.de deleted file mode 100644 index 6ef81504be..0000000000 --- a/overlay/usr.sbin/sysinst/arch/newsmips/msg.md.de +++ /dev/null @@ -1,55 +0,0 @@ -/* $NetBSD: msg.md.de,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* newsmips machine dependent messages, German */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Wenn Sie von einer Diskette gebootet haben, können Sie diese jetzt -enfernen. -} - - -message dobootblks -{Installiere die Bootblöcke auf %s ... -} - -message set_kernel_1 -{Kernel (GENERIC)} - diff --git a/overlay/usr.sbin/sysinst/arch/newsmips/msg.md.en b/overlay/usr.sbin/sysinst/arch/newsmips/msg.md.en deleted file mode 100644 index f03025e185..0000000000 --- a/overlay/usr.sbin/sysinst/arch/newsmips/msg.md.en +++ /dev/null @@ -1,53 +0,0 @@ -/* $NetBSD: msg.md.en,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* newsmips machine dependent messages, english */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{If you booted from a floppy, you may now remove the disk. -} - -message dobootblks -{Installing boot blocks on %s.... -} - -message set_kernel_1 -{Kernel (GENERIC)} - diff --git a/overlay/usr.sbin/sysinst/arch/newsmips/msg.md.es b/overlay/usr.sbin/sysinst/arch/newsmips/msg.md.es deleted file mode 100644 index 080d3ddc7b..0000000000 --- a/overlay/usr.sbin/sysinst/arch/newsmips/msg.md.es +++ /dev/null @@ -1,53 +0,0 @@ -/* $NetBSD: msg.md.es,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* newsmips machine dependent messages, spanish */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Si ha iniciado desde disquette, ahora debería retirar el disco. -} - -message dobootblks -{Instalando bloques de arranque en %s.... -} - -message set_kernel_1 -{Núcleo (GENERIC)} - diff --git a/overlay/usr.sbin/sysinst/arch/newsmips/msg.md.fr b/overlay/usr.sbin/sysinst/arch/newsmips/msg.md.fr deleted file mode 100644 index f3506ab62c..0000000000 --- a/overlay/usr.sbin/sysinst/arch/newsmips/msg.md.fr +++ /dev/null @@ -1,53 +0,0 @@ -/* $NetBSD: msg.md.fr,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* newsmips machine dependent messages, french */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Si vous avez démarré sur une disquette, vous pouvez maintenant la retirer. -} - -message dobootblks -{Installation des blocs de démarrage sur %s ... -} - -message set_kernel_1 -{Kernel (GENERIC)} - diff --git a/overlay/usr.sbin/sysinst/arch/newsmips/msg.md.pl b/overlay/usr.sbin/sysinst/arch/newsmips/msg.md.pl deleted file mode 100644 index 467400ed2d..0000000000 --- a/overlay/usr.sbin/sysinst/arch/newsmips/msg.md.pl +++ /dev/null @@ -1,55 +0,0 @@ -/* $NetBSD: msg.md.pl,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ -/* Based on english version: */ -/* NetBSD: msg.md.en,v 1.1 2002/03/16 15:47:56 tsutsui Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* newsmips machine dependent messages, Polish */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Jesli uruchomiles komputer z dyskietki, mozesz ja teraz wyciagnac. -} - -message dobootblks -{Instalowanie bootblokow na %s.... -} - -message set_kernel_1 -{Kernel (GENERIC)} - diff --git a/overlay/usr.sbin/sysinst/arch/ofppc/Makefile b/overlay/usr.sbin/sysinst/arch/ofppc/Makefile deleted file mode 100644 index 367f17dd07..0000000000 --- a/overlay/usr.sbin/sysinst/arch/ofppc/Makefile +++ /dev/null @@ -1,11 +0,0 @@ -# $NetBSD: Makefile,v 1.2 2019/06/12 06:20:22 martin Exp $ -# -# Makefile for ofppc -# - -MENUS_MD= menus.md.${SYSINSTLANG} -MSG_MD= msg.md.${SYSINSTLANG} msg.mbr.${SYSINSTLANG} -LANGUAGES= en pl de -NO_MBR=no - -.include "../../Makefile.inc" diff --git a/overlay/usr.sbin/sysinst/arch/ofppc/md.c b/overlay/usr.sbin/sysinst/arch/ofppc/md.c deleted file mode 100644 index 928a0444a9..0000000000 --- a/overlay/usr.sbin/sysinst/arch/ofppc/md.c +++ /dev/null @@ -1,698 +0,0 @@ -/* $NetBSD: md.c,v 1.15 2025/04/26 03:49:33 tsutsui Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - */ - -/* md.c -- ofppc machine specific routines */ - -#include -#include -#include -#include -#include -#include - -#include "defs.h" -#include "md.h" -#include "msg_defs.h" -#include "menu_defs.h" -#include "endian.h" - -static int check_rdb(void); -static uint32_t rdbchksum(void *); - -/* We use MBR_PTYPE_PREP like port-prep does. */ -static int nonewfsmsdos = 0, nobootfix = 0, noprepfix=0; -static part_id bootpart_fat12 = NO_PART, bootpart_binfo = NO_PART, - bootpart_prep = NO_PART; -static int bootinfo_mbr = 1; -static int rdb_found = 0; - -/* bootstart/bootsize are for the fat */ -int binfostart, binfosize, bprepstart, bprepsize; - -void -md_init(void) -{ -} - -void -md_init_set_status(int flags) -{ - - (void)flags; -} - -bool -md_get_info(struct install_partition_desc *install) -{ - int res; - - if (check_rdb()) - return true; - - - if (pm->no_mbr || pm->no_part) - return true; - -again: - if (pm->parts == NULL) { - - const struct disk_partitioning_scheme *ps = - select_part_scheme(pm, NULL, true, NULL); - - if (!ps) - return false; - - struct disk_partitions *parts = - (*ps->create_new_for_disk)(pm->diskdev, - 0, pm->dlsize, true, NULL); - if (!parts) - return false; - - pm->parts = parts; - if (ps->size_limit > 0 && pm->dlsize > ps->size_limit) - pm->dlsize = ps->size_limit; - } - - res = set_bios_geom_with_mbr_guess(pm->parts); - if (res == 0) - return false; - else if (res == 1) - return true; - - pm->parts->pscheme->destroy_part_scheme(pm->parts); - pm->parts = NULL; - goto again; -} - -/* - * md back-end code for menu-driven BSD disklabel editor. - */ -int -md_make_bsd_partitions(struct install_partition_desc *install) -{ -#if 0 - int i; - int part; - int maxpart = getmaxpartitions(); - int partstart; - int part_raw, part_bsd; - int ptend; - int no_swap = 0; -#endif - - if (rdb_found) { -#if 0 - /* - * XXX - need to test on real machine if the disklabel code - * deals with RDB partitions properly, otherwise write - * a read-only RDB backend - */ - /* - * We found RDB partitions on the disk, which cannot be - * modified by rewriting the disklabel. - * So just use what we have got. - */ - for (part = 0; part < maxpart; part++) { - if (PI_ISBSDFS(&pm->bsdlabel[part])) { - pm->bsdlabel[part].pi_flags |= - PIF_NEWFS | PIF_MOUNT; - - if (part == PART_A) - strcpy(pm->bsdlabel[part].pi_mount, "/"); - } - } - - part_bsd = part_raw = getrawpartition(); - if (part_raw == -1) - part_raw = PART_C; /* for sanity... */ - pm->bsdlabel[part_raw].pi_offset = 0; - pm->bsdlabel[part_raw].pi_size = pm->dlsize; - - set_sizemultname_meg(); -rdb_edit_check: - if (edit_and_check_label(pm->bsdlabel, maxpart, part_raw, - part_bsd) == 0) { - msg_display(MSG_abort); - return 0; - } - if (md_check_partitions() == 0) - goto rdb_edit_check; -#endif - return 1; - } - - /* - * Initialize global variables that track space used on this disk. - * Standard 4.4BSD 8-partition labels always cover whole disk. - */ - if (pm->ptsize == 0) - pm->ptsize = pm->dlsize - pm->ptstart; - if (pm->dlsize == 0) - pm->dlsize = pm->ptstart + pm->ptsize; - -#if 0 - partstart = pm->ptstart; - ptend = pm->ptstart + pm->ptsize; - - /* Ask for layout type -- standard or special */ - msg_fmt_display(MSG_layout, "%d%d%d", - pm->ptsize / (MEG / pm->sectorsize), - DEFROOTSIZE + DEFSWAPSIZE + DEFUSRSIZE, - DEFROOTSIZE + DEFSWAPSIZE + DEFUSRSIZE + XNEEDMB); - - process_menu(MENU_layout, NULL); - - /* Set so we use the 'real' geometry for rounding, input in MB */ - pm->current_cylsize = pm->dlcylsize; - set_sizemultname_meg(); - - /* Build standard partitions */ - memset(&pm->bsdlabel, 0, sizeof pm->bsdlabel); - - /* Set initial partition types to unused */ - for (part = 0 ; part < maxpart ; ++part) - pm->bsdlabel[part].pi_fstype = FS_UNUSED; - - /* Whole disk partition */ - part_raw = getrawpartition(); - if (part_raw == -1) - part_raw = PART_C; /* for sanity... */ - pm->bsdlabel[part_raw].pi_offset = 0; - pm->bsdlabel[part_raw].pi_size = pm->dlsize; - - if (part_raw == PART_D) { - /* Probably a system that expects an i386 style mbr */ - part_bsd = PART_C; - pm->bsdlabel[PART_C].pi_offset = pm->ptstart; - pm->bsdlabel[PART_C].pi_size = pm->ptsize; - } else { - part_bsd = part_raw; - } - - if (pm->bootsize != 0) { - pm->bsdlabel[PART_BOOT_FAT12].pi_fstype = FS_MSDOS; - pm->bsdlabel[PART_BOOT_FAT12].pi_size = pm->bootsize; - pm->bsdlabel[PART_BOOT_FAT12].pi_offset = pm->bootstart; - pm->bsdlabel[PART_BOOT_FAT12].pi_flags |= PART_BOOT_FAT12_PI_FLAGS; - strlcpy(pm->bsdlabel[PART_BOOT_FAT12].pi_mount, - PART_BOOT_FAT12_PI_MOUNT, - sizeof pm->bsdlabel[PART_BOOT_FAT12].pi_mount); - } - if (binfosize != 0) { - pm->bsdlabel[PART_BOOT_BINFO].pi_fstype = FS_OTHER; - pm->bsdlabel[PART_BOOT_BINFO].pi_size = binfosize; - pm->bsdlabel[PART_BOOT_BINFO].pi_offset = binfostart; - } - if (bprepsize != 0) { - pm->bsdlabel[PART_BOOT_PREP].pi_fstype = FS_BOOT; - pm->bsdlabel[PART_BOOT_PREP].pi_size = bprepsize; - pm->bsdlabel[PART_BOOT_PREP].pi_offset = bprepstart; - } - - /* - * Save any partitions that are outside the area we are - * going to use. - * In particular this saves details of the other MBR - * partitions on a multiboot i386 system. - */ - for (i = maxpart; i--;) { - if (pm->bsdlabel[i].pi_size != 0) - /* Don't overwrite special partitions */ - continue; - p = &pm->oldlabel[i]; - if (p->pi_fstype == FS_UNUSED || p->pi_size == 0) - continue; - if (layoutkind == LY_USEEXIST) { - if (PI_ISBSDFS(p)) - p->pi_flags |= PIF_MOUNT; - } else { - if (p->pi_offset < pm->ptstart + pm->ptsize && - p->pi_offset + p->pi_size > pm->ptstart) - /* Not outside area we are allocating */ - continue; - if (p->pi_fstype == FS_SWAP) - no_swap = 1; - } - pm->bsdlabel[i] = pm->oldlabel[i]; - } - - if (layoutkind == LY_USEEXIST) { - /* XXX Check we have a sensible layout */ - ; - } else - get_ptn_sizes(partstart, ptend - partstart, no_swap); - - /* - * OK, we have a partition table. Give the user the chance to - * edit it and verify it's OK, or abort altogether. - */ - edit_check: - if (edit_and_check_label(pm->bsdlabel, maxpart, part_raw, part_bsd) == 0) { - msg_display(MSG_abort); - return 0; - } - if (md_check_partitions() == 0) - goto edit_check; - - /* Disk name */ - msg_prompt(MSG_packname, pm->bsddiskname, pm->bsddiskname, sizeof pm->bsddiskname); - - /* save label to disk for MI code to update. */ - (void) savenewlabel(pm->bsdlabel, maxpart); - - /* Everything looks OK. */ - return 1; -#endif - - return make_bsd_partitions(install); -} - -/* - * any additional partition validation - */ -bool -md_check_partitions(struct install_partition_desc *install) -{ - struct disk_partitions *parts; - struct disk_part_info info; - int fprep=0, ffat=0; - part_id part; - - if (rdb_found) - return 1; - - if (install->num < 1) - return false; - parts = install->infos[0].parts; /* disklabel parts */ - if (parts->parent) - parts = parts->parent; /* MBR parts */ - - /* we need to find a boot partition, otherwise we can't create - * our msdos fs boot partition. We make the assumption that - * the user hasn't done something stupid, like move it away - * from the MBR partition. - */ - for (part = 0; part < parts->num_part; part++) { - if (!parts->pscheme->get_part_info(parts, part, &info)) - continue; - - if (info.fs_type == FS_MSDOS) { - bootpart_fat12 = part; - ffat++; - } else if (info.fs_type == FS_BOOT) { - bootpart_prep = part; - fprep++; - } else if (info.fs_type == FS_OTHER) { - bootpart_binfo = part; - fprep++; - } - } - /* oh, the confusion */ - if (ffat >= 1 && fprep < 2) { - noprepfix = 1; - return true; - } - if (ffat < 1 && fprep >= 2) { - nobootfix = 1; - return true; - } - if (ffat >=1 && fprep >= 2) { - return true; - } - - msg_display(MSG_nobootpartdisklabel); - process_menu(MENU_ok, NULL); - nobootfix = 1; - return false; -} - -/* - * hook called before writing new disklabel. - */ -bool -md_pre_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - - if (rdb_found) - return true; - - - if (parts->parent == NULL) - return true; /* no outer partitions */ - - parts = parts->parent; - - msg_display_subst(MSG_dofdisk, 3, parts->disk, - msg_string(parts->pscheme->name), - msg_string(parts->pscheme->short_name)); - - /* write edited "MBR" onto disk. */ - if (!parts->pscheme->write_to_disk(parts)) { - msg_display(MSG_wmbrfail); - process_menu(MENU_ok, NULL); - return false; - } - return true; -} - -/* - * hook called after writing disklabel to new target disk. - */ -bool -md_post_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - char bootdev[100]; - - if (pm->bootstart == 0 || pm->bootsize == 0 || rdb_found) - return 0; - - snprintf(bootdev, sizeof bootdev, "/dev/r%s%c", pm->diskdev, - (char)('a'+bootpart_fat12)); - run_program(RUN_DISPLAY, "/sbin/newfs_msdos %s", bootdev); - - return 0; -} - -/* - * hook called after upgrade() or install() has finished setting - * up the target disk but immediately before the user is given the - * ``disks are now set up'' message. - */ -int -md_post_newfs(struct install_partition_desc *install) -{ - - /* No bootblock. We use ofwboot from a partition visiable by OFW. */ - return 0; -} - -int -md_post_extract(struct install_partition_desc *install, bool upgrade) -{ - char bootdev[100], bootbdev[100], version[64]; - struct disk_partitions *parts; - - /* if we can't make it bootable, just punt */ - if ((nobootfix && noprepfix) || rdb_found) - return 0; - - snprintf(version, sizeof version, "NetBSD/%s %s", MACH, REL); - run_program(RUN_DISPLAY, "/usr/mdec/mkbootinfo '%s' %d " - "/tmp/bootinfo.txt", version, bootinfo_mbr); - - if (!nobootfix) { - run_program(RUN_DISPLAY, "/bin/mkdir -p /%s/boot/ppc", - target_prefix()); - run_program(RUN_DISPLAY, "/bin/mkdir -p /%s/boot/netbsd", - target_prefix()); - run_program(RUN_DISPLAY, "/bin/cp /usr/mdec/ofwboot " - "/%s/boot/netbsd", target_prefix()); - run_program(RUN_DISPLAY, "/bin/cp /tmp/bootinfo.txt " - "/%s/boot/ppc", target_prefix()); - run_program(RUN_DISPLAY, "/bin/cp /usr/mdec/ofwboot " - "/%s/boot/ofwboot", target_prefix()); - } - - if (!noprepfix && install != NULL && install->num > 0) { - parts = install->infos[0].parts; /* disklabel */ - if (parts->parent != NULL) - parts = parts->parent; /* MBR */ - - parts->pscheme->get_part_device(parts, bootpart_prep, - bootdev, sizeof bootdev, NULL, raw_dev_name, true, true); - parts->pscheme->get_part_device(parts, bootpart_prep, - bootbdev, sizeof bootbdev, NULL, plain_name, true, true); - run_program(RUN_DISPLAY, "/bin/dd if=/dev/zero of=%s bs=512", - bootdev); - run_program(RUN_DISPLAY, "/bin/dd if=/usr/mdec/ofwboot " - "of=%s bs=512", bootbdev); - - parts->pscheme->get_part_device(parts, bootpart_binfo, - bootdev, sizeof bootdev, NULL, raw_dev_name, true, true); - parts->pscheme->get_part_device(parts, bootpart_binfo, - bootbdev, sizeof bootbdev, NULL, plain_name, true, true); - run_program(RUN_DISPLAY, "/bin/dd if=/dev/zero of=%s bs=512", - bootdev); - run_program(RUN_DISPLAY, "/bin/dd if=/tmp/bootinfo.txt " - "of=%s bs=512", bootbdev); - } - - return 0; -} - -void -md_cleanup_install(struct install_partition_desc *install) -{ - -#ifndef DEBUG - enable_rc_conf(); -#endif -} - -int -md_pre_update(struct install_partition_desc *install) -{ -#if 0 - struct mbr_partition *part; - mbr_info_t *ext; - int i; -#endif - - if (check_rdb()) - return 1; - -#if 0 - read_mbr(pm->diskdev, &mbr); - /* do a sanity check of the partition table */ - for (ext = &mbr; ext; ext = ext->extended) { - part = ext->mbr.mbr_parts; - for (i = 0; i < MBR_PART_COUNT; part++, i++) { - if (part->mbrp_type == MBR_PTYPE_PREP && - part->mbrp_size > 50) - bootinfo_mbr = i+1; - if (part->mbrp_type == MBR_PTYPE_RESERVED_x21 && - part->mbrp_size < (MIN_FAT12_BOOT/512)) { - msg_display(MSG_boottoosmall); - msg_fmt_display_add(MSG_nobootpartdisklabel, - "%d", 0); - if (!ask_yesno(NULL)) - return 0; - nobootfix = 1; - } - } - } -#endif - - if (!md_check_partitions(install)) - return 0; - - return 1; -} - -/* Upgrade support */ -int -md_update(struct install_partition_desc *install) -{ - - nonewfsmsdos = 1; - md_post_newfs(install); - return 1; -} - - -int -md_check_mbr(struct disk_partitions *parts, mbr_info_t *mbri, bool quiet) -{ - mbr_info_t *ext; - struct mbr_partition *part; - int i; - - for (ext = mbri; ext; ext = ext->extended) { - part = ext->mbr.mbr_parts; - for (i = 0; i < MBR_PART_COUNT; part++, i++) { - if (part->mbrp_type == MBR_PTYPE_FAT12) { - pm->bootstart = part->mbrp_start; - pm->bootsize = part->mbrp_size; - } else if (part->mbrp_type == MBR_PTYPE_PREP && - part->mbrp_size < 50) { - /* this is the bootinfo partition */ - binfostart = part->mbrp_start; - binfosize = part->mbrp_size; - bootinfo_mbr = i+1; - } else if (part->mbrp_type == MBR_PTYPE_PREP && - part->mbrp_size > 50) { - bprepstart = part->mbrp_start; - bprepsize = part->mbrp_size; - } - break; - } - } - - /* we need to either have a pair of prep partitions, or a single - * fat. if neither, things are broken. */ - if (!(pm->bootsize >= (MIN_FAT12_BOOT/512) || - (binfosize >= (MIN_BINFO_BOOT/512) && - bprepsize >= (MIN_PREP_BOOT/512)))) { - if (quiet) - return 0; - msg_display(MSG_bootnotright); - return ask_reedit(parts); - } - - /* check the prep partitions */ - if ((binfosize > 0 || bprepsize > 0) && - (binfosize < (MIN_BINFO_BOOT/512) || - bprepsize < (MIN_PREP_BOOT/512))) { - if (quiet) - return 0; - msg_display(MSG_preptoosmall); - return ask_reedit(parts); - } - - /* check the fat12 partitions */ - if (pm->bootsize > 0 && pm->bootsize < (MIN_FAT12_BOOT/512)) { - if (quiet) - return 0; - msg_display(MSG_boottoosmall); - return ask_reedit(parts); - } - - /* if both sets contain zero, thats bad */ - if ((pm->bootstart == 0 || pm->bootsize == 0) && - (binfosize == 0 || binfostart == 0 || - bprepsize == 0 || bprepstart == 0)) { - if (quiet) - return 0; - msg_display(MSG_nobootpart); - return ask_reedit(parts); - } - return 2; -} - -/* - * NOTE, we use a reserved partition type, because some RS/6000 machines hang - * hard if they find a FAT12, and if we use type prep, that indicates that - * it should be read raw. - * One partition for FAT12 booting - * One partition for NetBSD - * One partition to hold the bootinfo.txt file - * One partition to hold ofwboot - */ - -bool -md_parts_use_wholedisk(struct disk_partitions *parts) -{ - struct disk_part_info boot_parts[] = - { - { .fs_type = FS_MSDOS, .size = FAT12_BOOT_SIZE/512 }, - { .fs_type = FS_OTHER, .size = BINFO_BOOT_SIZE/512 }, - { .fs_type = FS_BOOT, .size = PREP_BOOT_SIZE/512 } - }; - - return parts_use_wholedisk(parts, __arraycount(boot_parts), - boot_parts); -} - -const char *md_disklabel_cmd(void) -{ - - /* we cannot rewrite an RDB disklabel */ - if (rdb_found) - return "sync No disklabel"; - - return "disklabel -w -r"; -} - -static int -check_rdb(void) -{ - char buf[512], diskpath[MAXPATHLEN]; - struct rdblock *rdb; - off_t blk; - int fd; - - /* Find out if this disk has a valid RDB, before continuing. */ - rdb = (struct rdblock *)buf; - fd = opendisk(pm->diskdev, O_RDONLY, diskpath, sizeof(diskpath), 0); - if (fd < 0) - return 0; - for (blk = 0; blk < RDB_MAXBLOCKS; blk++) { - if (pread(fd, rdb, 512, blk * 512) != 512) - return 0; - if (rdb->id == RDBLOCK_ID && rdbchksum(rdb) == 0) { - rdb_found = 1; /* do not repartition! */ - return 1; - } - } - return 0; -} - -static uint32_t -rdbchksum(void *bdata) -{ - uint32_t *blp, cnt, val; - - blp = bdata; - cnt = blp[1]; - val = 0; - while (cnt--) - val += *blp++; - return val; -} - -int -md_pre_mount(struct install_partition_desc *install, size_t ndx) -{ - - return 0; -} - -bool -md_mbr_update_check(struct disk_partitions *parts, mbr_info_t *mbri) -{ - return false; /* no change, no need to write back */ -} - -#ifdef HAVE_GPT -bool -md_gpt_post_write(struct disk_partitions *parts, part_id root_id, - bool root_is_new, part_id efi_id, bool efi_is_new) -{ - /* no GPT boot support, nothing needs to be done here */ - return true; -} -#endif - diff --git a/overlay/usr.sbin/sysinst/arch/ofppc/md.h b/overlay/usr.sbin/sysinst/arch/ofppc/md.h deleted file mode 100644 index 41e885dc43..0000000000 --- a/overlay/usr.sbin/sysinst/arch/ofppc/md.h +++ /dev/null @@ -1,104 +0,0 @@ -/* $NetBSD: md.h,v 1.5 2022/06/16 14:03:39 tsutsui Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* md.h -- Machine specific definitions for the ofppc */ - - -#include -#include -#include -#include -#include - -/* ofppc uses the mbr code. */ -#include "mbr.h" - -/* constants and defines */ -#define PREP_BOOT_SIZE 1048576 /* 1MB for prep-style boot */ -#define BINFO_BOOT_SIZE 15*1024 /* 12k for bootinfo.txt */ -#define FAT12_BOOT_SIZE 10485760 /* 10MB boot partition */ -#define MIN_FAT12_BOOT 2097152 /* 2MB absoule minimum */ -#define MIN_PREP_BOOT 1048576 -#define MIN_BINFO_BOOT 13312 - -/* we use three boot partitions: FAT12, BINFO and PREP */ -#define PART_BOOT FAT12_BOOT_SIZE -#define PART_BOOT_TYPE FS_MSDOS -#define PART_BOOT_SUBT MBR_PTYPE_FAT12 -#define PART_BOOT_MOUNT "/boot" - -#define PART_BOOT1 BINFO_BOOT_SIZE -#define PART_BOOT1_TYPE FS_OTHER - -#define PART_BOOT2 PREP_BOOT_SIZE -#define PART_BOOT2_TYPE FS_BOOT - - -#define DEFROOTSIZE 64 /* Default root size */ -#define DEFSWAPSIZE 128 /* Default swap size */ -#define DEFVARSIZE 32 /* Default /var size, if created */ -#define DEFUSRSIZE 750 /* Default /usr size, if /home */ -#define XNEEDMB 256 /* Extra megs for full X installation */ -#define DEBNEEDMB 900 /* Extra megs for debug sets */ - -/* allow using tmpfs for /tmp instead of mfs */ -#define HAVE_TMPFS - -/* - * Default filesets to fetch and install during installation - * or upgrade. The standard sets are: - * base etc comp games man misc rescue tests text xbase xcomp xetc xfont xserver - * - * i386 has the MD set kern first, because generic kernels are too - * big to fit on install floppies. i386 does not yet include the x sets. - * - * Third entry is the last extension name in the split sets for loading - * from floppy. - */ -#define SET_KERNEL_1_NAME "kern-GENERIC" -#define MD_SETS_SELECTED SET_KERNEL_1, SET_SYSTEM, SET_X11 - -/* - * Machine-specific command to write a new label to a disk. - * For example, i386 uses "/sbin/disklabel -w -r", just like i386 - * miniroot scripts, though this may leave a bogus incore label. - * Sun ports should probably use DISKLABEL_CMD "/sbin/disklabel -w" - * to get incore to ondisk inode translation for the Sun proms. - * If not defined, we assume the port does not support disklabels and - * hand-edited disklabel will NOT be written by MI code. - * - * On ofppc, do what the 1.2 install scripts did. - */ -const char *md_disklabel_cmd(void); -#define DISKLABEL_CMD md_disklabel_cmd() diff --git a/overlay/usr.sbin/sysinst/arch/ofppc/menus.md.en b/overlay/usr.sbin/sysinst/arch/ofppc/menus.md.en deleted file mode 100644 index d446e228ef..0000000000 --- a/overlay/usr.sbin/sysinst/arch/ofppc/menus.md.en +++ /dev/null @@ -1,3 +0,0 @@ -/* $NetBSD: menus.md.en,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ - -/* Menu definitions for sysinst. ofppc version, machine dependent. */ diff --git a/overlay/usr.sbin/sysinst/arch/ofppc/menus.md.es b/overlay/usr.sbin/sysinst/arch/ofppc/menus.md.es deleted file mode 100644 index 59bf7e8b39..0000000000 --- a/overlay/usr.sbin/sysinst/arch/ofppc/menus.md.es +++ /dev/null @@ -1,3 +0,0 @@ -/* $NetBSD: menus.md.es,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ - -/* Menu definitions for sysinst. ofppc version, machine dependent. */ diff --git a/overlay/usr.sbin/sysinst/arch/ofppc/menus.md.pl b/overlay/usr.sbin/sysinst/arch/ofppc/menus.md.pl deleted file mode 100644 index 9874b09aaa..0000000000 --- a/overlay/usr.sbin/sysinst/arch/ofppc/menus.md.pl +++ /dev/null @@ -1,3 +0,0 @@ -/* $NetBSD: menus.md.pl,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ - -/* Menu definitions for sysinst. ofppc version, machine dependent. */ diff --git a/overlay/usr.sbin/sysinst/arch/ofppc/msg.md.de b/overlay/usr.sbin/sysinst/arch/ofppc/msg.md.de deleted file mode 100644 index 2a0e9ce121..0000000000 --- a/overlay/usr.sbin/sysinst/arch/ofppc/msg.md.de +++ /dev/null @@ -1,89 +0,0 @@ -/* $NetBSD: msg.md.de,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- german, ofppc version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{ -} - -message dobad144 -{Installiere die Tabelle der defekten Blöcke ... -} - -message dobootblks -{Installiere die Bootblöcke auf %s ... -} - -message pickdisk -{Festplatte auswählen: } - -message partabovechs -{Der NetBSD Teil der Festplatte liegt außerhalb des vom BIOS dieser Maschine -adressierbaren Bereichs. Eventuell können Sie von dieser Partition nicht -booten. Sind Sie sicher, dass Sie fortfahren möchten? - -(Antworten Sie mit 'nein' um die Partitionen erneut zu editieren.)} - -message set_kernel_1 -{Kernel (GENERIC)} - -message nobootpart -{Es gibt keine Boot Partition in der MBR Partitionstabelle.} - -message boottoosmall -{Die Boot Partition ist zu klein. Sie benötigt mindestens 2MB, -wobei eine Größe von 100MB empfohlen wird.} - -message nobootpartdisklabel -{Es gibt keine Boot Partition im Disklabel. Die Boot Partition sollte -zu derjenigen passen, die Sie in der MBR Partitionstabelle angelegt haben.} - -message preptoosmall -{Sie benötigen zwei PReP Partitionen, um unter IBM RS/6000 booten zu können. -Eine sollte mindestens 1MB groß sein, und die andere mindestens 1KB.} - -message bootnotright -{Um ofppc booten zu können benötigen Sie entweder eine 2MB große FAT12 -Partition oder zwei PReP Partitionen. Die PReP Partitionen sollten -mindestens eine Größe von 1KB und 1MB haben. IBM/RS6000 Maschinen benötigen -meistens die PReP Partitionen, obwohl einige auch mit FAT12 zurecht kommen. -Alle anderen Maschinen benötigen meistens die FAT12 Partition. Wenn Sie -nicht sicher sind welche Sie benötigen, so akzeptieren Sie die Standard -Einstellungen und installieren alle drei. Momentan haben Sie noch nicht -genügend Partitionen um die Minimalanforderungen zu erfüllen.} diff --git a/overlay/usr.sbin/sysinst/arch/ofppc/msg.md.en b/overlay/usr.sbin/sysinst/arch/ofppc/msg.md.en deleted file mode 100644 index ed3f07b21b..0000000000 --- a/overlay/usr.sbin/sysinst/arch/ofppc/msg.md.en +++ /dev/null @@ -1,88 +0,0 @@ -/* $NetBSD: msg.md.en,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- english, ofppc version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{ -} - -message dobad144 -{Installing the bad block table ... -} - -message dobootblks -{Installing boot blocks on %s.... -} - -message pickdisk -{Choose disk: } - -message partabovechs -{The NetBSD part of the disk lies outside of the range that the BIOS on -your machine can address. Booting from it may not be possible. Are you -sure you that you want to do this? - -(Answering 'no' will take you back to the partition edit menu.)} - -message set_kernel_1 -{Kernel (GENERIC)} - -message nobootpart -{There is no boot partition in the MBR partition table.} - -message boottoosmall -{The FAT12 boot partition is too small. It needs to be at least 2MB in size, -however a size of at least 10MB is recommended.} - -message nobootpartdisklabel -{There is no boot partition in the disklabel. The boot partition should -match the boot partition you set up in the MBR partition table.} - -message preptoosmall -{You need to have two PReP partitions to boot an IBM RS/6000. One needs to -be at least 1MB in size, and the other must be at least 1KB in size.} - -message bootnotright -{In order to boot ofppc, you need either a FAT12 partition of at least 2MB -in size, or a pair of PReP partitions. The PReP partitions need to be at -least 1KB, and 1MB in size. IBM RS/6000 machines generally need the PReP -partitions, however some can utilize the FAT12. Most other machines require -the FAT12 partition. If you are not sure which to choose, accept the -defaults, and install all three. You do not currently have any partitions -that meet the minimum requirements.} diff --git a/overlay/usr.sbin/sysinst/arch/ofppc/msg.md.es b/overlay/usr.sbin/sysinst/arch/ofppc/msg.md.es deleted file mode 100644 index ceef005547..0000000000 --- a/overlay/usr.sbin/sysinst/arch/ofppc/msg.md.es +++ /dev/null @@ -1,89 +0,0 @@ -/* $NetBSD: msg.md.es,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- spanish, ofppc version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{ -} - -message dobad144 -{Instalando la tabla de bloques malos ... -} - -message dobootblks -{Instalando bloques de arranque en %s.... -} - -message pickdisk -{Escoja disco: } - -message partabovechs -{La parte NetBSD del disco está fuera del rango que la BIOS de su maquina -puede acceder. -Puede que no sea posible iniciar desde ahi. -¿Está seguro de que quiere hacer eso? - -(Seleccionando 'no' le devolverá al menu de edicion de particiones.)} - -message set_kernel_1 -{Núcleo (GENERIC)} - -message nobootpart -{There is no boot partition in the MBR partition table.} - -message boottoosmall -{The boot partition is too small. It needs to be at least 2MB in size, -however a size of at least 100MB is recommended.} - -message nobootpartdisklabel -{There is no boot partition in the disklabel. The boot partition should -match the boot partition you set up in the MBR partition table.} - -message preptoosmall -{You need to have two PReP partitions to boot an IBM RS/6000. One needs to -be at least 1MB in size, and the other must be at least 1KB in size.} - -message bootnotright -{In order to boot ofppc, you need either a FAT12 partition of at least 2MB -in size, or a pair of PReP partitions. The PReP partitions need to be at -least 1KB, and 1MB in size. IBM RS/6000 machines generally need the PReP -partitions, however some can utilize the FAT12. Most other machines require -the FAT12 partition. If you are not sure which to choose, accept the -defaults, and install all three. You do not currently have any partitions -that meet the minimum requirements.} diff --git a/overlay/usr.sbin/sysinst/arch/ofppc/msg.md.pl b/overlay/usr.sbin/sysinst/arch/ofppc/msg.md.pl deleted file mode 100644 index c71d6c1d3e..0000000000 --- a/overlay/usr.sbin/sysinst/arch/ofppc/msg.md.pl +++ /dev/null @@ -1,88 +0,0 @@ -/* NetBSD: msg.md.en,v 1.1 2001/01/16 16:54:01 nonaka Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- Polish, ofppc version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{ -} - -message dobad144 -{Instalowanie tablicy zlych blokow ... -} - -message dobootblks -{Instalowanie bootblokow na %s.... -} - -message pickdisk -{Wybierz dysk: } - -message partabovechs -{Czesc dysku NetBSD lezy poza obszarem, ktory BIOS w twojej maszynie moze -zaadresowac. Nie mozliwe bedzie bootowanie z tego dysku. Jestes pewnien, ze -chcesz to zrobic? - -(Odpowiedz 'nie' zabierze cie spowrotem do menu edycji partycji.)} - -message set_kernel_1 -{Kernel (GENERIC)} - -message nobootpart -{There is no boot partition in the MBR partition table.} - -message boottoosmall -{The boot partition is too small. It needs to be at least 2MB in size, -however a size of at least 100MB is recommended.} - -message nobootpartdisklabel -{There is no boot partition in the disklabel. The boot partition should -match the boot partition you set up in the MBR partition table.} - -message preptoosmall -{You need to have two PReP partitions to boot an IBM RS/6000. One needs to -be at least 1MB in size, and the other must be at least 1KB in size.} - -message bootnotright -{In order to boot ofppc, you need either a FAT12 partition of at least 2MB -in size, or a pair of PReP partitions. The PReP partitions need to be at -least 1KB, and 1MB in size. IBM RS/6000 machines generally need the PReP -partitions, however some can utilize the FAT12. Most other machines require -the FAT12 partition. If you are not sure which to choose, accept the -defaults, and install all three. You do not currently have any partitions -that meet the minimum requirements.} diff --git a/overlay/usr.sbin/sysinst/arch/playstation2/Makefile b/overlay/usr.sbin/sysinst/arch/playstation2/Makefile deleted file mode 100644 index 0147079d73..0000000000 --- a/overlay/usr.sbin/sysinst/arch/playstation2/Makefile +++ /dev/null @@ -1,10 +0,0 @@ -# $NetBSD: Makefile,v 1.2 2019/06/12 06:20:22 martin Exp $ -# -# Makefile for playstation2 -# - -MENUS_MD= menus.md.${SYSINSTLANG} -MSG_MD= msg.md.${SYSINSTLANG} msg.mbr.${SYSINSTLANG} -NO_MBR=no - -.include "../../Makefile.inc" diff --git a/overlay/usr.sbin/sysinst/arch/playstation2/mbr_buf.S b/overlay/usr.sbin/sysinst/arch/playstation2/mbr_buf.S deleted file mode 100644 index d914ae9ea9..0000000000 --- a/overlay/usr.sbin/sysinst/arch/playstation2/mbr_buf.S +++ /dev/null @@ -1,8 +0,0 @@ -#ifdef __mips__ - .abicalls - .bss - .align 2 - .space 2 - .globl mbr -mbr: .space 512 -#endif diff --git a/overlay/usr.sbin/sysinst/arch/playstation2/md.c b/overlay/usr.sbin/sysinst/arch/playstation2/md.c deleted file mode 100644 index da42c29433..0000000000 --- a/overlay/usr.sbin/sysinst/arch/playstation2/md.c +++ /dev/null @@ -1,248 +0,0 @@ -/* $NetBSD: md.c,v 1.10 2022/01/29 16:01:20 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed for the NetBSD Project by - * Piermont Information Systems Inc. - * 4. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - */ - -/* md.c -- playstation2 machine specific routines */ - -#include -#include -#include -#include - -#include "defs.h" -#include "md.h" -#include "msg_defs.h" -#include "menu_defs.h" - -void -md_init(void) -{ -} - -void -md_init_set_status(int minimal) -{ - (void)minimal; -} - -bool -md_get_info(struct install_partition_desc *install) -{ - int cyl, head, sec, res; - - if (pm->no_mbr || pm->no_part) - return true; - -again: - if (pm->parts == NULL) { - - const struct disk_partitioning_scheme *ps = - select_part_scheme(pm, NULL, true, NULL); - - if (!ps) - return false; - - struct disk_partitions *parts = - (*ps->create_new_for_disk)(pm->diskdev, - 0, pm->dlsize, true, NULL); - if (!parts) - return false; - - pm->parts = parts; - if (ps->size_limit > 0 && pm->dlsize > ps->size_limit) - pm->dlsize = ps->size_limit; - } - - msg_fmt_display(MSG_nobiosgeom, "%d%d%d", - pm->dlcyl, pm->dlhead, pm->dlsec); - - if (guess_biosgeom_from_parts(pm->parts, &cyl, &head, &sec) >= 0 - && pm->parts->pscheme->change_disk_geom != NULL) - pm->parts->pscheme->change_disk_geom(pm->parts, - cyl, head, sec); - else - set_default_sizemult(pm->diskdev, MEG, pm->sectorsize); - - /* - * If the selected scheme does not need two-stage partitioning - * (like GPT), do not bother to edit the outer partitions. - */ - if (pm->parts->pscheme->secondary_partitions == NULL || - pm->parts->pscheme->secondary_scheme == NULL) - return true; - - if (pm->no_mbr || pm->no_part) - return true; - - res = edit_outer_parts(pm->parts); - if (res == 0) - return false; - else if (res == 1) - return true; - - pm->parts->pscheme->destroy_part_scheme(pm->parts); - pm->parts = NULL; - goto again; -} - -/* - * md back-end code for menu-driven BSD disklabel editor. - */ -int -md_make_bsd_partitions(struct install_partition_desc *install) -{ - return make_bsd_partitions(install); -} - -/* - * any additional partition validation - */ -bool -md_check_partitions(struct install_partition_desc *install) -{ - return 1; -} - -/* - * hook called before writing new disklabel. - */ -bool -md_pre_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - - if (parts->parent == NULL) - return true; /* no outer partitions */ - - parts = parts->parent; - - msg_display_subst(MSG_dofdisk, 3, parts->disk, - msg_string(parts->pscheme->name), - msg_string(parts->pscheme->short_name)); - - /* write edited "MBR" onto disk. */ - if (!parts->pscheme->write_to_disk(parts)) { - msg_display(MSG_wmbrfail); - process_menu(MENU_ok, NULL); - return false; - } - return true; -} - -/* - * hook called after writing disklabel to new target disk. - */ -bool -md_post_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - return true; -} - -/* - * hook called after upgrade() or install() has finished setting - * up the target disk but immediately before the user is given the - * ``disks are now set up'' message. - */ -int -md_post_newfs(struct install_partition_desc *install) -{ - return 0; -} - -int -md_post_extract(struct install_partition_desc *install, bool upgrade) -{ - return 0; -} - -void -md_cleanup_install(struct install_partition_desc *install) -{ -#ifndef DEBUG - enable_rc_conf(); -#endif -} - -int -md_pre_update(struct install_partition_desc *install) -{ - return 1; -} - -/* Upgrade support */ -int -md_update(struct install_partition_desc *install) -{ - md_post_newfs(install); - return 1; -} - -int -md_check_mbr(struct disk_partitions *parts, mbr_info_t *mbri, bool quiet) -{ - return 2; -} - -bool -md_parts_use_wholedisk(struct disk_partitions *parts) -{ - return parts_use_wholedisk(parts, 0, NULL); -} - -int -md_pre_mount(struct install_partition_desc *install, size_t ndx) -{ - return 0; -} - -bool -md_mbr_update_check(struct disk_partitions *parts, mbr_info_t *mbri) -{ - return false; /* no change, no need to write back */ -} - -#ifdef HAVE_GPT -bool -md_gpt_post_write(struct disk_partitions *parts, part_id root_id, - bool root_is_new, part_id efi_id, bool efi_is_new) -{ - /* no GPT boot support, nothing needs to be done here */ - return true; -} -#endif - diff --git a/overlay/usr.sbin/sysinst/arch/playstation2/md.h b/overlay/usr.sbin/sysinst/arch/playstation2/md.h deleted file mode 100644 index d6b129391f..0000000000 --- a/overlay/usr.sbin/sysinst/arch/playstation2/md.h +++ /dev/null @@ -1,67 +0,0 @@ -/* $NetBSD: md.h,v 1.4 2025/04/26 03:49:33 tsutsui Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed for the NetBSD Project by - * Piermont Information Systems Inc. - * 4. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* md.h -- Machine specific definitions for the playstation2 */ - - -#include -#include -#include -#include -#include - -#include "mbr.h" - -#define DEFROOTSIZE 32 /* Default root size */ -#define DEFSWAPSIZE 64 /* Default swap size */ -#define DEFVARSIZE 0 /* Default /var size, if created */ -#define DEFUSRSIZE 0 /* Default /usr size, if created */ -#define XNEEDMB 0 /* Extra megs for full X installation(not yet)*/ - -/* - * Default filesets to fetch and install during installation - * or upgrade. The standard sets are: - * base, etc, comp, games, man, misc, rescue, tests, text - */ -#define SET_KERNEL_1_NAME "kern-GENERIC" -#define MD_SETS_VALID SET_KERNEL, SET_SYSTEM - -/* - * Machine-specific command to write a new label to a disk. - */ -#define DISKLABEL_CMD "disklabel -w -r" diff --git a/overlay/usr.sbin/sysinst/arch/playstation2/menus.md.en b/overlay/usr.sbin/sysinst/arch/playstation2/menus.md.en deleted file mode 100644 index a53795dabd..0000000000 --- a/overlay/usr.sbin/sysinst/arch/playstation2/menus.md.en +++ /dev/null @@ -1,40 +0,0 @@ -/* $NetBSD: menus.md.en,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed for the NetBSD Project by - * Piermont Information Systems Inc. - * 4. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Menu definitions for sysinst. playstation2 version, machine dependent. */ - diff --git a/overlay/usr.sbin/sysinst/arch/playstation2/menus.md.es b/overlay/usr.sbin/sysinst/arch/playstation2/menus.md.es deleted file mode 100644 index d5338fd801..0000000000 --- a/overlay/usr.sbin/sysinst/arch/playstation2/menus.md.es +++ /dev/null @@ -1,40 +0,0 @@ -/* $NetBSD: menus.md.es,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed for the NetBSD Project by - * Piermont Information Systems Inc. - * 4. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Menu definitions for sysinst. playstation2 version, machine dependent. */ - diff --git a/overlay/usr.sbin/sysinst/arch/playstation2/menus.md.fr b/overlay/usr.sbin/sysinst/arch/playstation2/menus.md.fr deleted file mode 100644 index 06a313796f..0000000000 --- a/overlay/usr.sbin/sysinst/arch/playstation2/menus.md.fr +++ /dev/null @@ -1,40 +0,0 @@ -/* $NetBSD: menus.md.fr,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed for the NetBSD Project by - * Piermont Information Systems Inc. - * 4. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Menu definitions for sysinst. playstation2 version, machine dependent. */ - diff --git a/overlay/usr.sbin/sysinst/arch/playstation2/menus.md.pl b/overlay/usr.sbin/sysinst/arch/playstation2/menus.md.pl deleted file mode 100644 index 569ec996a9..0000000000 --- a/overlay/usr.sbin/sysinst/arch/playstation2/menus.md.pl +++ /dev/null @@ -1,42 +0,0 @@ -/* $NetBSD: menus.md.pl,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ -/* Based on english version: */ -/* NetBSD: menus.md.en,v 1.2 2001/11/29 23:21:00 thorpej Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed for the NetBSD Project by - * Piermont Information Systems Inc. - * 4. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Menu definitions for sysinst. playstation2 version, machine dependent. */ - diff --git a/overlay/usr.sbin/sysinst/arch/playstation2/msg.md.de b/overlay/usr.sbin/sysinst/arch/playstation2/msg.md.de deleted file mode 100644 index 674ede5e3a..0000000000 --- a/overlay/usr.sbin/sysinst/arch/playstation2/msg.md.de +++ /dev/null @@ -1,97 +0,0 @@ -/* $NetBSD: msg.md.de,v 1.3 2019/11/14 19:26:58 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed for the NetBSD Project by - * Piermont Information Systems Inc. - * 4. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- German, playstation2 version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Wenn Sie von einer Diskette gebootet haben, können Sie diese jetzt -enfernen. -} - -message dobad144 -{Installiere die Tabelle der defekten Blöcke ... -} - -message dobootblks -{Installiere die Bootblöcke auf %s ... -} - -message onebiosmatch -{Diese Festplatte entspricht der folgenden BIOS Disk: - -} - -message onebiosmatch_header -{BIOS # Zylinder Köpfe Sektoren ------- ---------- ------- -------- -} - -message onebiosmatch_row -{%-6x %-10d %-7d %d\n} - -message biosmultmatch -{Diese Festplatte entspricht der folgenden BIOS Disk: - -} - -message biosmultmatch_header -{ BIOS # Zylinder Köpfe Sektoren - ------ ---------- ------- -------- -} - -message biosmultmatch_row -{%-1d: %-6x %-10d %-7d %d\n} - -message pickdisk -{Wählen Sie eine Festplatte: } - - -message partabovechs -{Der NetBSD Teil der Festplatte liegt außerhalb des vom BIOS dieser Maschine -adressierbaren Bereichs. Eventuell können Sie von dieser Partition nicht -booten. Sind Sie sicher, daß Sie fortfahren möchten? - -(Antworten Sie mit 'nein' um die Partitionen erneut zu editieren.)} - -message set_kernel_1 -{Kernel (GENERIC)} - diff --git a/overlay/usr.sbin/sysinst/arch/playstation2/msg.md.en b/overlay/usr.sbin/sysinst/arch/playstation2/msg.md.en deleted file mode 100644 index 4b2c4f8d68..0000000000 --- a/overlay/usr.sbin/sysinst/arch/playstation2/msg.md.en +++ /dev/null @@ -1,95 +0,0 @@ -/* $NetBSD: msg.md.en,v 1.3 2019/11/14 19:26:58 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed for the NetBSD Project by - * Piermont Information Systems Inc. - * 4. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- english, playstation2 version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{If you booted from a floppy, you may now remove the disk. -} - -message dobad144 -{Installing the bad block table ... -} - -message dobootblks -{Installing boot blocks on %s.... -} - -message onebiosmatch -{This disk matches the following BIOS disk: - -} - -message onebiosmatch_header -{BIOS # cylinders heads sectors ------- ---------- ------- ------- -} - -message onebiosmatch_row -{%-6x %-10d %-7d %d\n} - -message biosmultmatch -{This disk matches the following BIOS disks: - -} - -message biosmultmatch_header -{ BIOS # cylinders heads sectors - ------ ---------- ------- ------- -} - -message biosmultmatch_row -{%-1d: %-6x %-10d %-7d %d\n} - -message pickdisk -{Choose disk: } - -message partabovechs -{The NetBSD part of the disk lies outside of the range that the BIOS on -your machine can address. Booting from it may not be possible. Are you -sure you that you want to do this? - -(Answering 'no' will take you back to the partition edit menu.)} - -message set_kernel_1 -{Kernel (GENERIC)} - diff --git a/overlay/usr.sbin/sysinst/arch/playstation2/msg.md.es b/overlay/usr.sbin/sysinst/arch/playstation2/msg.md.es deleted file mode 100644 index 1dadcf62f0..0000000000 --- a/overlay/usr.sbin/sysinst/arch/playstation2/msg.md.es +++ /dev/null @@ -1,96 +0,0 @@ -/* $NetBSD: msg.md.es,v 1.3 2019/11/14 19:26:58 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed for the NetBSD Project by - * Piermont Information Systems Inc. - * 4. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- spanish, playstation2 version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Si ha iniciado desde disquette, ahora debería retirar el disco. -} - -message dobad144 -{Instalando la tabla de bloques malos ... -} - -message dobootblks -{Instalando bloques de arranque en %s.... -} - -message onebiosmatch -{Este disco coincide con el siguiente disco de BIOS: - -} - -message onebiosmatch_header -{BIOS # cilindros cabezal sectore ------- ---------- ------- ------- -} - -message onebiosmatch_row -{%-6x %-10d %-7d %d\n} - -message biosmultmatch -{Este disco coincide con los siguientes discos de BIOS: - -} - -message biosmultmatch_header -{ BIOS # cilindros cabez sectore - ------ ---------- ------- ------- -} - -message biosmultmatch_row -{%-1d: %-6x %-10d %-7d %d\n} - -message pickdisk -{Escoja disco: } - -message partabovechs -{La parte NetBSD del disco está fuera del rango que la BIOS de su maquina -puede acceder. -Puede que no sea posible iniciar desde ahi. -¿Está seguro de que quiere hacer eso? - -(Seleccionando 'no' le devolverá al menú de edición de particiones.)} - -message set_kernel_1 -{Núcleo (GENERIC)} - diff --git a/overlay/usr.sbin/sysinst/arch/playstation2/msg.md.fr b/overlay/usr.sbin/sysinst/arch/playstation2/msg.md.fr deleted file mode 100644 index a7c6b5a926..0000000000 --- a/overlay/usr.sbin/sysinst/arch/playstation2/msg.md.fr +++ /dev/null @@ -1,95 +0,0 @@ -/* $NetBSD: msg.md.fr,v 1.3 2019/11/14 19:26:58 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed for the NetBSD Project by - * Piermont Information Systems Inc. - * 4. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- french, playstation2 version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Si vous avez démarré sur une disquette, vous pouvez maintenant la retirer. -} - -message dobad144 -{Installation de la table des blocs défectueux ... -} - -message dobootblks -{Installation des blocs de démarrage sur %s ... -} - -message onebiosmatch -{Ce disque correspond au disque du BIOS suivant : - -} - -message onebiosmatch_header -{BIOS # cylinders heads sectors ------- ---------- ------- ------- -} - -message onebiosmatch_row -{%-6x %-10d %-7d %-10d\n} - -message biosmultmatch -{Ce disque correspond aux disques du BIOS suivants : - -} - -message biosmultmatch_header -{ BIOS # cylinders heads sectors - ------ ---------- ------- ------- -} - -message biosmultmatch_row -{%-1d: %-6x %-10d %-7d %d\n} - -message pickdisk -{Choisissez un disque : } - -message partabovechs -{La partition de votre disque réservée à NetBSD se trouve en-dehors de l'espace -que le BIOS de votre machine peut adresser. L'amorçage depuis cette partition -ne sera peut-être pas possible. Voulez-vous réellement faire ceci ? - -('Non' vous ramènera au menu d'édition des partitions.)} - -message set_kernel_1 -{Kernel (GENERIC)} - diff --git a/overlay/usr.sbin/sysinst/arch/playstation2/msg.md.pl b/overlay/usr.sbin/sysinst/arch/playstation2/msg.md.pl deleted file mode 100644 index 87058b3724..0000000000 --- a/overlay/usr.sbin/sysinst/arch/playstation2/msg.md.pl +++ /dev/null @@ -1,97 +0,0 @@ -/* $NetBSD: msg.md.pl,v 1.3 2019/11/14 19:26:58 martin Exp $ */ -/* Based on english version: */ -/* NetBSD: msg.md.en,v 1.1 2001/10/15 16:22:52 uch Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed for the NetBSD Project by - * Piermont Information Systems Inc. - * 4. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- Polish, playstation2 version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Jesli uruchomiles komputer z dyskietki, mozesz ja teraz wyciagnac. -} - -message dobad144 -{Instalowanie tablicy zlych blokow ... -} - -message dobootblks -{Instalowanie bootblokow na %s.... -} - -message onebiosmatch -{Ten dysk odpowiada ponizszemu dyskowi BIOS: - -} - -message onebiosmatch_header -{BIOS # cylindry glowice sektory ------- ---------- ------- ------- -} - -message onebiosmatch_row -{%-6x %-10d %-7d %d\n} - -message biosmultmatch -{Ten dysk odpowiada ponizszym dyskom BIOS: - -} - -message biosmultmatch_header -{ BIOS # cylindry glowice sektory - ------ ---------- ------- ------- -} - -message biosmultmatch_row -{%-1d: %-6x %-10d %-7d %d\n} - -message pickdisk -{Wybierz dysk: } - -message partabovechs -{Czesc NetBSD dysku lezy poza obszarem, ktory BIOS w twojej maszynie moze -zaadresowac. Nie mozliwe bedzie bootowanie z tego dysku. Jestes pewien, ze -chcesz to zrobic? - -(Odpowiedz 'nie' zabierze cie spowrotem do menu edycji partycji.)} - -message set_kernel_1 -{Kernel (GENERIC)} - diff --git a/overlay/usr.sbin/sysinst/arch/pmax/Makefile b/overlay/usr.sbin/sysinst/arch/pmax/Makefile deleted file mode 100644 index fbfc561a4d..0000000000 --- a/overlay/usr.sbin/sysinst/arch/pmax/Makefile +++ /dev/null @@ -1,6 +0,0 @@ -# $NetBSD: Makefile,v 1.1 2014/07/26 19:30:46 dholland Exp $ -# -# Makefile for pmax -# - -.include "../../Makefile.inc" diff --git a/overlay/usr.sbin/sysinst/arch/pmax/md.c b/overlay/usr.sbin/sysinst/arch/pmax/md.c deleted file mode 100644 index 777b42634b..0000000000 --- a/overlay/usr.sbin/sysinst/arch/pmax/md.c +++ /dev/null @@ -1,237 +0,0 @@ -/* $NetBSD: md.c,v 1.10 2025/02/17 22:16:37 andvar Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - */ - -/* md.c -- pmax machine specific routines */ -/* This file is in close sync with sparc, vax, and x68k md.c */ - -#include -#include -#include -#include -#include -#include -#include - -#include "defs.h" -#include "md.h" -#include "msg_defs.h" -#include "menu_defs.h" - -void -md_init(void) -{ -} - -void -md_init_set_status(int flags) -{ - (void)flags; -} - -bool -md_get_info(struct install_partition_desc *install) -{ - struct disklabel disklabel; - int fd; - char dev_name[100]; - - snprintf(dev_name, 100, "/dev/r%sc", pm->diskdev); - - fd = open(dev_name, O_RDONLY, 0); - if (fd < 0) { - if (logfp) - (void)fprintf(logfp, "Can't open %s\n", dev_name); - endwin(); - fprintf(stderr, "Can't open %s\n", dev_name); - exit(1); - } - if (ioctl(fd, DIOCGDINFO, &disklabel) == -1) { - if (logfp) - (void)fprintf(logfp, "Can't read disklabel on %s.\n", - dev_name); - endwin(); - fprintf(stderr, "Can't read disklabel on %s.\n", dev_name); - close(fd); - exit(1); - } - close(fd); - - pm->dlcyl = disklabel.d_ncylinders; - pm->dlhead = disklabel.d_ntracks; - pm->dlsec = disklabel.d_nsectors; - pm->sectorsize = disklabel.d_secsize; - pm->dlcylsize = disklabel.d_secpercyl; - - /* - * Compute whole disk size. Take max of (pm->dlcyl*pm->dlhead*pm->dlsec) - * and secperunit, just in case the disk is already labelled. - * (If our new label's RAW_PART size ends up smaller than the - * in-core RAW_PART size value, updating the label will fail.) - */ - pm->dlsize = pm->dlcyl*pm->dlhead*pm->dlsec; - if (disklabel.d_secperunit > pm->dlsize) - pm->dlsize = disklabel.d_secperunit; - - return true; -} - -/* - * md back-end code for menu-driven BSD disklabel editor. - */ -int -md_make_bsd_partitions(struct install_partition_desc *install) -{ - return make_bsd_partitions(install); -} - -/* - * any additional partition validation - */ -bool -md_check_partitions(struct install_partition_desc *install) -{ - return true; -} - -/* - * hook called before writing new disklabel. - */ -bool -md_pre_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - return true; -} - -/* - * hook called after writing disklabel to new target disk. - */ -bool -md_post_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - return true; -} - -/* - * hook called after upgrade() or install() has finished setting - * up the target disk but immediately before the user is given the - * ``disks are now set up'' message. - * - * On pmax, we take this opportunity to update the bootblocks. - */ -int -md_post_newfs(struct install_partition_desc *install) -{ - char *bootxx; - int error; - - /* XXX boot blocks ... */ - if (target_already_root()) { - /* /usr is empty and we must already have bootblocks? */ - return 0; - } - - msg_fmt_display(MSG_dobootblks, "%s", pm->diskdev); - cp_to_target("/usr/mdec/boot.pmax", "/boot.pmax"); - bootxx = bootxx_name(install); - if (bootxx != NULL) { - error = run_program(RUN_DISPLAY | RUN_NO_CLEAR, - "/usr/sbin/installboot /dev/r%sc %s", pm->diskdev, bootxx); - free(bootxx); - } else - error = -1; - - if (error != 0) - process_menu(MENU_ok, - __UNCONST("Warning: disk is probably not bootable")); - - wclear(stdscr); - touchwin(stdscr); - clearok(stdscr, 1); - refresh(); - - return 0; -} - -int -md_post_extract(struct install_partition_desc *install, bool upgrade) -{ - return 0; -} - -void -md_cleanup_install(struct install_partition_desc *install) -{ -#ifndef DEBUG - enable_rc_conf(); -#endif -} - -int -md_pre_update(struct install_partition_desc *install) -{ - return 1; -} - -/* Upgrade support */ -int -md_update(struct install_partition_desc *install) -{ - md_post_newfs(install); - return 1; -} - -int -md_pre_mount(struct install_partition_desc *install, size_t ndx) -{ - return 0; -} - -bool -md_parts_use_wholedisk(struct disk_partitions *parts) -{ - return parts_use_wholedisk(parts, 0, NULL); -} - -#ifdef HAVE_GPT -bool -md_gpt_post_write(struct disk_partitions *parts, part_id root_id, - bool root_is_new, part_id efi_id, bool efi_is_new) -{ - /* no GPT boot support - nothing to do here */ - return true; -} -#endif - diff --git a/overlay/usr.sbin/sysinst/arch/pmax/md.h b/overlay/usr.sbin/sysinst/arch/pmax/md.h deleted file mode 100644 index e739be7be6..0000000000 --- a/overlay/usr.sbin/sysinst/arch/pmax/md.h +++ /dev/null @@ -1,69 +0,0 @@ -/* $NetBSD: md.h,v 1.6 2025/04/26 03:49:33 tsutsui Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* md.h -- Machine specific definitions for the pmax */ - -/* Constants and defines */ - -#define DEFROOTSIZE 64 /* Default root size */ -#define DEFSWAPSIZE 32 /* Default swap size */ -#define DEFVARSIZE 32 /* Default /var size, if created */ -#define DEFUSRSIZE 800 /* Default /usr size, if /home */ -#define XNEEDMB 256 /* Extra megs for full X installation */ -#define DEBNEEDMB 900 /* Extra megs for debug sets */ - -/* have support for booting from UFS2 */ -#define HAVE_UFS2_BOOT - -/* have file system specific primary boot loader */ -#define HAVE_BOOTXX_xFS -#define BOOTXXDIR "/usr/mdec" -#define BOOTXX_FFSV1 "bootxx_ffs" -#define BOOTXX_FFSV2 "bootxx_ffsv2" - -/* - * Machine-specific command to write a new label to a disk. - * If not defined, we assume the port does not support disklabels and - * hand-edited disklabel will NOT be written by MI code. - */ -#define DISKLABEL_CMD "disklabel -w -r" - - -/* - * Default filesets to fetch and install during installation - * or upgrade. The standard sets are: - * base etc comp games man misc rescue tests text xbase xcomp xetc xfont xserver - */ -#define SET_KERNEL_1_NAME "kern-GENERIC" -#define SET_KERNEL_2_NAME "kern-GENERIC_USB" diff --git a/overlay/usr.sbin/sysinst/arch/pmax/menus.md.en b/overlay/usr.sbin/sysinst/arch/pmax/menus.md.en deleted file mode 100644 index 06064aefac..0000000000 --- a/overlay/usr.sbin/sysinst/arch/pmax/menus.md.en +++ /dev/null @@ -1,36 +0,0 @@ -/* $NetBSD: menus.md.en,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* pmax machine dependent menus, english */ - diff --git a/overlay/usr.sbin/sysinst/arch/pmax/menus.md.es b/overlay/usr.sbin/sysinst/arch/pmax/menus.md.es deleted file mode 100644 index 77fc653e74..0000000000 --- a/overlay/usr.sbin/sysinst/arch/pmax/menus.md.es +++ /dev/null @@ -1,36 +0,0 @@ -/* $NetBSD: menus.md.es,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* pmax machine dependent menus, spanish */ - diff --git a/overlay/usr.sbin/sysinst/arch/pmax/menus.md.fr b/overlay/usr.sbin/sysinst/arch/pmax/menus.md.fr deleted file mode 100644 index 27746dea6c..0000000000 --- a/overlay/usr.sbin/sysinst/arch/pmax/menus.md.fr +++ /dev/null @@ -1,36 +0,0 @@ -/* $NetBSD: menus.md.fr,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* pmax machine dependent menus, french */ - diff --git a/overlay/usr.sbin/sysinst/arch/pmax/menus.md.pl b/overlay/usr.sbin/sysinst/arch/pmax/menus.md.pl deleted file mode 100644 index 8ff1206109..0000000000 --- a/overlay/usr.sbin/sysinst/arch/pmax/menus.md.pl +++ /dev/null @@ -1,39 +0,0 @@ -/* $NetBSD: menus.md.pl,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ -/* Based on english version: */ -/* NetBSD: menus.md.en,v 1.17 2001/11/29 23:21:00 thorpej Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* pmax machine dependent menus, Polish */ - diff --git a/overlay/usr.sbin/sysinst/arch/pmax/msg.md.de b/overlay/usr.sbin/sysinst/arch/pmax/msg.md.de deleted file mode 100644 index aa583a8a8c..0000000000 --- a/overlay/usr.sbin/sysinst/arch/pmax/msg.md.de +++ /dev/null @@ -1,55 +0,0 @@ -/* $NetBSD: msg.md.de,v 1.2 2016/11/04 19:18:50 flxd Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* pmax machine dependent messages, German */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Wenn Sie von einer Diskette gebootet haben, so können Sie diese jetzt -entnehmen. -} - -message dobootblks -{Installiere die Bootblöcke auf %s ... -} - -message set_kernel_1 -{Kernel (GENERIC)} - -message set_kernel_2 -{Kernel (GENERIC_USB)} diff --git a/overlay/usr.sbin/sysinst/arch/pmax/msg.md.en b/overlay/usr.sbin/sysinst/arch/pmax/msg.md.en deleted file mode 100644 index 18da18e148..0000000000 --- a/overlay/usr.sbin/sysinst/arch/pmax/msg.md.en +++ /dev/null @@ -1,54 +0,0 @@ -/* $NetBSD: msg.md.en,v 1.2 2016/11/04 19:18:50 flxd Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* pmax machine dependent messages, english */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{If you booted from a floppy, you may now remove the disk. -} - -message dobootblks -{Installing boot blocks on %s.... -} - -message set_kernel_1 -{Kernel (GENERIC)} - -message set_kernel_2 -{Kernel (GENERIC_USB)} diff --git a/overlay/usr.sbin/sysinst/arch/pmax/msg.md.es b/overlay/usr.sbin/sysinst/arch/pmax/msg.md.es deleted file mode 100644 index 988a760da3..0000000000 --- a/overlay/usr.sbin/sysinst/arch/pmax/msg.md.es +++ /dev/null @@ -1,54 +0,0 @@ -/* $NetBSD: msg.md.es,v 1.2 2016/11/04 19:18:50 flxd Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* pmax machine dependent messages, spanish */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Si ha iniciado desde disquette, ahora deberia retirar el disco. -} - -message dobootblks -{Instalando bloques de arranque en %s... -} - -message set_kernel_1 -{Núcleo (GENERIC)} - -message set_kernel_2 -{Núcleo (GENERIC_USB)} diff --git a/overlay/usr.sbin/sysinst/arch/pmax/msg.md.fr b/overlay/usr.sbin/sysinst/arch/pmax/msg.md.fr deleted file mode 100644 index 8887e2dc7c..0000000000 --- a/overlay/usr.sbin/sysinst/arch/pmax/msg.md.fr +++ /dev/null @@ -1,54 +0,0 @@ -/* $NetBSD: msg.md.fr,v 1.2 2016/11/04 19:18:50 flxd Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* pmax machine dependent messages, french */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Si vous avez démarré sur une disquette, vous pouvez maintenant la retirer. -} - -message dobootblks -{Installation des secteurs de démarrage sur %s ... -} - -message set_kernel_1 -{Kernel (GENERIC)} - -message set_kernel_2 -{Kernel (GENERIC_USB)} diff --git a/overlay/usr.sbin/sysinst/arch/pmax/msg.md.pl b/overlay/usr.sbin/sysinst/arch/pmax/msg.md.pl deleted file mode 100644 index d1d3a68fdd..0000000000 --- a/overlay/usr.sbin/sysinst/arch/pmax/msg.md.pl +++ /dev/null @@ -1,57 +0,0 @@ -/* $NetBSD: msg.md.pl,v 1.2 2016/11/04 19:18:50 flxd Exp $ */ -/* Based on english version: */ -/* NetBSD: msg.md.en,v 1.8 2000/12/03 01:54:49 minoura Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* pmax machine dependent messages, Polish */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Jesli uruchomiles komputer z dyskietki, mozesz ja teraz wyciagnac. -} - -message dobootblks -{Instalowanie bootblokow na %s.... -} - -message set_kernel_1 -{Kernel (GENERIC)} - -message set_kernel_2 -{Kernel (GENERIC_USB)} diff --git a/overlay/usr.sbin/sysinst/arch/prep/Makefile b/overlay/usr.sbin/sysinst/arch/prep/Makefile deleted file mode 100644 index 7d50618beb..0000000000 --- a/overlay/usr.sbin/sysinst/arch/prep/Makefile +++ /dev/null @@ -1,11 +0,0 @@ -# $NetBSD: Makefile,v 1.2 2019/06/12 06:20:22 martin Exp $ -# -# Makefile for prep -# - -MENUS_MD= menus.md.${SYSINSTLANG} -MSG_MD= msg.md.${SYSINSTLANG} msg.mbr.${SYSINSTLANG} -LANGUAGES= en pl de -NO_MBR=no - -.include "../../Makefile.inc" diff --git a/overlay/usr.sbin/sysinst/arch/prep/md.c b/overlay/usr.sbin/sysinst/arch/prep/md.c deleted file mode 100644 index 7e66ef2211..0000000000 --- a/overlay/usr.sbin/sysinst/arch/prep/md.c +++ /dev/null @@ -1,321 +0,0 @@ -/* $NetBSD: md.c,v 1.14 2022/01/29 16:01:20 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - */ - -/* md.c -- prep machine specific routines */ - -#include -#include -#include -#include -#include - -#include "defs.h" -#include "md.h" -#include "msg_defs.h" -#include "menu_defs.h" -#include "endian.h" - -int prep_nobootfix = 0, prep_rawdevfix = 0; -size_t prep_bootpart = ~0U; - -void -md_init(void) -{ -} - -void -md_init_set_status(int flags) -{ - (void)flags; -} - -bool -md_get_info(struct install_partition_desc *install) -{ - int res; - - if (pm->no_mbr || pm->no_part) - return true; - -again: - if (pm->parts == NULL) { - - const struct disk_partitioning_scheme *ps = - select_part_scheme(pm, NULL, true, NULL); - - if (!ps) - return false; - - struct disk_partitions *parts = - (*ps->create_new_for_disk)(pm->diskdev, - 0, pm->dlsize, true, NULL); - if (!parts) - return false; - - pm->parts = parts; - if (ps->size_limit > 0 && pm->dlsize > ps->size_limit) - pm->dlsize = ps->size_limit; - } - - res = set_bios_geom_with_mbr_guess(pm->parts); - if (res == 0) - return false; - else if (res == 1) - return true; - - pm->parts->pscheme->destroy_part_scheme(pm->parts); - pm->parts = NULL; - goto again; -} - -/* - * md back-end code for menu-driven BSD disklabel editor. - */ -int -md_make_bsd_partitions(struct install_partition_desc *install) -{ - return make_bsd_partitions(install); -} - -/* - * any additional partition validation - */ -bool -md_check_partitions(struct install_partition_desc *install) -{ - size_t part; - - /* we need to find a boot partition, otherwise we can't write our - * "bootblock". We make the assumption that the user hasn't done - * something stupid, like move it away from the MBR partition. - */ - for (part = 0; part < install->num; part++) - if (install->infos[part].fs_type == FS_BOOT) { - prep_bootpart = part; - return true; - } - - msg_display(MSG_prepnobootpart); - process_menu(MENU_ok, NULL); - return false; -} - -/* - * hook called before writing new disklabel. - */ -bool -md_pre_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - - if (parts->parent == NULL) - return true; /* no outer partitions */ - - parts = parts->parent; - - msg_display_subst(MSG_dofdisk, 3, parts->disk, - msg_string(parts->pscheme->name), - msg_string(parts->pscheme->short_name)); - - /* write edited "MBR" onto disk. */ - if (!parts->pscheme->write_to_disk(parts)) { - msg_display(MSG_wmbrfail); - process_menu(MENU_ok, NULL); - return false; - } - return true; -} - -/* - * hook called after writing disklabel to new target disk. - */ -bool -md_post_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - return true; -} - -/* - * hook called after upgrade() or install() has finished setting - * up the target disk but immediately before the user is given the - * ``disks are now set up'' message. - */ -int -md_post_newfs(struct install_partition_desc *install) -{ - return 0; -} - -int -md_post_extract(struct install_partition_desc *install, bool upgrade) -{ - char rawdev[100], bootpart[100], bootloader[100]; - int contype; - - /* if we can't make it bootable, just punt */ - if (prep_nobootfix) - return 0; - - process_menu(MENU_prepconsole, &contype); - if (contype == 1) - snprintf(bootloader, 100, "/usr/mdec/boot_com0"); - else - snprintf(bootloader, 100, "/usr/mdec/boot"); - - snprintf(rawdev, 100, "/dev/r%s%c", pm->diskdev, - (char)('a' + getrawpartition())); - snprintf(bootpart, 100, "/dev/r%s%c", pm->diskdev, - (char)('a' + prep_bootpart)); - if (prep_rawdevfix) - run_program(RUN_DISPLAY|RUN_CHROOT, - "/usr/mdec/mkbootimage -b %s -k /netbsd " - "-r %s /.bootimage", bootloader, rawdev); - else - run_program(RUN_DISPLAY|RUN_CHROOT, - "/usr/mdec/mkbootimage -s -b %s -k /netbsd /.bootimage", - bootloader); - run_program(RUN_DISPLAY|RUN_CHROOT, "/bin/dd if=/.bootimage of=%s " - "bs=512 conv=sync", bootpart); - - return 0; -} - -void -md_cleanup_install(struct install_partition_desc *install) -{ -#ifndef DEBUG - enable_rc_conf(); -#endif - run_program(0, "rm -f %s", target_expand("/.bootimage")); -} - -int -md_pre_update(struct install_partition_desc *install) -{ - size_t i; - - /* do a sanity check of the partition table */ - for (i = 0; i < install->num; i++) { - if (install->infos[i].fs_type != PART_BOOT_TYPE) - continue; - if (install->infos[i].size < (int)(MIN_PREP_BOOT/512)) { - msg_display(MSG_preptoosmall); - msg_fmt_display_add(MSG_prepnobootpart, "%d", 0); - if (!ask_yesno(NULL)) - return 0; - prep_nobootfix = 1; - } - if (install->infos[i].cur_start == 0) - prep_rawdevfix = 1; - } - if (!md_check_partitions(install)) - prep_nobootfix = 1; - return 1; -} - -/* Upgrade support */ -int -md_update(struct install_partition_desc *install) -{ - md_post_newfs(install); - return 1; -} - -int -md_check_mbr(struct disk_partitions *parts, mbr_info_t *mbri, bool quiet) -{ - mbr_info_t *ext; - struct mbr_partition *part; - int i; - - for (ext = mbri; ext; ext = ext->extended) { - part = ext->mbr.mbr_parts; - for (i = 0; i < MBR_PART_COUNT; part++, i++) { - if (part->mbrp_type != MBR_PTYPE_PREP) - continue; - pm->bootstart = part->mbrp_start; - pm->bootsize = part->mbrp_size; - break; - } - } - if (pm->bootsize < (int)(MIN_PREP_BOOT/512)) { - msg_display(MSG_preptoosmall); - return ask_reedit(parts); - } - if (pm->bootstart == 0 || pm->bootsize == 0) { - if (quiet) - return 0; - msg_display(MSG_nopreppart); - return ask_reedit(parts); - } - return 2; -} - -bool -md_parts_use_wholedisk(struct disk_partitions *parts) -{ - struct disk_part_info boot_part = { - .size = PART_BOOT / 512, - .fs_type = PART_BOOT_TYPE, - }; - - boot_part.nat_type = parts->pscheme->get_fs_part_type( - PT_root, boot_part.fs_type, boot_part.fs_sub_type); - - return parts_use_wholedisk(parts, 1, &boot_part); -} - -int -md_pre_mount(struct install_partition_desc *install, size_t ndx) -{ - return 0; -} - -bool -md_mbr_update_check(struct disk_partitions *parts, mbr_info_t *mbri) -{ - return false; /* no change, no need to write back */ -} - -#ifdef HAVE_GPT -bool -md_gpt_post_write(struct disk_partitions *parts, part_id root_id, - bool root_is_new, part_id efi_id, bool efi_is_new) -{ - /* no GPT boot support, nothing needs to be done here */ - return true; -} -#endif - diff --git a/overlay/usr.sbin/sysinst/arch/prep/md.h b/overlay/usr.sbin/sysinst/arch/prep/md.h deleted file mode 100644 index 26c1fbd805..0000000000 --- a/overlay/usr.sbin/sysinst/arch/prep/md.h +++ /dev/null @@ -1,79 +0,0 @@ -/* $NetBSD: md.h,v 1.5 2022/06/16 14:03:39 tsutsui Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* md.h -- Machine specific definitions for the prep */ - - -#include -#include -#include -#include -#include - -/* prep uses the mbr code. */ -#include "mbr.h" - -/* constants and defines */ -#define PREP_BOOT_SIZE (5*MEG) /* 5MB boot partition */ -#define MIN_PREP_BOOT (2*MEG) /* 2MB absoule minimum */ -#define PART_BOOT PREP_BOOT_SIZE -#define PART_BOOT_TYPE FS_BOOT - -#define DEFROOTSIZE 48 /* Default root size */ -#define DEFSWAPSIZE 32 /* Default swap size */ -#define DEFVARSIZE 32 /* Default /var size, if created */ -#define DEFUSRSIZE 720 /* Default /usr size, if /home */ -#define XNEEDMB 256 /* Extra megs for full X installation */ -#define DEBNEEDMB 950 /* Extra megs for debug sets */ - - -/* - * Default filesets to fetch and install during installation - * or upgrade. The standard sets are: - * base etc comp games man misc rescue tests text xbase xcomp xetc xfont xserver - */ -#define SET_KERNEL_1_NAME "kern-GENERIC" - -/* - * Machine-specific command to write a new label to a disk. - * For example, i386 uses "/sbin/disklabel -w -r", just like i386 - * miniroot scripts, though this may leave a bogus incore label. - * Sun ports should probably use DISKLABEL_CMD "/sbin/disklabel -w" - * to get incore to ondisk inode translation for the Sun proms. - * If not defined, we assume the port does not support disklabels and - * hand-edited disklabel will NOT be written by MI code. - * - * On prep, do what the 1.2 install scripts did. - */ -#define DISKLABEL_CMD "disklabel -w -r" diff --git a/overlay/usr.sbin/sysinst/arch/prep/menus.md.en b/overlay/usr.sbin/sysinst/arch/prep/menus.md.en deleted file mode 100644 index 8ec810cca9..0000000000 --- a/overlay/usr.sbin/sysinst/arch/prep/menus.md.en +++ /dev/null @@ -1,39 +0,0 @@ -/* $NetBSD: menus.md.en,v 1.2 2015/05/11 13:01:08 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Menu definitions for sysinst. prep version, machine dependent. */ - -menu prepconsole, title "Select console device", y=-10; - option "com0 (S1)", exit, action { *((int*)arg) = 1; }; - option "VGA", exit, action { *((int*)arg) = 0; }; diff --git a/overlay/usr.sbin/sysinst/arch/prep/menus.md.es b/overlay/usr.sbin/sysinst/arch/prep/menus.md.es deleted file mode 100644 index f23ca3d2d6..0000000000 --- a/overlay/usr.sbin/sysinst/arch/prep/menus.md.es +++ /dev/null @@ -1,39 +0,0 @@ -/* $NetBSD: menus.md.es,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Menu definitions for sysinst. prep version, machine dependent. */ - -menu prepconsole, title "Select console device", y=-10; - option "COM0 (S1)", exit, action { yesno = 1; }; - option "VGA", exit, action { yesno = 0; }; diff --git a/overlay/usr.sbin/sysinst/arch/prep/menus.md.pl b/overlay/usr.sbin/sysinst/arch/prep/menus.md.pl deleted file mode 100644 index c6acf1a95b..0000000000 --- a/overlay/usr.sbin/sysinst/arch/prep/menus.md.pl +++ /dev/null @@ -1,39 +0,0 @@ -/* $NetBSD: menus.md.pl,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Menu definitions for sysinst. prep version, machine dependent. */ - -menu prepconsole, title "Select console device", y=-10; - option "COM0 (S1)", exit, action { yesno = 1; }; - option "VGA", exit, action { yesno = 0; }; diff --git a/overlay/usr.sbin/sysinst/arch/prep/msg.md.de b/overlay/usr.sbin/sysinst/arch/prep/msg.md.de deleted file mode 100644 index 2ba090e4f3..0000000000 --- a/overlay/usr.sbin/sysinst/arch/prep/msg.md.de +++ /dev/null @@ -1,75 +0,0 @@ -/* $NetBSD: msg.md.de,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- german, prep version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{ -} - -message dobad144 -{Installiere die Tabelle der defekten Blöcke ... -} - -message dobootblks -{Installiere die Bootblöcke auf %s ... -} - -message pickdisk -{Festplatte auswählen: } - -message partabovechs -{Der NetBSD Teil der Festplatte liegt außerhalb des vom BIOS dieser Maschine -adressierbaren Bereichs. Eventuell können Sie von dieser Partition nicht -booten. Sind Sie sicher, dass Sie fortfahren möchten? - -(Antworten Sie mit 'nein' um die Partitionen erneut zu editieren.)} - -message set_kernel_1 -{Kernel (GENERIC)} - -message nopreppart -{There is no PReP boot partition in the MBR partition table.} - -message preptoosmall -{The PReP boot partition is too small. It needs to be at least 2MB in size, -however a size of at least 5MB is recommended.} - -message prepnobootpart -{There is no boot partition in the disklabel. The boot partition should -match the PReP boot partition you set up in the MBR partition table.} diff --git a/overlay/usr.sbin/sysinst/arch/prep/msg.md.en b/overlay/usr.sbin/sysinst/arch/prep/msg.md.en deleted file mode 100644 index 5ab8197214..0000000000 --- a/overlay/usr.sbin/sysinst/arch/prep/msg.md.en +++ /dev/null @@ -1,75 +0,0 @@ -/* $NetBSD: msg.md.en,v 1.1 2014/07/26 19:30:46 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- english, prep version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{ -} - -message dobad144 -{Installing the bad block table ... -} - -message dobootblks -{Installing boot blocks on %s.... -} - -message pickdisk -{Choose disk: } - -message partabovechs -{The NetBSD part of the disk lies outside of the range that the BIOS on -your machine can address. Booting from it may not be possible. Are you -sure you that you want to do this? - -(Answering 'no' will take you back to the partition edit menu.)} - -message set_kernel_1 -{Kernel (GENERIC)} - -message nopreppart -{There is no PReP boot partition in the MBR partition table.} - -message preptoosmall -{The PReP boot partition is too small. It needs to be at least 2MB in size, -however a size of at least 5MB is recommended.} - -message prepnobootpart -{There is no boot partition in the disklabel. The boot partition should -match the PReP boot partition you set up in the MBR partition table.} diff --git a/overlay/usr.sbin/sysinst/arch/prep/msg.md.es b/overlay/usr.sbin/sysinst/arch/prep/msg.md.es deleted file mode 100644 index 22b8305a76..0000000000 --- a/overlay/usr.sbin/sysinst/arch/prep/msg.md.es +++ /dev/null @@ -1,76 +0,0 @@ -/* $NetBSD: msg.md.es,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- spanish, prep version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{ -} - -message dobad144 -{Instalando la tabla de bloques malos ... -} - -message dobootblks -{Instalando bloques de arranque en %s.... -} - -message pickdisk -{Escoja disco: } - -message partabovechs -{La parte NetBSD del disco está fuera del rango que la BIOS de su maquina -puede acceder. -Puede que no sea posible iniciar desde ahi. -¿Está seguro de que quiere hacer eso? - -(Seleccionando 'no' le devolverá al menu de edicion de particiones.)} - -message set_kernel_1 -{Núcleo (GENERIC)} - -message nopreppart -{There is no PReP boot partition in the MBR partition table.} - -message preptoosmall -{The PReP boot partition is too small. It needs to be at least 2MB in size, -however a size of at least 5MB is recommended.} - -message prepnobootpart -{There is no boot partition in the disklabel. The boot partition should -match the PReP boot partition you set up in the MBR partition table.} diff --git a/overlay/usr.sbin/sysinst/arch/prep/msg.md.pl b/overlay/usr.sbin/sysinst/arch/prep/msg.md.pl deleted file mode 100644 index 66e5c4c81f..0000000000 --- a/overlay/usr.sbin/sysinst/arch/prep/msg.md.pl +++ /dev/null @@ -1,77 +0,0 @@ -/* $NetBSD: msg.md.pl,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ -/* Based on english version: */ -/* NetBSD: msg.md.en,v 1.1 2001/01/16 16:54:01 nonaka Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- Polish, prep version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{ -} - -message dobad144 -{Instalowanie tablicy zlych blokow ... -} - -message dobootblks -{Instalowanie bootblokow na %s.... -} - -message pickdisk -{Wybierz dysk: } - -message partabovechs -{Czesc dysku NetBSD lezy poza obszarem, ktory BIOS w twojej maszynie moze -zaadresowac. Nie mozliwe bedzie bootowanie z tego dysku. Jestes pewnien, ze -chcesz to zrobic? - -(Odpowiedz 'nie' zabierze cie spowrotem do menu edycji partycji.)} - -message set_kernel_1 -{Kernel (GENERIC)} - -message nopreppart -{There is no PReP boot partition in the MBR partition table.} - -message preptoosmall -{The PReP boot partition is too small. It needs to be at least 2MB in size, -however a size of at least 5MB is recommended.} - -message prepnobootpart -{There is no boot partition in the disklabel. The boot partition should -match the PReP boot partition you set up in the MBR partition table.} diff --git a/overlay/usr.sbin/sysinst/arch/sandpoint/Makefile b/overlay/usr.sbin/sysinst/arch/sandpoint/Makefile deleted file mode 100644 index ebc9f2e5c9..0000000000 --- a/overlay/usr.sbin/sysinst/arch/sandpoint/Makefile +++ /dev/null @@ -1,10 +0,0 @@ -# $NetBSD: Makefile,v 1.2 2019/06/12 06:20:22 martin Exp $ -# -# Makefile for sandpoint -# - -MENUS_MD= menus.md.${SYSINSTLANG} -MSG_MD= msg.md.${SYSINSTLANG} msg.mbr.${SYSINSTLANG} -NO_MBR=no - -.include "../../Makefile.inc" diff --git a/overlay/usr.sbin/sysinst/arch/sandpoint/md.c b/overlay/usr.sbin/sysinst/arch/sandpoint/md.c deleted file mode 100644 index 9598a254c2..0000000000 --- a/overlay/usr.sbin/sysinst/arch/sandpoint/md.c +++ /dev/null @@ -1,279 +0,0 @@ -/* $NetBSD: md.c,v 1.10 2022/01/29 16:01:20 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - */ - -/* md.c -- sandpoint machine specific routines */ - -#include -#include -#include - -#include -#include -#include - -#include "defs.h" -#include "md.h" -#include "msg_defs.h" -#include "menu_defs.h" - -static char *prodname; - -void -md_init(void) -{ -} - -void -md_init_set_status(int flags) -{ - static const char mib_name[] = "machdep.prodfamily"; - static char unknown[] = "unknown"; - size_t len; - - (void)flags; - - /* - * Determine the product family of the board we are running on and - * enable the installation of the corresponding GENERIC kernel. - * - * Note: In md.h the two kernels are disabled. If they are - * enabled there the logic here needs to be switched. - */ - if (sysctlbyname(mib_name, NULL, &len, NULL, 0) != 0) { - prodname = unknown; - return; - } - prodname = malloc(len); - sysctlbyname(mib_name, prodname, &len, NULL, 0); - - if (strcmp(prodname, "kurobox")==0 || strcmp(prodname, "kurot4")==0) - /* - * Running on a KuroBox family product, so enable KUROBOX - */ - set_kernel_set(SET_KERNEL_2); - else - /* - * Otherwise enable GENERIC - */ - set_kernel_set(SET_KERNEL_1); -} - -bool -md_get_info(struct install_partition_desc *install) -{ - int res; - - if (pm->no_mbr || pm->no_part) - return true; - -again: - if (pm->parts == NULL) { - - const struct disk_partitioning_scheme *ps = - select_part_scheme(pm, NULL, true, NULL); - - if (!ps) - return false; - - struct disk_partitions *parts = - (*ps->create_new_for_disk)(pm->diskdev, - 0, pm->dlsize, true, NULL); - if (!parts) - return false; - - pm->parts = parts; - if (ps->size_limit > 0 && pm->dlsize > ps->size_limit) - pm->dlsize = ps->size_limit; - } - - res = set_bios_geom_with_mbr_guess(pm->parts); - if (res == 0) - return false; - else if (res == 1) - return true; - - pm->parts->pscheme->destroy_part_scheme(pm->parts); - pm->parts = NULL; - goto again; -} - -/* - * md back-end code for menu-driven BSD disklabel editor. - */ -int -md_make_bsd_partitions(struct install_partition_desc *install) -{ - return make_bsd_partitions(install); -} - -/* - * any additional partition validation - */ -bool -md_check_partitions(struct install_partition_desc *install) -{ - return true; -} - -/* - * hook called before writing new disklabel. - */ -bool -md_pre_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - - if (parts->parent == NULL) - return true; /* no outer partitions */ - - parts = parts->parent; - - msg_display_subst(MSG_dofdisk, 3, parts->disk, - msg_string(parts->pscheme->name), - msg_string(parts->pscheme->short_name)); - - /* write edited "MBR" onto disk. */ - if (!parts->pscheme->write_to_disk(parts)) { - msg_display(MSG_wmbrfail); - process_menu(MENU_ok, NULL); - return false; - } - return true; -} - -/* - * hook called after writing disklabel to new target disk. - */ -bool -md_post_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - return true; -} - -/* - * hook called after upgrade() or install() has finished setting - * up the target disk but immediately before the user is given the - * ``disks are now set up'' message. - */ -int -md_post_newfs(struct install_partition_desc *install) -{ - /* no boot blocks, we are using altboot */ - return 0; -} - -int -md_post_extract(struct install_partition_desc *install, bool upgrade) -{ - return 0; -} - -void -md_cleanup_install(struct install_partition_desc *install) -{ -#ifndef DEBUG - int new_speed; - - enable_rc_conf(); - - /* - * Set the console speed in /etc/ttys depending on the board. - * The default speed is 115200, which is patched when needed. - */ - if (strcmp(prodname, "kurobox")==0 || strcmp(prodname, "kurot4")==0) - new_speed = 57600; /* KuroBox */ - - else if (strcmp(prodname, "dlink") == 0 || /* D-Link DSM-G600 */ - strcmp(prodname, "nhnas") == 0) /* NH23x, All6250 */ - new_speed = 9600; - - else - new_speed = 0; - - if (new_speed != 0) { - run_program(RUN_CHROOT, "sed -an -e 's/115200/%d/;H;$!d;g;w" - "/etc/ttys' /etc/ttys", new_speed); - } -#endif -} - -int -md_pre_update(struct install_partition_desc *install) -{ - return 1; -} - -/* Upgrade support */ -int -md_update(struct install_partition_desc *install) -{ - md_post_newfs(install); - return 1; -} - -int -md_check_mbr(struct disk_partitions *parts, mbr_info_t *mbri, bool quiet) -{ - return 2; -} - -bool -md_parts_use_wholedisk(struct disk_partitions *parts) -{ - return parts_use_wholedisk(parts, 0, NULL); -} - -int -md_pre_mount(struct install_partition_desc *install, size_t ndx) -{ - return 0; -} - -bool -md_mbr_update_check(struct disk_partitions *parts, mbr_info_t *mbri) -{ - return false; /* no change, no need to write back */ -} - -#ifdef HAVE_GPT -bool -md_gpt_post_write(struct disk_partitions *parts, part_id root_id, - bool root_is_new, part_id efi_id, bool efi_is_new) -{ - /* no GPT boot support, nothing needs to be done here */ - return true; -} -#endif - diff --git a/overlay/usr.sbin/sysinst/arch/sandpoint/md.h b/overlay/usr.sbin/sysinst/arch/sandpoint/md.h deleted file mode 100644 index fdeefa16da..0000000000 --- a/overlay/usr.sbin/sysinst/arch/sandpoint/md.h +++ /dev/null @@ -1,77 +0,0 @@ -/* $NetBSD: md.h,v 1.3 2019/10/02 11:16:03 maya Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* md.h -- Machine specific definitions for the bebox */ - - -/* bebox uses the mbr code. */ -#include "mbr.h" - -/* constants and defines */ - - -/* Megs for the / partition, if separate */ -#define DEFROOTSIZE 60 - -/* Megs required for a full X installation. */ -#define XNEEDMB 225 - -/* Megs required for debug sets */ -#define DEBNEEDMB 900 - - -/* - * Default filesets to fetch and install during installation - * or upgrade. The standard sets are: - * base etc comp games man misc rescue tests text xbase xcomp xetc xfont xserver - */ -#define SET_KERNEL_1_NAME "kern-GENERIC" -#define SET_KERNEL_2_NAME "kern-KUROBOX" - - -/* have support for booting from UFS2 */ -#define HAVE_UFS2_BOOT - -/* - * Machine-specific command to write a new label to a disk. - * For example, bebox uses "/sbin/disklabel -w -r", just like bebox - * miniroot scripts, though this may leave a bogus incore label. - * Sun ports should probably use DISKLABEL_CMD "/sbin/disklabel -w" - * to get incore to ondisk inode translation for the Sun proms. - * If not defined, we assume the port does not support disklabels and - * hand-edited disklabel will NOT be written by MI code. - * - * On bebox, do what the 1.2 install scripts did. - */ -#define DISKLABEL_CMD "disklabel -w -r" diff --git a/overlay/usr.sbin/sysinst/arch/sandpoint/menus.md.en b/overlay/usr.sbin/sysinst/arch/sandpoint/menus.md.en deleted file mode 100644 index 68a08c489e..0000000000 --- a/overlay/usr.sbin/sysinst/arch/sandpoint/menus.md.en +++ /dev/null @@ -1,36 +0,0 @@ -/* $NetBSD: menus.md.en,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Menu definitions for sysinst. sandpoint version, machine dependent. */ - diff --git a/overlay/usr.sbin/sysinst/arch/sandpoint/menus.md.es b/overlay/usr.sbin/sysinst/arch/sandpoint/menus.md.es deleted file mode 100644 index bb99196d66..0000000000 --- a/overlay/usr.sbin/sysinst/arch/sandpoint/menus.md.es +++ /dev/null @@ -1,36 +0,0 @@ -/* $NetBSD: menus.md.es,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Menu definitions for sysinst. sandpoint version, machine dependent. */ - diff --git a/overlay/usr.sbin/sysinst/arch/sandpoint/menus.md.fr b/overlay/usr.sbin/sysinst/arch/sandpoint/menus.md.fr deleted file mode 100644 index 0753904949..0000000000 --- a/overlay/usr.sbin/sysinst/arch/sandpoint/menus.md.fr +++ /dev/null @@ -1,36 +0,0 @@ -/* $NetBSD: menus.md.fr,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Menu definitions for sysinst. sandpoint version, machine dependent. */ - diff --git a/overlay/usr.sbin/sysinst/arch/sandpoint/menus.md.pl b/overlay/usr.sbin/sysinst/arch/sandpoint/menus.md.pl deleted file mode 100644 index 83f97436e9..0000000000 --- a/overlay/usr.sbin/sysinst/arch/sandpoint/menus.md.pl +++ /dev/null @@ -1,38 +0,0 @@ -/* $NetBSD: menus.md.pl,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ -/* Based on english version: */ -/* NetBSD: menus.md.en,v 1.2 2001/11/29 23:21:01 thorpej Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Menu definitions for sysinst. sandpoint version, machine dependent. */ - diff --git a/overlay/usr.sbin/sysinst/arch/sandpoint/msg.md.de b/overlay/usr.sbin/sysinst/arch/sandpoint/msg.md.de deleted file mode 100644 index 82f8888437..0000000000 --- a/overlay/usr.sbin/sysinst/arch/sandpoint/msg.md.de +++ /dev/null @@ -1,58 +0,0 @@ -/* $NetBSD: msg.md.de,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- German, sandpoint version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Wenn Sie von einer Diskette gebootet haben, können Sie diese jetzt -entfernen. -} - -message dobad144 -{Installiere die Tabelle der defekten Blöcke ... -} - -message dobootblks -{Installiere die Bootblöcke auf %s ... -} - -message set_kernel_1 -{Kernel (GENERIC)} - -message set_kernel_2 -{Kernel (KUROBOX)} diff --git a/overlay/usr.sbin/sysinst/arch/sandpoint/msg.md.en b/overlay/usr.sbin/sysinst/arch/sandpoint/msg.md.en deleted file mode 100644 index e673c40645..0000000000 --- a/overlay/usr.sbin/sysinst/arch/sandpoint/msg.md.en +++ /dev/null @@ -1,58 +0,0 @@ -/* $NetBSD: msg.md.en,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- english, sandpoint version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{If you booted from a floppy, you may now remove the disk. -} - -/* the %s's will expand into three character strings */ -message dobad144 -{Installing the bad block table ... -} - -message dobootblks -{Installing boot blocks on %s.... -} - -message set_kernel_1 -{Kernel (GENERIC)} - -message set_kernel_2 -{Kernel (KUROBOX)} diff --git a/overlay/usr.sbin/sysinst/arch/sandpoint/msg.md.es b/overlay/usr.sbin/sysinst/arch/sandpoint/msg.md.es deleted file mode 100644 index 33c40eb8cf..0000000000 --- a/overlay/usr.sbin/sysinst/arch/sandpoint/msg.md.es +++ /dev/null @@ -1,57 +0,0 @@ -/* $NetBSD: msg.md.es,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- spanish, sandpoint version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Si ha iniciado desde disquette, ahora deberia retirar el disco. -} - -message dobad144 -{Instalando la tabla de bloques malos ... -} - -message dobootblks -{Instalando bloques de arranque en %s.... -} - -message set_kernel_1 -{Núcleo (GENERIC)} - -message set_kernel_2 -{Núcleo (KUROBOX)} diff --git a/overlay/usr.sbin/sysinst/arch/sandpoint/msg.md.fr b/overlay/usr.sbin/sysinst/arch/sandpoint/msg.md.fr deleted file mode 100644 index 86e45dbf96..0000000000 --- a/overlay/usr.sbin/sysinst/arch/sandpoint/msg.md.fr +++ /dev/null @@ -1,57 +0,0 @@ -/* $NetBSD: msg.md.fr,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- french, sandpoint version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Si vous avez démarré sur une disquette, vous pouvez maintenant la retirer. -} - -message dobad144 -{Installation de la table des blocs défectueux ... -} - -message dobootblks -{Installation des blocs de démarrage sur %s ... -} - -message set_kernel_1 -{Kernel (GENERIC)} - -message set_kernel_2 -{Kernel (KUROBOX)} diff --git a/overlay/usr.sbin/sysinst/arch/sandpoint/msg.md.pl b/overlay/usr.sbin/sysinst/arch/sandpoint/msg.md.pl deleted file mode 100644 index c7c05117d7..0000000000 --- a/overlay/usr.sbin/sysinst/arch/sandpoint/msg.md.pl +++ /dev/null @@ -1,59 +0,0 @@ -/* $NetBSD: msg.md.pl,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ -/* Based on english version: */ -/* NetBSD: msg.md.en,v 1.1 2001/10/24 19:43:40 briggs Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- Polish, sandpoint version */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Jesli uruchomiles komputer z dyskietki, mozesz ja teraz wyciagnac. -} - -message dobad144 -{Instalowanie tablicy zlych blokow ... -} - -message dobootblks -{Instalowanie bootblokow na %s.... -} - -message set_kernel_1 -{Kernel (GENERIC)} - -message set_kernel_2 -{Kernel (KUROBOX)} diff --git a/overlay/usr.sbin/sysinst/arch/sgimips/Makefile b/overlay/usr.sbin/sysinst/arch/sgimips/Makefile deleted file mode 100644 index ff7c0cfa8f..0000000000 --- a/overlay/usr.sbin/sysinst/arch/sgimips/Makefile +++ /dev/null @@ -1,6 +0,0 @@ -# $NetBSD: Makefile,v 1.1 2014/07/26 19:30:47 dholland Exp $ -# -# Makefile for sgimips -# - -.include "../../Makefile.inc" diff --git a/overlay/usr.sbin/sysinst/arch/sgimips/md.c b/overlay/usr.sbin/sysinst/arch/sgimips/md.c deleted file mode 100644 index ff9fd42551..0000000000 --- a/overlay/usr.sbin/sysinst/arch/sgimips/md.c +++ /dev/null @@ -1,249 +0,0 @@ -/* $NetBSD: md.c,v 1.10 2022/01/29 16:01:20 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - */ - -/* md.c -- sgimips machine specific routines */ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "defs.h" -#include "md.h" -#include "msg_defs.h" -#include "menu_defs.h" - - -void -md_init(void) -{ -} - -void -md_init_set_status(int flags) -{ - struct utsname instsys; - - (void)flags; - - /* - * Get the name of the Install Kernel we are running under and - * enable the installation of the corresponding GENERIC kernel. - */ - uname(&instsys); - if (strstr(instsys.version, "(INSTALL32_IP3x")) - set_kernel_set(SET_KERNEL_2); - else if (strstr(instsys.version, "(INSTALL32_IP2x")) - set_kernel_set(SET_KERNEL_1); - else if (strstr(instsys.version, "(GENERIC32_IP12")) - set_kernel_set(SET_KERNEL_3); -} - -bool -md_get_info(struct install_partition_desc *install) -{ - struct disklabel disklabel; - int fd; - char dev_name[100]; - - snprintf(dev_name, 100, "/dev/r%s%c", pm->diskdev, 'a' + getrawpartition()); - - fd = open(dev_name, O_RDONLY, 0); - if (fd < 0) { - if (logfp) - (void)fprintf(logfp, "Can't open %s\n", dev_name); - endwin(); - fprintf(stderr, "Can't open %s\n", dev_name); - exit(1); - } - if (ioctl(fd, DIOCGDINFO, &disklabel) == -1) { - if (logfp) - (void)fprintf(logfp, "Can't read disklabel on %s.\n", - dev_name); - endwin(); - fprintf(stderr, "Can't read disklabel on %s.\n", dev_name); - close(fd); - exit(1); - } - close(fd); - - pm->dlcyl = disklabel.d_ncylinders; - pm->dlhead = disklabel.d_ntracks; - pm->dlsec = disklabel.d_nsectors; - pm->sectorsize = disklabel.d_secsize; - pm->dlcylsize = disklabel.d_secpercyl; - - /* - * Compute whole disk size. Take max of (pm->dlcyl*pm->dlhead*pm->dlsec) - * and secperunit, just in case the disk is already labelled. - * (If our new label's RAW_PART size ends up smaller than the - * in-core RAW_PART size value, updating the label will fail.) - */ - pm->dlsize = pm->dlcyl*pm->dlhead*pm->dlsec; - if (disklabel.d_secperunit > pm->dlsize) - pm->dlsize = disklabel.d_secperunit; - - return true; -} - -/* - * md back-end code for menu-driven BSD disklabel editor. - */ -int -md_make_bsd_partitions(struct install_partition_desc *install) -{ - return make_bsd_partitions(install); -} - -/* - * any additional partition validation - */ -bool -md_check_partitions(struct install_partition_desc *install) -{ - return true; -} - -/* - * hook called before writing new disklabel. - */ -bool -md_pre_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - return true; -} - -/* - * hook called after writing disklabel to new target disk. - */ -bool -md_post_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - struct utsname instsys; - uname(&instsys); - - if (strstr(instsys.version, "(INSTALL32_IP3x")) - return run_program(RUN_DISPLAY, - "%s %s", "/usr/mdec/sgivol -f -w boot /usr/mdec/ip3xboot", - pm->diskdev) == 0; - - if (strstr(instsys.version, "(INSTALL32_IP2x")) { - run_program(RUN_DISPLAY, - "%s %s", "/usr/mdec/sgivol -f -w aoutboot /usr/mdec/aoutboot", - pm->diskdev); - return run_program(RUN_DISPLAY, - "%s %s", "/usr/mdec/sgivol -f -w boot /usr/mdec/ip2xboot", - pm->diskdev) == 0; - } - - /* Presumably an IP12, we add the boot code later... */ - return true; -} - -/* - * hook called after upgrade() or install() has finished setting - * up the target disk but immediately before the user is given the - * ``disks are now set up'' message. - */ -int -md_post_newfs(struct install_partition_desc *install) -{ - return 0; -} - -int -md_post_extract(struct install_partition_desc *install, bool upgrade) -{ - return 0; -} - -void -md_cleanup_install(struct install_partition_desc *install) -{ - struct utsname instsys; - -#ifndef DEBUG - enable_rc_conf(); -#endif - uname(&instsys); - - if (strstr(instsys.version, "(GENERIC32_IP12")) - run_program(0, "/usr/mdec/sgivol -f -w netbsd %s %s", - target_expand("/netbsd.ecoff"), pm->diskdev); -} - -int -md_pre_update(struct install_partition_desc *install) -{ - return 1; -} - -/* Upgrade support */ -int -md_update(struct install_partition_desc *install) -{ - md_post_disklabel(install, pm->parts); - return 1; -} - -int -md_pre_mount(struct install_partition_desc *install, size_t ndx) -{ - return 0; -} - -bool -md_parts_use_wholedisk(struct disk_partitions *parts) -{ - return parts_use_wholedisk(parts, 0, NULL); -} - -#ifdef HAVE_GPT -bool -md_gpt_post_write(struct disk_partitions *parts, part_id root_id, - bool root_is_new, part_id efi_id, bool efi_is_new) -{ - /* no GPT boot support, nothing needs to be done here */ - return true; -} -#endif - diff --git a/overlay/usr.sbin/sysinst/arch/sgimips/md.h b/overlay/usr.sbin/sysinst/arch/sgimips/md.h deleted file mode 100644 index a8932b879d..0000000000 --- a/overlay/usr.sbin/sysinst/arch/sgimips/md.h +++ /dev/null @@ -1,74 +0,0 @@ -/* $NetBSD: md.h,v 1.5 2022/06/16 14:03:39 tsutsui Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* md.h -- Machine specific definitions for the sgimips */ - -/* Constants and defines */ - -/* - * Symbolic names for disk partitions. - */ -#define PART_BOOT (4 * MEG) /* Enough for a GENERIC kernel */ - -#define DEFROOTSIZE 64 /* Default root size */ -#define DEFSWAPSIZE 32 /* Default swap size */ -#define DEFVARSIZE 32 /* Default /var size, if created */ -#define DEFUSRSIZE 800 /* Default /usr size, if /home */ -#define XNEEDMB 256 /* Extra megs for full X installation */ -#define DEBNEEDMB 1024 /* Extra megs for debug sets */ - -/* have support for booting from UFS2 */ -#define HAVE_UFS2_BOOT - -/* - * Machine-specific command to write a new label to a disk. - * If not defined, we assume the port does not support disklabels and - * hand-edited disklabel will NOT be written by MI code. - */ -/* - * sgimips should not use -r, as this prevents the SGI disklabel - * from being written. - */ -#define DISKLABEL_CMD "disklabel -w" - - -/* - * Default filesets to fetch and install during installation - * or upgrade. The standard sets are: - * base etc comp games man misc rescue tests text xbase xcomp xetc xfont xserver - */ -#define SET_KERNEL_1_NAME "kern-GENERIC32_IP2x" -#define SET_KERNEL_2_NAME "kern-GENERIC32_IP3x" -#define SET_KERNEL_3_NAME "kern-GENERIC32_IP12" -#define MD_SETS_SELECTED SET_KERNEL_1, SET_SYSTEM diff --git a/overlay/usr.sbin/sysinst/arch/sgimips/menus.md.en b/overlay/usr.sbin/sysinst/arch/sgimips/menus.md.en deleted file mode 100644 index e005305056..0000000000 --- a/overlay/usr.sbin/sysinst/arch/sgimips/menus.md.en +++ /dev/null @@ -1,36 +0,0 @@ -/* $NetBSD: menus.md.en,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* sgimips machine dependent menus, english */ - diff --git a/overlay/usr.sbin/sysinst/arch/sgimips/menus.md.es b/overlay/usr.sbin/sysinst/arch/sgimips/menus.md.es deleted file mode 100644 index 930c359d2a..0000000000 --- a/overlay/usr.sbin/sysinst/arch/sgimips/menus.md.es +++ /dev/null @@ -1,36 +0,0 @@ -/* $NetBSD: menus.md.es,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* sgimips machine dependent menus, spanish */ - diff --git a/overlay/usr.sbin/sysinst/arch/sgimips/menus.md.fr b/overlay/usr.sbin/sysinst/arch/sgimips/menus.md.fr deleted file mode 100644 index 8575ebfd61..0000000000 --- a/overlay/usr.sbin/sysinst/arch/sgimips/menus.md.fr +++ /dev/null @@ -1,36 +0,0 @@ -/* $NetBSD: menus.md.fr,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* sgimips machine dependent menus, french */ - diff --git a/overlay/usr.sbin/sysinst/arch/sgimips/menus.md.pl b/overlay/usr.sbin/sysinst/arch/sgimips/menus.md.pl deleted file mode 100644 index 3e01f92a28..0000000000 --- a/overlay/usr.sbin/sysinst/arch/sgimips/menus.md.pl +++ /dev/null @@ -1,39 +0,0 @@ -/* $NetBSD: menus.md.pl,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ -/* Based on english version: */ -/* NetBSD: menus.md.en,v 1.2 2001/11/29 23:21:01 thorpej Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* sgimips machine dependent menus, Polish */ - diff --git a/overlay/usr.sbin/sysinst/arch/sgimips/msg.md.de b/overlay/usr.sbin/sysinst/arch/sgimips/msg.md.de deleted file mode 100644 index df0720d92b..0000000000 --- a/overlay/usr.sbin/sysinst/arch/sgimips/msg.md.de +++ /dev/null @@ -1,58 +0,0 @@ -/* $NetBSD: msg.md.de,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* sgimips machine dependent messages, German */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Wenn Sie von einer Diskette gebootet haben, können Sie diese jetzt -entfernen. -} - -message dobootblks -{Installiere die Bootblöcke auf %s ... -} - -message set_kernel_1 -{Kernel (GENERIC32_IP2x)} - -message set_kernel_2 -{Kernel (GENERIC32_IP3x)} - -message set_kernel_3 -{Kernel (GENERIC32_IP12)} diff --git a/overlay/usr.sbin/sysinst/arch/sgimips/msg.md.en b/overlay/usr.sbin/sysinst/arch/sgimips/msg.md.en deleted file mode 100644 index 2a291b0053..0000000000 --- a/overlay/usr.sbin/sysinst/arch/sgimips/msg.md.en +++ /dev/null @@ -1,57 +0,0 @@ -/* $NetBSD: msg.md.en,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* sgimips machine dependent messages, english */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{If you booted from a floppy, you may now remove the disk. -} - -message dobootblks -{Installing boot blocks on %s.... -} - -message set_kernel_1 -{Kernel (GENERIC32_IP2x)} - -message set_kernel_2 -{Kernel (GENERIC32_IP3x)} - -message set_kernel_3 -{Kernel (GENERIC32_IP12)} diff --git a/overlay/usr.sbin/sysinst/arch/sgimips/msg.md.es b/overlay/usr.sbin/sysinst/arch/sgimips/msg.md.es deleted file mode 100644 index 460c0e23cf..0000000000 --- a/overlay/usr.sbin/sysinst/arch/sgimips/msg.md.es +++ /dev/null @@ -1,57 +0,0 @@ -/* $NetBSD: msg.md.es,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* sgimips machine dependent messages, spanish */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Si ha iniciado desde disquette, ahora deberia retirar el disco. -} - -message dobootblks -{Instalando bloques de arranque en %s... -} - -message set_kernel_1 -{Núcleo (GENERIC32_IP2x)} - -message set_kernel_2 -{Núcleo (GENERIC32_IP3x)} - -message set_kernel_3 -{Núcleo (GENERIC32_IP12)} diff --git a/overlay/usr.sbin/sysinst/arch/sgimips/msg.md.fr b/overlay/usr.sbin/sysinst/arch/sgimips/msg.md.fr deleted file mode 100644 index dd299de06e..0000000000 --- a/overlay/usr.sbin/sysinst/arch/sgimips/msg.md.fr +++ /dev/null @@ -1,57 +0,0 @@ -/* $NetBSD: msg.md.fr,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* sgimips machine dependent messages, french */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Si vous avez démarré sur une disquette, vous pouvez maintenant la retirer. -} - -message dobootblks -{Installation des secteurs de démarrage sur %s ... -} - -message set_kernel_1 -{Kernel (GENERIC32_IP2x)} - -message set_kernel_2 -{Kernel (GENERIC32_IP3x)} - -message set_kernel_3 -{Kernel (GENERIC32_IP12)} diff --git a/overlay/usr.sbin/sysinst/arch/sgimips/msg.md.pl b/overlay/usr.sbin/sysinst/arch/sgimips/msg.md.pl deleted file mode 100644 index 3a05c96493..0000000000 --- a/overlay/usr.sbin/sysinst/arch/sgimips/msg.md.pl +++ /dev/null @@ -1,60 +0,0 @@ -/* $NetBSD: msg.md.pl,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ -/* Based on english version: */ -/* NetBSD: msg.md.en,v 1.1 2001/11/20 15:53:24 soren Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* sgimips machine dependent messages, Polish */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Jesli uruchomiles komputer z dyskietki, mozesz ja teraz wyciagnac. -} - -message dobootblks -{Instalowanie bootblokow na %s.... -} - -message set_kernel_1 -{Kernel (GENERIC32_IP2x)} - -message set_kernel_2 -{Kernel (GENERIC32_IP3x)} - -message set_kernel_3 -{Kernel (GENERIC32_IP12)} diff --git a/overlay/usr.sbin/sysinst/arch/shark/Makefile b/overlay/usr.sbin/sysinst/arch/shark/Makefile deleted file mode 100644 index 1e116a48c4..0000000000 --- a/overlay/usr.sbin/sysinst/arch/shark/Makefile +++ /dev/null @@ -1,10 +0,0 @@ -# $NetBSD: Makefile,v 1.1 2014/07/26 19:30:47 dholland Exp $ -# -# Makefile for shark -# - -MD_OPTIONS= AOUT2ELF - -CPPFLAGS+= -DWSKBD - -.include "../../Makefile.inc" diff --git a/overlay/usr.sbin/sysinst/arch/shark/md.c b/overlay/usr.sbin/sysinst/arch/shark/md.c deleted file mode 100644 index 1fa4e1c0d6..0000000000 --- a/overlay/usr.sbin/sysinst/arch/shark/md.c +++ /dev/null @@ -1,256 +0,0 @@ -/* $NetBSD: md.c,v 1.8 2026/09/03 02:12:16 gutteridge Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - */ - -/* md.c -- shark machine specific routines */ - -#include -#include -#include -#include -#include -#include -#include -#include - -#include "defs.h" -#include "md.h" -#include "mbr.h" -#include "msg_defs.h" -#include "menu_defs.h" - -static int clear_mbr(const char *, char *, size_t); - -void -md_init(void) -{ -} - -void -md_init_set_status(int flags) -{ - (void)flags; -} - -bool -md_get_info(struct install_partition_desc *install) -{ - struct disklabel disklabel; - int fd; - char dev_name[100]; - - snprintf(dev_name, 100, "/dev/r%sc", pm->diskdev); - - fd = open(dev_name, O_RDONLY, 0); - if (fd < 0) { - endwin(); - fprintf(stderr, "Can't open %s\n", dev_name); - exit(1); - } - if (ioctl(fd, DIOCGDINFO, &disklabel) == -1) { - endwin(); - fprintf(stderr, "Can't read disklabel on %s.\n", dev_name); - close(fd); - exit(1); - } - close(fd); - - pm->dlcyl = disklabel.d_ncylinders; - pm->dlhead = disklabel.d_ntracks; - pm->dlsec = disklabel.d_nsectors; - pm->sectorsize = disklabel.d_secsize; - pm->dlcylsize = disklabel.d_secpercyl; - - /* - * Compute whole disk size. Take max of (pm->dlcyl*pm->dlhead*pm->dlsec) - * and secperunit, just in case the disk is already labelled. - * (If our new label's RAW_PART size ends up smaller than the - * in-core RAW_PART size value, updating the label will fail.) - */ - pm->dlsize = pm->dlcyl*pm->dlhead*pm->dlsec; - if (disklabel.d_secperunit > pm->dlsize) - pm->dlsize = disklabel.d_secperunit; - - return true; -} - -/* - * md back-end code for menu-driven BSD disklabel editor. - */ -int -md_make_bsd_partitions(struct install_partition_desc *install) -{ - return make_bsd_partitions(install); -} - -/* - * any additional partition validation - */ -bool -md_check_partitions(struct install_partition_desc *install) -{ - return true; -} - -/* - * hook called before writing new disklabel. - */ -bool -md_pre_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - char diskpath[MAXPATHLEN]; - - if (clear_mbr(pm->diskdev, diskpath, sizeof(diskpath)) == -1) { - msg_fmt_display(MSG_badclearmbr, "%s", diskpath); - process_menu(MENU_ok, NULL); - } - - return true; -} - -/* - * hook called after writing disklabel to new target disk. - */ -bool -md_post_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - return true; -} - -/* - * hook called after upgrade() or install() has finished setting - * up the target disk but immediately before the user is given the - * ``disks are now set up'' message. - */ -int -md_post_newfs(struct install_partition_desc *install) -{ - return 0; -} - -int -md_post_extract(struct install_partition_desc *install, bool upgrade) -{ - msg_display(MSG_setbootdevice); - process_menu(MENU_ok, NULL); - - return 0; -} - -void -md_cleanup_install(struct install_partition_desc *install) -{ -#ifndef DEBUG - enable_rc_conf(); - add_rc_conf("wscons=YES\n"); - - /* Configure a single screen. */ - run_program(RUN_CHROOT, - "sed -an -e '/^screen/s/^/#/;/^mux/s/^/#/;" - "H;$!d;g;w /etc/wscons.conf' /etc/wscons.conf"); - -#endif -} - -int -md_pre_update(struct install_partition_desc *install) -{ - return 1; -} - -/* Upgrade support */ -int -md_update(struct install_partition_desc *install) -{ - md_post_newfs(install); - return 1; -} - -/* - * Clears the disk's first sector by writing all zeros over it. - * Returns 0 on success, -1 on failure. Leaves the disk's path in - * the output diskpath buffer for further usage in error messages. - */ -static int -clear_mbr(const char *disk, char *diskpath, size_t diskpathlen) -{ - int fd; - char sector[512]; - - fd = opendisk(disk, O_WRONLY, diskpath, diskpathlen, 0); - if (fd < 0) - return -1; - - memset(sector, 0, sizeof(sector)); - if (pwrite(fd, §or, sizeof(sector), 0) < 0) { - close(fd); - return -1; - } - - close(fd); - return 0; -} - -int -md_pre_mount(struct install_partition_desc *install, size_t ndx) -{ - return 0; -} - -/* returns false if no write-back of parts is required */ -bool -md_mbr_update_check(struct disk_partitions *parts, mbr_info_t *mbri) -{ - return false; -} - -#ifdef HAVE_GPT -/* - * New GPT partitions have been written, update bootloader or remember - * data until needed in md_post_newfs - */ -bool -md_gpt_post_write(struct disk_partitions *parts, part_id root_id, - bool root_is_new, part_id efi_id, bool efi_is_new) -{ - return true; -} -#endif - -bool -md_parts_use_wholedisk(struct disk_partitions *parts) -{ - return parts_use_wholedisk(parts, 0, NULL); -} diff --git a/overlay/usr.sbin/sysinst/arch/shark/md.h b/overlay/usr.sbin/sysinst/arch/shark/md.h deleted file mode 100644 index 34af880df6..0000000000 --- a/overlay/usr.sbin/sysinst/arch/shark/md.h +++ /dev/null @@ -1,63 +0,0 @@ -/* $NetBSD: md.h,v 1.3 2019/10/02 11:16:03 maya Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* md.h -- Machine specific definitions for the shark */ - -/* Constants and defines */ -/* Megs for the /usr partition, if separate */ -#define DEFUSRSIZE 980 - -/* Megs required for a full X installation. */ -#define XNEEDMB 225 - -/* Megs required for debug sets */ -#define DEBNEEDMB 980 - -/* - * Default filesets to fetch and install during installation - * or upgrade. The standard sets are: - * base etc comp games man misc rescue tests text xbase xcomp xetc xfont xserver - */ -#define SET_KERNEL_1_NAME "kern-GENERIC" - -/* - * Machine-specific command to write a new label to a disk. - * For example, shark uses "/sbin/disklabel -w -r". - * Sun ports should probably use DISKLABEL_CMD "/sbin/disklabel -w" - * to get incore to ondisk inode translation for the Sun proms. - * If not defined, we assume the port does not support disklabels and - * hand-edited disklabel will NOT be written by MI code. - */ -#define DISKLABEL_CMD "disklabel -w -r" diff --git a/overlay/usr.sbin/sysinst/arch/shark/menus.md.en b/overlay/usr.sbin/sysinst/arch/shark/menus.md.en deleted file mode 100644 index 2aec788041..0000000000 --- a/overlay/usr.sbin/sysinst/arch/shark/menus.md.en +++ /dev/null @@ -1,37 +0,0 @@ -/* $NetBSD: menus.md.en,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* shark machine dependent menus, english */ - diff --git a/overlay/usr.sbin/sysinst/arch/shark/menus.md.es b/overlay/usr.sbin/sysinst/arch/shark/menus.md.es deleted file mode 100644 index ebf0d7b41c..0000000000 --- a/overlay/usr.sbin/sysinst/arch/shark/menus.md.es +++ /dev/null @@ -1,37 +0,0 @@ -/* $NetBSD: menus.md.es,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* shark machine dependent menus, spanish */ - diff --git a/overlay/usr.sbin/sysinst/arch/shark/menus.md.fr b/overlay/usr.sbin/sysinst/arch/shark/menus.md.fr deleted file mode 100644 index 6331530046..0000000000 --- a/overlay/usr.sbin/sysinst/arch/shark/menus.md.fr +++ /dev/null @@ -1,37 +0,0 @@ -/* $NetBSD: menus.md.fr,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* shark machine dependent menus, french */ - diff --git a/overlay/usr.sbin/sysinst/arch/shark/menus.md.pl b/overlay/usr.sbin/sysinst/arch/shark/menus.md.pl deleted file mode 100644 index a68393e994..0000000000 --- a/overlay/usr.sbin/sysinst/arch/shark/menus.md.pl +++ /dev/null @@ -1,39 +0,0 @@ -/* $NetBSD: menus.md.pl,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ -/* Based on english version: */ -/* NetBSD: menus.md.en,v 1.2 2002/03/31 02:14:06 thorpej Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* shark machine dependent menus, Polish */ - diff --git a/overlay/usr.sbin/sysinst/arch/shark/msg.md.de b/overlay/usr.sbin/sysinst/arch/shark/msg.md.de deleted file mode 100644 index 99281b173f..0000000000 --- a/overlay/usr.sbin/sysinst/arch/shark/msg.md.de +++ /dev/null @@ -1,103 +0,0 @@ -/* $NetBSD: msg.md.de,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* shark machine dependent messages, German */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Wenn Sie von einer Diskette gebootet haben, können Sie diese jetzt -enfernen. -} - -message Keyboard_type {Tastaturschema} -message kb_default {de} - -message badreadbb -{Kann den Bootblock des Filecores nicht lesen -} - -message badreadriscix -{Kann die RISCiX Partitionstabelle nicht lesen -} - -message notnetbsdriscix -{Keine NetBSD Partition in der RISCiX Partitionstabelle gefunden - erstellen -eines Labels nicht möglich. -} - -message notnetbsd -{Keine NetBSD Partition gefunden (eine Nur-Filecore Platte?) - erstellen eines -Labels nicht möglich. -} - -message dobootblks -{Installiere die Bootblöcke auf %s ... -} - -message arm32fspart -{Nachfolgend sehen Sie Ihre NetBSD Partitionen auf %s (Größe und Offset in -%s): -} - -message set_kernel_1 -{Kernel (GENERIC)} - -message setbootdevice -{In order to make your system boot automatically from the on-disk file -system, you need to manually configure OpenFirmware to tell it where to -load the kernel from. - -OpenFirmware can load a NetBSD a.out kernel (sorry, ELF is not supported) -straight from a FFS partition on the local hard disk. So, to configure it -to boot the just-installed kernel, run the following command from -OpenFirmware's shell: - -setenv boot-device disk:\\netbsd.aout - -You only need to run this once and only if the 'boot-device' property did -not already contain the value shown above. -} - -message badclearmbr -{Failed to clear the disk's first sector. If OpenFirmware cannot see the -disk, try to run the following command manually from the installer's shell -utility: - -dd if=/dev/zero of=%s bs=512 count=1 -} diff --git a/overlay/usr.sbin/sysinst/arch/shark/msg.md.en b/overlay/usr.sbin/sysinst/arch/shark/msg.md.en deleted file mode 100644 index 418b863712..0000000000 --- a/overlay/usr.sbin/sysinst/arch/shark/msg.md.en +++ /dev/null @@ -1,99 +0,0 @@ -/* $NetBSD: msg.md.en,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* shark machine dependent messages, english */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{If you booted from a floppy, you may now remove the disk. -} - -message Keyboard_type {Keyboard type} -message kb_default {} - -message badreadbb -{Cannot read filecore boot block -} - -message badreadriscix -{Cannot read RISCiX partition table -} - -message notnetbsdriscix -{No NetBSD partition found in RISCiX partition table - Cannot label -} - -message notnetbsd -{No NetBSD partition found (filecore only disk ?) - Cannot label -} - -message dobootblks -{Installing boot blocks on %s.... -} - -message arm32fspart -{We now have your NetBSD partitions on %s as follows (Size and Offset in %s): -} - -message set_kernel_1 -{Kernel (GENERIC)} - -message setbootdevice -{In order to make your system boot automatically from the on-disk file -system, you need to manually configure OpenFirmware to tell it where to -load the kernel from. - -OpenFirmware can load a NetBSD a.out kernel (sorry, ELF is not supported) -straight from a FFS partition on the local hard disk. So, to configure it -to boot the just-installed kernel, run the following command from -OpenFirmware's shell: - -setenv boot-device disk:\\netbsd.aout - -You only need to run this once and only if the 'boot-device' property did -not already contain the value shown above. -} - -message badclearmbr -{Failed to clear the disk's first sector. If OpenFirmware cannot see the -disk, try to run the following command manually from the installer's shell -utility: - -dd if=/dev/zero of=%s bs=512 count=1 -} diff --git a/overlay/usr.sbin/sysinst/arch/shark/msg.md.es b/overlay/usr.sbin/sysinst/arch/shark/msg.md.es deleted file mode 100644 index 93ec14d6ea..0000000000 --- a/overlay/usr.sbin/sysinst/arch/shark/msg.md.es +++ /dev/null @@ -1,101 +0,0 @@ -/* $NetBSD: msg.md.es,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* shark machine dependent messages, spanish */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Si ha iniciado desde disquette, ahora debería retirar el disco. -} - -message Keyboard_type {Tipo de teclado} -message kb_default {es} - -message badreadbb -{No se puede leer bloque de arranque filecore -} - -message badreadriscix -{No se puede leer la tabla de particiones RISCiX -} - -message notnetbsdriscix -{No se ha encontrado ninguna particion NetBSD en la tabla de -particiones RISCiX - No se puede etiquetar -} - -message notnetbsd -{No se ha encontrado ninguna particion NetBSD (¿disco solo de filecore?) - - No se puede etiquetar -} - -message dobootblks -{Instalando bloques de arranque en %s... -} - -message arm32fspart -{Ahora tenemos nuestras particiones NetBSD en % como sigue (Tamaño y -Compensación en %s): -} - -message set_kernel_1 -{Núcleo (GENERIC)} - -message setbootdevice -{Para conseguir que el sistema arranque automaticamente desde el sistema -de ficheros del disco, necesita configura manualmente OpenFirmware para -indicarle desde dónde debe cargar el núcleo del sistema. - -OpenFirmware puede cargar un núcleo a.out de NetBSD (perdone, pero ELF no está soportado) directamente desde una partición FFS del disco local. Así que, para -configurarlo para que arranque desde disco deberá ejecutar manualmente el -siguiente comando desde la interfaz de OpenFirmware: - -setenv boot-device disk:\\netbsd.aout - -Sólo tiene que ejecutar esto una vez y sólamente si la propiedad -'boot-device' no contenía el valor mostrado arriba. -} - -message badclearmbr -{Ha ocurrido un error al intentar borrar el primer sector del disco. Si el -firmware no puede verlo, pruebe a ejecutar el siguiente comando manualmente -desde la linea de comandos de la utilidad de instalación: - -dd if=/dev/zero of=%s bs=512 count=1 -} diff --git a/overlay/usr.sbin/sysinst/arch/shark/msg.md.fr b/overlay/usr.sbin/sysinst/arch/shark/msg.md.fr deleted file mode 100644 index f9c1410a3a..0000000000 --- a/overlay/usr.sbin/sysinst/arch/shark/msg.md.fr +++ /dev/null @@ -1,102 +0,0 @@ -/* $NetBSD: msg.md.fr,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* shark machine dependent messages, french */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Si vous avez démarré sur une disquette, vous pouvez maintenant la retirer. -} - -message Keyboard_type {Type de clavier} -message kb_default {fr} - -message badreadbb -{Impossible de lire le contenu du secteur de démarrage -} - -message badreadriscix -{Impossible de lire la table de partitions RISCiX -} - -message notnetbsdriscix -{Aucune partition NetBSD trouvée dans la table de partitions RISCiX. Impossible -de créer un label. -} - -message notnetbsd -{Aucune partition NetBSD trouvée (disque filecore uniquement ?). Impossible -de créer un label. -} - -message dobootblks -{Installation des blocs de démarrage sur %s ... -} - -message arm32fspart -{Nous avons maintenant vos partitions NetBSD sur %s comme suit -(taille et Offset en %s) : -} - -message set_kernel_1 -{Kernel (GENERIC)} - -message setbootdevice -{Afin que votre système démarre automatiquement depuis le système de fichiers -sur le disque, vous devez configurer manuellement OpenFirmware pour lui -spécifier l'emplacement depuis lequel il doit charger le noyau. - -OpenFirmware peut charger un noyau NetBSD a.out (malheureusement, ELF n'est pas -supporté) directement depuis une partition FFS sur le disque dur local. Donc, -afin de configurer le noyau qui vient d'être installé, exécutez la commande -suivante depuis l'interpréteur de commandes OpenFirmware : - -setenv boot-device disk:\\netbsd.aout - -Il n'est nécessaire d'exécuter cette commande qu'une seule fois et uniquement -si la propriété 'boot-device' ne contient pas déjà la valeur affichée ci-dessus. -} - -message badclearmbr -{Erreur lors de l'effacement du premier secteur du disque. Si OpenFirmware ne -parvient pas à voir le disque, essayez d'exécuter manuellement la commande -suivante depuis l'interpréteur de commandes de l'installeur : - -dd if=/dev/zero of=%s bs=512 count=1 -} diff --git a/overlay/usr.sbin/sysinst/arch/shark/msg.md.pl b/overlay/usr.sbin/sysinst/arch/shark/msg.md.pl deleted file mode 100644 index 61aa574c8e..0000000000 --- a/overlay/usr.sbin/sysinst/arch/shark/msg.md.pl +++ /dev/null @@ -1,101 +0,0 @@ -/* $NetBSD: msg.md.pl,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ -/* Based on english version: */ -/* NetBSD: msg.md.en,v 1.2 2002/04/02 17:02:54 thorpej Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* shark machine dependent messages, Polish */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Jesli uruchomiles komputer z dyskietki, mozesz ja teraz wyciagnac. -} - -message Keyboard_type {Keyboard type} -message kb_default {pl} - -message badreadbb -{Nie moge przeczytac bootbloku filecore -} - -message badreadriscix -{Nie moge przeczytac tablicy partycji RISCiX -} - -message notnetbsdriscix -{Nie znalazlem partycji NetBSD w tablicy partycji RISCiX - Nie moge nazwac -} - -message notnetbsd -{Nie znalazlem partycji NetBSD (dysk filecore?) - Nie moge nazwac -} - -message dobootblks -{Instalowanie bootblokow na %s.... -} - -message arm32fspart -{Partycje NetBSD na dysku %s wygladaja teraz tak (Rozmiary i Przesuniecia w %s): -} - -message set_kernel_1 -{Kernel (GENERIC)} - -message setbootdevice -{In order to make your system boot automatically from the on-disk file -system, you need to manually configure OpenFirmware to tell it where to -load the kernel from. - -OpenFirmware can load a NetBSD a.out kernel (sorry, ELF is not supported) -straight from a FFS partition on the local hard disk. So, to configure it -to boot the just-installed kernel, run the following command from -OpenFirmware's shell: - -setenv boot-device disk:\\netbsd.aout - -You only need to run this once and only if the 'boot-device' property did -not already contain the value shown above. -} - -message badclearmbr -{Failed to clear the disk's first sector. If OpenFirmware cannot see the -disk, try to run the following command manually from the installer's shell -utility: - -dd if=/dev/zero of=%s bs=512 count=1 -} diff --git a/overlay/usr.sbin/sysinst/arch/sparc/Makefile b/overlay/usr.sbin/sysinst/arch/sparc/Makefile deleted file mode 100644 index 37759e167d..0000000000 --- a/overlay/usr.sbin/sysinst/arch/sparc/Makefile +++ /dev/null @@ -1,8 +0,0 @@ -# $NetBSD: Makefile,v 1.1 2014/07/26 19:30:47 dholland Exp $ -# -# Makefile for sparc -# - -MD_OPTIONS= AOUT2ELF - -.include "../../Makefile.inc" diff --git a/overlay/usr.sbin/sysinst/arch/sparc/md.c b/overlay/usr.sbin/sysinst/arch/sparc/md.c deleted file mode 100644 index f8fdcff537..0000000000 --- a/overlay/usr.sbin/sysinst/arch/sparc/md.c +++ /dev/null @@ -1,182 +0,0 @@ -/* $NetBSD: md.c,v 1.9 2026/09/03 02:12:16 gutteridge Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - */ - -/* changes from the i386 version made by mrg */ - -/* md.c -- sparc machine specific routines */ -/* This file is in close sync with pmax, vax, and x68k md.c */ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "defs.h" -#include "md.h" -#include "msg_defs.h" -#include "menu_defs.h" - -void -md_init(void) -{ -} - -void -md_init_set_status(int flags) -{ - (void)flags; -} - -bool -md_get_info(struct install_partition_desc *install) -{ - set_default_sizemult(pm->diskdev, MEG, pm->sectorsize); - return true; -} - -/* - * md back-end code for menu-driven BSD disklabel editor. - */ -int -md_make_bsd_partitions(struct install_partition_desc *install) -{ - return(make_bsd_partitions(install)); -} - -/* - * any additional partition validation - */ -bool -md_check_partitions(struct install_partition_desc *install) -{ - return true; -} - -/* - * hook called before writing new disklabel. - */ -bool -md_pre_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - return true; -} - -/* - * hook called after writing disklabel to new target disk. - */ -bool -md_post_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - return true; -} - -/* - * hook called after upgrade() or install() has finished setting - * up the target disk but immediately before the user is given the - * ``disks are now set up'' message. - * - * On the sparc, we use this opportunity to install the boot blocks. - */ -int -md_post_newfs(struct install_partition_desc *install) -{ - - /* boot blocks ... */ - msg_fmt_display(MSG_dobootblks, "%s", pm->diskdev); - return (run_program(RUN_DISPLAY, "/sbin/disklabel -W %s", pm->diskdev) || - run_program(RUN_DISPLAY, "/usr/mdec/binstall ffs %s", - targetroot_mnt)); -} - -int -md_post_extract(struct install_partition_desc *install, bool upgrade) -{ - return 0; -} - -void -md_cleanup_install(struct install_partition_desc *install) -{ -#ifndef DEBUG - enable_rc_conf(); -#endif -} - -int -md_pre_update(struct install_partition_desc *install) -{ - return 1; -} - -/* Upgrade support */ -int -md_update(struct install_partition_desc *install) -{ - md_post_newfs(install); - return 1; -} - -int -md_pre_mount(struct install_partition_desc *install, size_t ndx) -{ - return 0; -} - -bool -md_parts_use_wholedisk(struct disk_partitions *parts) -{ - return parts_use_wholedisk(parts, 0, NULL); -} - -#ifdef HAVE_GPT -/* - * New GPT partitions have been written, update bootloader or remember - * data until needed in md_post_newfs - */ -bool -md_gpt_post_write(struct disk_partitions *parts, part_id root_id, - bool root_is_new, part_id efi_id, bool efi_is_new) -{ - - return true; -} -#endif diff --git a/overlay/usr.sbin/sysinst/arch/sparc/md.h b/overlay/usr.sbin/sysinst/arch/sparc/md.h deleted file mode 100644 index 5fee9e3ef1..0000000000 --- a/overlay/usr.sbin/sysinst/arch/sparc/md.h +++ /dev/null @@ -1,68 +0,0 @@ -/* $NetBSD: md.h,v 1.6 2025/04/26 03:49:33 tsutsui Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* md.h -- Machine specific definitions for the sparc */ - -/* Constants and defines */ - -#define DEFROOTSIZE 48 /* Default root size */ -#define DEFSWAPSIZE 32 /* Default swap size */ -#define DEFVARSIZE 32 /* Default /var size, if created */ -#define DEFUSRSIZE 700 /* Default /usr size, if /home */ -#define XNEEDMB 256 /* Extra megs for full X installation */ -#define DEBNEEDMB 800 /* Extra megs for debug sets */ - -/* have support for booting from UFS2 */ -#define HAVE_UFS2_BOOT - -/* sunlabels force track alignment (true = no further processing) */ -#define MD_DISKLABEL_SET_ALIGN_PRE(align, track) \ - (align) = (track), true - -/* - * Default filesets to fetch and install during installation - * or upgrade. - */ -#define SET_KERNEL_1_NAME "kern-GENERIC" -#define SET_KERNEL_2_NAME "kern-GENERIC_SCSI3" -#define SET_KERNEL_3_NAME "kern-GENERIC_SUN4U" -#define SET_KERNEL_4_NAME "kern-GENERIC.MP" - -/* - * Machine-specific command to write a new label to a disk. - * If not defined, we assume the port does not support disklabels and - * the hand-edited disklabel will NOT be written by MI code. - */ -#define DISKLABEL_CMD "disklabel -w -r" diff --git a/overlay/usr.sbin/sysinst/arch/sparc/menus.md.en b/overlay/usr.sbin/sysinst/arch/sparc/menus.md.en deleted file mode 100644 index bf269b4e04..0000000000 --- a/overlay/usr.sbin/sysinst/arch/sparc/menus.md.en +++ /dev/null @@ -1,37 +0,0 @@ -/* $NetBSD: menus.md.en,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* sparc machine dependent menus, english */ - diff --git a/overlay/usr.sbin/sysinst/arch/sparc/menus.md.es b/overlay/usr.sbin/sysinst/arch/sparc/menus.md.es deleted file mode 100644 index 802b4cc56a..0000000000 --- a/overlay/usr.sbin/sysinst/arch/sparc/menus.md.es +++ /dev/null @@ -1,37 +0,0 @@ -/* $NetBSD: menus.md.es,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* sparc machine dependent menus, spanish */ - diff --git a/overlay/usr.sbin/sysinst/arch/sparc/menus.md.fr b/overlay/usr.sbin/sysinst/arch/sparc/menus.md.fr deleted file mode 100644 index adf3ffec44..0000000000 --- a/overlay/usr.sbin/sysinst/arch/sparc/menus.md.fr +++ /dev/null @@ -1,37 +0,0 @@ -/* $NetBSD: menus.md.fr,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* sparc machine dependent menus, french */ - diff --git a/overlay/usr.sbin/sysinst/arch/sparc/menus.md.pl b/overlay/usr.sbin/sysinst/arch/sparc/menus.md.pl deleted file mode 100644 index 21c5cd50e1..0000000000 --- a/overlay/usr.sbin/sysinst/arch/sparc/menus.md.pl +++ /dev/null @@ -1,39 +0,0 @@ -/* $NetBSD: menus.md.pl,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ -/* Based on english version: */ -/* NetBSD: menus.md.en,v 1.15 2001/11/29 32:21:02 thorpej Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* sparc machine dependent menus, Polish */ - diff --git a/overlay/usr.sbin/sysinst/arch/sparc/msg.md.de b/overlay/usr.sbin/sysinst/arch/sparc/msg.md.de deleted file mode 100644 index ac08938ec3..0000000000 --- a/overlay/usr.sbin/sysinst/arch/sparc/msg.md.de +++ /dev/null @@ -1,60 +0,0 @@ -/* $NetBSD: msg.md.de,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* sparc machine dependent messages, German */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Wenn Sie von einer Diskette gebootet haben, können Sie diese jetzt -enfernen. -} - -message dobootblks -{Installiere die Bootblöcke auf %s ... -} - -message set_kernel_1 -{Kernel (GENERIC)} -message set_kernel_2 -{Kernel (GENERIC_SCSI3)} -message set_kernel_3 -{Kernel (GENERIC_SUN4U)} -message set_kernel_4 -{Kernel (GENERIC.MP)} - diff --git a/overlay/usr.sbin/sysinst/arch/sparc/msg.md.en b/overlay/usr.sbin/sysinst/arch/sparc/msg.md.en deleted file mode 100644 index 05c7c0037f..0000000000 --- a/overlay/usr.sbin/sysinst/arch/sparc/msg.md.en +++ /dev/null @@ -1,59 +0,0 @@ -/* $NetBSD: msg.md.en,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* sparc machine dependent messages, english */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{If you booted from a floppy, you may now remove the disk. -} - -message dobootblks -{Installing boot blocks on %s.... -} - -message set_kernel_1 -{Kernel (GENERIC)} -message set_kernel_2 -{Kernel (GENERIC_SCSI3)} -message set_kernel_3 -{Kernel (GENERIC_SUN4U)} -message set_kernel_4 -{Kernel (GENERIC.MP)} - diff --git a/overlay/usr.sbin/sysinst/arch/sparc/msg.md.es b/overlay/usr.sbin/sysinst/arch/sparc/msg.md.es deleted file mode 100644 index 5a6cc1990e..0000000000 --- a/overlay/usr.sbin/sysinst/arch/sparc/msg.md.es +++ /dev/null @@ -1,59 +0,0 @@ -/* $NetBSD: msg.md.es,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* sparc machine dependent messages, spanish */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Si ha iniciado desde disquette, ahora debería retirar el disco. -} - -message dobootblks -{Instalando bloques de arranque en %s.... -} - -message set_kernel_1 -{Núcleo (GENERIC)} -message set_kernel_2 -{Núcleo (GENERIC_SCSI3)} -message set_kernel_3 -{Núcleo (GENERIC_SUN4U)} -message set_kernel_4 -{Núcleo (GENERIC.MP)} - diff --git a/overlay/usr.sbin/sysinst/arch/sparc/msg.md.fr b/overlay/usr.sbin/sysinst/arch/sparc/msg.md.fr deleted file mode 100644 index 9fb1b59868..0000000000 --- a/overlay/usr.sbin/sysinst/arch/sparc/msg.md.fr +++ /dev/null @@ -1,59 +0,0 @@ -/* $NetBSD: msg.md.fr,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* sparc machine dependent messages, french */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Si vous avez démarré sur une disquette, vous pouvez maintenant la retirer. -} - -message dobootblks -{Installation des blocs de démarrage sur %s ... -} - -message set_kernel_1 -{Kernel (GENERIC)} -message set_kernel_2 -{Kernel (GENERIC_SCSI3)} -message set_kernel_3 -{Kernel (GENERIC_SUN4U)} -message set_kernel_4 -{Kernel (GENERIC.MP)} - diff --git a/overlay/usr.sbin/sysinst/arch/sparc/msg.md.pl b/overlay/usr.sbin/sysinst/arch/sparc/msg.md.pl deleted file mode 100644 index 2af42b0dd9..0000000000 --- a/overlay/usr.sbin/sysinst/arch/sparc/msg.md.pl +++ /dev/null @@ -1,61 +0,0 @@ -/* $NetBSD: msg.md.pl,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ -/* Based on english version: */ -/* NetBSD: msg.md.en,v 1.6 2002/02/03 22:21:56 skrll Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* sparc machine dependent messages, Polish */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Jesli uruchomiles komputer z dyskietki, mozesz ja teraz wyciagnac. -} - -message dobootblks -{Instalowanie bootblokow na %s.... -} - -message set_kernel_1 -{Kernel (GENERIC)} -message set_kernel_2 -{Kernel (GENERIC_SCSI3)} -message set_kernel_3 -{Kernel (GENERIC_SUN4U)} -message set_kernel_4 -{Kernel (GENERIC.MP)} - diff --git a/overlay/usr.sbin/sysinst/arch/sparc64/Makefile b/overlay/usr.sbin/sysinst/arch/sparc64/Makefile deleted file mode 100644 index d92d937112..0000000000 --- a/overlay/usr.sbin/sysinst/arch/sparc64/Makefile +++ /dev/null @@ -1,8 +0,0 @@ -# $NetBSD: Makefile,v 1.2 2026/06/22 19:26:01 martin Exp $ -# -# Makefile for sparc64 -# - -HAVE_DVD_IMAGE=yes - -.include "../../Makefile.inc" diff --git a/overlay/usr.sbin/sysinst/arch/sparc64/md.c b/overlay/usr.sbin/sysinst/arch/sparc64/md.c deleted file mode 100644 index 806dffd79f..0000000000 --- a/overlay/usr.sbin/sysinst/arch/sparc64/md.c +++ /dev/null @@ -1,202 +0,0 @@ -/* $NetBSD: md.c,v 1.9 2026/09/03 02:12:16 gutteridge Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - */ - -/* changes from the sparc version made by mrg */ - -/* md.c -- sparc64 machine specific routines */ -/* This file is in close sync with pmax, vax, and x68k, sparc md.c */ - -#include -#include -#include -#include -#include -#include -#include -#include - -#include "defs.h" -#include "md.h" -#include "msg_defs.h" -#include "menu_defs.h" - -static void install_bootblocks(void); -static void install_ofwboot(void); - -void -md_init(void) -{ -} - -void -md_init_set_status(int flags) -{ - (void)flags; -} - -bool -md_get_info(struct install_partition_desc *install) -{ - - set_default_sizemult(pm->diskdev, MEG, pm->sectorsize); - return true; -} - -/* - * md back-end code for menu-driven BSD disklabel editor. - */ -int -md_make_bsd_partitions(struct install_partition_desc *install) -{ - return make_bsd_partitions(install); -} - -/* - * any additional partition validation - */ -bool -md_check_partitions(struct install_partition_desc *install) -{ - return true; -} - -/* - * hook called before writing new disklabel. - */ -bool -md_pre_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - return true; -} - -/* - * hook called after writing disklabel to new target disk. - */ -bool -md_post_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - install_bootblocks(); - return true; -} - -/* - * hook called after upgrade() or install() has finished setting - * up the target disk but immediately before the user is given the - * ``disks are now set up'' message. - */ -int -md_post_newfs(struct install_partition_desc *install) -{ - install_ofwboot(); - return 0; -} - -int -md_post_extract(struct install_partition_desc *install, bool upgrade) -{ - return 0; -} - -void -md_cleanup_install(struct install_partition_desc *install) -{ -#ifndef DEBUG - enable_rc_conf(); -#endif -} - -int -md_pre_update(struct install_partition_desc *install) -{ - return 1; -} - -/* Upgrade support */ -int -md_update(struct install_partition_desc *install) -{ - md_post_newfs(install); - return 1; -} - -/* install/update bootblocks */ -static void -install_bootblocks(void) -{ - /* Install boot blocks before mounting the target disk */ - msg_fmt_display(MSG_dobootblks, "%s", pm->diskdev); - run_program(RUN_DISPLAY, "/sbin/disklabel -W %s", pm->diskdev); - run_program(RUN_DISPLAY, "/usr/sbin/installboot /dev/r%sc" - " /usr/mdec/bootblk", pm->diskdev); -} - -/* install/update secondary bootstrap */ -static void -install_ofwboot(void) -{ - /* copy secondary bootstrap now that the target is mounted */ - msg_fmt_display(MSG_doofwboot, "%s", targetroot_mnt); - run_program(RUN_DISPLAY, "/bin/cp -p /usr/mdec/ofwboot %s", - targetroot_mnt); -} - -int -md_pre_mount(struct install_partition_desc *install, size_t ndx) -{ - if (ndx == 0) - install_bootblocks(); - return 0; -} - -bool -md_parts_use_wholedisk(struct disk_partitions *parts) -{ - return parts_use_wholedisk(parts, 0, NULL); -} - - -#ifdef HAVE_GPT -/* - * New GPT partitions have been written, update bootloader or remember - * data until needed in md_post_newfs - */ -bool -md_gpt_post_write(struct disk_partitions *parts, part_id root_id, - bool root_is_new, part_id efi_id, bool efi_is_new) -{ - return true; -} -#endif diff --git a/overlay/usr.sbin/sysinst/arch/sparc64/md.h b/overlay/usr.sbin/sysinst/arch/sparc64/md.h deleted file mode 100644 index 6e898a3b74..0000000000 --- a/overlay/usr.sbin/sysinst/arch/sparc64/md.h +++ /dev/null @@ -1,73 +0,0 @@ -/* $NetBSD: md.h,v 1.9 2025/04/26 03:49:33 tsutsui Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* md.h -- Machine specific definitions for the sparc */ - -#define DEFROOTSIZE 64 /* Default root size */ -#define DEFSWAPSIZE (-1) /* Default swap size */ -#define DEFVARSIZE 32 /* Default /var size, if created */ -#define DEFUSRSIZE 1200 /* Default /usr size, if /home */ -#define XNEEDMB 300 /* Extra megs for full X installation */ -#define DEBNEEDMB 1200 /* Extra megs for debug sets */ - -/* sunlabels force track alignment (true = no further processing) */ -#define MD_DISKLABEL_SET_ALIGN_PRE(align, track) \ - (align) = (track), true - -/* use UFS2 by default for ffs */ -#define DEFAULT_UFS2 - -/* have support for booting from UFS2 */ -#define HAVE_UFS2_BOOT - -/* have support for booting from GPT disks */ -/* #define HAVE_GPT_BOOT */ /* not yet */ - -/* allow using tmpfs for /tmp instead of mfs */ -#define HAVE_TMPFS - -/* - * Default filesets to fetch and install during installation - * or upgrade. - */ -#define SET_KERNEL_1_NAME "kern-GENERIC" -#define SET_KERNEL_2_NAME "kern-GENERIC.UP" - -/* - * Machine-specific command to write a new label to a disk. - * If not defined, we assume the port does not support disklabels and - * the hand-edited disklabel will NOT be written by MI code. - */ -#define DISKLABEL_CMD "disklabel -w -r" diff --git a/overlay/usr.sbin/sysinst/arch/sparc64/menus.md.en b/overlay/usr.sbin/sysinst/arch/sparc64/menus.md.en deleted file mode 100644 index f43a90690d..0000000000 --- a/overlay/usr.sbin/sysinst/arch/sparc64/menus.md.en +++ /dev/null @@ -1,37 +0,0 @@ -/* $NetBSD: menus.md.en,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* sparc64 machine dependent menus, english */ - diff --git a/overlay/usr.sbin/sysinst/arch/sparc64/menus.md.es b/overlay/usr.sbin/sysinst/arch/sparc64/menus.md.es deleted file mode 100644 index 3ff90ba714..0000000000 --- a/overlay/usr.sbin/sysinst/arch/sparc64/menus.md.es +++ /dev/null @@ -1,37 +0,0 @@ -/* $NetBSD: menus.md.es,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* sparc64 machine dependent menus, spanish */ - diff --git a/overlay/usr.sbin/sysinst/arch/sparc64/menus.md.fr b/overlay/usr.sbin/sysinst/arch/sparc64/menus.md.fr deleted file mode 100644 index 96598dc250..0000000000 --- a/overlay/usr.sbin/sysinst/arch/sparc64/menus.md.fr +++ /dev/null @@ -1,37 +0,0 @@ -/* $NetBSD: menus.md.fr,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* sparc64 machine dependent menus, french */ - diff --git a/overlay/usr.sbin/sysinst/arch/sparc64/menus.md.pl b/overlay/usr.sbin/sysinst/arch/sparc64/menus.md.pl deleted file mode 100644 index 73e1c3538f..0000000000 --- a/overlay/usr.sbin/sysinst/arch/sparc64/menus.md.pl +++ /dev/null @@ -1,39 +0,0 @@ -/* $NetBSD: menus.md.pl,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ -/* Based on english version: */ -/* NetBSD: menus.md.en,v 1.5 2001/11/29 32:21:02 thorpej Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* sparc64 machine dependent menus, Polish */ - diff --git a/overlay/usr.sbin/sysinst/arch/sparc64/msg.md.de b/overlay/usr.sbin/sysinst/arch/sparc64/msg.md.de deleted file mode 100644 index 75c18249fe..0000000000 --- a/overlay/usr.sbin/sysinst/arch/sparc64/msg.md.de +++ /dev/null @@ -1,60 +0,0 @@ -/* $NetBSD: msg.md.de,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* sparc64 machine dependent messages, German */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Wenn Sie von einer Diskette gebootet haben, können Sie diese jetzt -enfernen. -} - -message dobootblks -{Installiere die Bootblöcke auf %s ... -} - -message doofwboot -{Installiere /ofwboot auf %s ... -} - -message set_kernel_1 -{Kernel (GENERIC)} -message set_kernel_2 -{Kernel (GENERIC.UP)} - diff --git a/overlay/usr.sbin/sysinst/arch/sparc64/msg.md.en b/overlay/usr.sbin/sysinst/arch/sparc64/msg.md.en deleted file mode 100644 index bb68ba6984..0000000000 --- a/overlay/usr.sbin/sysinst/arch/sparc64/msg.md.en +++ /dev/null @@ -1,58 +0,0 @@ -/* $NetBSD: msg.md.en,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* sparc64 machine dependent messages, english */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{If you booted from a floppy, you may now remove the disk. -} - -message dobootblks -{Installing boot blocks on %s.... -} - -message doofwboot -{Installing /ofwboot on %s.... -} - -message set_kernel_1 -{Kernel (GENERIC)} -message set_kernel_2 -{Kernel (GENERIC.UP)} diff --git a/overlay/usr.sbin/sysinst/arch/sparc64/msg.md.es b/overlay/usr.sbin/sysinst/arch/sparc64/msg.md.es deleted file mode 100644 index bd1bb1ccd0..0000000000 --- a/overlay/usr.sbin/sysinst/arch/sparc64/msg.md.es +++ /dev/null @@ -1,59 +0,0 @@ -/* $NetBSD: msg.md.es,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* sparc64 machine dependent messages, english */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Si ha iniciado desde disquette, ahora debería retirar el disco. -} - -message dobootblks -{Instalando bloques de arranque en %s.... -} - -message doofwboot -{Instalando /ofwboot en %s.... -} - -message set_kernel_1 -{Núcleo (GENERIC)} -message set_kernel_2 -{Núcleo (GENERIC.UP)} - diff --git a/overlay/usr.sbin/sysinst/arch/sparc64/msg.md.fr b/overlay/usr.sbin/sysinst/arch/sparc64/msg.md.fr deleted file mode 100644 index b66f0bb6f5..0000000000 --- a/overlay/usr.sbin/sysinst/arch/sparc64/msg.md.fr +++ /dev/null @@ -1,58 +0,0 @@ -/* $NetBSD: msg.md.fr,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* sparc64 machine dependent messages, french */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Si vous avez démarré sur une disquette, vous pouvez maintenant la retirer. -} - -message dobootblks -{Installation des blocs de démarrage sur %s ... -} - -message doofwboot -{Installation des /ofwboot sur %s ... -} - -message set_kernel_1 -{Kernel (GENERIC)} -message set_kernel_2 -{Kernel (GENERIC.UP)} diff --git a/overlay/usr.sbin/sysinst/arch/sparc64/msg.md.pl b/overlay/usr.sbin/sysinst/arch/sparc64/msg.md.pl deleted file mode 100644 index 3ba4beace4..0000000000 --- a/overlay/usr.sbin/sysinst/arch/sparc64/msg.md.pl +++ /dev/null @@ -1,60 +0,0 @@ -/* $NetBSD: msg.md.pl,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ -/* Based on english version: */ -/* NetBSD: msg.md.en,v 1.2 2002/12/03 01:54:49 minoura Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* sparc64 machine dependent messages, Polish */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Jesli uruchomiles komputer z dyskietki, mozesz ja teraz wyciagnac. -} - -message dobootblks -{Instalowanie bootblokow na %s.... -} - -message doofwboot -{Instalowanie /ofwboot na %s.... -} - -message set_kernel_1 -{Kernel (GENERIC)} -message set_kernel_2 -{Kernel (GENERIC.UP)} diff --git a/overlay/usr.sbin/sysinst/arch/vax/Makefile b/overlay/usr.sbin/sysinst/arch/vax/Makefile deleted file mode 100644 index f6db3d36f3..0000000000 --- a/overlay/usr.sbin/sysinst/arch/vax/Makefile +++ /dev/null @@ -1,16 +0,0 @@ -# $NetBSD: Makefile,v 1.2 2020/11/06 19:47:31 martin Exp $ -# -# Makefile for vax -# - -MD_OPTIONS= AOUT2ELF - -.ifdef SMALLPROG -CHECK_ENTROPY= no # do not check entropy/offer adding -NOPARTMAN= yes -NO_GPT= yes -NO_MBR= yes -NO_CLONES= yes -.endif - -.include "../../Makefile.inc" diff --git a/overlay/usr.sbin/sysinst/arch/vax/md.c b/overlay/usr.sbin/sysinst/arch/vax/md.c deleted file mode 100644 index d90099a945..0000000000 --- a/overlay/usr.sbin/sysinst/arch/vax/md.c +++ /dev/null @@ -1,215 +0,0 @@ -/* $NetBSD: md.c,v 1.8 2022/01/29 16:01:20 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - */ - -/* changes from the i386 version made by mrg */ - -/* md.c -- vax machine specific routines */ -/* This file is in close sync with pmax, sparc, and x68k md.c */ - -#include -#include -#include -#include -#include -#include -#include -#include - -#include "defs.h" -#include "md.h" -#include "msg_defs.h" -#include "menu_defs.h" - -void -md_init(void) -{ -} - -void -md_init_set_status(int flags) -{ - (void)flags; -} - -bool -md_get_info(struct install_partition_desc *install) -{ - struct disklabel disklabel; - int fd; - char dev_name[100]; - - snprintf(dev_name, 100, "/dev/r%sc", pm->diskdev); - - fd = open(dev_name, O_RDONLY, 0); - if (fd < 0) { - if (logfp) - (void)fprintf(logfp, "Can't open %s\n", dev_name); - endwin(); - fprintf(stderr, "Can't open %s\n", dev_name); - exit(1); - } - if (ioctl(fd, DIOCGDINFO, &disklabel) == -1) { - if (logfp) - (void)fprintf(logfp, "Can't read disklabel on %s.\n", - dev_name); - endwin(); - fprintf(stderr, "Can't read disklabel on %s.\n", dev_name); - close(fd); - exit(1); - } - close(fd); - - pm->dlcyl = disklabel.d_ncylinders; - pm->dlhead = disklabel.d_ntracks; - pm->dlsec = disklabel.d_nsectors; - pm->sectorsize = disklabel.d_secsize; - pm->dlcylsize = disklabel.d_secpercyl; - - /* - * Compute whole disk size. Take max of (pm->dlcyl*pm->dlhead*pm->dlsec) - * and secperunit, just in case the disk is already labelled. - * (If our new label's RAW_PART size ends up smaller than the - * in-core RAW_PART size value, updating the label will fail.) - */ - pm->dlsize = pm->dlcyl*pm->dlhead*pm->dlsec; - if (disklabel.d_secperunit > pm->dlsize) - pm->dlsize = disklabel.d_secperunit; - - return true; -} - -/* - * md back-end code for menu-driven BSD disklabel editor. - */ -int -md_make_bsd_partitions(struct install_partition_desc *install) -{ - return make_bsd_partitions(install); -} - -/* - * any additional partition validation - */ -bool -md_check_partitions(struct install_partition_desc *install) -{ - return true; -} - -/* - * hook called before writing new disklabel. - */ -bool -md_pre_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - return true; -} - -/* - * hook called after writing disklabel to new target disk. - */ -bool -md_post_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - return true; -} - -/* - * hook called after upgrade() or install() has finished setting - * up the target disk but immediately before the user is given the - * ``disks are now set up'' message. - * - * On the vax, we use this opportunity to install the boot blocks. - */ -int -md_post_newfs(struct install_partition_desc *install) -{ - msg_fmt_display(MSG_dobootblks, "%s", pm->diskdev); - run_program(0, "/usr/sbin/installboot /dev/r%s%c /usr/mdec/%.2sboot", - pm->diskdev, 'a' + getrawpartition(), pm->diskdev); - return 0; -} - -int -md_post_extract(struct install_partition_desc *install, bool upgrade) -{ - return 0; -} - -void -md_cleanup_install(struct install_partition_desc *install) -{ -#ifndef DEBUG - enable_rc_conf(); -#endif -} - -int -md_pre_update(struct install_partition_desc *install) -{ - return 1; -} - -/* Upgrade support */ -int -md_update(struct install_partition_desc *install) -{ - md_post_newfs(install); - return 1; -} - -int -md_pre_mount(struct install_partition_desc *install, size_t ndx) -{ - return 0; -} - -bool -md_parts_use_wholedisk(struct disk_partitions *parts) -{ - return parts_use_wholedisk(parts, 0, NULL); -} - -#ifdef HAVE_GPT -bool -md_gpt_post_write(struct disk_partitions *parts, part_id root_id, - bool root_is_new, part_id efi_id, bool efi_is_new) -{ - /* no GPT boot support, nothing needs to be done here */ - return true; -} -#endif - diff --git a/overlay/usr.sbin/sysinst/arch/vax/md.h b/overlay/usr.sbin/sysinst/arch/vax/md.h deleted file mode 100644 index 430990ef06..0000000000 --- a/overlay/usr.sbin/sysinst/arch/vax/md.h +++ /dev/null @@ -1,67 +0,0 @@ -/* $NetBSD: md.h,v 1.7 2025/04/26 03:49:34 tsutsui Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* md.h -- Machine specific definitions for the vax */ - -/* Constants and defines */ - -#define DEFROOTSIZE 32 /* Default root size */ -#define DEFSWAPSIZE 16 /* Default swap size */ -#define DEFVARSIZE 32 /* Default /var size, if created */ -#define DEFUSRSIZE 450 /* Default /usr size, if /home */ -#define XNEEDMB 150 /* Extra megs for full X installation */ -#define DEBNEEDMB 650 /* Extra megs for debug sets */ - -/* have support for booting from UFS2 */ -#define HAVE_UFS2_BOOT - -/* - * Default filesets to fetch and install during installation - * or upgrade. - */ -#define SET_KERNEL_1_NAME "kern-GENERIC" - -/* - * Machine-specific command to write a new label to a disk. - * If not defined, we assume the port does not support disklabels and - * the hand-edited disklabel will NOT be written by MI code. - */ -#define DISKLABEL_CMD "disklabel -w -r" - -/* VAX can have cd* or racd* devices */ -#ifdef CD_NAMES -#undef CD_NAMES -#endif -#define CD_NAMES "cd*","racd*" diff --git a/overlay/usr.sbin/sysinst/arch/vax/menus.md.en b/overlay/usr.sbin/sysinst/arch/vax/menus.md.en deleted file mode 100644 index 3c56b48998..0000000000 --- a/overlay/usr.sbin/sysinst/arch/vax/menus.md.en +++ /dev/null @@ -1,37 +0,0 @@ -/* $NetBSD: menus.md.en,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* vax machine dependent menus, english */ - diff --git a/overlay/usr.sbin/sysinst/arch/vax/menus.md.es b/overlay/usr.sbin/sysinst/arch/vax/menus.md.es deleted file mode 100644 index 973d3ac938..0000000000 --- a/overlay/usr.sbin/sysinst/arch/vax/menus.md.es +++ /dev/null @@ -1,37 +0,0 @@ -/* $NetBSD: menus.md.es,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* vax machine dependent menus, spanish */ - diff --git a/overlay/usr.sbin/sysinst/arch/vax/menus.md.fr b/overlay/usr.sbin/sysinst/arch/vax/menus.md.fr deleted file mode 100644 index 952a260148..0000000000 --- a/overlay/usr.sbin/sysinst/arch/vax/menus.md.fr +++ /dev/null @@ -1,37 +0,0 @@ -/* $NetBSD: menus.md.fr,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* vax machine dependent menus, french */ - diff --git a/overlay/usr.sbin/sysinst/arch/vax/menus.md.pl b/overlay/usr.sbin/sysinst/arch/vax/menus.md.pl deleted file mode 100644 index 789a94ccba..0000000000 --- a/overlay/usr.sbin/sysinst/arch/vax/menus.md.pl +++ /dev/null @@ -1,39 +0,0 @@ -/* $NetBSD: menus.md.pl,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ -/* Based on english version: */ -/* NetBSD: menus.md.en,v 1.13 2001/11/29 32:21:02 thorpej Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* vax machine dependent menus, Polish */ - diff --git a/overlay/usr.sbin/sysinst/arch/vax/msg.md.de b/overlay/usr.sbin/sysinst/arch/vax/msg.md.de deleted file mode 100644 index f0e2492fac..0000000000 --- a/overlay/usr.sbin/sysinst/arch/vax/msg.md.de +++ /dev/null @@ -1,53 +0,0 @@ -/* $NetBSD: msg.md.de,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* vax machine dependent messages, German */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Wenn Sie von einer Diskette gebootet haben, können Sie diese jetzt -enfernen. -} - -message dobootblks -{Installiere die Bootblöcke auf %s ... -} - -message set_kernel_1 -{Kernel (GENERIC)} diff --git a/overlay/usr.sbin/sysinst/arch/vax/msg.md.en b/overlay/usr.sbin/sysinst/arch/vax/msg.md.en deleted file mode 100644 index 41e4415846..0000000000 --- a/overlay/usr.sbin/sysinst/arch/vax/msg.md.en +++ /dev/null @@ -1,52 +0,0 @@ -/* $NetBSD: msg.md.en,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* vax machine dependent messages, english */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{If you booted from a floppy, you may now remove the disk. -} - -message dobootblks -{Installing boot blocks on %s.... -} - -message set_kernel_1 -{Kernel (GENERIC)} diff --git a/overlay/usr.sbin/sysinst/arch/vax/msg.md.es b/overlay/usr.sbin/sysinst/arch/vax/msg.md.es deleted file mode 100644 index 606886f9a8..0000000000 --- a/overlay/usr.sbin/sysinst/arch/vax/msg.md.es +++ /dev/null @@ -1,52 +0,0 @@ -/* $NetBSD: msg.md.es,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* vax machine dependent messages, spanish */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Si ha iniciado desde disquette, ahora debería retirar el disco. -} - -message dobootblks -{Instalando bloques de arranque en %s.... -} - -message set_kernel_1 -{Núcleo (GENERIC)} diff --git a/overlay/usr.sbin/sysinst/arch/vax/msg.md.fr b/overlay/usr.sbin/sysinst/arch/vax/msg.md.fr deleted file mode 100644 index 11957cf19f..0000000000 --- a/overlay/usr.sbin/sysinst/arch/vax/msg.md.fr +++ /dev/null @@ -1,53 +0,0 @@ -/* $NetBSD: msg.md.fr,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* vax machine dependent messages, french */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Si vous avez démarré sur une disquette, vous pouvez maintenant la retirer. -} - -message dobootblks -{Installation des blocs de démarrage sur %s ... -} - -message set_kernel_1 -{Kernel (GENERIC)} - diff --git a/overlay/usr.sbin/sysinst/arch/vax/msg.md.pl b/overlay/usr.sbin/sysinst/arch/vax/msg.md.pl deleted file mode 100644 index 92dfb21366..0000000000 --- a/overlay/usr.sbin/sysinst/arch/vax/msg.md.pl +++ /dev/null @@ -1,55 +0,0 @@ -/* $NetBSD: msg.md.pl,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ -/* Based on english version: */ -/* NetBSD: msg.md.en,v 1.6 2002/03/30 21:55:12 matt Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* vax machine dependent messages, Polish */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{Jesli uruchomiles komputer z dyskietki, mozesz ja teraz wyciagnac. -} - -message dobootblks -{Instalowanie bootblokow na %s.... -} - -message set_kernel_1 -{Kernel (GENERIC)} - diff --git a/overlay/usr.sbin/sysinst/arch/virt68k/Makefile b/overlay/usr.sbin/sysinst/arch/virt68k/Makefile deleted file mode 100644 index 9d14936b83..0000000000 --- a/overlay/usr.sbin/sysinst/arch/virt68k/Makefile +++ /dev/null @@ -1,6 +0,0 @@ -# $NetBSD: Makefile,v 1.1 2024/01/06 07:38:13 thorpej Exp $ -# -# Makefile for virt68k -# - -.include "../../Makefile.inc" diff --git a/overlay/usr.sbin/sysinst/arch/virt68k/md.c b/overlay/usr.sbin/sysinst/arch/virt68k/md.c deleted file mode 100644 index 5d81e35438..0000000000 --- a/overlay/usr.sbin/sysinst/arch/virt68k/md.c +++ /dev/null @@ -1,240 +0,0 @@ -/* $NetBSD: md.c,v 1.1 2024/01/06 07:38:13 thorpej Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - */ - -/* md.c -- virt68k machine specific routines */ -/* This file is in close sync with hp300, pmax, sparc, vax and x68k md.c */ - -#include -#include -#include -#include -#include - -#include "defs.h" -#include "md.h" -#include "msg_defs.h" -#include "menu_defs.h" - -void -md_init(void) -{ -} - -void -md_init_set_status(int flags) -{ - (void)flags; -} - -bool -md_get_info(struct install_partition_desc *install) -{ - char buf[1024]; - int fd; - char dev_name[100]; - struct disklabel disklabel; - - snprintf(dev_name, 100, "/dev/r%sc", pm->diskdev); - - fd = open(dev_name, O_RDONLY, 0); - if (fd < 0) { - if (logfp) - (void)fprintf(logfp, "Can't open %s\n", dev_name); - endwin(); - fprintf(stderr, "Can't open %s\n", dev_name); - exit(1); - } - if (ioctl(fd, DIOCGDINFO, &disklabel) == -1) { - if (logfp) - (void)fprintf(logfp, "Can't read disklabel on %s.\n", - dev_name); - endwin(); - fprintf(stderr, "Can't read disklabel on %s.\n", dev_name); - close(fd); - exit(1); - } - if (disklabel.d_secsize != 512) { - endwin(); - fprintf(stderr, "Non-512byte/sector disk is not supported.\n"); - close(fd); - exit(1); - } - - pm->dlcyl = disklabel.d_ncylinders; - pm->dlhead = disklabel.d_ntracks; - pm->dlsec = disklabel.d_nsectors; - pm->sectorsize = disklabel.d_secsize; - pm->dlcylsize = disklabel.d_secpercyl; - pm->dlsize = pm->dlcyl*pm->dlhead*pm->dlsec; - - if (read(fd, buf, 1024) < 0) { - endwin(); - fprintf(stderr, "Can't read %s\n", dev_name); - close(fd); - exit(1); - } - - /* preserve first cylinder for system. */ - pm->ptstart = disklabel.d_secpercyl; - - close(fd); - - return true; -} - -/* - * md back-end code for menu-driven BSD disklabel editor. - */ -int -md_make_bsd_partitions(struct install_partition_desc *install) -{ - - return make_bsd_partitions(install); -} - -/* - * any additional partition validation - */ -bool -md_check_partitions(struct install_partition_desc *install) -{ - /* virt68k partitions must be in order of the range. */ - daddr_t last_end = 0; - size_t i; - char desc[STRSIZE]; - - for (i = 0; i < install->num; i++) { - if (i > 0) { - /* skip raw part and similar */ - if (install->infos[i].cur_flags & - (PTI_SEC_CONTAINER|PTI_PSCHEME_INTERNAL| - PTI_RAW_PART)) - continue; - - if (install->infos[i].cur_start < last_end) { - snprintf(desc, sizeof desc, - "%zu (%s)", i, - install->infos[i].mount); - msg_fmt_display(MSG_ordering, "%s", desc); - if (!ask_yesno(NULL)) - return false; - } - } - last_end = install->infos[i].cur_start + install->infos[i].size; - } - - return true; -} - -/* - * hook called before writing new disklabel. - */ -bool -md_pre_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - return true; -} - -/* - * hook called after writing disklabel to new target disk. - */ -bool -md_post_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - return true; -} - -/* - * hook called after upgrade() or install() has finished setting - * up the target disk but immediately before the user is given the - * ``disks are now set up'' message.. - */ -int -md_post_newfs(struct install_partition_desc *install) -{ - return 0; -} - -int -md_post_extract(struct install_partition_desc *install, bool upgrade) -{ - return 0; -} - -void -md_cleanup_install(struct install_partition_desc *install) -{ -#ifndef DEBUG - enable_rc_conf(); -#endif -} - -int -md_pre_update(struct install_partition_desc *install) -{ - return 1; -} - -/* Upgrade support */ -int -md_update(struct install_partition_desc *install) -{ - md_post_newfs(install); - return 1; -} - -int -md_pre_mount(struct install_partition_desc *install, size_t ndx) -{ - return 0; -} - -bool -md_parts_use_wholedisk(struct disk_partitions *parts) -{ - return parts_use_wholedisk(parts, 0, NULL); -} - -#ifdef HAVE_GPT -bool -md_gpt_post_write(struct disk_partitions *parts, part_id root_id, - bool root_is_new, part_id efi_id, bool efi_is_new) -{ - /* no GPT boot support, nothing needs to be done here */ - return true; -} -#endif - diff --git a/overlay/usr.sbin/sysinst/arch/virt68k/md.h b/overlay/usr.sbin/sysinst/arch/virt68k/md.h deleted file mode 100644 index 2cdfd43b00..0000000000 --- a/overlay/usr.sbin/sysinst/arch/virt68k/md.h +++ /dev/null @@ -1,74 +0,0 @@ -/* $NetBSD: md.h,v 1.2 2025/04/26 03:49:34 tsutsui Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* md.h -- Machine specific definitions for the virt68k */ - - -#include -#include -#include -#include -#include - - -/* constants and defines */ - -#define DEFROOTSIZE 40 /* Default root size */ -#define DEFSWAPSIZE 32 /* Default swap size */ -#define DEFVARSIZE 32 /* Default /var size, if created */ -#define DEFUSRSIZE 700 /* Default /usr size, if /home */ -#define XNEEDMB 250 /* Extra megs for full X installation */ -#define DEBNEEDMB 800 /* Extra megs for debug sets */ - -/* - * Default filesets to fetch and install during installation - * or upgrade. The standard sets are: - * base etc comp games man misc rescue tests text xbase xcomp xetc xfont xserver - */ -#define SET_KERNEL_1_NAME "kern-GENERIC" -#define MD_SETS_VALID SET_KERNEL, SET_SYSTEM, SET_X11_NOSERVERS - -/* - * Machine-specific command to write a new label to a disk. - * For example, i386 uses "/sbin/disklabel -w -r", just like i386 - * miniroot scripts, though this may leave a bogus incore label. - * Sun ports should probably use DISKLABEL_CMD "/sbin/disklabel -w" - * to get incore to ondisk inode translation for the Sun proms. - * If not defined, we assume the port does not support disklabels and - * hand-edited disklabel will NOT be written by MI code. - * - * On virt68k, do what the miniroot install scripts did. - */ -#define DISKLABEL_CMD "disklabel -w -r" diff --git a/overlay/usr.sbin/sysinst/arch/virt68k/menus.md.en b/overlay/usr.sbin/sysinst/arch/virt68k/menus.md.en deleted file mode 100644 index 6cbe1df28d..0000000000 --- a/overlay/usr.sbin/sysinst/arch/virt68k/menus.md.en +++ /dev/null @@ -1,37 +0,0 @@ -/* $NetBSD: menus.md.en,v 1.1 2024/01/06 07:38:13 thorpej Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* virt68k machine dependent menus, english */ - diff --git a/overlay/usr.sbin/sysinst/arch/virt68k/menus.md.es b/overlay/usr.sbin/sysinst/arch/virt68k/menus.md.es deleted file mode 100644 index 28b94c36e5..0000000000 --- a/overlay/usr.sbin/sysinst/arch/virt68k/menus.md.es +++ /dev/null @@ -1,37 +0,0 @@ -/* $NetBSD: menus.md.es,v 1.1 2024/01/06 07:38:13 thorpej Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* virt68k machine dependent menus, spanish */ - diff --git a/overlay/usr.sbin/sysinst/arch/virt68k/menus.md.fr b/overlay/usr.sbin/sysinst/arch/virt68k/menus.md.fr deleted file mode 100644 index 50fcbc15d3..0000000000 --- a/overlay/usr.sbin/sysinst/arch/virt68k/menus.md.fr +++ /dev/null @@ -1,36 +0,0 @@ -/* $NetBSD: menus.md.fr,v 1.1 2024/01/06 07:38:13 thorpej Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Menu definitions for sysinst. virt68k version, machine dependent. */ - diff --git a/overlay/usr.sbin/sysinst/arch/virt68k/menus.md.pl b/overlay/usr.sbin/sysinst/arch/virt68k/menus.md.pl deleted file mode 100644 index 40b43f8a9b..0000000000 --- a/overlay/usr.sbin/sysinst/arch/virt68k/menus.md.pl +++ /dev/null @@ -1,39 +0,0 @@ -/* $NetBSD: menus.md.pl,v 1.1 2024/01/06 07:38:13 thorpej Exp $ */ -/* Based on english version: */ -/* NetBSD: menus.md.en,v 1.1 2002/03/24 22:04:05 scw Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* virt68k machine dependent menus, Polish */ - diff --git a/overlay/usr.sbin/sysinst/arch/virt68k/msg.md.de b/overlay/usr.sbin/sysinst/arch/virt68k/msg.md.de deleted file mode 100644 index f7a1372efb..0000000000 --- a/overlay/usr.sbin/sysinst/arch/virt68k/msg.md.de +++ /dev/null @@ -1,84 +0,0 @@ -/* $NetBSD: msg.md.de,v 1.1 2024/01/06 07:38:13 thorpej Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* virt68k machine dependent messages, German */ - - -message md_hello -{Wenn Ihre Maschine nur über 4MB oder weniger Arbeitsspeicher verfügt, wird -sysinst fehlschlagen. Bitte installieren Sie in diesem Fall manuell. -} - -message md_may_remove_boot_medium -{ -} - -message dobootblks -{Installiere die Bootblöcke auf %s ... -} - -message newdisk -{Ihre Festplatte, %s, hat noch kein virt68k Disklabel. Sysinst -wird ein neues erstellen. -} - -message ordering -{Die Anordnung der Partition %s ist falsch. Erneut editieren?} - - -message set_kernel_1 -{Kernel (GENERIC)} - -.if notyet -/* XXX: not yet implemented */ -message emptypart -{Nach der oder den leeren Partition(en) existiert eine gültige Partition %c. -Bitte editieren Sie die Partitionstabelle noch einmal.} - -message existing -{Wollen Sie die vorhandene(n) BSD Partition(en) beibehalten?} - - -message nofreepart -{%s verfügt nicht über genügend freie Partitionen für NetBSD. -Mindestens 2 freie Partitionen (für das Root Dateisystem und Swap) sind nötig. -} - - -message notfirst -{NetBSD/virt68k muss im ersten Abschnitt der Bootdisk installiert werden. -Dieser Teil ist bei %s nicht frei. -} -.endif diff --git a/overlay/usr.sbin/sysinst/arch/virt68k/msg.md.en b/overlay/usr.sbin/sysinst/arch/virt68k/msg.md.en deleted file mode 100644 index 1dae207067..0000000000 --- a/overlay/usr.sbin/sysinst/arch/virt68k/msg.md.en +++ /dev/null @@ -1,81 +0,0 @@ -/* $NetBSD: msg.md.en,v 1.1 2024/01/06 07:38:13 thorpej Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* virt68k machine dependent messages, english */ - - -message md_hello -{If your machine has 4MB or less, sysinst will not operate correctly. -} - -message md_may_remove_boot_medium -{ -} - -message dobootblks -{Installing boot blocks on %s.... -} - -message newdisk -{It appears that your disk, %s, has no virt68k disklabel. sysinst is -writing a disklabel. -} - -message ordering -{The order of partition %s is wrong. Edit again?} - -message set_kernel_1 -{Kernel (GENERIC)} - -.if notyet -/* XXX: not yet implemented */ - -message emptypart -{There is a valid partition %c after empty partition(s). -Please re-edit the partition table.} - -message existing -{Do you want to preserve existing BSD partition(s)?} - -message nofreepart -{%s does not have enough free partitions for NetBSD. -It must have at least 2 free partitions (for root file system and swap). -} - -message notfirst -{NetBSD/virt68k must be installed in the first part of the boot disk. -The first part of %s is not free. -} -.endif diff --git a/overlay/usr.sbin/sysinst/arch/virt68k/msg.md.es b/overlay/usr.sbin/sysinst/arch/virt68k/msg.md.es deleted file mode 100644 index 85dce9a562..0000000000 --- a/overlay/usr.sbin/sysinst/arch/virt68k/msg.md.es +++ /dev/null @@ -1,81 +0,0 @@ -/* $NetBSD: msg.md.es,v 1.1 2024/01/06 07:38:13 thorpej Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* virt68k machine dependent messages, spanish */ - - -message md_hello -{Si su maquina tiene 4MB o menos, sysinst no funcionará correctamente. -} - -message md_may_remove_boot_medium -{ -} - -message dobootblks -{Instalando bloques de arranque en %s.... -} - -message newdisk -{Parece que su disco, %s, no tiene un disklavel virt68k. sysinst va -a escribir un disklabel. -} - -message ordering -{El orden de la partición %s esta mal. ¿Editar de nuevo?} - -message set_kernel_1 -{Núcleo (GENERIC)} - -.if notyet -/* XXX: not yet implemented */ -message emptypart -{Hay una partición valida %c despues de particion(es) valida(s). -Por favor, reedite la tabla de particiones} - -message existing -{¿Quiere preservar particion(es) BSD existente(s)?} - -message nofreepart -{%s no tiene suficiente espacio libre para particiones para NetBSD. -Debe tener como minimo 2 particiones libres (para el sistema de archivos -raiz y para swap). -} - -message notfirst -{NetBSD/virt68k debe estar instalado en la primera parte del disco de arranque. -La primera parte de %s no esta libre. -} -.endif diff --git a/overlay/usr.sbin/sysinst/arch/virt68k/msg.md.fr b/overlay/usr.sbin/sysinst/arch/virt68k/msg.md.fr deleted file mode 100644 index bcbdf637c1..0000000000 --- a/overlay/usr.sbin/sysinst/arch/virt68k/msg.md.fr +++ /dev/null @@ -1,60 +0,0 @@ -/* $NetBSD: msg.md.fr,v 1.1 2024/01/06 07:38:13 thorpej Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- french, virt68k version */ - -message md_hello -{Si votre machine possède 4Mo ou moins, sysinst ne pourra pas fonctionner -correctement. -} - -message md_may_remove_boot_medium -{ -} - -message dobootblks -{Installation des blocs de démarrage sur %s ... -} - -message newdisk -{Il apparaît que votre disque, %s, n'a pas de marque de label de disque virt68k. -sysinst écrit un label de disque. -} - -message ordering -{L'ordre de la partition %s est erroné. Modifier à nouveau ?} - -message set_kernel_1 -{Kernel (GENERIC)} - diff --git a/overlay/usr.sbin/sysinst/arch/virt68k/msg.md.pl b/overlay/usr.sbin/sysinst/arch/virt68k/msg.md.pl deleted file mode 100644 index 31df7ab9cd..0000000000 --- a/overlay/usr.sbin/sysinst/arch/virt68k/msg.md.pl +++ /dev/null @@ -1,62 +0,0 @@ -/* $NetBSD: msg.md.pl,v 1.1 2024/01/06 07:38:13 thorpej Exp $ */ -/* Based on english version: */ -/* NetBSD: msg.md.en,v 1.1 2002/03/24 22:04:06 scw Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* virt68k machine dependent messages, Polish */ - - -message md_hello -{Jesli masz mniej niz 4 MB ram, sysinst nie bedzie pracowal prawidlowo -} - -message md_may_remove_boot_medium -{ -} - -message dobootblks -{Instalowanie bootblokow na %s.... -} - -message newdisk -{Wyglada na to, ze twoj dysk %s, nie ma etykiety virt68k. sysinst zapisuje -taka etykiete. -} - -message ordering -{Uklad partycji %s jest bledny. Edytowac jeszcze raz?} - -message set_kernel_1 -{Kernel (GENERIC)} diff --git a/overlay/usr.sbin/sysinst/arch/x68k/Makefile b/overlay/usr.sbin/sysinst/arch/x68k/Makefile deleted file mode 100644 index 235dba2ca3..0000000000 --- a/overlay/usr.sbin/sysinst/arch/x68k/Makefile +++ /dev/null @@ -1,16 +0,0 @@ -# $NetBSD: Makefile,v 1.2 2022/06/11 16:41:56 tsutsui Exp $ -# -# Makefile for x68k -# - -LANGUAGES= # no translations - -.ifdef SMALLPROG -CHECK_ENTROPY= no # do not check entropy/offer adding -NOPARTMAN= yes -NO_GPT= yes -NO_MBR= yes -NO_CLONES= yes -.endif - -.include "../../Makefile.inc" diff --git a/overlay/usr.sbin/sysinst/arch/x68k/md.c b/overlay/usr.sbin/sysinst/arch/x68k/md.c deleted file mode 100644 index cc2fa00686..0000000000 --- a/overlay/usr.sbin/sysinst/arch/x68k/md.c +++ /dev/null @@ -1,370 +0,0 @@ -/* $NetBSD: md.c,v 1.14 2026/04/30 04:24:10 isaki Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. Modified by Minoura Makoto for x68k. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - */ - -/* md.c -- x68k machine specific routines */ -/* This file is in close sync with pmax, sparc, and vax md.c */ - -#include -#include -#include -#include -#include - -#include "defs.h" -#include "md.h" -#include "msg_defs.h" -#include "menu_defs.h" - -#ifdef notyet -#undef NDOSPART 8 -#define NDOSPART 16 -typedef struct parttab { - struct dos_partition dosparts[NDOSPART]; -} parttab; - -parttab md_disklabel; -int md_freepart; -int md_nfreepart; -#endif /* notyet */ - -int md_need_newdisk = 0; - -/* prototypes */ -static int md_newdisk(void); - -void -md_init(void) -{ -} - -void -md_init_set_status(int flags) -{ - (void)flags; -} - -bool -md_get_info(struct install_partition_desc *install) -{ - char buf[1024]; - int fd; - char dev_name[100]; - struct disklabel disklabel; - - snprintf(dev_name, 100, "/dev/r%sc", pm->diskdev); - - fd = open(dev_name, O_RDONLY, 0); - if (fd < 0) { - if (logfp) - (void)fprintf(logfp, "Can't open %s\n", dev_name); - endwin(); - fprintf(stderr, "Can't open %s\n", dev_name); - exit(1); - } - if (ioctl(fd, DIOCGDINFO, &disklabel) == -1) { - if (logfp) - (void)fprintf(logfp, "Can't read disklabel on %s.\n", - dev_name); - endwin(); - fprintf(stderr, "Can't read disklabel on %s.\n", dev_name); - close(fd); - exit(1); - } - if (disklabel.d_secsize != 512) { - endwin(); - fprintf(stderr, "Non-512byte/sector disk is not supported.\n"); - close(fd); - exit(1); - } - - pm->dlcyl = disklabel.d_ncylinders; - pm->dlhead = disklabel.d_ntracks; - pm->dlsec = disklabel.d_nsectors; - pm->sectorsize = disklabel.d_secsize; - pm->dlcylsize = disklabel.d_secpercyl; - pm->dlsize = pm->dlcyl*pm->dlhead*pm->dlsec; - - if (read(fd, buf, 1024) < 0) { - endwin(); - fprintf(stderr, "Can't read %s\n", dev_name); - close(fd); - exit(1); - } - if (memcmp(buf, "X68SCSI1", 8) != 0) - md_need_newdisk = 1; -#ifdef notyet - else - if (read(fd, md_disklabel, sizeof(md_disklabel)) < 0) { - endwin(); - fprintf(stderr, "Can't read %s\n", dev_name); - close(fd); - exit(1); - } -#endif - /* preserve first 64 sectors for system. */ - pm->ptstart = 64; - - /* preserve existing partitions? */ - - close(fd); - - return true; -} - -/* - * md back-end code for menu-driven BSD disklabel editor. - */ -int -md_make_bsd_partitions(struct install_partition_desc *install) -{ - return make_bsd_partitions(install); -} - -/* - * any additional partition validation - */ -bool -md_check_partitions(struct install_partition_desc *install) -{ - /* X68k partitions must be in order of the range. */ - daddr_t last_end = 0; - size_t i; - char desc[STRSIZE]; - - for (i = 0; i < install->num; i++) { - if (i > 0) { - /* skip raw part and similar */ - if (install->infos[i].cur_flags & - (PTI_SEC_CONTAINER|PTI_PSCHEME_INTERNAL| - PTI_RAW_PART)) - continue; - - if (install->infos[i].cur_start < last_end) { - snprintf(desc, sizeof desc, - "%zu (%s)", i, - install->infos[i].mount); - msg_fmt_display(MSG_ordering, "%s", desc); - if (ask_yesno(NULL)) - return false; - } - } - last_end = install->infos[i].cur_start + install->infos[i].size; - } - - return true; -} - -#ifdef notyet -static int -md_check_partitions(void) -{ - int i, j; - int preserve; - - /* check existing BSD partitions. */ - for (i = 0; i < NDOSPART; i++) { - if (md_disklabel.dosparts[i].dp_size == 0) - break; - if (memcmp(md_disklabel.dosparts[i].dp_typename, "Human68k", 8)) { - msg_display(MSG_existing); - preserve = ask_noyes(NULL); - break; - } - } - emptylabel(pm->bsdlabel); - pm->bsdlabel[C].pi_fstype = FS_UNUSED; - pm->bsdlabel[C].pi_offset = 0; - pm->bsdlabel[C].pi_size = pm->dlsize; - for (i = 0, j = A; i < NDOSPART;) { - if (j == C) { - j++; - continue; - } - if (!preserve && - memcmp(md_disklabel.dosparts[i].dp_typename, - "Human68k", 8)) { - /* discard it. */ - i++; - continue; - } - pm->bsdlabel[j].pi_fstype = (i == 1) ? FS_SWAP : FS_BSDFFS; - pm->bsdlabel[j].pi_offset = md_disklabel.dosparts[i].dp_start*2; - pm->bsdlabel[j].pi_size = md_disklabel.dosparts[i].dp_size*2; - i++; - j++; - } - if (j > 6) { - msg_fmt_display(MSG_nofreepart, "%s" pm->diskdev); - return 0; - } - md_nfreepart = 8 - j; - - /* check for free space */ - fspm->ptsize = pm->bsdlabel[A].pi_offset - 64; - if (fpm->ptsize <= 0) { /* XXX: should not be 0; minfsdb? */ - msg_fmt_display(MSG_notfirst, "%s", pm->diskdev); - process_menu(MENU_ok); - exit(1); - } - - /* Partitions should be preserved in md_make_bsdpartitions() */ -} -#endif /* notyet */ - -/* - * hook called before writing new disklabel. - */ -bool -md_pre_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - if (md_need_newdisk) - md_newdisk (); - return true; -} - -/* - * hook called after writing disklabel to new target disk. - */ -bool -md_post_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - return true; -} - -#ifdef DISKLABEL_NO_ONDISK_VERIFY -/* - * hook to check if disklabel returned by readdisklabel(9) via DIOCGDINFO - * seems the default one, on ports that have no BSD disklabel on disks. - */ -bool -md_disklabel_is_default(const struct disklabel *lp) -{ - bool maybe_default = - lp->d_npartitions == RAW_PART + 1 && - lp->d_partitions[0].p_size == lp->d_partitions[RAW_PART].p_size && - lp->d_partitions[0].p_fstype == FS_UNUSED; - - return maybe_default; -} -#endif - -/* - * hook called after upgrade() or install() has finished setting - * up the target disk but immediately before the user is given the - * ``disks are now set up'' message. - * - * On the x68k, we use this opportunity to install the boot blocks. - */ -int -md_post_newfs(struct install_partition_desc *install) -{ - /* boot blocks ... */ - msg_fmt_display(MSG_dobootblks, "%s", pm->diskdev); - cp_to_target("/usr/mdec/boot", "/boot"); - if (run_program(RUN_DISPLAY | RUN_NO_CLEAR, - "/usr/mdec/installboot.new /usr/mdec/sdboot_ufs /dev/r%sa", - pm->diskdev)) - process_menu(MENU_ok, - __UNCONST("Warning: disk is probably not bootable")); - - wclear(stdscr); - touchwin(stdscr); - clearok(stdscr, 1); - refresh(); - - return 0; -} - -int -md_post_extract(struct install_partition_desc *install, bool upgrade) -{ - return 0; -} - -void -md_cleanup_install(struct install_partition_desc *install) -{ -#ifndef DEBUG - enable_rc_conf(); -#endif -} - -int -md_pre_update(struct install_partition_desc *install) -{ - return 1; -} - -/* Upgrade support */ -int -md_update(struct install_partition_desc *install) -{ - md_post_newfs(install); - return 1; -} - -static int -md_newdisk(void) -{ - msg_fmt_display(MSG_newdisk, "%s%s", pm->diskdev, pm->diskdev); - - return run_program(RUN_FATAL|RUN_DISPLAY, - "/usr/mdec/newdisk -v %s", pm->diskdev); -} - - -int -md_pre_mount(struct install_partition_desc *install, size_t ndx) -{ - return 0; -} - -bool -md_parts_use_wholedisk(struct disk_partitions *parts) -{ - return parts_use_wholedisk(parts, 0, NULL); -} - -#ifdef HAVE_GPT -bool -md_gpt_post_write(struct disk_partitions *parts, part_id root_id, - bool root_is_new, part_id efi_id, bool efi_is_new) -{ - /* no GPT boot support, nothing needs to be done here */ - return true; -} -#endif - diff --git a/overlay/usr.sbin/sysinst/arch/x68k/md.h b/overlay/usr.sbin/sysinst/arch/x68k/md.h deleted file mode 100644 index faa6425f85..0000000000 --- a/overlay/usr.sbin/sysinst/arch/x68k/md.h +++ /dev/null @@ -1,89 +0,0 @@ -/* $NetBSD: md.h,v 1.9 2025/04/26 03:49:34 tsutsui Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. Modified by Minoura Makoto for x68k. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* md.h -- Machine specific definitions for the x68k */ - - -#include -#include -#include -#include -#include - - -/* constants and defines */ - -#define DEFROOTSIZE 40 /* Default root size */ -#define DEFSWAPSIZE 32 /* Default swap size */ -#define DEFVARSIZE 32 /* Default /var size, if created */ -#define DEFUSRSIZE 700 /* Default /usr size, if /home */ -#define XNEEDMB 250 /* Extra megs for full X installation */ -#define DEBNEEDMB 800 /* Extra megs for debug sets */ - -/* have support for booting from UFS2 */ -#define HAVE_UFS2_BOOT - -/* - * Default filesets to fetch and install during installation - * or upgrade. The standard sets are: - * base etc comp games man misc rescue tests text xbase xcomp xetc xfont xserver - * - * x68k has the MD set kern first, because generic kernels are too - * big to fit on install floppies. i386 does not yet include the x sets. - * - * Third entry is the last extension name in the split sets for loading - * from floppy. - */ -#define SET_KERNEL_1_NAME "kern-GENERIC" - -/* - * Machine-specific command to write a new label to a disk. - * For example, i386 uses "/sbin/disklabel -w -r", just like i386 - * miniroot scripts, though this may leave a bogus incore label. - * Sun ports should probably use DISKLABEL_CMD "/sbin/disklabel -w" - * to get incore to ondisk inode translation for the Sun proms. - * If not defined, we assume the port does not support disklabels and - * hand-edited disklabel will NOT be written by MI code. - * - * On x68k, do what the 1.2 install scripts did. - */ -#define DISKLABEL_CMD "disklabel -w" - -/* - * We rely on kernel support to translate Human68k partitions - * to in-core disklabels, so we can not check for existence of "real" - * disklabels on-disk before offering disklabel partitions. - */ -#define DISKLABEL_NO_ONDISK_VERIFY 1 diff --git a/overlay/usr.sbin/sysinst/arch/x68k/menus.md.en b/overlay/usr.sbin/sysinst/arch/x68k/menus.md.en deleted file mode 100644 index be6a159960..0000000000 --- a/overlay/usr.sbin/sysinst/arch/x68k/menus.md.en +++ /dev/null @@ -1,37 +0,0 @@ -/* $NetBSD: menus.md.en,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* x68k machine dependent menus, english */ - diff --git a/overlay/usr.sbin/sysinst/arch/x68k/msg.md.en b/overlay/usr.sbin/sysinst/arch/x68k/msg.md.en deleted file mode 100644 index ce3850bae4..0000000000 --- a/overlay/usr.sbin/sysinst/arch/x68k/msg.md.en +++ /dev/null @@ -1,82 +0,0 @@ -/* $NetBSD: msg.md.en,v 1.4 2024/09/08 09:36:53 rillig Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* x68k machine dependent messages, english */ - - -message md_hello -{ -} - -message md_may_remove_boot_medium -{If the floppy is not locked, you may now remove the disk. -} - -message dobootblks -{Installing boot blocks on %s.... -} - -message newdisk -{It appears that your disk, %s, has no X68K disk mark. sysinst is -writing a disk mark. -Note that if you plan to use a part of %s from Human68k, you should abort -here and format the disk with Human68k format.x utility. -} - -message ordering -{The order of partition %s is wrong. Edit again?} - -message set_kernel_1 -{Kernel (GENERIC)} - -.if notyet -/* XXX: not yet implemented */ -message emptypart -{There is a valid partition %c after empty partition(s). -Please re-edit the partition table.} - -message existing -{Do you want to preserve existing BSD partition(s)?} - -message nofreepart -{%s does not have enough free partitions for NetBSD. -It must have at least 2 free partitions (for root file system and swap). -} - -message notfirst -{NetBSD/x68k must be installed in the first part of the boot disk. -The first part of %s is not free. -} -.endif diff --git a/overlay/usr.sbin/sysinst/arch/zaurus/Makefile b/overlay/usr.sbin/sysinst/arch/zaurus/Makefile deleted file mode 100644 index 983f80d473..0000000000 --- a/overlay/usr.sbin/sysinst/arch/zaurus/Makefile +++ /dev/null @@ -1,11 +0,0 @@ -# $NetBSD: Makefile,v 1.2 2019/06/12 06:20:23 martin Exp $ -# -# Makefile for zaurus -# - -MENUS_MD= menus.md.${SYSINSTLANG} -MSG_MD= msg.md.${SYSINSTLANG} msg.mbr.${SYSINSTLANG} -LANGUAGES= en es fr pl de -NO_MBR=no - -.include "../../Makefile.inc" diff --git a/overlay/usr.sbin/sysinst/arch/zaurus/md.c b/overlay/usr.sbin/sysinst/arch/zaurus/md.c deleted file mode 100644 index 23a6885bb6..0000000000 --- a/overlay/usr.sbin/sysinst/arch/zaurus/md.c +++ /dev/null @@ -1,273 +0,0 @@ -/* $NetBSD: md.c,v 1.13 2026/01/09 12:39:41 skrll Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - */ - -/* md.c -- zaurus machine specific routines */ - -#include -#include - -#include -#include - -#include "defs.h" -#include "endian.h" -#include "md.h" -#include "msg_defs.h" -#include "menu_defs.h" - -void -md_init(void) -{ -} - -void -md_init_set_status(int flags) -{ - static const int mib[2] = {CTL_KERN, KERN_VERSION}; - size_t len; - char *version; - - /* check INSTALL kernel name to select an appropriate kernel set */ - /* XXX: hw.cpu_model has a processor name on arm ports */ - sysctl(mib, 2, NULL, &len, NULL, 0); - version = malloc(len); - if (version == NULL) - return; - sysctl(mib, 2, version, &len, NULL, 0); - if (strstr(version, "C700") != NULL) - set_kernel_set(SET_KERNEL_C700); - free(version); -} - -bool -md_get_info(struct install_partition_desc *install) -{ - int res; - - if (pm->no_mbr || pm->no_part) - return true; - -again: - if (pm->parts == NULL) { - - const struct disk_partitioning_scheme *ps = - select_part_scheme(pm, NULL, true, NULL); - - if (!ps) - return false; - - struct disk_partitions *parts = - (*ps->create_new_for_disk)(pm->diskdev, - 0, pm->dlsize, true, NULL); - if (!parts) - return false; - - pm->parts = parts; - if (ps->size_limit > 0 && pm->dlsize > ps->size_limit) - pm->dlsize = ps->size_limit; - } - - res = set_bios_geom_with_mbr_guess(pm->parts); - if (res == 0) - return false; - else if (res == 1) - return true; - - pm->parts->pscheme->destroy_part_scheme(pm->parts); - pm->parts = NULL; - goto again; -} - -int -md_make_bsd_partitions(struct install_partition_desc *install) -{ - return make_bsd_partitions(install); -} - -/* - * any additional partition validation - */ -bool -md_check_partitions(struct install_partition_desc *install) -{ - return true; -} - -/* - * hook called before writing new disklabel. - */ -bool -md_pre_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - - if (parts->parent == NULL) - return true; /* no outer partitions */ - - parts = parts->parent; - - msg_display_subst(MSG_dofdisk, 3, parts->disk, - msg_string(parts->pscheme->name), - msg_string(parts->pscheme->short_name)); - - /* write edited "MBR" onto disk. */ - if (!parts->pscheme->write_to_disk(parts)) { - msg_display(MSG_wmbrfail); - process_menu(MENU_ok, NULL); - return false; - } - return true; -} - -/* - * hook called after writing disklabel to new target disk. - */ -bool -md_post_disklabel(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - return true; -} - -/* - * hook called after upgrade() or install() has finished setting - * up the target disk but immediately before the user is given the - * ``disks are now set up'' message. - */ -int -md_post_newfs(struct install_partition_desc *install) -{ - struct mbr_sector pbr; - char adevname[STRSIZE]; - ssize_t sz; - int fd = -1; - - snprintf(adevname, sizeof(adevname), "/dev/r%sa", pm->diskdev); - fd = open(adevname, O_RDWR); - if (fd < 0) - goto out; - - /* Read partition boot record */ - sz = pread(fd, &pbr, sizeof(pbr), 0); - if (sz != sizeof(pbr)) - goto out; - - /* Check magic number */ - if (pbr.mbr_magic != le16toh(MBR_MAGIC)) - goto out; - -#ifdef NETBSD_MAJOR -#define OSNAME "NetBSD" NETBSD_MAJOR -#else -#define OSNAME "NetBSD60" -#endif - /* Update oemname */ - memcpy(&pbr.mbr_oemname, OSNAME, sizeof(OSNAME) - 1); - - /* Clear BPB */ - memset(&pbr.mbr_bpb, 0, sizeof(pbr.mbr_bpb)); - - /* write-backed new partition boot record */ - (void)pwrite(fd, &pbr, sizeof(pbr), 0); - -out: - if (fd >= 0) - close(fd); - return 0; -} - -int -md_post_extract(struct install_partition_desc *install, bool upgrade) -{ - return 0; -} - -void -md_cleanup_install(struct install_partition_desc *install) -{ -#ifndef DEBUG - enable_rc_conf(); -#endif -} - -int -md_pre_update(struct install_partition_desc *install) -{ - return 1; -} - -/* Upgrade support */ -int -md_update(struct install_partition_desc *install) -{ - md_post_newfs(install); - return 1; -} - -int -md_check_mbr(struct disk_partitions *parts, mbr_info_t *mbri, bool quiet) -{ - return 2; -} - -bool -md_parts_use_wholedisk(struct disk_partitions *parts) -{ - - return parts_use_wholedisk(parts, 0, NULL); -} - - -int -md_pre_mount(struct install_partition_desc *install, size_t ndx) -{ - return 0; -} - -bool -md_mbr_update_check(struct disk_partitions *parts, mbr_info_t *mbri) -{ - return false; /* no change, no need to write back */ -} - -#ifdef HAVE_GPT -bool -md_gpt_post_write(struct disk_partitions *parts, part_id root_id, - bool root_is_new, part_id efi_id, bool efi_is_new) -{ - /* no GPT boot support, nothing needs to be done here */ - return true; -} -#endif - diff --git a/overlay/usr.sbin/sysinst/arch/zaurus/md.h b/overlay/usr.sbin/sysinst/arch/zaurus/md.h deleted file mode 100644 index 090870a7da..0000000000 --- a/overlay/usr.sbin/sysinst/arch/zaurus/md.h +++ /dev/null @@ -1,74 +0,0 @@ -/* $NetBSD: md.h,v 1.4 2025/04/26 03:49:34 tsutsui Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* md.h -- Machine specific definitions for the zaurus */ - -#include "mbr.h" - -/* Constants and defines */ - -/* Megs for the /usr partition, if separate */ -#define DEFUSRSIZE 980 - -/* Megs required for a full X installation. */ -#define XNEEDMB 225 - -/* Megs required for debug sets */ -#define DEBNEEDMB 980 - -/* have support for booting from UFS2 */ -#define HAVE_UFS2_BOOT - -/* - * Default filesets to fetch and install during installation - * or upgrade. The standard sets are: - * base etc comp games man misc rescue tests text xbase xcomp xetc xfont xserver - */ -#define SET_KERNEL_GENERIC SET_KERNEL_1 -#define SET_KERNEL_C700 SET_KERNEL_2 - -#define SET_KERNEL_1_NAME "kern-GENERIC" -#define SET_KERNEL_2_NAME "kern-C700" - -/* - * Machine-specific command to write a new label to a disk. - * For example, zaurus uses "/sbin/disklabel -w -r", just like zaurus - * miniroot scripts, though this may leave a bogus incore label. - * Sun ports should probably use DISKLABEL_CMD "/sbin/disklabel -w" - * to get incore to ondisk inode translation for the Sun proms. - * If not defined, we assume the port does not support disklabels and - * hand-edited disklabel will NOT be written by MI code. - */ -#define DISKLABEL_CMD "disklabel -w -r" diff --git a/overlay/usr.sbin/sysinst/arch/zaurus/menus.md.en b/overlay/usr.sbin/sysinst/arch/zaurus/menus.md.en deleted file mode 100644 index 50bd769781..0000000000 --- a/overlay/usr.sbin/sysinst/arch/zaurus/menus.md.en +++ /dev/null @@ -1,37 +0,0 @@ -/* $NetBSD: menus.md.en,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* zaurus machine dependent menus, english */ - diff --git a/overlay/usr.sbin/sysinst/arch/zaurus/menus.md.es b/overlay/usr.sbin/sysinst/arch/zaurus/menus.md.es deleted file mode 100644 index 8bba84362a..0000000000 --- a/overlay/usr.sbin/sysinst/arch/zaurus/menus.md.es +++ /dev/null @@ -1,37 +0,0 @@ -/* $NetBSD: menus.md.es,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* zaurus machine dependent menus, spanish */ - diff --git a/overlay/usr.sbin/sysinst/arch/zaurus/menus.md.fr b/overlay/usr.sbin/sysinst/arch/zaurus/menus.md.fr deleted file mode 100644 index 096a0941fc..0000000000 --- a/overlay/usr.sbin/sysinst/arch/zaurus/menus.md.fr +++ /dev/null @@ -1,37 +0,0 @@ -/* $NetBSD: menus.md.fr,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* zaurus machine dependent menus, french */ - diff --git a/overlay/usr.sbin/sysinst/arch/zaurus/menus.md.pl b/overlay/usr.sbin/sysinst/arch/zaurus/menus.md.pl deleted file mode 100644 index d325311241..0000000000 --- a/overlay/usr.sbin/sysinst/arch/zaurus/menus.md.pl +++ /dev/null @@ -1,38 +0,0 @@ -/* $NetBSD: menus.md.pl,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ -/* Based on english version: */ -/* NetBSD: menus.md.en,v 1.1 2002/02/11 13:50:18 skrll Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* zaurus machine dependent menus, Polish. */ - diff --git a/overlay/usr.sbin/sysinst/arch/zaurus/msg.md.de b/overlay/usr.sbin/sysinst/arch/zaurus/msg.md.de deleted file mode 100644 index e10ae6006e..0000000000 --- a/overlay/usr.sbin/sysinst/arch/zaurus/msg.md.de +++ /dev/null @@ -1,58 +0,0 @@ -/* $NetBSD: msg.md.de,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* zaurus machine dependent messages, German */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{ -} - -message dobootblks -{Installiere die Bootblöcke auf %s ... -} - -message zaurusfspart -{Dies sind die NetBSD Partitionen auf %s (Größe und Offset in %s): -} - -message set_kernel_1 -{Kernel (GENERIC)} - -message set_kernel_2 -{Kernel (C700)} diff --git a/overlay/usr.sbin/sysinst/arch/zaurus/msg.md.en b/overlay/usr.sbin/sysinst/arch/zaurus/msg.md.en deleted file mode 100644 index 68545078ce..0000000000 --- a/overlay/usr.sbin/sysinst/arch/zaurus/msg.md.en +++ /dev/null @@ -1,58 +0,0 @@ -/* $NetBSD: msg.md.en,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* zaurus machine dependent messages, english */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{ -} - -message dobootblks -{Installing boot blocks on %s.... -} - -message zaurusfspart -{We now have your NetBSD partitions on %s as follows (Size and Offset in %s): -} - -message set_kernel_1 -{Kernel (GENERIC)} - -message set_kernel_2 -{Kernel (C700)} diff --git a/overlay/usr.sbin/sysinst/arch/zaurus/msg.md.es b/overlay/usr.sbin/sysinst/arch/zaurus/msg.md.es deleted file mode 100644 index 3a6cd6d288..0000000000 --- a/overlay/usr.sbin/sysinst/arch/zaurus/msg.md.es +++ /dev/null @@ -1,59 +0,0 @@ -/* $NetBSD: msg.md.es,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* zaurus machine dependent messages, spanish */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{ -} - -message dobootblks -{Instalando bloques de arranque en %s... -} - -message zaurusfspart -{Ahora tenemos nuestras particiones NetBSD en %s como sigue (Tamaño y -Compensación en %s): -} - -message set_kernel_1 -{Núcleo (GENERIC)} - -message set_kernel_2 -{Núcleo (C700)} diff --git a/overlay/usr.sbin/sysinst/arch/zaurus/msg.md.fr b/overlay/usr.sbin/sysinst/arch/zaurus/msg.md.fr deleted file mode 100644 index b1c1d1bd22..0000000000 --- a/overlay/usr.sbin/sysinst/arch/zaurus/msg.md.fr +++ /dev/null @@ -1,59 +0,0 @@ -/* $NetBSD: msg.md.fr,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* zaurus machine dependent messages, french */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{ -} - -message dobootblks -{Installation des blocs de démarrage sur %s ... -} - -message zaurusfspart -{Nous avons maintenant vos partitions NetBSD sur %s comme suit -(taille et Offset en %s) : -} - -message set_kernel_1 -{Kernel (GENERIC)} - -message set_kernel_2 -{Kernel (C700)} diff --git a/overlay/usr.sbin/sysinst/arch/zaurus/msg.md.pl b/overlay/usr.sbin/sysinst/arch/zaurus/msg.md.pl deleted file mode 100644 index 7ebaab9fc7..0000000000 --- a/overlay/usr.sbin/sysinst/arch/zaurus/msg.md.pl +++ /dev/null @@ -1,59 +0,0 @@ -/* $NetBSD: msg.md.pl,v 1.1 2014/07/26 19:30:47 dholland Exp $ */ -/* Based on english version: */ -/* NetBSD: msg.md.en,v 1.1 2002/02/11 13:50:18 skrll Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* zaurus machine dependent messages, Polish */ - -message md_hello -{ -} - -message md_may_remove_boot_medium -{ -} - -message dobootblks -{Instalowanie bootblokow na %s.... -} - -message zaurusfspart -{Twoje partycje NetBSD na %s wygladaja nastepujaco (Rozmiar i offset w %s): -} - -message set_kernel_1 -{Kernel (GENERIC)} - -message set_kernel_2 -{Kernel (C700)} diff --git a/overlay/usr.sbin/sysinst/bsddisklabel.c b/overlay/usr.sbin/sysinst/bsddisklabel.c deleted file mode 100644 index 3e3b6187d1..0000000000 --- a/overlay/usr.sbin/sysinst/bsddisklabel.c +++ /dev/null @@ -1,2042 +0,0 @@ -/* $NetBSD: bsddisklabel.c,v 1.72 2023/01/06 18:19:27 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Based on code written by Philip A. Nelson for Piermont Information - * Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - */ - -/* bsddisklabel.c -- generate standard BSD disklabel */ -/* Included by appropriate arch/XXXX/md.c */ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include "defs.h" -#include "md.h" -#include "defsizes.h" -#include "endian.h" -#include "msg_defs.h" -#include "menu_defs.h" - -static size_t fill_ptn_menu(struct partition_usage_set *pset); - -/* - * The default partition layout. - */ -static const struct part_usage_info -default_parts_init[] = -{ - /* - * Pretty complex setup for boot partitions. - * This is copy&pasted below, please keep in sync! - */ -#ifdef PART_BOOT - { .size = PART_BOOT/512, /* PART_BOOT is in BYTE, not MB! */ -#ifdef PART_BOOT_MOUNT - .mount = PART_BOOT_MOUNT, - .instflags = PUIINST_MOUNT|PUIINST_BOOT, -#else - .instflags = PUIINST_BOOT, -#endif -#ifdef PART_BOOT_TYPE - .fs_type = PART_BOOT_TYPE, -#if (PART_BOOT_TYPE == FS_MSDOS) || (PART_BOOT_TYPE == FS_EX2FS) - .flags = PUIFLAG_ADD_OUTER, -#endif -#endif -#ifdef PART_BOOT_SUBT - .fs_version = PART_BOOT_SUBT, -#endif - }, -#endif - - /* - * Two more copies of above for _BOOT1 and _BOOT2, please - * keep in sync! - */ -#ifdef PART_BOOT1 - { .size = PART_BOOT1/512, /* PART_BOOT1 is in BYTE, not MB! */ -#ifdef PART_BOOT1_MOUNT - .mount = PART_BOOT1_MOUNT, - .instflags = PUIINST_MOUNT|PUIINST_BOOT, -#else - .instflags = PUIINST_MOUNT|PUIINST_BOOT, -#endif -#ifdef PART_BOOT1_TYPE - .fs_type = PART_BOOT1_TYPE, -#if (PART_BOOT1_TYPE == FS_MSDOS) || (PART_BOOT1_TYPE == FS_EX2FS) - .flags = PUIFLAG_ADD_OUTER, -#endif -#endif -#ifdef PART_BOOT1_SUBT - .fs_version = PART_BOOT1_SUBT, -#endif - }, -#endif -#ifdef PART_BOOT2 - { .size = PART_BOOT2/512, /* PART_BOOT2 is in BYTE, not MB! */ -#ifdef PART_BOOT2_MOUNT - .mount = PART_BOOT2_MOUNT, - .instflags = PUIINST_MOUNT|PUIINST_BOOT, -#else - .instflags = PUIINST_MOUNT|PUIINST_BOOT, -#endif -#ifdef PART_BOOT2_TYPE - .fs_type = PART_BOOT2_TYPE, -#if (PART_BOOT2_TYPE == FS_MSDOS) || (PART_BOOT2_TYPE == FS_EX2FS) - .flags = PUIFLAG_ADD_OUTER, -#endif -#endif -#ifdef PART_BOOT2_SUBT - .fs_version = PART_BOOT2_SUBT, -#endif - }, -#endif - - { .size = DEFROOTSIZE*(MEG/512), .mount = "/", .type = PT_root, - .flags = PUIFLAG_EXTEND }, - { -#if DEFSWAPSIZE > 0 - .size = DEFSWAPSIZE*(MEG/512), -#endif - .type = PT_swap, .fs_type = FS_SWAP }, -#ifdef HAVE_TMPFS - { .type = PT_root, .mount = "/tmp", .fs_type = FS_TMPFS, - .flags = PUIFLG_JUST_MOUNTPOINT }, -#else - { .type = PT_root, .mount = "/tmp", .fs_type = FS_MFS, - .flags = PUIFLG_JUST_MOUNTPOINT }, -#endif - { .def_size = DEFUSRSIZE*(MEG/512), .mount = "/usr", .type = PT_root, - .fs_type = FS_BSDFFS, .fs_version = 3 }, - { .def_size = DEFVARSIZE*(MEG/512), .mount = "/var", .type = PT_root, - .fs_type = FS_BSDFFS, .fs_version = 3 }, -}; - -static const char size_separator[] = - "----------------------------------- - --------------------"; -static char size_menu_title[STRSIZE]; -static char size_menu_exit[MENUSTRSIZE]; - -static void -set_pset_exit_str(struct partition_usage_set *pset) -{ - char *str, num[25]; - const char *args[2]; - bool overrun; - daddr_t free_space = pset->cur_free_space; - - /* format exit string */ - overrun = free_space < 0; - if (overrun) - free_space = -free_space; - - snprintf(num, sizeof(num), "%" PRIu64, free_space / sizemult); - args[0] = num; - args[1] = multname; - str = str_arg_subst( - msg_string(overrun ? MSG_fssizesbad : MSG_fssizesok), - 2, args); - strlcpy(size_menu_exit, str, sizeof(size_menu_exit)); - free(str); -} - -static void -draw_size_menu_header(menudesc *m, void *arg) -{ - struct partition_usage_set *pset = arg; - size_t i; - char col1[70], desc[MENUSTRSIZE]; - bool need_ext = false, need_existing = false; - - msg_display(MSG_ptnsizes); - - for (i = 0; i < pset->num; i++) { - if (pset->infos[i].flags & PUIFLG_IS_OUTER) - need_ext = true; - else if (pset->infos[i].cur_part_id != NO_PART) - need_existing = true; - } - if (need_ext && need_existing) - snprintf(desc, sizeof desc, "%s, %s", - msg_string(MSG_ptnsizes_mark_existing), - msg_string(MSG_ptnsizes_mark_external)); - else if (need_existing) - strlcpy(desc, msg_string(MSG_ptnsizes_mark_existing), - sizeof desc); - else if (need_ext) - strlcpy(desc, msg_string(MSG_ptnsizes_mark_external), - sizeof desc); - if (need_ext || need_existing) { - msg_printf("\n"); - msg_display_add_subst(msg_string(MSG_ptnsizes_markers), - 1, &desc); - } - msg_printf("\n\n"); - - /* update menu title */ - snprintf(col1, sizeof col1, "%s (%s)", msg_string(MSG_ptnheaders_size), - multname); - snprintf(size_menu_title, sizeof size_menu_title, - " %-37.37s %s\n %s", col1, - msg_string(MSG_ptnheaders_filesystem), size_separator); -} - -static void -draw_size_menu_line(menudesc *m, int opt, void *arg) -{ - struct partition_usage_set *pset = arg; - daddr_t size; - char psize[38], inc_free[16], flag, swap[40]; - const char *mount; - bool free_mount = false; - - if (opt < 0 || (size_t)opt >= pset->num) - return; - - inc_free[0] = 0; - if ((pset->infos[opt].flags & PUIFLAG_EXTEND) && - pset->cur_free_space > 0) { - size = pset->infos[opt].size + pset->cur_free_space; - snprintf(inc_free, sizeof inc_free, " (%" PRIu64 ")", - size / sizemult); - } - size = pset->infos[opt].size; - if (pset->infos[opt].fs_type == FS_TMPFS) { - if (pset->infos[opt].size < 0) - snprintf(psize, sizeof psize, "%" PRIu64 "%%", -size); - else - snprintf(psize, sizeof psize, "%" PRIu64 " %s", size, - msg_string(MSG_megname)); - } else { - snprintf(psize, sizeof psize, "%" PRIu64 "%s", - size / sizemult, inc_free); - } - - if (pset->infos[opt].type == PT_swap) { - snprintf(swap, sizeof swap, "<%s>", - msg_string(MSG_swap_display)); - mount = swap; - } else if (pset->infos[opt].flags & PUIFLG_JUST_MOUNTPOINT) { - snprintf(swap, sizeof swap, "%s (%s)", - pset->infos[opt].mount, - getfslabelname(pset->infos[opt].fs_type, - pset->infos[opt].fs_version)); - mount = swap; - } else if (pset->infos[opt].mount[0]) { - if (pset->infos[opt].instflags & PUIINST_BOOT) { - snprintf(swap, sizeof swap, "%s <%s>", - pset->infos[opt].mount, msg_string(MSG_ptn_boot)); - mount = swap; - } else { - mount = pset->infos[opt].mount; - } -#ifndef NO_CLONES - } else if (pset->infos[opt].flags & PUIFLG_CLONE_PARTS) { - snprintf(swap, sizeof swap, "%zu %s", - pset->infos[opt].clone_src->num_sel, - msg_string(MSG_clone_target_disp)); - mount = swap; -#endif - } else { - mount = NULL; - if (pset->infos[opt].parts->pscheme->other_partition_identifier - && pset->infos[opt].cur_part_id != NO_PART) - mount = pset->infos[opt].parts->pscheme-> - other_partition_identifier(pset->infos[opt].parts, - pset->infos[opt].cur_part_id); - if (mount == NULL) - mount = getfslabelname(pset->infos[opt].fs_type, - pset->infos[opt].fs_version); - if (pset->infos[opt].instflags & PUIINST_BOOT) { - snprintf(swap, sizeof swap, "%s <%s>", - mount, msg_string(MSG_ptn_boot)); - mount = swap; - } - mount = str_arg_subst(msg_string(MSG_size_ptn_not_mounted), - 1, &mount); - free_mount = true; - } - flag = ' '; - if (pset->infos[opt].flags & PUIFLAG_EXTEND) - flag = '+'; - else if (pset->infos[opt].flags & PUIFLG_IS_OUTER) - flag = '@'; - else if (pset->infos[opt].cur_part_id != NO_PART) - flag = '='; - wprintw(m->mw, "%-35.35s %c %s", psize, flag, mount); - if (free_mount) - free(__UNCONST(mount)); - - if (opt == 0) - set_pset_exit_str(pset); -} - -static int -add_other_ptn_size(menudesc *menu, void *arg) -{ - struct partition_usage_set *pset = arg; - struct part_usage_info *p; - struct menu_ent *m; - char new_mp[MOUNTLEN], *err; - const char *args; - - for (;;) { - msg_prompt_win(partman_go?MSG_askfsmountadv:MSG_askfsmount, - -1, 18, 0, 0, NULL, new_mp, sizeof(new_mp)); - if (new_mp[0] == 0) - return 0; - if (new_mp[0] != '/') { - /* we need absolute mount paths */ - memmove(new_mp+1, new_mp, sizeof(new_mp)-1); - new_mp[0] = '/'; - } - - /* duplicates? */ - bool duplicate = false; - for (size_t i = 0; i < pset->num; i++) { - if (strcmp(pset->infos[i].mount, - new_mp) == 0) { - args = new_mp; - err = str_arg_subst( - msg_string(MSG_mp_already_exists), - 1, &args); - err_msg_win(err); - free(err); - duplicate = true; - break; - } - } - if (!duplicate) - break; - } - - m = realloc(pset->menu_opts, (pset->num+5)*sizeof(*pset->menu_opts)); - if (m == NULL) - return 0; - p = realloc(pset->infos, (pset->num+1)*sizeof(*pset->infos)); - if (p == NULL) - return 0; - - pset->infos = p; - pset->menu_opts = m; - menu->opts = m; - menu->numopts = pset->num+4; - m += pset->num; - p += pset->num; - memset(m, 0, sizeof(*m)); - memset(p, 0, sizeof(*p)); - p->parts = pset->parts; - p->cur_part_id = NO_PART; - p->type = PT_root; - p->fs_type = FS_BSDFFS; - p->fs_version = 3; - strncpy(p->mount, new_mp, sizeof(p->mount)); - - menu->cursel = pset->num; - pset->num++; - fill_ptn_menu(pset); - - return -1; -} - -#ifndef NO_CLONES -static int -inst_ext_clone(menudesc *menu, void *arg) -{ - struct selected_partitions selected; - struct clone_target_menu_data data; - struct partition_usage_set *pset = arg; - struct part_usage_info *p; - menu_ent *men; - int num_men, i; - - if (!select_partitions(&selected, pm->parts)) - return 0; - - num_men = pset->num+1; - men = calloc(num_men, sizeof *men); - if (men == NULL) - return 0; - for (i = 0; i < num_men; i++) - men[i].opt_action = clone_target_select; - men[num_men-1].opt_name = MSG_clone_target_end; - - memset(&data, 0, sizeof data); - data.usage = *pset; - data.res = -1; - - data.usage.menu = new_menu(MSG_clone_target_hdr, - men, num_men, 3, 2, 0, 65, MC_SCROLL, - NULL, draw_size_menu_line, NULL, NULL, MSG_cancel); - process_menu(data.usage.menu, &data); - free_menu(data.usage.menu); - free(men); - - if (data.res < 0) - goto err; - - /* insert clone record */ - men = realloc(pset->menu_opts, (pset->num+5)*sizeof(*pset->menu_opts)); - if (men == NULL) - goto err; - pset->menu_opts = men; - menu->opts = men; - menu->numopts = pset->num+4; - - p = realloc(pset->infos, (pset->num+1)*sizeof(*pset->infos)); - if (p == NULL) - goto err; - pset->infos = p; - - men += data.res; - p += data.res; - memmove(men+1, men, sizeof(*men)*((pset->num+4)-data.res)); - memmove(p+1, p, sizeof(*p)*((pset->num)-data.res)); - memset(men, 0, sizeof(*men)); - memset(p, 0, sizeof(*p)); - p->flags = PUIFLG_CLONE_PARTS; - p->cur_part_id = NO_PART; - p->clone_src = malloc(sizeof(selected)); - if (p->clone_src != NULL) { - *p->clone_src = selected; - p->clone_ndx = ~0U; - p->size = selected_parts_size(&selected); - p->parts = pset->parts; - } else { - p->clone_ndx = 0; - free_selected_partitions(&selected); - } - - menu->cursel = data.res == 0 ? 1 : 0; - pset->num++; - fill_ptn_menu(pset); - - return -1; - -err: - free_selected_partitions(&selected); - return 0; -} -#endif - -static size_t -fill_ptn_menu(struct partition_usage_set *pset) -{ - struct part_usage_info *p; - struct disk_part_info info; - menu_ent *m; - size_t i; - daddr_t free_space; - -#ifdef NO_CLONES -#define ADD_ITEMS 3 -#else -#define ADD_ITEMS 4 -#endif - - memset(pset->menu_opts, 0, (pset->num+ADD_ITEMS) - *sizeof(*pset->menu_opts)); - for (m = pset->menu_opts, p = pset->infos, i = 0; i < pset->num; - m++, p++, i++) { - if (p->flags & PUIFLG_CLONE_PARTS) - m->opt_flags = OPT_IGNORE|OPT_NOSHORT; - else - m->opt_action = set_ptn_size; - } - - m->opt_name = size_separator; - m->opt_flags = OPT_IGNORE|OPT_NOSHORT; - m++; - - m->opt_name = MSG_add_another_ptn; - m->opt_action = add_other_ptn_size; - m++; - -#ifndef NO_CLONES - m->opt_name = MSG_clone_from_elsewhere; - m->opt_action = inst_ext_clone; - m++; -#endif - - m->opt_name = MSG_askunits; - m->opt_menu = MENU_sizechoice; - m->opt_flags = OPT_SUB; - m++; - - /* calculate free space */ - free_space = pset->parts->free_space - pset->reserved_space; - for (i = 0; i < pset->parts->num_part; i++) { - if (!pset->parts->pscheme->get_part_info(pset->parts, i, - &info)) - continue; - if (info.flags & (PTI_SEC_CONTAINER|PTI_WHOLE_DISK| - PTI_PSCHEME_INTERNAL|PTI_RAW_PART)) - continue; - free_space += info.size; - } - for (i = 0; i < pset->num; i++) { - if (pset->infos[i].flags & - (PUIFLG_IS_OUTER|PUIFLG_JUST_MOUNTPOINT)) - continue; - free_space -= pset->infos[i].size; - } - pset->cur_free_space = free_space; - set_pset_exit_str(pset); - - if (pset->menu >= 0) - set_menu_numopts(pset->menu, m - pset->menu_opts); - - return m - pset->menu_opts; -} - -static part_id -find_part_at(struct disk_partitions *parts, daddr_t start) -{ - size_t i; - struct disk_part_info info; - - for (i = 0; i < parts->num_part; i++) { - if (!parts->pscheme->get_part_info(parts, i, &info)) - continue; - if (info.start == start) - return i; - } - - return NO_PART; -} - -static daddr_t -parse_ram_size(const char *str, bool *is_percent) -{ - daddr_t val; - char *cp; - - val = strtoull(str, &cp, 10); - while (*cp && isspace((unsigned char)*cp)) - cp++; - - *is_percent = *cp == '%'; - return val; -} - -int -set_ptn_size(menudesc *m, void *arg) -{ - struct partition_usage_set *pset = arg; - struct part_usage_info *p = &pset->infos[m->cursel]; - char answer[16], dflt[16]; - const char *err_msg; - size_t i, root = ~0U; - daddr_t size, old_size, new_size_val, mult; - int rv; - bool non_zero, extend, is_ram_size, is_percent = false; - - if (pset->cur_free_space == 0 && p->size == 0 && - !(p->flags & PUIFLG_JUST_MOUNTPOINT)) - /* Don't allow 'free_parts' to go negative */ - return 0; - - if (p->cur_part_id != NO_PART) { - rv = 0; - process_menu(MENU_ptnsize_replace_existing_partition, &rv); - if (rv == 0) - return 0; - if (!pset->parts->pscheme->delete_partition(pset->parts, - p->cur_part_id, &err_msg)) { - if (err_msg) - err_msg_win(err_msg); - return 0; - } - p->cur_part_id = NO_PART; - /* - * All other part ids are invalid now too - update them! - */ - for (i = 0; i < pset->num; i++) { - if (pset->infos[i].cur_part_id == NO_PART) - continue; - pset->infos[i].cur_part_id = - find_part_at(pset->parts, pset->infos[i].cur_start); - } - } - - is_ram_size = (p->flags & PUIFLG_JUST_MOUNTPOINT) - && p->fs_type == FS_TMPFS; - - size = p->size; - if (is_ram_size && size < 0) { - is_percent = true; - size = -size; - } - old_size = size; - if (size == 0) - size = p->def_size; - if (!is_ram_size) - size /= sizemult; - - if (is_ram_size) { - snprintf(dflt, sizeof dflt, "%" PRIu64 "%s", - size, is_percent ? "%" : ""); - } else { - snprintf(dflt, sizeof dflt, "%" PRIu64 "%s", - size, p->flags & PUIFLAG_EXTEND ? "+" : ""); - } - - for (;;) { - msg_fmt_prompt_win(MSG_askfssize, -1, 18, 0, 0, - dflt, answer, sizeof answer, "%s%s", p->mount, - is_ram_size ? msg_string(MSG_megname) : multname); - - if (is_ram_size) { - new_size_val = parse_ram_size(answer, &is_percent); - if (is_percent && - (new_size_val < 0 || new_size_val > 100)) - continue; - if (!is_percent && new_size_val < 0) - continue; - size = new_size_val; - extend = false; - break; - } - mult = sizemult; - new_size_val = parse_disk_pos(answer, &mult, pm->sectorsize, - pm->dlcylsize, &extend); - - if (strcmp(answer, dflt) == 0) - non_zero = p->def_size > 0; - else - non_zero = new_size_val > 0; - - /* Some special cases when /usr is first given a size */ - if (old_size == 0 && non_zero && - strcmp(p->mount, "/usr") == 0) { - for (i = 0; i < pset->num; i++) { - if (strcmp(pset->infos[i].mount, "/") == 0) { - root = i; - break; - } - } - /* Remove space for /usr from / */ - if (root < pset->num && - pset->infos[root].cur_part_id == NO_PART && - pset->infos[root].size == - pset->infos[root].def_size) { - /* - * root partition does not yet exist and - * has default size - */ - pset->infos[root].size -= p->def_size; - pset->cur_free_space += p->def_size; - } - /* - * hack to add free space to /usr if - * previously / got it - */ - if (pset->infos[root].flags & PUIFLAG_EXTEND) - extend = true; - } - if (new_size_val < 0) - continue; - size = new_size_val; - break; - } - - daddr_t align = pset->parts->pscheme->get_part_alignment(pset->parts); - if (!is_ram_size) { - size = NUMSEC(size, mult, align); - } - if (p->flags & PUIFLAG_EXTEND) - p->flags &= ~PUIFLAG_EXTEND; - if (extend && (p->limit == 0 || p->limit > p->size)) { - for (size_t k = 0; k < pset->num; k++) - pset->infos[k].flags &= ~PUIFLAG_EXTEND; - p->flags |= PUIFLAG_EXTEND; - if (size == 0) - size = align; - } - if (p->limit != 0 && size > p->limit) - size = p->limit; - if ((p->flags & (PUIFLG_IS_OUTER|PUIFLG_JUST_MOUNTPOINT)) == 0) - pset->cur_free_space += p->size - size; - p->size = is_percent ? -size : size; - set_pset_exit_str(pset); - - return 0; -} - -/* - * User interface to edit a "wanted" partition layout "pset" as first - * abstract phase (not concrete partitions). - * Make sure to have everything (at least theoretically) fit the - * available space. - * During editing we keep the part_usage_info and the menu_opts - * in pset in sync, that is: we always allocate just enough entries - * in pset->infos as we have usage infos in the list (pset->num), - * and two additional menu entries ("add a partition" and "select units"). - * The menu exit string changes depending on content, and implies - * abort while the partition set is not valid (does not fit). - * Return true when the user wants to continue (by editing the concrete - * partitions), return false to abort. - */ -bool -get_ptn_sizes(struct partition_usage_set *pset) -{ - size_t num; - - wclear(stdscr); - wrefresh(stdscr); - - if (pset->menu_opts == NULL) - pset->menu_opts = calloc(pset->num+4, sizeof(*pset->menu_opts)); - - pset->menu = -1; - num = fill_ptn_menu(pset); - - pset->menu = new_menu(size_menu_title, pset->menu_opts, num, - 3, -1, 12, 70, - MC_ALWAYS_SCROLL|MC_NOBOX|MC_NOCLEAR|MC_CONTINUOUS, - draw_size_menu_header, draw_size_menu_line, NULL, - NULL, size_menu_exit); - - if (pset->menu < 0) { - free(pset->menu_opts); - pset->menu_opts = NULL; - return false; - } - - pset->ok = true; - process_menu(pset->menu, pset); - - free_menu(pset->menu); - free(pset->menu_opts); - pset->menu = -1; - pset->menu_opts = NULL; - - return pset->ok; -} - -static int -set_keep_existing(menudesc *m, void *arg) -{ - ((arg_rep_int*)arg)->rv = LY_KEEPEXISTING; - return 0; -} - -static int -set_switch_scheme(menudesc *m, void *arg) -{ - ((arg_rep_int*)arg)->rv = LY_OTHERSCHEME; - return 0; -} - -static int -set_edit_part_sizes(menudesc *m, void *arg) -{ - ((arg_rep_int*)arg)->rv = LY_SETSIZES; - return 0; -} - -static int -set_use_default_sizes(menudesc *m, void *arg) -{ - ((arg_rep_int*)arg)->rv = LY_USEDEFAULT; - return 0; -} - -static int -set_use_empty_parts(menudesc *m, void *arg) -{ - ((arg_rep_int*)arg)->rv = LY_USENONE; - return 0; -} - -/* - * Check if there is a reasonable pre-existing partition for - * NetBSD. - */ -static bool -check_existing_netbsd(struct disk_partitions *parts) -{ - size_t nbsd_parts; - struct disk_part_info info; - - nbsd_parts = 0; - for (part_id p = 0; p < parts->num_part; p++) { - if (!parts->pscheme->get_part_info(parts, p, &info)) - continue; - if (info.flags & (PTI_PSCHEME_INTERNAL|PTI_RAW_PART)) - continue; - if (info.nat_type && info.nat_type->generic_ptype == PT_root) - nbsd_parts++; - } - - return nbsd_parts > 0; -} - -/* - * Query a partition layout type (with available options depending on - * pre-existing partitions). - */ -static enum layout_type -ask_layout(struct disk_partitions *parts, bool have_existing) -{ - arg_rep_int ai; - const char *args[2]; - int menu; - size_t num_opts; - menu_ent options[5], *opt; - - args[0] = msg_string(parts->pscheme->name); - args[1] = msg_string(parts->pscheme->short_name); - ai.args.argv = args; - ai.args.argc = 2; - ai.rv = LY_ERROR; - - memset(options, 0, sizeof(options)); - num_opts = 0; - opt = &options[0]; - - if (have_existing) { - opt->opt_name = MSG_Keep_existing_partitions; - opt->opt_flags = OPT_EXIT; - opt->opt_action = set_keep_existing; - opt++; - num_opts++; - } - opt->opt_name = MSG_Set_Sizes; - opt->opt_flags = OPT_EXIT; - opt->opt_action = set_edit_part_sizes; - opt++; - num_opts++; - - opt->opt_name = MSG_Use_Default_Parts; - opt->opt_flags = OPT_EXIT; - opt->opt_action = set_use_default_sizes; - opt++; - num_opts++; - - opt->opt_name = MSG_Use_Empty_Parts; - opt->opt_flags = OPT_EXIT; - opt->opt_action = set_use_empty_parts; - opt++; - num_opts++; - - if (num_available_part_schemes > 1 && - parts->parent == NULL) { - opt->opt_name = MSG_Use_Different_Part_Scheme; - opt->opt_flags = OPT_EXIT; - opt->opt_action = set_switch_scheme; - opt++; - num_opts++; - } - - menu = new_menu(MSG_Select_your_choice, options, num_opts, - -1, -10, 0, 0, 0, NULL, NULL, NULL, NULL, MSG_cancel); - if (menu != -1) { - get_menudesc(menu)->expand_act = expand_all_option_texts; - process_menu(menu, &ai); - free_menu(menu); - } - - return ai.rv; -} - -static void -merge_part_with_wanted(struct disk_partitions *parts, part_id pno, - const struct disk_part_info *info, struct partition_usage_set *wanted, - size_t wanted_num, bool is_outer) -{ - struct part_usage_info *infos; - - /* - * does this partition match something in the wanted set? - */ - for (size_t i = 0; i < wanted_num; i++) { - if (wanted->infos[i].type != info->nat_type->generic_ptype) - continue; - if (wanted->infos[i].type == PT_root && - info->last_mounted != NULL && info->last_mounted[0] != 0 && - strcmp(info->last_mounted, wanted->infos[i].mount) != 0) - continue; - if (wanted->infos[i].cur_part_id != NO_PART) - continue; - wanted->infos[i].cur_part_id = pno; - wanted->infos[i].parts = parts; - wanted->infos[i].size = info->size; - wanted->infos[i].cur_start = info->start; - wanted->infos[i].flags &= ~PUIFLAG_EXTEND; - if (wanted->infos[i].fs_type != FS_UNUSED && - wanted->infos[i].type != PT_swap && - info->last_mounted != NULL && - info->last_mounted[0] != 0) - wanted->infos[i].instflags |= PUIINST_MOUNT; - if (is_outer) - wanted->infos[i].flags |= PUIFLG_IS_OUTER; - else - wanted->infos[i].flags &= ~PUIFLG_IS_OUTER; - return; - } - - /* - * no match - if this is from the outer scheme, we are done. - * otherwise it must be inserted into the wanted set. - */ - if (is_outer) - return; - - /* - * create a new entry for this - */ - infos = realloc(wanted->infos, sizeof(*infos)*(wanted->num+1)); - if (infos == NULL) - return; - wanted->infos = infos; - infos += wanted->num; - wanted->num++; - memset(infos, 0, sizeof(*infos)); - if (info->last_mounted != NULL && info->last_mounted[0] != 0) - strlcpy(infos->mount, info->last_mounted, - sizeof(infos->mount)); - infos->type = info->nat_type->generic_ptype; - infos->cur_part_id = pno; - infos->parts = parts; - infos->size = info->size; - infos->cur_start = info->start; - infos->fs_type = info->fs_type; - infos->fs_version = info->fs_sub_type; - if (is_outer) - infos->flags |= PUIFLG_IS_OUTER; -} - -static bool -have_x11_by_default(void) -{ - static const uint8_t def_sets[] = { MD_SETS_SELECTED }; - - for (size_t i = 0; i < __arraycount(def_sets); i++) - if (def_sets[i] >= SET_X11_FIRST && - def_sets[i] <= SET_X11_LAST) - return true; - - return false; -} - -static void -fill_defaults(struct partition_usage_set *wanted, struct disk_partitions *parts, - daddr_t ptstart, daddr_t ptsize) -{ - size_t i, root = ~0U, usr = ~0U, swap = ~0U, def_usr = ~0U; - daddr_t free_space, dump_space, required; -#if defined(DEFAULT_UFS2) && !defined(HAVE_UFS2_BOOT) - size_t boot = ~0U; -#endif - - memset(wanted, 0, sizeof(*wanted)); - wanted->parts = parts; - if (ptstart > parts->disk_start) - wanted->reserved_space = ptstart - parts->disk_start; - if ((ptstart + ptsize) < (parts->disk_start+parts->disk_size)) - wanted->reserved_space += - (parts->disk_start+parts->disk_size) - - (ptstart + ptsize); - wanted->num = __arraycount(default_parts_init); - wanted->infos = calloc(wanted->num, sizeof(*wanted->infos)); - if (wanted->infos == NULL) { - err_msg_win(err_outofmem); - return; - } - - memcpy(wanted->infos, default_parts_init, sizeof(default_parts_init)); - -#ifdef HAVE_TMPFS - if (get_ramsize() >= SMALL_RAM_SIZE) { - for (i = 0; i < wanted->num; i++) { - if (wanted->infos[i].type != PT_root || - wanted->infos[i].fs_type != FS_TMPFS) - continue; - /* default tmpfs to 1/4 RAM */ - wanted->infos[i].size = -25; - wanted->infos[i].def_size = -25; - break; - } - } -#endif - -#ifdef MD_PART_DEFAULTS - MD_PART_DEFAULTS(pm, wanted->infos, wanted->num); -#endif - - for (i = 0; i < wanted->num; i++) { - wanted->infos[i].parts = parts; - wanted->infos[i].cur_part_id = NO_PART; - if (wanted->infos[i].type == PT_undef && - wanted->infos[i].fs_type != FS_UNUSED) { - const struct part_type_desc *pt = - parts->pscheme->get_fs_part_type(PT_undef, - wanted->infos[i].fs_type, - wanted->infos[i].fs_version); - if (pt != NULL) - wanted->infos[i].type = pt->generic_ptype; - } - if (wanted->parts->parent != NULL && - (wanted->infos[i].fs_type == FS_MSDOS || - wanted->infos[i].fs_type == FS_EX2FS)) - wanted->infos[i].flags |= - PUIFLG_ADD_INNER|PUIFLAG_ADD_OUTER; - -#if DEFSWAPSIZE == -1 - if (wanted->infos[i].type == PT_swap) { -#ifdef MD_MAY_SWAP_TO - if (MD_MAY_SWAP_TO(wanted->parts->disk)) -#endif - wanted->infos[i].size = - get_ramsize() * (MEG / 512); - } -#endif - if (wanted->infos[i].type == PT_swap && swap > wanted->num) - swap = i; -#if defined(DEFAULT_UFS2) && !defined(HAVE_UFS2_BOOT) - if (wanted->infos[i].instflags & PUIINST_BOOT) - boot = i; -#endif - if (wanted->infos[i].type == PT_root) { - if (strcmp(wanted->infos[i].mount, "/") == 0) { - root = i; - } else if ( - strcmp(wanted->infos[i].mount, "/usr") == 0) { - if (wanted->infos[i].size > 0) - usr = i; - else - def_usr = i; - } - if (wanted->infos[i].fs_type == FS_UNUSED) - wanted->infos[i].fs_type = FS_BSDFFS; - if (wanted->infos[i].fs_type == FS_BSDFFS) { -#ifdef DEFAULT_UFS2 -#ifndef HAVE_UFS2_BOOT - if (boot < wanted->num || i != root) -#endif - wanted->infos[i].fs_version = 3; -#endif - } - } - } - - /* - * Now we have the defaults as if we were installing to an - * empty disk. Merge the partitions in target range that are already - * there (match with wanted) or are there additionally. - * The only thing outside of target range that we care for - * are FAT partitions, EXT2FS partitions, and a potential - * swap partition - we assume one is enough. - */ - size_t num = wanted->num; - if (parts->parent) { - for (part_id pno = 0; pno < parts->parent->num_part; pno++) { - struct disk_part_info info; - - if (!parts->parent->pscheme->get_part_info( - parts->parent, pno, &info)) - continue; - if (info.nat_type->generic_ptype != PT_swap && - info.fs_type != FS_MSDOS && - info.fs_type != FS_EX2FS) - continue; - merge_part_with_wanted(parts->parent, pno, &info, - wanted, num, true); - break; - } - } - for (part_id pno = 0; pno < parts->num_part; pno++) { - struct disk_part_info info; - - if (!parts->pscheme->get_part_info(parts, pno, &info)) - continue; - - if (info.flags & PTI_PSCHEME_INTERNAL) - continue; - - if (info.nat_type->generic_ptype != PT_swap && - (info.start < ptstart || - (info.start + info.size) > (ptstart+ptsize))) - continue; - - merge_part_with_wanted(parts, pno, &info, - wanted, num, false); - } - - daddr_t align = parts->pscheme->get_part_alignment(parts); - - if (root < wanted->num && wanted->infos[root].cur_part_id == NO_PART) { - daddr_t max_root_size = parts->disk_start + parts->disk_size; - if (root_limit > 0) { - /* Bah - bios can not read all the disk, limit root */ - max_root_size = root_limit - parts->disk_start; - } - wanted->infos[root].limit = max_root_size; - } - - if (have_x11_by_default()) { - daddr_t xsize = XNEEDMB * (MEG / 512); - if (usr < wanted->num) { - if (wanted->infos[usr].cur_part_id == NO_PART) { - wanted->infos[usr].size += xsize; - wanted->infos[usr].def_size += xsize; - } - } else if (root < wanted->num && - wanted->infos[root].cur_part_id == NO_PART && - (wanted->infos[root].limit == 0 || - (wanted->infos[root].size + xsize) <= - wanted->infos[root].limit)) { - wanted->infos[root].size += xsize; - } - } - if (wanted->infos[root].limit > 0 && - wanted->infos[root].size > wanted->infos[root].limit) { - if (usr < wanted->num) { - /* move space from root to usr */ - daddr_t spill = wanted->infos[root].size - - wanted->infos[root].limit; - spill = roundup(spill, align); - wanted->infos[root].size = - wanted->infos[root].limit; - wanted->infos[usr].size = spill; - } else { - wanted->infos[root].size = - wanted->infos[root].limit; - } - } - - /* - * Preliminary calc additional space to allocate and how much - * we likely will have left over. Use that to do further - * adjustments, so we don't present the user inherently - * impossible defaults. - */ - free_space = parts->free_space - wanted->reserved_space; - required = 0; - if (root < wanted->num) - required += wanted->infos[root].size; - if (usr < wanted->num) - required += wanted->infos[usr].size; - else if (def_usr < wanted->num) - required += wanted->infos[def_usr].def_size; - free_space -= required; - for (i = 0; i < wanted->num; i++) { - if (i == root || i == usr) - continue; /* already accounted above */ - if (wanted->infos[i].cur_part_id != NO_PART) - continue; - if (wanted->infos[i].size == 0) - continue; - if (wanted->infos[i].flags - & (PUIFLG_IS_OUTER|PUIFLG_JUST_MOUNTPOINT)) - continue; - free_space -= wanted->infos[i].size; - } - if (free_space < 0 && swap < wanted->num && - get_ramsize() > TINY_RAM_SIZE) { - /* steel from swap partition */ - daddr_t d = wanted->infos[swap].size; - daddr_t inc = roundup(-free_space, align); - if (inc > d) - inc = d; - free_space += inc; - wanted->infos[swap].size -= inc; - } - if (root < wanted->num) { - /* Add space for 2 system dumps to / (traditional) */ - dump_space = get_ramsize() * (MEG/512); - dump_space = roundup(dump_space, align); - if (free_space > dump_space*2) - dump_space *= 2; - if (free_space > dump_space) { - wanted->infos[root].size += dump_space; - free_space -= dump_space; - } - } - if (wanted->infos[root].limit > 0 && - (wanted->infos[root].cur_start + wanted->infos[root].size > - wanted->infos[root].limit || - (wanted->infos[root].flags & PUIFLAG_EXTEND && - (wanted->infos[root].cur_start + wanted->infos[root].size - + free_space > wanted->infos[root].limit)))) { - if (usr >= wanted->num && def_usr < wanted->num) { - usr = def_usr; - wanted->infos[usr].size = wanted->infos[root].size - - wanted->infos[root].limit; - if (wanted->infos[usr].size <= 0) - wanted->infos[usr].size = max(1, - wanted->infos[usr].def_size); - wanted->infos[root].size = - wanted->infos[root].limit; - if (wanted->infos[root].flags & PUIFLAG_EXTEND) { - wanted->infos[root].flags &= ~PUIFLAG_EXTEND; - wanted->infos[usr].flags |= PUIFLAG_EXTEND; - } - } else if (usr < wanted->num) { - /* move space from root to usr */ - daddr_t spill = wanted->infos[root].size - - wanted->infos[root].limit; - spill = roundup(spill, align); - wanted->infos[root].size = - wanted->infos[root].limit; - wanted->infos[usr].size = spill; - } else { - wanted->infos[root].size = - wanted->infos[root].limit; - } - } - wanted->infos[root].def_size = wanted->infos[root].size; -} - -/* - * We sort pset->infos to sync with pset->parts and - * the cur_part_id, to allow using the same index into both - * "array" in later phases. This may include inserting - * dummy entries (when we do not actually want the - * partition, but it is forced upon us, like RAW_PART in - * disklabel). - */ -static void -sort_and_sync_parts(struct partition_usage_set *pset) -{ - struct part_usage_info *infos; - size_t i, j, no; - part_id pno; - - pset->cur_free_space = pset->parts->free_space - pset->reserved_space; - - /* count non-empty entries that are not in pset->parts */ - no = pset->parts->num_part; - for (i = 0; i < pset->num; i++) { - if (pset->infos[i].size == 0) - continue; - if (pset->infos[i].cur_part_id != NO_PART) - continue; - no++; - } - - /* allocate new infos */ - infos = calloc(no, sizeof *infos); - if (infos == NULL) - return; - - /* pre-initialize the first entries as dummy entries */ - for (i = 0; i < pset->parts->num_part; i++) { - infos[i].cur_part_id = NO_PART; - infos[i].cur_flags = PTI_PSCHEME_INTERNAL; - } - /* - * Now copy over everything from our old entries that points to - * a real partition. - */ - for (i = 0; i < pset->num; i++) { - pno = pset->infos[i].cur_part_id; - if (pno == NO_PART) - continue; - if (pset->parts != pset->infos[i].parts) - continue; - if (pset->infos[i].flags & PUIFLG_JUST_MOUNTPOINT) - continue; - if ((pset->infos[i].flags & (PUIFLG_IS_OUTER|PUIFLG_ADD_INNER)) - == PUIFLG_IS_OUTER) - continue; - if (pno >= pset->parts->num_part) - continue; - memcpy(infos+pno, pset->infos+i, sizeof(*infos)); - } - /* Fill in the infos for real partitions where we had no data */ - for (pno = 0; pno < pset->parts->num_part; pno++) { - struct disk_part_info info; - - if (infos[pno].cur_part_id != NO_PART) - continue; - - if (!pset->parts->pscheme->get_part_info(pset->parts, pno, - &info)) - continue; - - infos[pno].parts = pset->parts; - infos[pno].cur_part_id = pno; - infos[pno].cur_flags = info.flags; - infos[pno].size = info.size; - infos[pno].type = info.nat_type->generic_ptype; - infos[pno].cur_start = info.start; - infos[pno].fs_type = info.fs_type; - infos[pno].fs_version = info.fs_sub_type; - } - /* Add the non-partition entries after that */ - j = pset->parts->num_part; - for (i = 0; i < pset->num; i++) { - if (j >= no) - break; - if (pset->infos[i].size == 0) - continue; - if (pset->infos[i].cur_part_id != NO_PART) - continue; - memcpy(infos+j, pset->infos+i, sizeof(*infos)); - j++; - } - - /* done, replace infos */ - free(pset->infos); - pset->num = no; - pset->infos = infos; -} - -#ifndef NO_CLONES -/* - * Convert clone entries with more than one source into - * several entries with a single source each. - */ -static void -normalize_clones(struct part_usage_info **infos, size_t *num) -{ - size_t i, j, add_clones; - struct part_usage_info *ui, *src, *target; - struct disk_part_info info; - struct selected_partition *clone; - - for (add_clones = 0, i = 0; i < *num; i++) { - if ((*infos)[i].clone_src != NULL && - (*infos)[i].flags & PUIFLG_CLONE_PARTS && - (*infos)[i].cur_part_id == NO_PART) - add_clones += (*infos)[i].clone_src->num_sel-1; - } - if (add_clones == 0) - return; - - ui = calloc(*num+add_clones, sizeof(**infos)); - if (ui == NULL) - return; /* can not handle this well here, drop some clones */ - - /* walk the list and dedup clones */ - for (src = *infos, target = ui, i = 0; i < *num; i++) { - if (src != target) - *target = *src; - if (target->clone_src != NULL && - (target->flags & PUIFLG_CLONE_PARTS) && - target->cur_part_id == NO_PART) { - for (j = 0; j < src->clone_src->num_sel; j++) { - if (j > 0) { - target++; - *target = *src; - } - target->clone_ndx = j; - clone = &target->clone_src->selection[j]; - clone->parts->pscheme->get_part_info( - clone->parts, clone->id, &info); - target->size = info.size; - } - } - target++; - src++; - } - *num += add_clones; - assert((target-ui) >= 0 && (size_t)(target-ui) == *num); - free(*infos); - *infos = ui; -} -#endif - -static void -apply_settings_to_partitions(struct disk_partitions *parts, - struct partition_usage_set *wanted, daddr_t start, daddr_t xsize) -{ - size_t i, exp_ndx = ~0U; - daddr_t planned_space = 0, nsp, from, align; - struct disk_part_info *infos; -#ifndef NO_CLONES - struct disk_part_info cinfo, srcinfo; - struct selected_partition *sp; -#endif - struct disk_part_free_space space; - struct disk_partitions *ps = NULL; - part_id pno, new_part_id; - -#ifndef NO_CLONES - normalize_clones(&wanted->infos, &wanted->num); -#endif - - infos = calloc(wanted->num, sizeof(*infos)); - if (infos == NULL) { - err_msg_win(err_outofmem); - return; - } - - align = wanted->parts->pscheme->get_part_alignment(wanted->parts); - /* - * Pass one: calculate space available for expanding - * the marked partition. - */ - if (parts->free_space != parts->disk_size) - planned_space = align; /* align first part */ - for (i = 0; i < wanted->num; i++) { - if ((wanted->infos[i].flags & PUIFLAG_EXTEND) && - exp_ndx == ~0U) - exp_ndx = i; - if (wanted->infos[i].flags & PUIFLG_JUST_MOUNTPOINT) - continue; - nsp = wanted->infos[i].size; - if (wanted->infos[i].cur_part_id != NO_PART) { - ps = wanted->infos[i].flags & PUIFLG_IS_OUTER ? - parts->parent : parts; - - ps->pscheme->get_part_info(ps, - wanted->infos[i].cur_part_id, &infos[i]); - if (!(wanted->infos[i].flags & PUIFLG_IS_OUTER)) - nsp -= infos[i].size; - } - if (nsp <= 0) - continue; - planned_space += roundup(nsp, align); - } - - /* - * Expand the pool partition (or shrink, if we overran), - * but check size limits. - */ - if (exp_ndx < wanted->num) { - daddr_t free_space = parts->free_space - planned_space - - wanted->reserved_space; - daddr_t new_size = wanted->infos[exp_ndx].size; - if (free_space > 0) - new_size += roundup(free_space,align); - - if (wanted->infos[exp_ndx].limit > 0 && - (new_size + wanted->infos[exp_ndx].cur_start) - > wanted->infos[exp_ndx].limit) { - wanted->infos[exp_ndx].size = - wanted->infos[exp_ndx].limit - - wanted->infos[exp_ndx].cur_start; - } else { - wanted->infos[exp_ndx].size = new_size; - } - } - - /* - * Now it gets tricky: we want the wanted partitions in order - * as defined, but any already existing partitions should not - * be moved. We allow them to change size though. - * To keep it simple, we just assign in order and skip blocked - * spaces. This may shuffle the order of the resulting partitions - * compared to the wanted list. - */ - - /* Adjust sizes of existing partitions */ - for (i = 0; i < wanted->num; i++) { - ps = wanted->infos[i].flags & PUIFLG_IS_OUTER ? - parts->parent : parts; - const struct part_usage_info *want = &wanted->infos[i]; - - if (want->cur_part_id == NO_PART) - continue; - if (i == exp_ndx) /* the exp. part. can not exist yet */ - continue; - daddr_t free_size = ps->pscheme->max_free_space_at(ps, - infos[i].start); - if (free_size < wanted->infos[i].size) - continue; - if (infos[i].size != wanted->infos[i].size) { - infos[i].size = wanted->infos[i].size; - ps->pscheme->set_part_info(ps, want->cur_part_id, - &infos[i], NULL); - } - } - - from = start > 0 ? start : -1; - /* - * First add all outer partitions - we need to align those exactly - * with the inner counterpart later. - */ - if (parts->parent) { - ps = parts->parent; - daddr_t outer_align = ps->pscheme->get_part_alignment(ps); - - for (i = 0; i < wanted->num; i++) { - struct part_usage_info *want = &wanted->infos[i]; - - if (want->cur_part_id != NO_PART) - continue; - if (!(want->flags & PUIFLAG_ADD_OUTER)) - continue; - if (want->size <= 0) - continue; - - size_t cnt = ps->pscheme->get_free_spaces(ps, - &space, 1, want->size-2*outer_align, - outer_align, from, -1); - - if (cnt == 0) /* no free space for this partition */ - continue; - - infos[i].start = space.start; - infos[i].size = min(want->size, space.size); - infos[i].nat_type = - ps->pscheme->get_fs_part_type( - want->type, want->fs_type, want->fs_version); - infos[i].last_mounted = want->mount; - infos[i].fs_type = want->fs_type; - infos[i].fs_sub_type = want->fs_version; - infos[i].fs_opt1 = want->fs_opt1; - infos[i].fs_opt2 = want->fs_opt2; - infos[i].fs_opt3 = want->fs_opt3; - new_part_id = ps->pscheme->add_partition(ps, - &infos[i], NULL); - if (new_part_id == NO_PART) - continue; /* failed to add, skip */ - - ps->pscheme->get_part_info(ps, - new_part_id, &infos[i]); - want->cur_part_id = new_part_id; - - want->flags |= PUIFLG_ADD_INNER|PUIFLG_IS_OUTER; - from = roundup(infos[i].start + - infos[i].size, outer_align); - } - } - - /* - * Now add new inner partitions (and cloned partitions) - */ - for (i = 0; i < wanted->num; i++) { - - daddr_t limit = wanted->parts->disk_size + wanted->parts->disk_start; - if (from >= limit) - break; - - struct part_usage_info *want = &wanted->infos[i]; - - if (want->cur_part_id != NO_PART) - continue; - if (want->flags & (PUIFLG_JUST_MOUNTPOINT|PUIFLG_IS_OUTER)) - continue; -#ifndef NO_CLONES - if ((want->flags & PUIFLG_CLONE_PARTS) && - want->clone_src != NULL && - want->clone_ndx < want->clone_src->num_sel) { - sp = &want->clone_src->selection[want->clone_ndx]; - if (!sp->parts->pscheme->get_part_info( - sp->parts, sp->id, &srcinfo)) - continue; - if (!wanted->parts->pscheme-> - adapt_foreign_part_info(wanted->parts, - &cinfo, sp->parts->pscheme, &srcinfo)) - continue; - - /* find space for cinfo and add a partition */ - size_t cnt = wanted->parts->pscheme->get_free_spaces( - wanted->parts, &space, 1, want->size-align, align, - from, -1); - if (cnt == 0) - cnt = wanted->parts->pscheme->get_free_spaces( - wanted->parts, &space, 1, - want->size-5*align, align, from, -1); - - if (cnt == 0) - continue; /* no free space for this clone */ - - infos[i] = cinfo; - infos[i].start = space.start; - new_part_id = wanted->parts->pscheme->add_partition( - wanted->parts, &infos[i], NULL); - } else { -#else - { -#endif - if (want->size <= 0) - continue; - size_t cnt = wanted->parts->pscheme->get_free_spaces( - wanted->parts, &space, 1, want->size-align, align, - from, -1); - if (cnt == 0) - cnt = wanted->parts->pscheme->get_free_spaces( - wanted->parts, &space, 1, - want->size-5*align, align, from, -1); - - if (cnt == 0) - continue; /* no free space for this partition */ - - infos[i].start = space.start; - infos[i].size = min(want->size, space.size); - infos[i].nat_type = - wanted->parts->pscheme->get_fs_part_type( - want->type, want->fs_type, want->fs_version); - infos[i].last_mounted = want->mount; - infos[i].fs_type = want->fs_type; - infos[i].fs_sub_type = want->fs_version; - infos[i].fs_opt1 = want->fs_opt1; - infos[i].fs_opt2 = want->fs_opt2; - infos[i].fs_opt3 = want->fs_opt3; - if (want->fs_type != FS_UNUSED && - want->type != PT_swap) { - want->instflags |= PUIINST_NEWFS; - if (want->mount[0] != 0) - want->instflags |= PUIINST_MOUNT; - } - new_part_id = wanted->parts->pscheme->add_partition( - wanted->parts, &infos[i], NULL); - } - - if (new_part_id == NO_PART) - continue; /* failed to add, skip */ - - wanted->parts->pscheme->get_part_info( - wanted->parts, new_part_id, &infos[i]); - from = roundup(infos[i].start+infos[i].size, align); - } - - - /* - * If there are any outer partitions that we need as inner ones - * too, add them to the inner partitioning scheme. - */ - for (i = 0; i < wanted->num; i++) { - struct part_usage_info *want = &wanted->infos[i]; - - if (want->cur_part_id == NO_PART) - continue; - if (want->flags & PUIFLG_JUST_MOUNTPOINT) - continue; - if (want->size <= 0) - continue; - - if ((want->flags & (PUIFLG_ADD_INNER|PUIFLG_IS_OUTER)) != - (PUIFLG_ADD_INNER|PUIFLG_IS_OUTER)) - continue; - - new_part_id = NO_PART; - for (part_id j = 0; new_part_id == NO_PART && - j < wanted->parts->num_part; j++) { - struct disk_part_info test; - - if (!wanted->parts->pscheme->get_part_info( - wanted->parts, j, &test)) - continue; - if (test.start == want->cur_start && - test.size == want->size) - new_part_id = j; - } - - if (new_part_id == NO_PART) { - infos[i].start = want->cur_start; - infos[i].size = want->size; - infos[i].nat_type = wanted->parts->pscheme-> - get_fs_part_type(want->type, want->fs_type, - want->fs_version); - infos[i].last_mounted = want->mount; - infos[i].fs_type = want->fs_type; - infos[i].fs_sub_type = want->fs_version; - infos[i].fs_opt1 = want->fs_opt1; - infos[i].fs_opt2 = want->fs_opt2; - infos[i].fs_opt3 = want->fs_opt3; - - if (wanted->parts->pscheme->add_outer_partition - != NULL) - new_part_id = wanted->parts->pscheme-> - add_outer_partition( - wanted->parts, &infos[i], NULL); - else - new_part_id = wanted->parts->pscheme-> - add_partition( - wanted->parts, &infos[i], NULL); - - if (new_part_id == NO_PART) - continue; /* failed to add, skip */ - } - - wanted->parts->pscheme->get_part_info( - wanted->parts, new_part_id, &infos[i]); - want->parts = wanted->parts; - if (want->fs_type != FS_UNUSED && - want->type != PT_swap) { - want->instflags |= PUIINST_NEWFS; - if (want->mount[0] != 0) - want->instflags |= PUIINST_MOUNT; - } - } - - /* - * Note: all part_ids are invalid now, as we have added things! - */ - for (i = 0; i < wanted->num; i++) - wanted->infos[i].cur_part_id = NO_PART; - for (pno = 0; pno < parts->num_part; pno++) { - struct disk_part_info t; - - if (!parts->pscheme->get_part_info(parts, pno, &t)) - continue; - if (t.flags & PTI_SPECIAL_PARTS) - continue; - - for (i = 0; i < wanted->num; i++) { - if (wanted->infos[i].cur_part_id != NO_PART) - continue; - if (wanted->infos[i].size <= 0) - continue; - if (t.start == infos[i].start) { - wanted->infos[i].cur_part_id = pno; - wanted->infos[i].cur_start = infos[i].start; - wanted->infos[i].cur_flags = infos[i].flags; - break; - } - } - } - free(infos); - - /* sort, and sync part ids and wanted->infos[] indices */ - sort_and_sync_parts(wanted); -} - -static void -replace_by_default(struct disk_partitions *parts, - daddr_t start, daddr_t size, struct partition_usage_set *wanted) -{ - - if (start == 0 && size == parts->disk_size) - parts->pscheme->delete_all_partitions(parts); - else if (parts->pscheme->delete_partitions_in_range != NULL) - parts->pscheme->delete_partitions_in_range(parts, start, size); - else - assert(parts->num_part == 0); - - fill_defaults(wanted, parts, start, size); - apply_settings_to_partitions(parts, wanted, start, size); -} - -static bool -edit_with_defaults(struct disk_partitions *parts, - daddr_t start, daddr_t size, struct partition_usage_set *wanted) -{ - bool ok; - - fill_defaults(wanted, parts, start, size); - ok = get_ptn_sizes(wanted); - if (ok) - apply_settings_to_partitions(parts, wanted, start, size); - return ok; -} - -/* - * md back-end code for menu-driven BSD disklabel editor. - * returns 0 on failure, 1 on success, -1 for restart. - * fills the install target with a list for newfs/fstab. - */ -int -make_bsd_partitions(struct install_partition_desc *install) -{ - struct disk_partitions *parts = pm->parts; - const struct disk_partitioning_scheme *pscheme; - struct partition_usage_set wanted; - daddr_t p_start, p_size; - enum layout_type layoutkind = LY_SETSIZES; - bool have_existing; - - if (pm && pm->no_part && parts == NULL) - return 1; - if (parts == NULL) { - pscheme = select_part_scheme(pm, NULL, !pm->no_mbr, NULL); - if (pscheme == NULL) - return 0; - parts = pscheme->create_new_for_disk(pm->diskdev, - 0, pm->dlsize, true, NULL); - if (parts == NULL) - return 0; - pm->parts = parts; - } else { - pscheme = parts->pscheme; - } - - if (pscheme->secondary_partitions) { - struct disk_partitions *p; - - p = pscheme->secondary_partitions(parts, pm->ptstart, false); - if (p) { - parts = p; - pscheme = parts->pscheme; - } - } - - have_existing = check_existing_netbsd(parts); - - /* - * Make sure the cylinder size multiplier/divisor and disk size are - * valid - */ - if (pm->current_cylsize == 0) - pm->current_cylsize = pm->dlcylsize; - if (pm->ptsize == 0) - pm->ptsize = pm->dlsize; - - /* Ask for layout type -- standard or special */ - if (partman_go == 0 && simple_install) { - /* Makronix simple installation: the default layout, no question */ - layoutkind = LY_USEDEFAULT; - } else if (partman_go == 0) { - char bsd_size[6], min_size[6], x_size[6]; - - humanize_number(bsd_size, sizeof(bsd_size), - (uint64_t)pm->ptsize*pm->sectorsize, - "", HN_AUTOSCALE, HN_B | HN_NOSPACE | HN_DECIMAL); - humanize_number(min_size, sizeof(min_size), - (uint64_t)(DEFROOTSIZE + DEFSWAPSIZE + DEFUSRSIZE)*MEG, - "", HN_AUTOSCALE, HN_B | HN_NOSPACE | HN_DECIMAL); - humanize_number(x_size, sizeof(x_size), - (uint64_t)(DEFROOTSIZE + DEFSWAPSIZE + DEFUSRSIZE - + XNEEDMB)*MEG, - "", HN_AUTOSCALE, HN_B | HN_NOSPACE | HN_DECIMAL); - - msg_display_subst( - have_existing ? MSG_layout_prologue_existing - : MSG_layout_prologue_none, 6, pm->diskdev, - msg_string(parts->pscheme->name), - msg_string(parts->pscheme->short_name), - bsd_size, min_size, x_size); - msg_display_add_subst(MSG_layout_main, 6, - pm->diskdev, - msg_string(parts->pscheme->name), - msg_string(parts->pscheme->short_name), - bsd_size, min_size, x_size); - msg_display_add("\n\n"); - layoutkind = ask_layout(parts, have_existing); - if (layoutkind == LY_ERROR) - return 0; - } - - if (layoutkind == LY_USEDEFAULT || layoutkind == LY_SETSIZES) { - /* calc available disk area for the NetBSD partitions */ - p_start = pm->ptstart; - p_size = pm->ptsize; - if (parts->parent != NULL && - parts->parent->pscheme->guess_install_target != NULL) - parts->parent->pscheme->guess_install_target( - parts->parent, &p_start, &p_size); - } - if (layoutkind == LY_OTHERSCHEME) { - parts->pscheme->destroy_part_scheme(parts); - return -1; - } else if (layoutkind == LY_USENONE) { - struct disk_part_free_space space; - size_t cnt; - - empty_usage_set_from_parts(&wanted, parts); - cnt = parts->pscheme->get_free_spaces(parts, &space, 1, - 0, parts->pscheme->get_part_alignment(parts), 0, -1); - p_start = p_size = 0; - if (cnt == 1) { - p_start = space.start; - p_size = space.size; - wanted.cur_free_space = space.size; - } - } else if (layoutkind == LY_USEDEFAULT) { - replace_by_default(parts, p_start, p_size, - &wanted); - } else if (layoutkind == LY_SETSIZES) { - if (!edit_with_defaults(parts, p_start, p_size, - &wanted)) { - free_usage_set(&wanted); - return 0; - } - } else { - usage_set_from_parts(&wanted, parts); - } - - /* - * Make sure the target root partition is properly marked, - * check for existing EFI boot partition. - */ - bool have_inst_target = false; -#ifdef HAVE_EFI_BOOT - daddr_t target_start = -1; -#endif - for (size_t i = 0; i < wanted.num; i++) { - if (wanted.infos[i].cur_flags & PTI_INSTALL_TARGET) { - have_inst_target = true; -#ifdef HAVE_EFI_BOOT - target_start = wanted.infos[i].cur_start; -#endif - break; - } - } - if (!have_inst_target) { - for (size_t i = 0; i < wanted.num; i++) { - struct disk_part_info info; - - if (wanted.infos[i].type != PT_root || - strcmp(wanted.infos[i].mount, "/") != 0) - continue; - wanted.infos[i].cur_flags |= PTI_INSTALL_TARGET; - - if (!wanted.parts->pscheme->get_part_info(wanted.parts, - wanted.infos[i].cur_part_id, &info)) - break; - info.flags |= PTI_INSTALL_TARGET; - wanted.parts->pscheme->set_part_info(wanted.parts, - wanted.infos[i].cur_part_id, &info, NULL); -#ifdef HAVE_EFI_BOOT - target_start = wanted.infos[i].cur_start; -#endif - break; - } - } -#ifdef HAVE_EFI_BOOT - size_t boot_part = ~0U; - for (part_id i = 0; i < wanted.num; i++) { - if ((wanted.infos[i].cur_flags & PTI_BOOT) != 0 || - wanted.infos[i].type == PT_EFI_SYSTEM) { - boot_part = i; - break; - } - } - if (boot_part == ~0U) { - for (part_id i = 0; i < wanted.num; i++) { - /* - * heuristic to recognize existing MBR FAT - * partitions as EFI without looking for - * details - */ - if ((wanted.infos[i].type != PT_FAT && - wanted.infos[i].type != PT_EFI_SYSTEM) || - wanted.infos[i].fs_type != FS_MSDOS) - continue; - daddr_t ps = wanted.infos[i].cur_start; - daddr_t pe = ps + wanted.infos[i].size; - if (target_start >= 0 && - (ps >= target_start || pe >= target_start)) - continue; - boot_part = i; - break; - } - } - if (boot_part != ~0U) { - struct disk_part_info info; - - if (wanted.parts->pscheme->get_part_info(wanted.parts, - wanted.infos[boot_part].cur_part_id, &info)) { - info.flags |= PTI_BOOT; - wanted.parts->pscheme->set_part_info(wanted.parts, - wanted.infos[boot_part].cur_part_id, &info, NULL); - } - wanted.infos[boot_part].instflags |= PUIINST_BOOT; - } -#endif - - /* - * OK, we have a partition table. Give the user the chance to - * edit it and verify it's OK, or abort altogether. - */ - for (;;) { - int rv = edit_and_check_label(pm, &wanted, true); - if (rv == 0) { - msg_display(MSG_abort_part); - free_usage_set(&wanted); - return 0; - } - /* update install infos */ - install->num = wanted.num; - install->infos = wanted.infos; - install->write_back = wanted.write_back; - install->num_write_back = wanted.num_write_back; - /* and check them */ - if (check_partitions(install)) - break; - } - - /* we moved infos from wanted to install target */ - wanted.infos = NULL; - wanted.write_back = NULL; - free_usage_set(&wanted); - - /* Everything looks OK. */ - return 1; -} - -#ifndef MD_NEED_BOOTBLOCK -#define MD_NEED_BOOTBLOCK(A) true -#endif - -/* - * check that there is at least a / somewhere. - */ -bool -check_partitions(struct install_partition_desc *install) -{ -#ifdef HAVE_BOOTXX_xFS - int rv = 1; - char *bootxx; -#endif -#ifndef HAVE_UFS2_BOOT - size_t i; -#endif - -#ifdef HAVE_BOOTXX_xFS - if (MD_NEED_BOOTBLOCK(install)) { - /* check if we have boot code for the root partition type */ - bootxx = bootxx_name(install); - if (bootxx != NULL) { - rv = access(bootxx, R_OK); - free(bootxx); - } else - rv = -1; - if (rv != 0) { - hit_enter_to_continue(NULL, MSG_No_Bootcode); - return false; - } - } -#endif -#ifndef HAVE_UFS2_BOOT - if (MD_NEED_BOOTBLOCK(install)) { - for (i = 0; i < install->num; i++) { - if (install->infos[i].type != PT_root) - continue; - if (strcmp(install->infos[i].mount, "/") != 0) - continue; - if (install->infos[i].fs_type != FS_BSDFFS) - continue; - if (install->infos[i].fs_version < 2) - continue; - hit_enter_to_continue(NULL, MSG_cannot_ufs2_root); - return false; - } - } -#endif - - return md_check_partitions(install); -} diff --git a/overlay/usr.sbin/sysinst/cgdroot.c b/overlay/usr.sbin/sysinst/cgdroot.c deleted file mode 100644 index 7aa0bd1177..0000000000 --- a/overlay/usr.sbin/sysinst/cgdroot.c +++ /dev/null @@ -1,331 +0,0 @@ -/* $NetBSD$ */ - -/* - * Makronix: installation onto an encrypted disk. - * - * This is the machinery of distrib/common/cgdroot.rc driven by sysinst: - * the boot loader loads the miniroot module cgdroot.kmod, whose /etc/rc - * mounts the partition labelled "cgd.conf" at /etc/cgd, runs `cgdconfig -C` - * (the passphrase is asked there) and moves init to the root on cgd0. - * - * The disk therefore gets a GPT. With the BIOS two partitions: - * - * cgd.conf FFS, not encrypted: boot loader, kernel, boot.cfg, - * cgdroot.kmod, cgd.conf and the cgdconfig parameter file - * cgdroot cgd(4) volume; cgd0 carries a disklabel, `a' is root - * - * With UEFI there is also an EFI system partition (FAT) with the loader: - * an ESP, cgd.conf, and cgdroot. - * - * The rest of the installation is the ordinary one with cgd0 as the disk, - * so the partitioning, the file systems, the fstab and the sets come from - * the existing code. What this file adds is the part before it (partition - * the real disk, configure cgd0) and the part after it (the boot partition). - * - * The code only exists where the machine-dependent header defines CGDROOT - * (arch/amd64/md.h); the other ports are unchanged. - */ - -#include -#include -#include -#include -#include -#include - -#include "defs.h" -#include "md.h" -#include "msg_defs.h" -#include "menu_defs.h" - -#ifdef CGDROOT - -/* Name and size of the two partitions, see the comment above. */ -#define CGD_BOOT_LABEL "cgd.conf" -#define CGD_ROOT_LABEL "cgdroot" -#define CGD_BOOT_SIZE "256m" -#define CGD_ESP_SIZE "128m" /* UEFI: loader and boot.cfg */ -#define CGD_PARAMS "/tmp/cgdroot" - -extern const struct disk_partitioning_scheme disklabel_parts; - -bool cgdroot_install; - -static char phys_disk[SSTRSIZE]; /* the disk the user selected */ -static char boot_dev[SSTRSIZE]; /* block device of the cgd.conf partition */ -static char boot_rdev[SSTRSIZE]; /* raw device of the cgd.conf partition */ -static daddr_t boot_start; /* first sector of the cgd.conf partition */ -static bool uefi; /* UEFI: there is an EFI system partition */ -static char esp_dev[SSTRSIZE]; /* block device of the ESP */ -static char esp_rdev[SSTRSIZE]; /* raw device of the ESP */ - -bool -cgdroot_ask(void) -{ - - if (!have_cgd || !md_cgdroot_possible()) - return false; - msg_display(MSG_cgdroot_ask); - return ask_noyes(NULL) != 0; -} - -/* - * Find the partitions that "gpt add" made, in disk order: [ESP,] cgd.conf, - * cgdroot. Fills boot_dev, boot_rdev, boot_start (cgd.conf), esp_dev, - * esp_rdev (UEFI) and cgd_dev (the cgd partition). - */ -static bool -find_partitions(char *cgd_dev, size_t cgd_len) -{ - struct disk_partitions *parts; - struct disk_part_info info; - part_id id, order[3]; - daddr_t start[3]; - size_t n, i, j, nwant = uefi ? 3 : 2; - - parts = partitions_read_disk(phys_disk, pm->dlsize, pm->sectorsize, - pm->no_mbr); - if (parts == NULL) - return false; - pm->parts = parts; - if (parts->num_part != nwant) - return false; - - /* sort by start sector */ - for (n = 0, id = 0; id < parts->num_part; id++) { - if (!parts->pscheme->get_part_info(parts, id, &info)) - return false; - for (i = n; i > 0 && start[i - 1] > info.start; i--) { - start[i] = start[i - 1]; - order[i] = order[i - 1]; - } - start[i] = info.start; - order[i] = id; - n++; - } - - j = 0; - if (uefi) { - if (!parts->pscheme->get_part_device(parts, order[0], esp_dev, - sizeof esp_dev, NULL, plain_name, true, true) || - !parts->pscheme->get_part_device(parts, order[0], esp_rdev, - sizeof esp_rdev, NULL, raw_dev_name, true, true)) - return false; - j = 1; - } - boot_start = start[j]; - if (!parts->pscheme->get_part_device(parts, order[j], boot_dev, - sizeof boot_dev, NULL, plain_name, true, true) || - !parts->pscheme->get_part_device(parts, order[j], boot_rdev, - sizeof boot_rdev, NULL, raw_dev_name, true, true) || - !parts->pscheme->get_part_device(parts, order[j + 1], cgd_dev, - cgd_len, NULL, plain_name, true, true)) - return false; - return true; -} - -/* - * Everything that happens before the ordinary installation: confirm, - * partition the real disk, configure cgd0, make cgd0 the disk to install on. - * Returns 0 on success. pm is the cgd0 disk afterwards. - */ -int -cgdroot_prepare(void) -{ - char cgd_dev[SSTRSIZE]; - - strlcpy(phys_disk, pm->diskdev, sizeof phys_disk); - - if (check_swap(phys_disk, 0) > 0) { - hit_enter_to_continue(MSG_swapactive, NULL); - if (check_swap(phys_disk, 1) < 0) { - hit_enter_to_continue(MSG_swapdelfailed, NULL); - return -1; - } - } - - /* The last chance for the real disk, nothing was written yet. */ - clear(); - refresh(); - msg_fmt_display(MSG_lastchance, "%s", phys_disk); - if (!ask_noyes(NULL)) - return -1; - - if (pm->parts != NULL) { - pm->parts->pscheme->destroy_part_scheme(pm->parts); - pm->parts = NULL; - } - - uefi = md_cgdroot_uefi(); - if (run_program(RUN_DISPLAY | RUN_PROGRESS, - "gpt create -f %s", phys_disk) != 0 || - (uefi && run_program(RUN_DISPLAY | RUN_PROGRESS, - "gpt add -t efi -l EFI -s " CGD_ESP_SIZE " %s", phys_disk) != 0) || - run_program(RUN_DISPLAY | RUN_PROGRESS, - "gpt add -t ffs -l " CGD_BOOT_LABEL " -s " CGD_BOOT_SIZE " %s", - phys_disk) != 0 || - run_program(RUN_DISPLAY | RUN_PROGRESS, - "gpt add -t cgd -l " CGD_ROOT_LABEL " %s", phys_disk) != 0 || - !find_partitions(cgd_dev, sizeof cgd_dev)) { - hit_enter_to_continue(MSG_cgdroot_failed, NULL); - return -1; - } - - /* - * The key: the defaults of the partition manager (partman.c, - * pm_cgd_init), a passphrase asked twice, the volume verified by the - * disklabel that is written to cgd0 later. - */ - hit_enter_to_continue(MSG_cgdroot_passphrase, NULL); - (void)run_program(RUN_SILENT | RUN_ERROR_OK, "cgdconfig -u cgd0"); - if (run_program(RUN_DISPLAY | RUN_PROGRESS, - "cgdconfig -g -V disklabel -i encblkno1 -k pkcs5_pbkdf2/sha1" - " -o " CGD_PARAMS " aes-xts 256") != 0 || - run_program(RUN_DISPLAY | RUN_PROGRESS, - "cgdconfig -V re-enter cgd0 %s " CGD_PARAMS, cgd_dev) != 0) { - hit_enter_to_continue(MSG_cgdroot_failed, NULL); - return -1; - } - - /* From here on cgd0 is the disk the installation works on. */ - cgdroot_force_disk("cgd0"); - if (find_disks(msg_string(MSG_install), false) < 0) { - cgdroot_force_disk(NULL); - hit_enter_to_continue(MSG_cgdroot_failed, NULL); - return -1; - } - /* - * cgdroot.rc mounts /dev/cgd0a: the volume carries a disklabel, not the - * GPT that partitions_read_disk() would make for a disk without MBR. - */ - pm->parts = disklabel_parts.create_new_for_disk(pm->diskdev, 0, - pm->dlsize, true, NULL); - if (pm->parts == NULL) { - hit_enter_to_continue(MSG_cgdroot_failed, NULL); - return -1; - } - cgdroot_force_disk(NULL); - return 0; -} - -/* - * After the sets are extracted: make the boot partitions, put what the loader - * and the miniroot need into them, record them in the fstab of the new system. - * - * The cgd.conf partition (FFS) holds the kernel, the module, boot.cfg, - * cgd.conf and its parameter file; the BIOS loader reads it through the boot - * blocks. With UEFI the ESP holds the loader and a copy of boot.cfg, and the - * loader takes the first FFS partition as its default device - * (biosdisk_findpartition(): bootable_fs_part), which is cgd.conf. - */ -int -cgdroot_finish(void) -{ - char conf[PATH_MAX], esp[PATH_MAX], cdkmod[PATH_MAX], path[PATH_MAX]; - const char *kdir; /* where kernel, loader, module go */ - bool conf_mounted = false, esp_mounted = false; - FILE *f; - int rv = -1; - - snprintf(conf, sizeof conf, "%s/cgdboot", target_prefix()); - snprintf(esp, sizeof esp, "%s/cgdesp", target_prefix()); - kdir = conf; - - /* - * The medium: ext_dir_bin is //binary/sets, and the - * medium is the root of the installer when it booted from the CD - * (get_via_cdrom), or /mnt2. - */ - media_dir(cdkmod, sizeof cdkmod); - strlcat(cdkmod, "/installation/miniroot/cgdroot.kmod", sizeof cdkmod); - - /* - * The flag matters: the extra programs that come next (extras.c) take the - * CD out with umount_mnt2(), which does nothing for a mount it was not told - * about, and the next CD then could not be mounted (measured 2026-11-07: - * the encrypted installation asked for CD 3 twice). - */ - if (!mnt2_mounted && cdrom_dev[0] != '\0' && - run_program(RUN_SILENT | RUN_ERROR_OK, - "/sbin/mount -rt cd9660 /dev/%s /mnt2", cdrom_dev) == 0) - mnt2_mounted = 1; - if (access(cdkmod, R_OK) != 0) { - hit_enter_to_continue(MSG_cgdroot_nokmod, NULL); - return -1; - } - - if (run_program(RUN_DISPLAY | RUN_PROGRESS, - "/sbin/newfs -O 2 %s", boot_rdev) != 0 || - run_program(RUN_SILENT, "mkdir -p %s", conf) != 0 || - run_program(RUN_DISPLAY | RUN_PROGRESS, - "/sbin/mount -t ffs %s %s", boot_dev, conf) != 0) - goto out; - conf_mounted = true; - - if (uefi) { - if (run_program(RUN_DISPLAY | RUN_PROGRESS, - "/sbin/newfs_msdos -F 32 %s", esp_rdev) != 0 || - run_program(RUN_SILENT, "mkdir -p %s", esp) != 0 || - run_program(RUN_DISPLAY | RUN_PROGRESS, - "/sbin/mount -t msdos %s %s", esp_dev, esp) != 0) - goto out; - esp_mounted = true; - if (run_program(RUN_SILENT, "mkdir -p %s/EFI/boot %s/EFI/NetBSD", - esp, esp) != 0 || - run_program(RUN_DISPLAY | RUN_PROGRESS, - "cp %s/usr/mdec/bootx64.efi %s/EFI/boot/bootx64.efi", - target_prefix(), esp) != 0) - goto out; - } - if (!uefi && run_program(RUN_DISPLAY | RUN_PROGRESS, - "cp %s/usr/mdec/boot %s/boot", target_prefix(), conf) != 0) - goto out; - - /* The kernel and the miniroot module, where the loader reads them. */ - if (run_program(RUN_DISPLAY | RUN_PROGRESS, - "cp %s/netbsd %s/netbsd", target_prefix(), kdir) != 0 || - run_program(RUN_DISPLAY | RUN_PROGRESS, - "cp %s %s/cgdroot.kmod", cdkmod, kdir) != 0) - goto out; - - /* What cgdroot.rc reads from /etc/cgd: cgd.conf and its parameters. */ - if (run_program(RUN_DISPLAY | RUN_PROGRESS, - "cp " CGD_PARAMS " %s/cgdroot", conf) != 0 || - run_program(RUN_SILENT, "chmod 600 %s/cgdroot", conf) != 0) - goto out; - snprintf(path, sizeof path, "%s/cgd.conf", conf); - f = fopen(path, "w"); - if (f == NULL) - goto out; - fprintf(f, "cgd0 NAME=" CGD_ROOT_LABEL " /etc/cgd/cgdroot\n"); - fclose(f); - - /* boot.cfg and the boot blocks are the machine's business. */ - if (md_cgdroot_boot(conf, uefi ? esp : NULL, phys_disk, boot_rdev, - boot_start) != 0) - goto out; - - /* The boot partitions stay reachable for kernel updates. */ - f = fopen(target_expand("/etc/fstab"), "a"); - if (f != NULL) { - fprintf(f, "NAME=" CGD_BOOT_LABEL "\t/cgdboot\tffs\trw,noauto" - "\t0 0\n"); - if (uefi) - fprintf(f, "NAME=EFI\t/cgdesp\tmsdos\trw,noauto\t0 0\n"); - fclose(f); - } - rv = 0; - -out: - if (esp_mounted) - (void)run_program(RUN_SILENT | RUN_ERROR_OK, - "/sbin/umount %s", esp); - if (conf_mounted) - (void)run_program(RUN_SILENT | RUN_ERROR_OK, - "/sbin/umount %s", conf); - if (rv != 0) - hit_enter_to_continue(MSG_cgdroot_failed, NULL); - return rv; -} - -#endif /* CGDROOT */ diff --git a/overlay/usr.sbin/sysinst/checkrc.c b/overlay/usr.sbin/sysinst/checkrc.c deleted file mode 100644 index 9a912b5d61..0000000000 --- a/overlay/usr.sbin/sysinst/checkrc.c +++ /dev/null @@ -1,117 +0,0 @@ -/* $NetBSD: checkrc.c,v 1.3 2021/01/31 22:45:46 rillig Exp $ */ - -/*- - * Copyright (c) 2012 The NetBSD Foundation, Inc. - * All rights reserved. - * - * This code is derived from software contributed to The NetBSD Foundation - * by Jeffrey C. Rizzo - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ - -/* checkrc.c -- Create a script on the target to check the state of - * its rc.conf variables. */ - -#include -#include -#include -#include "defs.h" -#include "msg_defs.h" -#include "menu_defs.h" - -#define RC_CHECK_SCRIPT "/tmp/checkrc.sh" - -static int create_script(const char *, int); -static int check(const char *, int); - -char *rcconf = NULL; - -enum { - CHECK_CONF, - CHECK_DEFAULT -}; - -static int -create_script(const char *varname, int filetocheck) -{ - FILE *fp; - - if ((fp = fopen(target_expand(RC_CHECK_SCRIPT), "w")) == NULL) { - if (logfp) - fprintf(logfp,"Could not open %s for writing", - target_expand(RC_CHECK_SCRIPT)); - warn("Could not open %s for writing", - target_expand(RC_CHECK_SCRIPT)); - return 1; - } - - if (filetocheck == CHECK_DEFAULT) - fprintf(fp, "#!/bin/sh\n. /etc/defaults/rc.conf\n" - ". /etc/rc.subr\n"); - else - fprintf(fp, "#!/bin/sh\n. /etc/rc.conf\n. /etc/rc.subr\n"); - fprintf(fp, "if checkyesno %s\nthen\necho YES\nelse\necho NO\nfi\n", - varname); - - fclose(fp); - return 0; -} - -static int -check(const char *varname, int filetocheck) -{ - char *buf; - int rv; - - create_script(varname, filetocheck); - - if (target_already_root()) - collect(T_OUTPUT, &buf, "/bin/sh %s 2>&1", RC_CHECK_SCRIPT); - else - collect(T_OUTPUT, &buf, "chroot %s /bin/sh %s 2>&1", - target_prefix(), RC_CHECK_SCRIPT); - - - unlink(target_expand(RC_CHECK_SCRIPT)); - - if (logfp) { - fprintf(logfp,"var %s is %s\n", varname, buf); - fflush(logfp); - } - - rv = strncmp(buf, "YES", strlen("YES")) == 0; - free(buf); - return rv; -} - -int -check_rcvar(const char *varname) -{ - return check(varname, CHECK_CONF); -} - -int -check_rcdefault(const char *varname) -{ - return check(varname, CHECK_DEFAULT); -} diff --git a/overlay/usr.sbin/sysinst/configmenu.c b/overlay/usr.sbin/sysinst/configmenu.c deleted file mode 100644 index 43faf4b2e2..0000000000 --- a/overlay/usr.sbin/sysinst/configmenu.c +++ /dev/null @@ -1,737 +0,0 @@ -/* $NetBSD: configmenu.c,v 1.26 2026/06/26 19:03:49 martin Exp $ */ - -/*- - * Copyright (c) 2012 The NetBSD Foundation, Inc. - * All rights reserved. - * - * This code is derived from software contributed to The NetBSD Foundation - * by Jeffrey C. Rizzo - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ - -/* configmenu.c -- post-installation system configuration menu. */ - -#include -#include -#include -#include -#include -#include "defs.h" -#include "msg_defs.h" -#include "menu_defs.h" - - -static int set_network(struct menudesc*, void *); -static int set_timezone_menu(struct menudesc *, void *); -static int set_root_shell(struct menudesc *, void *); -static int change_root_password(struct menudesc *, void *); -static int add_new_user(struct menudesc *, void *); -#if CHECK_ENTROPY -static int add_entropy(struct menudesc *, void *); -#endif -static int set_binpkg(struct menudesc *, void *); -static int set_pkgsrc(struct menudesc *, void *); -static void config_list_init(void); -static void get_rootsh(void); -static int toggle_rcvar(struct menudesc *, void *); -static int toggle_mdnsd(struct menudesc *, void *); -static void configmenu_hdr(struct menudesc *, void *); -static int check_root_password(void); -static int run_bin_sh(struct menudesc *, void *); -static int time_and_date_setup(struct menudesc *menu, void *arg); -static void time_and_date_hdr(struct menudesc *, void *); - -char pkgpath[STRSIZE]; -char pkgsrcpath[STRSIZE]; - -extern const char *tz_default; -char cur_date_time[28]; -static const char generic_date_time_fmt[] = "%a, %d %b %Y %X"; - -enum { - CONFIGOPT_NETCONF, - CONFIGOPT_TZ, - CONFIGOPT_SETDATETIME, - CONFIGOPT_ROOTSH, - CONFIGOPT_ROOTPW, - CONFIGOPT_BINPKG, - CONFIGOPT_PKGSRC, - CONFIGOPT_SSHD, - CONFIGOPT_NTPD, - CONFIGOPT_NTPDATE, - CONFIGOPT_MDNSD, - CONFIGOPT_XDM, - CONFIGOPT_CGD, - CONFIGOPT_LVM, - CONFIGOPT_RAIDFRAME, - CONFIGOPT_ADDUSER, - CONFIGOPT_ADD_ENTROPY, - CONFIGOPT_RUN_SH, - CONFIGOPT_LAST -}; - -typedef struct configinfo { - const char *optname; - uint opt; - const char *rcvar; - int (*action)(struct menudesc *, void *); - const char *setting; -} configinfo; - - -configinfo config_list[] = { - {MSG_Configure_network, CONFIGOPT_NETCONF, NULL, set_network, MSG_configure}, - {MSG_timezone, CONFIGOPT_TZ, NULL, set_timezone_menu, NULL}, - {MSG_setdatetime, CONFIGOPT_SETDATETIME, NULL, time_and_date_setup, NULL}, - {MSG_Root_shell, CONFIGOPT_ROOTSH, NULL, set_root_shell, NULL}, - {MSG_change_rootpw, CONFIGOPT_ROOTPW, NULL, change_root_password, MSG_change}, - {MSG_enable_binpkg, CONFIGOPT_BINPKG, NULL, set_binpkg, MSG_install}, - {MSG_get_pkgsrc, CONFIGOPT_PKGSRC, NULL, set_pkgsrc, MSG_install}, - {MSG_enable_sshd, CONFIGOPT_SSHD, "sshd", toggle_rcvar, NULL}, - {MSG_enable_ntpd, CONFIGOPT_NTPD, "ntpd", toggle_rcvar, NULL}, - {MSG_run_ntpdate, CONFIGOPT_NTPDATE, "ntpdate", toggle_rcvar, NULL}, - {MSG_enable_mdnsd, CONFIGOPT_MDNSD, "mdnsd", toggle_mdnsd, NULL}, - {MSG_enable_xdm, CONFIGOPT_XDM, "xdm", toggle_rcvar, NULL}, - {MSG_enable_cgd, CONFIGOPT_CGD, "cgd", toggle_rcvar, NULL}, - {MSG_enable_lvm, CONFIGOPT_LVM, "lvm", toggle_rcvar, NULL}, - {MSG_enable_raid, CONFIGOPT_RAIDFRAME, "raidframe", toggle_rcvar, NULL}, - {MSG_add_a_user, CONFIGOPT_ADDUSER, NULL, add_new_user, ""}, -#if CHECK_ENTROPY - {MSG_Configure_entropy, CONFIGOPT_ADD_ENTROPY, NULL, add_entropy, ""}, -#endif - {MSG_Run_bin_sh, CONFIGOPT_RUN_SH, NULL, run_bin_sh, ""}, - {NULL, CONFIGOPT_LAST, NULL, NULL, NULL} -}; - -static void -config_list_init(void) -{ - int i; - - for (i=0; i < CONFIGOPT_LAST; i++) { - switch (i) { - case CONFIGOPT_TZ: - get_tz_default(); - config_list[CONFIGOPT_TZ].setting = tz_default; - break; - case CONFIGOPT_SETDATETIME: - { - time_t now = time(NULL); - struct tm *lt = localtime(&now); - strftime(cur_date_time, sizeof(cur_date_time), - generic_date_time_fmt, lt); - config_list[CONFIGOPT_SETDATETIME].setting = - cur_date_time; - break; - } - case CONFIGOPT_ROOTSH: - get_rootsh(); - break; - case CONFIGOPT_ROOTPW: - if (check_root_password()) - config_list[i].setting = MSG_password_set; - else - config_list[i].setting = MSG_empty; - break; - default: - if (config_list[i].rcvar != NULL) { - if (check_rcvar(config_list[i].rcvar)) - config_list[i].setting = MSG_YES; - else - config_list[i].setting = MSG_NO; - } - break; - } - } -} - -static void -get_rootsh(void) -{ - static char *buf = NULL; - - if (buf != NULL) - free(buf); - - if (target_already_root()) - collect(T_OUTPUT, &buf, - "/usr/bin/awk -F: '$1==\"root\" { print $NF; exit }'" - " /etc/passwd"); - else - collect(T_OUTPUT, &buf, - "chroot %s /usr/bin/awk -F: '$1==\"root\" { print $NF; exit }'" - " /etc/passwd",target_prefix()); - - config_list[CONFIGOPT_ROOTSH].setting = (const char *)buf; -} - -static void -set_config(menudesc *menu, int opt, void *arg) -{ - configinfo **configp = arg; - configinfo *config = configp[opt]; - const char *optname, *setting; - - optname = config->optname; - setting = msg_string(config->setting); - - wprintw(menu->mw, opt == CONFIGOPT_SETDATETIME ? - "%-30s %40s" : "%-50s %-10s", msg_string(optname), setting); -} - -static int -init_config_menu(configinfo *conf, menu_ent *me, configinfo **ce) -{ - int opt; - int configopts; - - for (configopts = 0; ; conf++) { - opt = conf->opt; - if (opt == CONFIGOPT_LAST) - break; -#if CHECK_ENTROPY - if (opt == CONFIGOPT_ADD_ENTROPY && entropy_needed() == 0) - continue; -#endif - *ce = conf; - memset(me, 0, sizeof(*me)); - me->opt_action = conf->action; - configopts++; - ce++; - me++; - } - - return configopts; -} - -static int -/*ARGSUSED*/ -set_timezone_menu(struct menudesc *menu, void *arg) -{ - configinfo **confp = arg; - set_timezone(); - get_tz_default(); - confp[menu->cursel]->setting = tz_default; - return 0; -} - -static int -set_root_shell(struct menudesc *menu, void *arg) -{ - configinfo **confp = arg; - - process_menu(MENU_rootsh, &confp[menu->cursel]->setting); - if (run_program(RUN_PROGRESS | RUN_CHROOT, - "chpass -s %s root", confp[menu->cursel]->setting) != 0) - confp[menu->cursel]->setting = MSG_failed; - return 0; -} - -static int -set_network(struct menudesc *menu, void *arg) -{ - network_up = 0; - if (config_network(1)) - mnt_net_config(); - return 0; -} - -static int -check_root_password(void) -{ - char *buf; - int rval; - - if (target_already_root()) - collect(T_OUTPUT, &buf, "getent passwd root | cut -d: -f2"); - else - collect(T_OUTPUT, &buf, "chroot %s getent passwd root | " - "chroot %s cut -d: -f2", - target_prefix(), target_prefix()); - - if (logfp) - fprintf(logfp,"buf %s strlen(buf) %zu\n", buf, strlen(buf)); - - if (strlen(buf) <= 1) /* newline */ - rval = 0; - else - rval = 1; - free(buf); - return rval; -} - -#if CHECK_ENTROPY -static int -add_entropy(struct menudesc *menu, void *arg) -{ - do_add_entropy(); - return 0; -} -#endif - -static int -add_new_user(struct menudesc *menu, void *arg) -{ - char username[STRSIZE] = ""; - int inwheel=0; - - msg_prompt(MSG_addusername, NULL, username, sizeof username -1); - if (strlen(username) == 0) - return 0; - inwheel = ask_yesno(MSG_addusertowheel); - ushell = "/bin/csh"; - process_menu(MENU_usersh, NULL); - if (inwheel) - run_program(RUN_PROGRESS | RUN_CHROOT, - "/usr/sbin/useradd -m -s %s -G wheel %s", - ushell, username); - else - run_program(RUN_PROGRESS | RUN_CHROOT, - "/usr/sbin/useradd -m -s %s %s", ushell, username); - run_program(RUN_DISPLAY | RUN_PROGRESS | RUN_CHROOT, - "passwd -l %s", username); - return 0; -} - -void -root_pw_setup(void) -{ - msg_display(MSG_force_rootpw); - run_program(RUN_DISPLAY | RUN_PROGRESS | RUN_CHROOT | RUN_STDSCR, - "passwd -l root"); -} - -static int -change_root_password(struct menudesc *menu, void *arg) -{ - configinfo **confp = arg; - - msg_display(MSG_rootpw); - if (ask_yesno(NULL)) { - if (run_program(RUN_DISPLAY | RUN_PROGRESS | RUN_CHROOT, - "passwd -l root") == 0) - confp[menu->cursel]->setting = MSG_password_set; - else - confp[menu->cursel]->setting = MSG_failed; - } - return 0; -} - -static int -set_binpkg(struct menudesc *menu, void *arg) -{ - configinfo **confp = arg; - char additional_pkgs[STRSIZE] = {0}; - int allok = 0; - arg_rv parm; - bool remove_target_resolv = false; - - if (config_network(0)) - mnt_net_config(); - - if (access(target_expand("/etc/resolv.conf"), R_OK) != 0) { - dup_file_into_target("/etc/resolv.conf"); - remove_target_resolv = true; - } - - do { - parm.rv = -1; - parm.arg = additional_pkgs; - process_menu(MENU_binpkg, &parm); - if (parm.rv == SET_SKIP) { - confp[menu->cursel]->setting = MSG_abandoned; - return 0; - } - - make_url(pkgpath, &pkg, pkg_dir); - if (run_program(RUN_DISPLAY | RUN_PROGRESS | RUN_CHROOT, - "pkg_add %s/pkgin", pkgpath) == 0) { - allok = 1; - } - } while (allok == 0); - - /* configure pkgin to use $pkgpath as a repository */ - replace("/usr/pkg/etc/pkgin/repositories.conf", "s,^[^#].*$,%s,", - pkgpath); - - run_program(RUN_DISPLAY | RUN_PROGRESS | RUN_CHROOT, - "/usr/pkg/bin/pkgin -y update"); - - if (strlen(additional_pkgs) > 0) - run_program(RUN_DISPLAY | RUN_PROGRESS | RUN_CHROOT, - "/usr/pkg/bin/pkgin -y install %s", additional_pkgs); - - hit_enter_to_continue(MSG_binpkg_installed, NULL); - - if (remove_target_resolv) - unlink(target_expand("/etc/resolv.conf")); - - confp[menu->cursel]->setting = MSG_DONE; - return 0; -} - -static int -set_pkgsrc(struct menudesc *menu, void *arg) -{ - configinfo **confp = arg; - distinfo dist; - - dist.name = "pkgsrc"; - dist.set = SET_PKGSRC; - dist.desc = "source for 3rd-party packages"; - dist.marker_file = NULL; - - int status = SET_RETRY; - - do { - status = get_pkgsrc(); - if (status == SET_OK) { - status = extract_file(&dist, 0); - continue; - } else if (status == SET_SKIP) { - confp[menu->cursel]->setting = MSG_abandoned; - return 0; - } - if (!ask_yesno(MSG_retry_pkgsrc_network)) { - confp[menu->cursel]->setting = MSG_abandoned; - return 1; - } - } - while (status == SET_RETRY); - - confp[menu->cursel]->setting = MSG_DONE; - return 0; -} - -static int -toggle_rcvar(struct menudesc *menu, void *arg) -{ - configinfo **confp = arg; - int s; - const char *setting, *varname; - char pattern[STRSIZE]; - char buf[STRSIZE]; - char *cp; - int found = 0; - FILE *fp; - - varname = confp[menu->cursel]->rcvar; - - s = check_rcvar(varname); - - /* we're toggling, so invert the sense */ - if (s) { - confp[menu->cursel]->setting = MSG_NO; - setting = "NO"; - } else { - confp[menu->cursel]->setting = MSG_YES; - setting = "YES"; - } - - if (!(fp = fopen(target_expand("/etc/rc.conf"), "r"))) { - msg_fmt_display(MSG_openfail, "%s%s", - target_expand("/etc/rc.conf"), strerror(errno)); - hit_enter_to_continue(NULL, NULL); - return 0; - } - - while (fgets(buf, sizeof buf, fp) != NULL) { - cp = buf + strspn(buf, " \t"); /* Skip initial spaces */ - if (strncmp(cp, varname, strlen(varname)) == 0) { - cp += strlen(varname); - if (*cp != '=') - continue; - buf[strlen(buf) - 1] = 0; - snprintf(pattern, sizeof pattern, - "s,^%s$,%s=%s,", - buf, varname, setting); - found = 1; - break; - } - } - - fclose(fp); - - if (!found) { - add_rc_conf("%s=%s\n", varname, setting); - if (logfp) { - fprintf(logfp, "adding %s=%s\n", varname, setting); - fflush(logfp); - } - } else { - if (logfp) { - fprintf(logfp, "replacement pattern is %s\n", pattern); - fflush(logfp); - } - replace("/etc/rc.conf", "%s", pattern); - } - - return 0; -} - -static int -toggle_mdnsd(struct menudesc *menu, void *arg) -{ - configinfo **confp = arg; - int s; - const char *setting, *varname; - - varname = confp[menu->cursel]->rcvar; - - s = check_rcvar(varname); - - /* we're toggling, so invert the sense */ - if (s) { - confp[menu->cursel]->setting = MSG_NO; - setting = "files dns"; - } else { - confp[menu->cursel]->setting = MSG_YES; - setting = "files multicast_dns dns"; - } - - if (logfp) { - fprintf(logfp, "setting hosts: %s\n", setting); - fflush(logfp); - } - replace("/etc/nsswitch.conf", "s/^hosts:.*/hosts:\t\t%s/", setting); - - toggle_rcvar(menu, arg); - - return 0; -} - -static int -run_bin_sh(struct menudesc *menu, void *arg) -{ - endwin(); - system("/bin/sh -i -E"); - - return 0; -} - -static int -time_and_date_setup(struct menudesc *menu, void *arg) -{ - do_time_and_date_setup(""); - return 0; -} - -static void -configmenu_hdr(struct menudesc *menu, void *arg) -{ - msg_display(MSG_configmenu); -} - -void -do_configmenu(struct install_partition_desc *install) -{ - int menu_no; - int opts; - menu_ent me[CONFIGOPT_LAST]; - configinfo *ce[CONFIGOPT_LAST]; - - memset(me, 0, sizeof(me)); - - /* if the target isn't mounted already, figure it out. */ - if (install != NULL && target_mounted() == 0) { - partman_go = 0; - if (find_disks(msg_string(MSG_configure_prior), true) < 0) - return; - - if (mount_disks(install) != 0) - return; - } - - config_list_init(); - make_url(pkgpath, &pkg, pkg_dir); - opts = init_config_menu(config_list, me, ce); - - wrefresh(curscr); - wmove(stdscr, 0, 0); - wclear(stdscr); - wrefresh(stdscr); - - menu_no = new_menu(NULL, me, opts, 0, -4, 0, 70, - MC_SCROLL | MC_NOBOX | MC_DFLTEXIT, - configmenu_hdr, set_config, NULL, NULL, - MSG_doneconfig); - - process_menu(menu_no, ce); - free_menu(menu_no); -} - -static const msg struct_tm_opt_names[] = -{ MSG_year, MSG_month, MSG_day, MSG_hour, MSG_minute, MSG_time_ok }; - -struct date_and_time_menu_arg -{ - const char *header; - struct tm new_time; -}; - -static void -fill_date_time_val(char *buf, size_t sizeof_buf, int opt, - const struct date_and_time_menu_arg *time_opts) -{ - switch (opt) { - case 0: - strftime(buf, sizeof_buf, "%Y", &time_opts->new_time); - break; - case 1: - strftime(buf, sizeof_buf, "%m", &time_opts->new_time); - break; - case 2: - strftime(buf, sizeof_buf, "%d", &time_opts->new_time); - break; - case 3: - strftime(buf, sizeof_buf, "%H", &time_opts->new_time); - break; - case 4: - strftime(buf, sizeof_buf, "%M", &time_opts->new_time); - break; - } -} - -static void -update_new_time(menudesc *menu, int opt, void *arg) -{ - char buf[50]; - - fill_date_time_val(buf, sizeof(buf), opt, arg); - - wprintw(menu->mw, "%-30s %-10s", msg_string(struct_tm_opt_names[opt]), - buf); -} - -static int -set_new_time(menudesc *menu, void *arg) -{ - struct date_and_time_menu_arg *ma = arg; - struct timeval tv; - - memset(&tv, 0, sizeof(tv)); - tv.tv_sec = mktime(&ma->new_time); - settimeofday(&tv, NULL); - - return 1; -} - -static int -time_and_date_update(struct menudesc *menu, void *arg) -{ - struct date_and_time_menu_arg *ma = arg; - char buf[50]; - struct tm saved_time; - - buf[0] = 0; - - msg_prompt_win(struct_tm_opt_names[menu->cursel], -1, 18, 0, 0, - "", buf, sizeof(buf)); - - saved_time = ma->new_time; - switch (menu->cursel) { - case 0: - ma->new_time.tm_year = atoi(buf)-1900; - break; - case 1: - ma->new_time.tm_mon = atoi(buf)-1; - break; - case 2: - ma->new_time.tm_mday = atoi(buf); - break; - case 3: - ma->new_time.tm_hour = atoi(buf); - break; - case 4: - ma->new_time.tm_min = atoi(buf); - break; - } - - if (mktime(&ma->new_time) == -1) - ma->new_time = saved_time; - - return 0; -} - -static void -time_and_date_hdr(struct menudesc *menuitem, void *arg) -{ - const struct date_and_time_menu_arg *ma = arg; - - strftime(cur_date_time, sizeof(cur_date_time), - generic_date_time_fmt, &ma->new_time); - - msg_display_subst(MSG_date_and_time_hdr, 2, ma->header, cur_date_time); -} - -void -do_time_and_date_setup(const char *header) -{ - int menu_no; -#define NUM_DATE_TIME_ITEMS 6 /* year, month, day, hour, min, - save */ - menu_ent me[CONFIGOPT_LAST]; - struct date_and_time_menu_arg menu_arg; - time_t now; - - wrefresh(curscr); - wmove(stdscr, 0, 0); - wclear(stdscr); - wrefresh(stdscr); - - memset(me, 0, sizeof(me)); - for (size_t i = 0; i < NUM_DATE_TIME_ITEMS-1; i++) - me[i].opt_action = time_and_date_update; - me[NUM_DATE_TIME_ITEMS-1].opt_action = set_new_time; - me[NUM_DATE_TIME_ITEMS-1].opt_flags = OPT_EXIT; - - now = time(NULL); - menu_arg.header = msg_string(header); - menu_arg.new_time = *localtime(&now); - - menu_no = new_menu(NULL, me, NUM_DATE_TIME_ITEMS, 0, -4, 0, 70, - MC_SCROLL | MC_NOBOX | MC_DFLTEXIT, - time_and_date_hdr, update_new_time, NULL, NULL, - MSG_cancel); - - process_menu(menu_no, &menu_arg); - free_menu(menu_no); -} - -/* - * Makronix simple installation (setup.c): the same entries of this menu, - * called while the target is still mounted. - */ -void -makronix_config_network(void) -{ - - (void)set_network(NULL, NULL); -} - -void -makronix_config_user(void) -{ - - (void)add_new_user(NULL, NULL); -} diff --git a/overlay/usr.sbin/sysinst/defs.h b/overlay/usr.sbin/sysinst/defs.h deleted file mode 100644 index 8d58d60290..0000000000 --- a/overlay/usr.sbin/sysinst/defs.h +++ /dev/null @@ -1,1083 +0,0 @@ -/* $NetBSD: defs.h,v 1.99 2026/09/03 02:12:15 gutteridge Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -#ifndef _DEFS_H_ -#define _DEFS_H_ - -/* defs.h -- definitions for use in the sysinst program. */ - -/* System includes needed for this. */ -#include -#include -#include -#include -#include - -const char *getfslabelname(uint, uint); - -#include "msg_defs.h" -#include "menu_defs.h" -#include "partitions.h" - -#define min(a,b) ((a) < (b) ? (a) : (b)) -#define max(a,b) ((a) > (b) ? (a) : (b)) - -/* constants */ -#define MEG (1024UL * 1024UL) -#define GIG (1024UL * MEG) -#define STRSIZE 255 -#define MENUSTRSIZE 80 -#define SSTRSIZE 30 -#define DISKNAMESIZE 24 /* max(strlen("/dev/rsd22c")) */ - -/* these are used for different alignment defaults */ -#define HUGE_DISK_SIZE (daddr_t)(128 * (GIG / 512)) -#define TINY_DISK_SIZE (daddr_t)(1800 * (MEG / 512)) - -/* - * if a system does not have more ram (in MB) than this, swap will be enabled - * very early (as soon as the swap partition has been created) - */ -#ifdef EXTRACT_NEEDS_BIG_RAM /* we use an expensive decompressor */ -#define TINY_RAM_SIZE 256 -#else -#define TINY_RAM_SIZE 32 -#endif - -/* - * if a system has less ram (in MB) than this, we will not create a - * tmpfs /tmp by default (to workaround PR misc/54886) - */ -#define SMALL_RAM_SIZE 384 - -/* helper macros to create unique internal error messages */ -#define STR_NO(STR) #STR -#define TO_STR(NO) STR_NO(NO) -#define INTERNAL_ERROR __FILE__ ":" TO_STR(__LINE__) ": internal error" - -/* For run.c: collect() */ -#define T_FILE 0 -#define T_OUTPUT 1 - -/* Some install status/response values */ -#define SET_OK 0 /* Set extracted */ -#define SET_RETRY 1 /* Retry */ -#define SET_SKIP 2 /* Skip this set */ -#define SET_SKIP_GROUP 3 /* Skip this set and rest of group */ -#define SET_ABANDON 4 /* Abandon installation */ -#define SET_CONTINUE 5 /* Continue (copy from floppy loop) */ - -/* run_prog flags */ -#define RUN_DISPLAY 0x0001 /* Display program output */ -#define RUN_FATAL 0x0002 /* errors are fatal */ -#define RUN_CHROOT 0x0004 /* chroot to target disk */ -#define RUN_FULLSCREEN 0x0008 /* fullscreen (use with RUN_DISPLAY) */ -#define RUN_SILENT 0x0010 /* Do not show output */ -#define RUN_ERROR_OK 0x0040 /* Don't wait for error confirmation */ -#define RUN_PROGRESS 0x0080 /* Output is just progess test */ -#define RUN_NO_CLEAR 0x0100 /* Leave program output after error */ -#define RUN_XFER_DIR 0x0200 /* cd to xfer_dir in child */ -#define RUN_STDSCR 0x0400 /* run program in standard screen */ - -/* for bsddisklabel.c */ -enum layout_type { - LY_KEEPEXISTING, /* keep existing partitions */ - LY_OTHERSCHEME, /* delete all, select new partitioning scheme */ - LY_SETSIZES, /* edit sizes */ - LY_USEDEFAULT, /* use default sizes */ - LY_USEFULL, /* use full disk for NetBSD */ - LY_USENONE, /* start with empty partitions, manual mode */ - LY_ERROR /* used for "abort" in menu */ -}; - -enum setup_type { SY_NEWRAID, SY_NEWCGD, SY_NEWLVM }; - -/* Installation sets */ -enum { - SET_NONE, - SET_KERNEL_FIRST, - SET_KERNEL_1, /* Usually GENERIC */ - SET_KERNEL_2, /* MD kernel... */ - SET_KERNEL_3, /* MD kernel... */ - SET_KERNEL_4, /* MD kernel... */ - SET_KERNEL_5, /* MD kernel... */ - SET_KERNEL_6, /* MD kernel... */ - SET_KERNEL_7, /* MD kernel... */ - SET_KERNEL_8, /* MD kernel... */ - SET_KERNEL_9, /* MD kernel... */ - SET_KERNEL_LAST, /* allow 9 kernels */ - - /* System sets */ - SET_BASE, /* base */ - SET_BASE32, /* base 32-bit compat libs */ - SET_BASE64, /* base 64-bit compat libs */ - SET_ETC, /* /etc */ - SET_COMPILER, /* compiler tools */ - SET_DTB, /* devicetree hardware descriptions */ - SET_GAMES, /* text games */ - SET_GPUFW, /* GPU firmware files */ - SET_MAKRONIX, /* userland built from pkgsrc, under /usr/pkg */ - SET_MAN_PAGES, /* manual pages */ - SET_MAN_PAGES_HTML, /* manual pages (HTML) */ - SET_MISC, /* miscellaneuous */ - SET_MODULES, /* kernel modules */ - SET_RESCUE, /* /rescue recovery tools */ - SET_TESTS, /* tests */ - SET_TEXT_TOOLS, /* text processing tools */ - - /* X11 sets */ - SET_X11_FIRST, - SET_X11_BASE, /* X11 base and clients */ - SET_X11_FONTS, /* X11 fonts */ - SET_X11_SERVERS, /* X11 servers */ - SET_X11_PROG, /* X11 programming */ - SET_X11_ETC, /* X11 config */ - SET_X11_LAST, - - /* Machine dependent sets */ - SET_MD_1, /* Machine dependent set */ - SET_MD_2, /* Machine dependent set */ - SET_MD_3, /* Machine dependent set */ - SET_MD_4, /* Machine dependent set */ - - /* Source sets */ - SET_SYSSRC, - SET_SRC, - SET_SHARESRC, - SET_GNUSRC, - SET_XSRC, - SET_MSRC, /* pkgsrc, patches, tools, distfiles: usr/msrc */ - - /* Debug sets */ - SET_DEBUG, - SET_DEBUG32, - SET_DEBUG64, - SET_X11_DEBUG, - - SET_LAST, - SET_GROUP, /* Start of submenu */ - SET_GROUP_END, /* End of submenu */ - SET_PKGSRC, /* pkgsrc, not counted as regular set */ -}; - -/* Initialisers to select sets */ -/* All kernels */ -#define SET_KERNEL SET_KERNEL_1, SET_KERNEL_2, SET_KERNEL_3, SET_KERNEL_4, \ - SET_KERNEL_5, SET_KERNEL_6, SET_KERNEL_7, SET_KERNEL_8 -#ifdef HAVE_MODULES -#define WITH_MODULES SET_MODULES, -#else -#define WITH_MODULES -#endif -/* Core system sets */ -#ifdef HAVE_DTB -#define WITH_DTB SET_DTB, -#else -#define WITH_DTB -#endif -#define SET_CORE WITH_MODULES SET_BASE, WITH_DTB SET_GPUFW, SET_ETC -/* All system sets */ -#define SET_SYSTEM SET_CORE, SET_MAKRONIX, SET_BASE32, SET_BASE64, \ - SET_COMPILER, SET_GAMES, \ - SET_MAN_PAGES, SET_MAN_PAGES_HTML, \ - SET_MISC, SET_RESCUE, \ - SET_TESTS, SET_TEXT_TOOLS -/* All X11 sets */ -#define SET_X11_NOSERVERS SET_X11_BASE, SET_X11_FONTS, SET_X11_PROG, SET_X11_ETC -#define SET_X11 SET_X11_NOSERVERS, SET_X11_SERVERS - -/* All machine dependent sets */ -#define SET_MD SET_MD_1, SET_MD_2, SET_MD_3, SET_MD_4 - -/* All source sets */ -#define SET_SOURCE SET_SYSSRC, SET_SRC, SET_SHARESRC, SET_GNUSRC, SET_XSRC, \ - SET_MSRC - -/* All debug sets */ -#define SET_DEBUGGING SET_DEBUG, SET_X11_DEBUG - -/* Set list flags */ -#define SFLAG_MINIMAL 1 -#define SFLAG_NOX 2 - -/* Round up to the next full cylinder size */ -#define NUMSEC(size, sizemult, cylsize) \ - ((sizemult) == 1 ? (size) : \ - roundup((size) * (sizemult), (cylsize))) - -/* What FS type? */ -#define PI_ISBSDFS(PI) (PI_FSTYPE(PI) == FS_BSDLFS || \ - PI_FSTYPE(PI) == FS_BSDFFS) - -/* - * We do not offer CDs or floppies as installation target usually. - * Architectures might want to undefine if they want to allow - * these devices or redefine if they have unusual CD device names. - * Do not define to empty or an empty string, undefine instead. - */ -#define CD_NAMES "cd*" -#define FLOPPY_NAMES "fd*" - -/* Types */ - -/* pass a void* argument into a menu and also provide a int return value */ -typedef struct arg_rv { - void *arg; - int rv; -} arg_rv; - -/* - * A minimal argument for menus using string replacements - */ -typedef struct arg_replace { - const char **argv; - size_t argc; -} arg_replace; - -/* - * pass a parameter array (for string replacements) into a menu and provide - * an integer return value - */ -typedef struct arg_rep_int { - arg_replace args; - int rv; -} arg_rep_int; - -typedef struct distinfo { - const char *name; - uint set; - bool force_tgz; /* this set is always in .tgz format */ - const char *desc; - const char *marker_file; /* set assumed installed if exists */ -} distinfo; - -#define MOUNTLEN 20 - - -/* - * A description of a future partition and its usage. - * A list of this is the output of the first stage partition - * editor, before it gets transformed into a concrete partition - * layout according to the partitioning scheme backend. - */ -struct part_usage_info { - daddr_t size; /* thumb guestimate of size, - * [sec if positive, %-of-ram - * if TMPFS and negative] - */ - daddr_t def_size; /* default size */ - daddr_t limit; /* max size */ - char mount[MOUNTLEN]; /* where will we mount this? */ - enum part_type type; /* PT_root/PT_swap/PT_EFI_SYSTEM */ - -#define PUIFLAG_EXTEND 1 /* extend this part if free space - * is available */ -#define PUIFLAG_ADD_OUTER 2 /* Add this partition to the outer - * partitions (if available) */ -#define PUIFLG_IS_OUTER 4 /* this is an existing outer one */ -#define PUIFLG_ADD_INNER 8 /* add outer also to inner */ -#define PUIFLG_JUST_MOUNTPOINT 16 /* tmpfs of mfs mountpoints */ -#define PUIFLG_CLONE_PARTS 32 /* clone external partitions */ - uint flags; - struct disk_partitions *parts; /* Where does this partition live? - * We currently only support - * a single disk, but we plan to - * extend that. - * Use pm->parts to access - * the partitions. */ - part_id cur_part_id; /* this may change, but we try to - * fix it up after all changes */ - daddr_t cur_start; /* may change during editing, just - * used as a unique identifier */ - uint32_t cur_flags; /* PTI_* flags from disk_part_info */ - -#define PUIMNT_ASYNC 0x0001 /* mount -o async */ -#define PUIMNT_NOATIME 0x0002 /* mount -o noatime */ -#define PUIMNT_NODEV 0x0004 /* mount -o nodev */ -#define PUIMNT_NODEVMTIME 0x0008 /* mount -o nodevmtime */ -#define PUIMNT_NOEXEC 0x0010 /* mount -o noexec */ -#define PUIMNT_NOSUID 0x0020 /* mount -o nosuid */ -#define PUIMNT_LOG 0x0040 /* mount -o log */ -#define PUIMNT_NOAUTO 0x0080 /* "noauto" fstab flag */ - unsigned int mountflags; /* flags for fstab */ -#define PUIINST_NEWFS 0x0001 /* need to 'newfs' partition */ -#define PUIINST_MOUNT 0x0002 /* need to mount partition */ -#define PUIINST_BOOT 0x0004 /* this is a boot partition */ - unsigned int instflags; /* installer handling flags */ - uint fs_type, fs_version; /* e.g. FS_LFS, or FS_BSDFS, - * version = 2 for FFSv2 */ - uint fs_opt1, fs_opt2, fs_opt3; /* FS specific, FFS: block/frag */ -#ifndef NO_CLONES - /* - * Only != NULL when PUIFLG_CLONE_PARTS is set, describes the - * source partitions to clone here. - */ - struct selected_partitions *clone_src; - /* - * If clone_src != NULL, this record corresponds to a single - * selected source partition, if clone_ndx is a valid index in clone_src - * (>= 0 && <= clone_src->num_sel, or all of them if clone_ndx = ~0U. - */ - size_t clone_ndx; -#endif -}; - -/* - * A list of partition suggestions, bundled for editing - */ -struct partition_usage_set { - struct disk_partitions *parts; /* main partition table */ - size_t num; /* number of infos */ - struct part_usage_info *infos; /* 0 .. num-1 */ - struct disk_partitions **write_back; - /* partition tables from which we - * did delete some partitions and - * that need updating, even if - * no active partition remains. */ - size_t num_write_back; /* number of write_back */ - daddr_t cur_free_space; /* estimate of free sectors */ - daddr_t reserved_space; /* space we are not allowed to use */ - menu_ent *menu_opts; /* 0 .. num+N */ - int menu; /* the menu to edit this */ - bool ok; /* ok to continue (all fit) */ -}; - -/* - * A structure we pass around in menus that edit a single partition out - * of a partition_usage_set. - */ -struct single_part_fs_edit { - struct partition_usage_set *pset; - size_t index, first_custom_attr, offset, mode; - part_id id; - struct disk_part_info info; /* current partition data */ - struct part_usage_info *wanted; /* points at our edit data */ - - /* - * "Backup" of old data, so we can restore previous values - * ("undo"). - */ - struct part_usage_info old_usage; - struct disk_part_info old_info; - - /* menu return value */ - int rv; -}; - -/* - * Description of a full target installation, all partitions and - * devices (may be across several struct pm_devs / disks). - */ -struct install_partition_desc { - size_t num; /* how many entries in infos */ - struct part_usage_info *infos; /* individual partitions */ - struct disk_partitions **write_back; /* partition tables from - * which we did delete some - * partitions and that need - * updating, even if no - * active partition remains. */ - size_t num_write_back; /* number of write_back */ - bool cur_system; /* target is the live system */ -}; - -/* variables */ - -extern int debug; /* set by -D option */ - -extern char machine[SSTRSIZE]; - -extern int ignorerror; -extern int ttysig_ignore; -extern pid_t ttysig_forward; -extern uint sizemult; -extern const char *multname; -extern const char *err_outofmem; -extern int partman_go; /* run extended partition manager */ - -/* logging variables */ - -extern FILE *logfp; -extern FILE *script; - -#define MAX_DISKS 15 - -extern daddr_t root_limit; /* BIOS (etc) read limit */ - -enum SHRED_T { SHRED_NONE=0, SHRED_ZEROS, SHRED_RANDOM }; - -/* All information that is unique for each drive */ -extern SLIST_HEAD(pm_head_t, pm_devs) pm_head; - -struct pm_devs { - /* - * If device is blocked (e.g. part of a raid) - * this is a pointers to the parent dev - */ - void *refdev; - - char diskdev[SSTRSIZE]; /* Actual name of the disk. */ - char diskdev_descr[STRSIZE]; /* e.g. IDENTIFY result */ - - /* - * What the disk layout should look like. - */ - struct disk_partitions *parts; - - /* - * The device does not take a MBR, even if we usually use - * MBR master / disklabel secondary partitioning. - * Used e.g. for raid* pseudo-disks. - */ - bool no_mbr; /* userd for raid (etc) */ - - /* - * This device can not be partitioned (in any way). - * Used for wedges (dk*) or LVM devices. - */ - bool no_part; - - /* - * This is a pseudo-device representing the currently running - * system (i.e. all mounted file systems). - */ - bool cur_system; - - /* Actual values for current disk geometry - set by find_disks() or - * md_get_info() - */ - uint sectorsize, dlcyl, dlhead, dlsec, dlcylsize, current_cylsize; - /* - * Total size of the disk - in 'sectorsize' units (!) - */ - daddr_t dlsize; /* total number of disk sectors */ - - /* Area of disk we can allocate, start and size in sectors. */ - daddr_t ptstart, ptsize; - - /* For some bootblocks we need to know the CHS addressable limit */ - daddr_t max_chs; /* bcyl * bhead * bsec */ - - /* If we have an MBR boot partition, start and size in sectors */ - daddr_t bootstart, bootsize; - - /* - * In extended partitioning: all partitions in parts (number of - * entries is parts->num_part) may actually be mounted (temporarily) - * somewhere, e.g. to access a vnd device on them. This list has - * a pointer to the current mount point (strdup()'d) if mounted, - * or NULL if not. - */ - char **mounted; - - bool unsaved; /* Flag indicating to partman that device need saving */ - bool found; /* Flag to delete unplugged and unconfigured devices */ - int blocked; /* Device is busy and cannot be changed */ - - SLIST_ENTRY(pm_devs) l; -}; -extern struct pm_devs *pm; /* Pointer to current device with which we work */ -extern struct pm_devs *pm_new; /* Pointer for next allocating device in find_disks() */ - -/* Generic structure for partman */ -struct part_entry { - part_id id; - struct disk_partitions *parts; - void *dev_ptr; - struct install_partition_desc *install; - size_t index; /* e.g. if PM_RAID: this is raids[index] */ - int dev_ptr_delta; - char fullname[SSTRSIZE]; - enum {PM_DISK=1, PM_PART, PM_SPEC, - PM_RAID, PM_CGD, PM_VND, PM_LVM, PM_LVMLV} type; -}; - -/* Relative file name for storing a distribution. */ -extern char xfer_dir[STRSIZE]; -extern int clean_xfer_dir; - -#if !defined(SYSINST_FTP_HOST) -#define SYSINST_FTP_HOST "ftp.NetBSD.org" -#endif - -#if !defined(SYSINST_HTTP_HOST) -#define SYSINST_HTTP_HOST "cdn.NetBSD.org" -#endif - -#if !defined(SYSINST_FTP_DIR) -#if defined(NETBSD_OFFICIAL_RELEASE) -#define SYSINST_FTP_DIR "pub/NetBSD/NetBSD-" REL -#elif defined(REL_PATH) -#define SYSINST_FTP_DIR "pub/NetBSD-daily/" REL_PATH "/latest" -#else -#define SYSINST_FTP_DIR "pub/NetBSD/NetBSD-" REL -#endif -#endif - -#if !defined(ARCH_SUBDIR) -#define ARCH_SUBDIR MACH -#endif -#if !defined(PKG_ARCH_SUBDIR) -#define PKG_ARCH_SUBDIR MACH -#endif - -#if !defined(SYSINST_PKG_HOST) -#define SYSINST_PKG_HOST "ftp.NetBSD.org" -#endif -#if !defined(SYSINST_PKG_HTTP_HOST) -#define SYSINST_PKG_HTTP_HOST "cdn.NetBSD.org" -#endif - -#if !defined(SYSINST_PKG_DIR) -#define SYSINST_PKG_DIR "pub/pkgsrc/packages/NetBSD" -#endif - -#if !defined(PKG_SUBDIR) -#define PKG_SUBDIR REL -#endif - -#if !defined(SYSINST_PKGSRC_HOST) -#define SYSINST_PKGSRC_HOST SYSINST_PKG_HOST -#endif -#if !defined(SYSINST_PKGSRC_HTTP_HOST) -#define SYSINST_PKGSRC_HTTP_HOST SYSINST_PKG_HTTP_HOST -#endif - -#ifndef SETS_TAR_SUFF -#define SETS_TAR_SUFF "tgz" -#endif - -#ifdef USING_PAXASTAR -#define TAR_EXTRACT_FLAGS "-xhepf" -#else -#define TAR_EXTRACT_FLAGS "-xpf" -#endif - -/* Abs. path we extract binary sets from */ -extern char ext_dir_bin[STRSIZE]; - -/* Abs. path we extract source sets from */ -extern char ext_dir_src[STRSIZE]; - -/* Abs. path we extract pkgsrc from */ -extern char ext_dir_pkgsrc[STRSIZE]; - -/* Place we look for binary sets in all fs types */ -extern char set_dir_bin[STRSIZE]; - -/* Place we look for source sets in all fs types */ -extern char set_dir_src[STRSIZE]; - -/* Place we look for pkgs in all fs types */ -extern char pkg_dir[STRSIZE]; - -/* Place we look for pkgsrc in all fs types */ -extern char pkgsrc_dir[STRSIZE]; - -/* User shell */ -extern const char *ushell; - -#define XFER_FTP 0 -#define XFER_HTTP 1 -#define XFER_HTTPS 2 -#define XFER_MAX XFER_HTTPS -#define XFER_HOST_MAX XFER_HTTP /* http and https share a server name */ -#define XFER_HOST(XFER) ((XFER) == XFER_FTP ? 0 : 1) - -struct ftpinfo { - char xfer_host[XFER_HOST_MAX+1][STRSIZE]; - char dir[STRSIZE] ; - char user[SSTRSIZE]; - char pass[STRSIZE]; - char proxy[STRSIZE]; - unsigned int xfer; /* XFER_FTP for "ftp" or XFER_HTTP for "http" */ -}; - -/* use the same struct for sets ftp and to build pkgpath */ -extern struct ftpinfo ftp, pkg, pkgsrc; - -extern int (*fetch_fn)(const char *); -extern char nfs_host[STRSIZE]; -extern char nfs_dir[STRSIZE]; -extern char entropy_file[PATH_MAX]; - -extern char cdrom_dev[SSTRSIZE]; /* Typically "cd0a" */ -extern char fd_dev[SSTRSIZE]; /* Typically "/dev/fd0a" */ -extern const char *fd_type; /* "msdos", "ffs" or maybe "ados" */ - -extern char localfs_dev[SSTRSIZE]; -extern char localfs_fs[SSTRSIZE]; -extern char localfs_dir[STRSIZE]; - -extern char targetroot_mnt[SSTRSIZE]; - -extern int mnt2_mounted; - -extern char dist_postfix[SSTRSIZE]; -extern char dist_tgz_postfix[SSTRSIZE]; - -/* needed prototypes */ -void set_menu_numopts(int, int); -void remove_color_options(void); -#ifdef CHECK_ENTROPY -bool do_add_entropy(void); -size_t entropy_needed(void); -#endif -void remove_raid_options(void); -void remove_lvm_options(void); -void remove_cgd_options(void); - -/* Machine dependent functions .... */ -void md_init(void); -void md_init_set_status(int); /* SFLAG_foo */ - - /* MD functions if user selects install - in order called */ -bool md_get_info(struct install_partition_desc*); -/* returns -1 to restart partitioning, 0 for error, 1 for success */ -int md_make_bsd_partitions(struct install_partition_desc*); -bool md_check_partitions(struct install_partition_desc*); -#ifdef HAVE_GPT -/* - * New GPT partitions have been written, update bootloader or remember - * data until needed in md_post_newfs - */ -bool md_gpt_post_write(struct disk_partitions*, part_id root_id, - bool root_is_new, part_id efi_id, bool efi_is_new); -#endif -/* - * md_pre_disklabel and md_post_disklabel may be called - * multiple times, for each affected device, with the - * "inner" partitions pointer of the relevant partitions - * passed. - */ -bool md_pre_disklabel(struct install_partition_desc*, struct disk_partitions*); -bool md_post_disklabel(struct install_partition_desc*, struct disk_partitions*); -bool md_disklabel_is_default(const struct disklabel *); -int md_pre_mount(struct install_partition_desc*, size_t); -int md_post_newfs(struct install_partition_desc*); -int md_post_extract(struct install_partition_desc*, bool upgrade); -void md_cleanup_install(struct install_partition_desc*); - - /* MD functions if user selects upgrade - in order called */ -int md_pre_update(struct install_partition_desc*); -int md_update(struct install_partition_desc*); -/* Also calls md_post_extract() */ - -/* from main.c */ -void toplevel(void); - -/* from disks.c */ -bool get_default_cdrom(char *, size_t); -int find_disks(const char *, bool); -bool enumerate_disks(void *state,bool (*func)(void *state, const char *dev)); -bool is_cdrom_device(const char *dev, bool as_target); -bool is_bootable_device(const char *dev); -bool is_partitionable_device(const char *dev); -bool convert_scheme(struct pm_devs *p, bool is_boot_drive, const char **err_msg); - -#ifndef NO_CLONES -/* a single partition selected for cloning (etc) */ -struct selected_partition { - struct disk_partitions *parts; - part_id id; -}; -struct selected_partitions { - struct selected_partition *selection; - size_t num_sel; - bool with_data; /* partitions and their data selected */ - bool free_parts; /* caller should free parts */ -}; -bool select_partitions(struct selected_partitions *res, - const struct disk_partitions *ignore); -daddr_t selected_parts_size(struct selected_partitions *); -void free_selected_partitions(struct selected_partitions *); - -struct clone_target_menu_data { - struct partition_usage_set usage; - int res; -}; - -int clone_target_select(menudesc *m, void *arg); -bool clone_partition_data(struct disk_partitions *dest_parts, part_id did, - struct disk_partitions *src_parts, part_id sid); -#endif - -struct menudesc; -void disp_cur_fspart(int, int); -bool can_newfs_fstype(unsigned int); -int make_filesystems(struct install_partition_desc *); -int make_fstab(struct install_partition_desc *); -int mount_disks(struct install_partition_desc *); -void set_swap_if_low_ram(struct install_partition_desc *); -void set_swap(struct install_partition_desc *); -void clear_swap(void); -int check_swap(const char *, int); -char *bootxx_name(struct install_partition_desc *); -int get_dkwedges(struct dkwedge_info **, const char *); - -/* from disks_lfs.c */ -int fs_is_lfs(void *); - -/* from label.c */ -/* - * Bits valid for "flags" in get_last_mounted. - * Currently we return the real last mount from FFS, the volume label - * from FAT32, and nothing otherwise. The NTFS support is currently - * restricted to verify the partition has an NTFS (as some partitioning - * schemes do not tell NTFS from FAT). - */ -#define GLM_LIKELY_FFS 1U -#define GLM_MAYBE_FAT32 2U -#define GLM_MAYBE_NTFS 4U -/* - * possible fs_sub_types are currently: - * FS_BSDFFS: - * 0 unknown - * 1 FFSv1 - * 2 FFSv2 - * FS_MSDOS: - * 0 unknown - * else MBR_PTYPE_FAT* for the current FAT variant - * FS_NTFS: - * 0 unknown - * else MBR_PTYPE_NTFS (if valid NTFS was found) - * - * The fs_type and fs_sub_type pointers may be NULL. - */ -const char *get_last_mounted(int fd, daddr_t offset, uint *fs_type, - uint *fs_sub_type, uint flags); -void canonicalize_last_mounted(char*); -int edit_and_check_label(struct pm_devs *p, struct partition_usage_set *pset, bool install); -int edit_ptn(menudesc *, void *); -int checkoverlap(struct disk_partitions *parts); -daddr_t getpartsize(struct disk_partitions *parts, daddr_t orig_start, - daddr_t partstart, daddr_t defpartsize); -daddr_t getpartoff(struct disk_partitions *parts, daddr_t defpartstart); - -/* from install.c */ -void do_install(void); - -/* from factor.c */ -void factor(long, long *, int, int *); - -/* from fdisk.c */ -void get_disk_info(char *); -void set_disk_info(char *); - -/* from geom.c */ -bool disk_ioctl(const char *, unsigned long, void *); -bool get_wedge_list(const char *, struct dkwedge_list *); -bool get_wedge_info(const char *, struct dkwedge_info *); -bool get_disk_geom(const char *, struct disk_geom *); -bool get_label_geom(const char *, struct disklabel *); - -/* from net.c */ -extern int network_up; -extern char net_namesvr[STRSIZE]; -int get_via_ftp(unsigned int); -int get_via_nfs(void); -int config_network(int force); -void mnt_net_config(void); -void make_url(char *, struct ftpinfo *, const char *); -int get_pkgsrc(void); -const char *url_proto(unsigned int); - -/* From run.c */ -int collect(int, char **, const char *, ...) __printflike(3, 4); -int run_program(int, const char *, ...) __printflike(2, 3); -void do_logging(void); -int do_system(const char *); - -/* from upgrade.c */ -void do_upgrade(void); -void do_reinstall_sets(void); -void restore_etc(void); - -/* from part_edit.c */ -int err_msg_win(const char*); -const struct disk_partitioning_scheme *select_part_scheme(struct pm_devs *dev, - const struct disk_partitioning_scheme *skip, bool bootable, - const char *title); -/* - * return value: - * 0 -> abort - * 1 -> ok, continue - * -1 -> partitions have been deleted, start from scratch -*/ -int edit_outer_parts(struct disk_partitions*); -bool parts_use_wholedisk(struct disk_partitions*, - size_t add_ext_parts, const struct disk_part_info *ext_parts); - -/* - * Machine dependent partitioning function, only used when - * innern/outer partitioning schemes are in use - this sets - * up the outer scheme for maximum NetBSD usage. - */ -bool md_parts_use_wholedisk(struct disk_partitions*); - -/* from util.c */ -bool root_is_read_only(void); -void get_ptn_alignment(const struct disk_partitions *parts, daddr_t *align, daddr_t *p0off); -struct disk_partitions *get_inner_parts(struct disk_partitions *parts); -char* str_arg_subst(const char *, size_t, const char **); -void msg_display_subst(const char *, size_t, ...); -void msg_display_add_subst(const char *, size_t, ...); -int ask_yesno(const char *); -int ask_noyes(const char *); -void hit_enter_to_continue(const char *msg, const char *title); -/* - * return value: - * 0 -> abort - * 1 -> re-edit - * 2 -> continue installation -*/ -int ask_reedit(const struct disk_partitions *); -int dir_exists_p(const char *); -int file_exists_p(const char *); -int file_mode_match(const char *, unsigned int); -uint64_t get_ramsize(void); /* in MB! */ -void ask_sizemult(int); -void run_makedev(void); -int boot_media_still_needed(void); -int get_via_floppy(void); -int get_via_cdrom(void); -int get_via_localfs(void); -int get_via_localdir(void); -void show_cur_distsets(void); -void make_ramdisk_dir(const char *); -void set_kernel_set(unsigned int); -void set_noextract_set(unsigned int); -unsigned int get_kernel_set(void); -unsigned int set_X11_selected(void); -int get_and_unpack_sets(int, msg, msg, msg); -int sanity_check(void); -int set_timezone(void); -void scripting_fprintf(FILE *, const char *, ...) __printflike(2, 3); -void scripting_vfprintf(FILE *, const char *, va_list) __printflike(2, 0); -void add_rc_conf(const char *, ...) __printflike(1, 2); -int del_rc_conf(const char *); -void add_sysctl_conf(const char *, ...) __printflike(1, 2); -void enable_rc_conf(void); -void set_sizemult(daddr_t, uint bps); -void set_default_sizemult(const char *disk, daddr_t unit, uint bps); -int check_lfs_progs(void); -void init_set_status(int); -void customise_sets(void); -void umount_mnt2(void); -int set_is_source(const char *); -const char *set_dir_for_set(const char *); -const char *ext_dir_for_set(const char *); -void replace(const char *, const char *, ...) __printflike(2, 3); -void get_tz_default(void); -distinfo* get_set_distinfo(int); -int extract_file(distinfo *, int); -int extract_file_to(distinfo *dist, int update, const char *dest_dir, - const char *extr_pattern, bool do_stats); -void do_coloring (unsigned int, unsigned int); -int set_menu_select(menudesc *, void *); -const char *safectime(time_t *); -bool use_tgz_for_set(const char*); -const char *set_postfix(const char*); -bool empty_usage_set_from_parts(struct partition_usage_set*, - struct disk_partitions*); -bool usage_set_from_parts(struct partition_usage_set*, - struct disk_partitions*); -bool usage_set_from_install_desc(struct partition_usage_set*, - const struct install_partition_desc*, - struct disk_partitions*); -bool merge_usage_set_into_install_desc(struct install_partition_desc*, - const struct partition_usage_set*); -void free_usage_set(struct partition_usage_set*); -bool install_desc_from_parts(struct install_partition_desc *, - struct disk_partitions*); -void free_install_desc(struct install_partition_desc*); -bool may_swap_if_not_sdmmc(const char*); -void redirect_console(int, int); -void discard_console_output(void); - -/* from target.c */ -#if defined(DEBUG) || defined(DEBUG_ROOT) -void backtowin(void); -#endif -bool is_root_part_mount(const char *); -const char *concat_paths(const char *, const char *); -const char *target_expand(const char *); -bool needs_expanding(const char *, size_t); -void make_target_dir(const char *); -void append_to_target_file(const char *, const char *); -void echo_to_target_file(const char *, const char *); -void trunc_target_file(const char *); -const char *target_prefix(void); -int target_chdir(const char *); -void target_chdir_or_die(const char *); -int target_already_root(void); -FILE *target_fopen(const char *, const char *); -int target_collect_file(int, char **, const char *); -int is_active_rootpart(const char *, int); -int cp_to_target(const char *, const char *); -void dup_file_into_target(const char *); -void mv_within_target_or_die(const char *, const char *); -int cp_within_target(const char *, const char *, int); -int target_mount(const char *, const char *, const char *); -int target_unmount(const char *); -int target_mount_do(const char *, const char *, const char *); -int target_test(unsigned int, const char *); -int target_dir_exists_p(const char *); -int target_file_exists_p(const char *); -int target_symlink_exists_p(const char *); -void unwind_mounts(void); -void register_post_umount_delwedge(const char *disk, const char *wedge); -int target_mounted(void); -void umount_root(void); - -/* from partman.c */ -#ifndef NO_PARTMAN -int partman(struct install_partition_desc*); -int pm_getrefdev(struct pm_devs *); -void update_wedges(const char *); -void pm_destroy_all(void); -#else -static inline int partman(struct install_partition_desc *i __unused) { return -1; } -static inline int pm_getrefdev(struct pm_devs *x __unused) { return -1; } -#define update_wedges(x) __nothing -#endif -void pmdiskentry_enable(menudesc*, struct part_entry *); -int pm_partusage(struct pm_devs *, int, int); -void pm_setfstype(struct pm_devs *, part_id, int, int); -void pm_set_lvmpv(struct pm_devs *, part_id, bool); -bool pm_is_lvmpv(struct pm_devs *, part_id, const struct disk_part_info*); -int pm_editpart(int); -void pm_rename(struct pm_devs *); -void pm_shred(struct part_entry *, int); -void pm_umount(struct pm_devs *, int); -int pm_unconfigure(struct pm_devs *); -int pm_cgd_edit_new(struct pm_devs *pm, part_id id); -int pm_cgd_edit_old(struct part_entry *); -void pm_wedges_fill(struct pm_devs *); -void pm_edit_partitions(struct part_entry *); -part_id pm_whole_disk(struct part_entry *, int); -struct pm_devs * pm_from_pe(struct part_entry *); -bool pm_force_parts(struct pm_devs *); - -/* - * Parse a file system position or size in a common way, return - * sector count and multiplicator. - * If "extend" is supported, things like 120+ will be parsed as - * 120 plus "extend this" flag. - * Caller needs to init multiplicator upfront to the default value. - */ -daddr_t parse_disk_pos( - const char *, /* in: input string */ - daddr_t *, /* in/out: multiplicator for return value */ - daddr_t bps, /* in: sector size in bytes */ - daddr_t, /* in: cylinder size in sectors */ - bool *); /* NULL if "extend" is not supported, & of - * "extend" flag otherwise */ - -/* flags whether to offer the respective options (depending on helper - programs available on install media */ -extern int have_raid, have_vnd, have_cgd, have_lvm, have_gpt, have_dk; -/* initialize above variables */ -void check_available_binaries(void); - -/* - * Makronix: the simple installation mode. Chosen at the start of - * do_install() (install.c); when set, the questions that only exist to let - * the user shape the layout and the set list are not asked: the scheme is - * GPT where the machine can boot it, the whole disk is used with the default - * layout, and all sets are installed. The questions that protect data (the - * disk, overwriting foreign partitions, the last chance) stay. - */ -extern bool simple_install; - -#ifdef CGDROOT -/* - * Makronix: installation onto an encrypted disk (cgdroot.c). Only where the - * machine-dependent header defines CGDROOT. cgdroot_install is set when the - * user asked for encryption in the simple mode; the boot loader and the - * miniroot module of distrib/common/cgdroot.rc then find the root on cgd0. - */ -extern bool cgdroot_install; -bool cgdroot_ask(void); -int cgdroot_prepare(void); -int cgdroot_finish(void); -/* machine dependent, md.c */ -bool md_cgdroot_possible(void); -bool md_cgdroot_uefi(void); -int md_cgdroot_boot(const char *kdir, const char *esp, const char *disk, - const char *boot_rdev, daddr_t boot_start); -/* disks.c: make find_disks() select this disk without asking, or NULL */ -void cgdroot_force_disk(const char *); -#endif - -/* from bsddisklabel.c */ -/* returns -1 to restart partitioning, 0 for error, 1 for success */ -int make_bsd_partitions(struct install_partition_desc*); -void set_ptn_titles(menudesc *, int, void *); -int set_ptn_size(menudesc *, void *); -bool get_ptn_sizes(struct partition_usage_set*); -bool check_partitions(struct install_partition_desc*); - -/* from aout2elf.c */ -int move_aout_libs(void); - -#ifdef WSKBD -void get_kb_encoding(void); -void save_kb_encoding(void); -#else -#define get_kb_encoding() -#define save_kb_encoding() -#endif - -/* from configmenu.c */ -void do_configmenu(struct install_partition_desc*); -void root_pw_setup(void); -void makronix_config_network(void); -void makronix_config_user(void); -/* setup.c: Makronix, the last step of the simple installation */ -void makronix_setup(void); -void makronix_extras(void); -void media_dir(char *, size_t); -bool root_is_ramdisk(void); -void do_time_and_date_setup(const char *); - -/* from checkrc.c */ -int check_rcvar(const char *); -int check_rcdefault(const char *); -extern WINDOW *mainwin; - -/* in menus.mi */ -void expand_all_option_texts(menudesc *menu, void *arg); -void resize_menu_height(menudesc *); - -#endif /* _DEFS_H_ */ diff --git a/overlay/usr.sbin/sysinst/defsizes.h b/overlay/usr.sbin/sysinst/defsizes.h deleted file mode 100644 index ec6c1132e6..0000000000 --- a/overlay/usr.sbin/sysinst/defsizes.h +++ /dev/null @@ -1,70 +0,0 @@ -/* $NetBSD: defsizes.h,v 1.4 2019/06/12 06:20:17 martin Exp $ */ - -/* - * Copyright 2018 The NetBSD Foundation, Inc. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - - -/* - * The size likely needed to build the whole system from source, including - * X, CTF, MKDEBUG, ... - * This is used in some messages as a hint when partitioning. - * Rough estimate, round high, in MB. - */ -#ifndef SYSTEM_BUILD_SIZE -#define SYSTEM_BUILD_SIZE 15*1024 -#endif - - -#ifndef DEFVARSIZE -#define DEFVARSIZE 32 -#endif -#ifndef DEFROOTSIZE -#define DEFROOTSIZE 40 -#endif -#ifndef DEFUSRSIZE -#define DEFUSRSIZE 800 -#endif -#ifndef DEFSWAPSIZE -#define DEFSWAPSIZE 128 -#endif -#ifndef DEBNEEDMB -#define DEBNEEDMB 800 -#endif - -#ifndef MD_SETS_SELECTED -#define MD_SETS_SELECTED SET_KERNEL_1, SET_SYSTEM, SET_X11, SET_MD -#endif -#ifndef MD_SETS_SELECTED_MINIMAL -#define MD_SETS_SELECTED_MINIMAL SET_KERNEL_1, SET_CORE -#endif -#ifndef MD_SETS_SELECTED_NOX -#define MD_SETS_SELECTED_NOX SET_KERNEL_1, SET_SYSTEM, SET_MD -#endif -#ifndef MD_SETS_VALID -#define MD_SETS_VALID SET_KERNEL, SET_SYSTEM, SET_X11, SET_MD, SET_SOURCE, SET_DEBUGGING -#endif - diff --git a/overlay/usr.sbin/sysinst/disklabel.c b/overlay/usr.sbin/sysinst/disklabel.c deleted file mode 100644 index 731dea7a61..0000000000 --- a/overlay/usr.sbin/sysinst/disklabel.c +++ /dev/null @@ -1,1363 +0,0 @@ -/* $NetBSD: disklabel.c,v 1.53 2024/10/04 15:11:09 rillig Exp $ */ - -/* - * Copyright 2018 The NetBSD Foundation, Inc. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -#include "defs.h" -#include "md.h" -#include -#include -#include -#include -#include - -const struct disk_partitioning_scheme disklabel_parts; - -/*************** disklabel ******************************************/ -/* a disklabel based disk_partitions interface */ -struct disklabel_disk_partitions { - struct disk_partitions dp; - struct disklabel l; - daddr_t ptn_alignment, install_target; - char last_mounted[MAXPARTITIONS][MOUNTLEN]; - uint fs_sub_type[MAXPARTITIONS], fs_opt3[MAXPARTITIONS]; -}; - -/* - * Maximum number of disklabel partitions the current kernel supports - */ -size_t dl_maxpart; - -/* index into this array is the type code */ -static struct part_type_desc dl_types[__arraycount(fstypenames)-1]; - -struct dl_custom_ptype { - unsigned int type; - char short_desc[6], description[30]; - struct part_type_desc desc; -}; -struct dl_custom_ptype * dl_custom_ptypes; -size_t dl_custom_ptype_count; - -static uint8_t dl_part_type_from_generic(const struct part_type_desc*); - -static void -disklabel_init_default_alignment(struct disklabel_disk_partitions *parts, - uint track) -{ - if (track == 0) - track = MEG / parts->dp.bytes_per_sector; - - if (dl_maxpart == 0) - dl_maxpart = getmaxpartitions(); - -#ifdef MD_DISKLABEL_SET_ALIGN_PRE - if (MD_DISKLABEL_SET_ALIGN_PRE(parts->ptn_alignment, track)) - return; -#endif - /* Use 1MB alignment for large (>128GB) disks */ - if (parts->dp.disk_size > HUGE_DISK_SIZE) { - parts->ptn_alignment = 2048; - } else if (parts->dp.disk_size > TINY_DISK_SIZE || - parts->dp.bytes_per_sector > 512) { - parts->ptn_alignment = 64; - } else { - parts->ptn_alignment = 1; - } -#ifdef MD_DISKLABEL_SET_ALIGN_POST - MD_DISKLABEL_SET_ALIGN_POST(parts->ptn_alignment, track); -#endif -} - -static bool -disklabel_change_geom(struct disk_partitions *arg, int ncyl, int nhead, - int nsec) -{ - struct disklabel_disk_partitions *parts = - (struct disklabel_disk_partitions*)arg; - - assert(parts->l.d_secsize != 0); - assert(parts->l.d_nsectors != 0); - assert(parts->l.d_ntracks != 0); - assert(parts->l.d_ncylinders != 0); - assert(parts->l.d_secpercyl != 0); - - disklabel_init_default_alignment(parts, nhead * nsec); - if (ncyl*nhead*nsec <= TINY_DISK_SIZE) - set_default_sizemult(arg->disk, - arg->bytes_per_sector, arg->bytes_per_sector); - else - set_default_sizemult(arg->disk, MEG, - arg->bytes_per_sector); - - return true; -} - -static size_t -disklabel_cylinder_size(const struct disk_partitions *arg) -{ - const struct disklabel_disk_partitions *parts = - (const struct disklabel_disk_partitions*)arg; - - return parts->l.d_secpercyl; -} - -#ifdef NO_DISKLABEL_BOOT -static bool -disklabel_non_bootable(const char *disk) -{ - - return false; -} -#endif - -static struct disk_partitions * -disklabel_parts_new(const char *dev, daddr_t start, daddr_t len, - bool is_boot_drive, struct disk_partitions *parent) -{ - struct disklabel_disk_partitions *parts; - struct disk_geom geo; - daddr_t total_size; - - if (!get_disk_geom(dev, &geo)) - return NULL; - - parts = calloc(1, sizeof(*parts)); - if (parts == NULL) - return NULL; - - parts->install_target = -1; - total_size = geo.dg_secperunit; - if (len*(geo.dg_secsize/512) > disklabel_parts.size_limit) - len = disklabel_parts.size_limit/(geo.dg_secsize/512); - if (total_size*(geo.dg_secsize/512) > disklabel_parts.size_limit) - total_size = disklabel_parts.size_limit/(geo.dg_secsize/512); - - parts->l.d_ncylinders = geo.dg_ncylinders; - parts->l.d_ntracks = geo.dg_ntracks; - parts->l.d_nsectors = geo.dg_nsectors; - parts->l.d_secsize = geo.dg_secsize; - parts->l.d_secpercyl = geo.dg_nsectors * geo.dg_ntracks; - - parts->dp.pscheme = &disklabel_parts; - parts->dp.disk = strdup(dev); - parts->dp.disk_start = start; - parts->dp.disk_size = parts->dp.free_space = len; - parts->dp.bytes_per_sector = parts->l.d_secsize; - disklabel_init_default_alignment(parts, parts->l.d_secpercyl); - parts->dp.parent = parent; - - strncpy(parts->l.d_packname, "fictious", sizeof parts->l.d_packname); - -#if RAW_PART == 3 - if (parts->dp.parent != NULL) { - parts->l.d_partitions[RAW_PART-1].p_fstype = FS_UNUSED; - parts->l.d_partitions[RAW_PART-1].p_offset = start; - parts->l.d_partitions[RAW_PART-1].p_size = len; - parts->dp.num_part++; - } -#endif - parts->l.d_partitions[RAW_PART].p_fstype = FS_UNUSED; - parts->l.d_partitions[RAW_PART].p_offset = 0; - parts->l.d_partitions[RAW_PART].p_size = total_size; - parts->dp.num_part++; - - parts->l.d_npartitions = RAW_PART+1; - - return &parts->dp; -} - -static struct disk_partitions * -disklabel_parts_read(const char *disk, daddr_t start, daddr_t len, size_t bps, - const struct disk_partitioning_scheme *scheme) -{ - int fd; - char diskpath[MAXPATHLEN]; - uint flags; - bool have_own_label = false; - - /* read partitions */ - - struct disklabel_disk_partitions *parts = calloc(1, sizeof(*parts)); - if (parts == NULL) - return NULL; - parts->install_target = -1; - - fd = opendisk(disk, O_RDONLY, diskpath, sizeof(diskpath), 0); - if (fd == -1) { - free(parts); - return NULL; - } - - /* - * We should actually try to read the label inside the start/len - * boundary, but for simplicity just rely on the kernel and - * instead verify a FS_UNUSED partition at RAW_PART-1 (if - * RAW_PART > 'c') is within the given limits. - */ - if (ioctl(fd, DIOCGDINFO, &parts->l) < 0) { - free(parts); - close(fd); - return NULL; - } -#if RAW_PART == 3 - if (parts->l.d_partitions[RAW_PART-1].p_fstype == FS_UNUSED) { - daddr_t dlstart = parts->l.d_partitions[RAW_PART-1].p_offset; - daddr_t dlend = start + - parts->l.d_partitions[RAW_PART-1].p_size; - - if (dlstart < start || dlend > (start+len)) { - /* - * Kernel assumes different outer partition - * (probably not yet written back to disk) - * so this label is invalid. - */ - free(parts); - close(fd); - return NULL; - } - } -#endif - - if (len > disklabel_parts.size_limit) - len = disklabel_parts.size_limit; - parts->dp.pscheme = scheme; - parts->dp.disk = strdup(disk); - parts->dp.disk_start = start; - parts->dp.disk_size = parts->dp.free_space = len; - parts->l.d_secsize = bps; - parts->dp.bytes_per_sector = bps; - disklabel_init_default_alignment(parts, parts->l.d_secpercyl); - - for (int part = 0; part < parts->l.d_npartitions; part++) { - if (parts->l.d_partitions[part].p_fstype == FS_UNUSED - && parts->l.d_partitions[part].p_size == 0) - continue; - - parts->dp.num_part++; - if (parts->l.d_partitions[part].p_fstype == FS_UNUSED) - continue; - - flags = 0; - if (parts->l.d_partitions[part].p_fstype == FS_MSDOS) - flags = GLM_MAYBE_FAT32; - else if (parts->l.d_partitions[part].p_fstype == FS_BSDFFS) { - flags = GLM_LIKELY_FFS; - if (parts->install_target < 0) - parts->install_target = - parts->l.d_partitions[part].p_offset; - } - if (flags != 0) { - uint fs_type, fs_sub_type; - const char *lm = get_last_mounted(fd, - parts->l.d_partitions[part].p_offset, - &fs_type, &fs_sub_type, flags); - if (lm != NULL && *lm != 0) { - strlcpy(parts->last_mounted[part], lm, - sizeof(parts->last_mounted[part])); - if (parts->l.d_partitions[part].p_fstype == - fs_type) - parts->fs_sub_type[part] = fs_sub_type; - canonicalize_last_mounted( - parts->last_mounted[part]); - } - } - - if (parts->l.d_partitions[part].p_size > parts->dp.free_space) - parts->dp.free_space = 0; - else - parts->dp.free_space -= - parts->l.d_partitions[part].p_size; - } - close(fd); - - /* - * Verify we really have a disklabel on the target disk. - */ - if (run_program(RUN_SILENT | RUN_ERROR_OK, - "disklabel -r %s", disk) == 0) { - have_own_label = true; - } -#ifdef DISKLABEL_NO_ONDISK_VERIFY - else { - /* - * disklabel(8) with -r checks a native disklabel at - * LABELOFFSET sector, but several ports don't have - * a native label and use emulated one translated from - * port specific MD disk partition information. - * Unfortunately, there is no MI way to check whether - * the disk has a native BSD disklabel by readdisklabel(9) - * via DIOCGDINFO. So check if returned label looks - * defaults set by readdisklabel(9) per MD way. - */ - have_own_label = !md_disklabel_is_default(&parts->l); - } -#endif - - if (!have_own_label) { - bool found_real_part = false; - - if (parts->l.d_npartitions <= RAW_PART || - parts->l.d_partitions[RAW_PART].p_size == 0) - goto no_valid_label; - - /* - * Check if kernel translation gave us "something" besides - * the raw or the whole-disk partition. - * If not: report missing disklabel. - */ - for (int part = 0; part < parts->l.d_npartitions; part++) { - if (parts->l.d_partitions[part].p_fstype == FS_UNUSED) - continue; - if (/* part == 0 && */ /* PR kern/54882 */ - parts->l.d_partitions[part].p_offset == - parts->l.d_partitions[RAW_PART].p_offset && - parts->l.d_partitions[part].p_size == - parts->l.d_partitions[RAW_PART].p_size) - continue; - if (part == RAW_PART) - continue; - found_real_part = true; - break; - } - if (!found_real_part) { - /* no partition there yet */ -no_valid_label: - free(parts); - return NULL; - } - } - - return &parts->dp; -} - -/* - * Escape a string for usage as a tag name in a capfile(5), - * we really know there is enough space in the destination buffer... - */ -static void -escape_capfile(char *dest, const char *src, size_t len) -{ - while (*src && len > 0) { - if (*src == ':') - *dest++ = ' '; - else - *dest++ = *src; - src++; - len--; - } - *dest = 0; -} - -static bool -disklabel_write_to_disk(struct disk_partitions *arg) -{ - struct disklabel_disk_partitions *parts = - (struct disklabel_disk_partitions*)arg; - FILE *f; - char fname[PATH_MAX], packname[sizeof(parts->l.d_packname)+1], - disktype[sizeof(parts->l.d_typename)+1]; - int i, rv = 0; - const char *disk = parts->dp.disk, *s; - const struct partition *lp; - char *d; - size_t n; - - assert(parts->l.d_secsize != 0); - assert(parts->l.d_nsectors != 0); - assert(parts->l.d_ntracks != 0); - assert(parts->l.d_ncylinders != 0); - assert(parts->l.d_secpercyl != 0); - - /* make sure we have a 0 terminated packname */ - strlcpy(packname, parts->l.d_packname, sizeof packname); - if (packname[0] == 0) - strcpy(packname, "fictious"); - - /* fill typename with disk name prefix, if not already set */ - if (strlen(parts->l.d_typename) == 0) { - for (n = 0, d = parts->l.d_typename, s = disk; - *s && n < sizeof(parts->l.d_typename); d++, s++, n++) { - if (isdigit((unsigned char)*s)) - break; - *d = *s; - } - } - - /* we need a valid disk type name, so enforce an arbitrary if - * above did not yield a usable one */ - if (strlen(parts->l.d_typename) == 0) - strncpy(parts->l.d_typename, "SCSI", - sizeof(parts->l.d_typename)); - escape_capfile(disktype, parts->l.d_typename, - sizeof(parts->l.d_typename)); - - sprintf(fname, "/tmp/disklabel.%u", getpid()); - f = fopen(fname, "w"); - if (f == NULL) - return false; - - lp = parts->l.d_partitions; - scripting_fprintf(NULL, "cat <%s\n", fname); - scripting_fprintf(f, "%s|NetBSD installation generated:\\\n", - disktype); - scripting_fprintf(f, "\t:nc#%d:nt#%d:ns#%d:\\\n", - parts->l.d_ncylinders, parts->l.d_ntracks, parts->l.d_nsectors); - scripting_fprintf(f, "\t:sc#%d:su#%" PRIu32 ":\\\n", - parts->l.d_secpercyl, lp[RAW_PART].p_offset+lp[RAW_PART].p_size); - scripting_fprintf(f, "\t:se#%d:\\\n", parts->l.d_secsize); - - for (i = 0; i < parts->l.d_npartitions; i++) { - scripting_fprintf(f, "\t:p%c#%" PRIu32 ":o%c#%" PRIu32 - ":t%c=%s:", 'a'+i, (uint32_t)lp[i].p_size, - 'a'+i, (uint32_t)lp[i].p_offset, 'a'+i, - fstypenames[lp[i].p_fstype]); - if (lp[i].p_fstype == FS_BSDLFS || - lp[i].p_fstype == FS_BSDFFS) - scripting_fprintf (f, "b%c#%" PRIu32 ":f%c#%" PRIu32 - ":", 'a'+i, - (uint32_t)(lp[i].p_fsize * - lp[i].p_frag), - 'a'+i, (uint32_t)lp[i].p_fsize); - - if (i < parts->l.d_npartitions - 1) - scripting_fprintf(f, "\\\n"); - else - scripting_fprintf(f, "\n"); - } - scripting_fprintf(NULL, "EOF\n"); - - fclose(f); - - /* - * Label a disk using an MD-specific string DISKLABEL_CMD for - * to invoke disklabel. - * if MD code does not define DISKLABEL_CMD, this is a no-op. - * - * i386 port uses "/sbin/disklabel -w -r", just like i386 - * miniroot scripts, though this may leave a bogus incore label. - * - * Sun ports should use DISKLABEL_CMD "/sbin/disklabel -w" - * to get incore to ondisk inode translation for the Sun proms. - */ -#ifdef DISKLABEL_CMD - /* disklabel the disk */ - rv = run_program(0, "%s -f %s %s '%s' '%s'", - DISKLABEL_CMD, fname, disk, disktype, packname); -#endif - - unlink(fname); - - return rv == 0; -} - -static bool -disklabel_delete_all(struct disk_partitions *arg) -{ - struct disklabel_disk_partitions *parts = - (struct disklabel_disk_partitions*)arg; - daddr_t total_size = parts->l.d_partitions[RAW_PART].p_size; - - memset(&parts->l.d_partitions, 0, sizeof(parts->l.d_partitions)); - parts->dp.num_part = 0; - -#if RAW_PART == 3 - if (parts->dp.parent != NULL) { - parts->l.d_partitions[RAW_PART-1].p_fstype = FS_UNUSED; - parts->l.d_partitions[RAW_PART-1].p_offset = - parts->dp.disk_start; - parts->l.d_partitions[RAW_PART-1].p_size = parts->dp.disk_size; - parts->dp.num_part++; - } -#endif - parts->l.d_partitions[RAW_PART].p_fstype = FS_UNUSED; - parts->l.d_partitions[RAW_PART].p_offset = 0; - parts->l.d_partitions[RAW_PART].p_size = total_size; - parts->dp.num_part++; - - parts->l.d_npartitions = RAW_PART+1; - return true; -} - -static bool -disklabel_delete(struct disk_partitions *arg, part_id id, - const char **err_msg) -{ - struct disklabel_disk_partitions *parts = - (struct disklabel_disk_partitions*)arg; - part_id ndx; - - ndx = 0; - for (int part = 0; part < parts->l.d_npartitions; part++) { - if (parts->l.d_partitions[part].p_fstype == FS_UNUSED - && parts->l.d_partitions[part].p_size == 0) - continue; - - if (ndx == id) { - if (part == RAW_PART -#if RAW_PART == 3 - || (part == RAW_PART-1 && - parts->dp.parent != NULL) -#endif - ) { - if (err_msg) - *err_msg = msg_string( - MSG_part_not_deletable); - return false; - } - if (parts->install_target == - parts->l.d_partitions[part].p_offset) - parts->install_target = -1; - parts->dp.free_space += - parts->l.d_partitions[part].p_size; - parts->l.d_partitions[part].p_size = 0; - parts->l.d_partitions[part].p_offset = 0; - parts->l.d_partitions[part].p_fstype = FS_UNUSED; - parts->dp.num_part--; - return true; - } - ndx++; - } - - if (err_msg) - *err_msg = INTERNAL_ERROR; - return false; -} - -static bool -disklabel_delete_range(struct disk_partitions *arg, daddr_t r_start, - daddr_t r_size) -{ - struct disklabel_disk_partitions *parts = - (struct disklabel_disk_partitions*)arg; - - for (int part = 0; part < parts->l.d_npartitions; part++) { - if (parts->l.d_partitions[part].p_fstype == FS_UNUSED - && parts->l.d_partitions[part].p_size == 0) - continue; - - if (part == RAW_PART) - continue; - - daddr_t start = parts->l.d_partitions[part].p_offset; - daddr_t end = start + parts->l.d_partitions[part].p_size; - -#if RAW_PART == 3 - if (parts->dp.parent != NULL && - part == RAW_PART - 1 && start == r_start && - r_start + r_size == end) - continue; -#endif - - if ((start >= r_start && start <= r_start+r_size) || - (end >= r_start && end <= r_start+r_size)) { - if (start == parts->install_target) - parts->install_target = -1; - if (parts->dp.num_part > 1) - parts->dp.num_part--; - parts->dp.free_space += - parts->l.d_partitions[part].p_size; - parts->l.d_partitions[part].p_fstype = FS_UNUSED; - parts->l.d_partitions[part].p_size = 0; - } - } - - return true; -} - -static void -dl_init_types(void) -{ - for (size_t i = 0; i < __arraycount(dl_types); i++) { - if (fstypenames[i] == NULL) - break; - dl_types[i].short_desc = - dl_types[i].description = getfslabelname(i, 0); - enum part_type pt; - switch (i) { - case FS_UNUSED: pt = PT_undef; break; - case FS_BSDFFS: - case FS_RAID: - case FS_BSDLFS: - case FS_CGD: - pt = PT_root; break; - case FS_SWAP: pt = PT_swap; break; - case FS_MSDOS: pt = PT_FAT; break; - case FS_EX2FS: pt = PT_EXT2; break; - case FS_SYSVBFS: - pt = PT_SYSVBFS; break; - default: pt = PT_unknown; break; - } - dl_types[i].generic_ptype = pt; - } -} - -static uint8_t -dl_part_type_from_generic(const struct part_type_desc *gent) -{ - - if (dl_types[0].description == NULL) - dl_init_types(); - for (size_t i = 0; i < __arraycount(dl_types); i++) - if (gent == &dl_types[i]) - return (uint8_t)i; - - for (size_t i = 0; i < dl_custom_ptype_count; i++) - if (gent == &dl_custom_ptypes[i].desc) - return dl_custom_ptypes[i].type; - - return 0; -} - -static size_t -disklabel_type_count(void) -{ - return __arraycount(dl_types) + dl_custom_ptype_count; -} - -static const struct part_type_desc * -disklabel_get_type(size_t ndx) -{ - if (dl_types[0].description == NULL) - dl_init_types(); - - if (ndx < __arraycount(dl_types)) - return &dl_types[ndx]; - - ndx -= __arraycount(dl_types); - if (ndx >= dl_custom_ptype_count) - return NULL; - - return &dl_custom_ptypes[ndx].desc; -} - -static const struct part_type_desc * -disklabel_find_type(uint type, bool create_if_unknown) -{ - if (dl_types[0].description == NULL) - dl_init_types(); - - if (type < __arraycount(dl_types)) - return &dl_types[type]; - - for (size_t i = 0; i < dl_custom_ptype_count; i++) - if (dl_custom_ptypes[i].type == type) - return &dl_custom_ptypes[i].desc; - - if (create_if_unknown) { - struct dl_custom_ptype *nt; - - nt = realloc(dl_custom_ptypes, dl_custom_ptype_count+1); - if (nt == NULL) - return NULL; - dl_custom_ptypes = nt; - nt = dl_custom_ptypes + dl_custom_ptype_count; - dl_custom_ptype_count++; - memset(nt, 0, sizeof(*nt)); - nt->type = type; - snprintf(nt->short_desc, sizeof(nt->short_desc), "%u", type); - nt->short_desc[sizeof(nt->short_desc)-1] = 0; - snprintf(nt->description, sizeof(nt->description), - "%s (%u)", msg_string(MSG_custom_type), type); - nt->description[sizeof(nt->description)-1] = 0; - nt->desc.generic_ptype = PT_unknown; - nt->desc.short_desc = nt->short_desc; - nt->desc.description = nt->description; - return &nt->desc; - } - - return NULL; -} - -static const struct part_type_desc * -disklabel_create_custom_part_type(const char *custom, const char **err_msg) -{ - char *endp; - unsigned long fstype; - - fstype = strtoul(custom, &endp, 10); - if (*endp != 0) { - if (err_msg) - *err_msg = msg_string(MSG_dl_type_invalid); - return NULL; - } - - return disklabel_find_type(fstype, true); -} - -static const struct part_type_desc * -disklabel_get_fs_part_type(enum part_type pt, unsigned fstype, unsigned subtype) -{ - return disklabel_find_type(fstype, false); -} - -static const struct part_type_desc * -disklabel_create_unknown_part_type(void) -{ - return disklabel_find_type(FS_OTHER, false); -} - -static const struct part_type_desc * -disklabel_get_generic_type(enum part_type pt) -{ - size_t nt; - - if (dl_types[0].description == NULL) - dl_init_types(); - - switch (pt) { - case PT_root: nt = FS_BSDFFS; break; - case PT_swap: nt = FS_SWAP; break; - case PT_FAT: - case PT_EFI_SYSTEM: - nt = FS_MSDOS; break; - case PT_EXT2: nt = FS_EX2FS; break; - case PT_SYSVBFS: - nt = FS_SYSVBFS; break; - default: nt = FS_UNUSED; break; - } - - return disklabel_get_type(nt); -} - -static bool -disklabel_get_default_fstype(const struct part_type_desc *nat_type, - unsigned *fstype, unsigned *fs_sub_type) -{ - - *fstype = dl_part_type_from_generic(nat_type); -#ifdef DEFAULT_UFS2 - if (*fstype == FS_BSDFFS) - *fs_sub_type = 2; - else -#endif - *fs_sub_type = 0; - return true; -} - -static bool -disklabel_get_part_info(const struct disk_partitions *arg, part_id id, - struct disk_part_info *info) -{ - const struct disklabel_disk_partitions *parts = - (const struct disklabel_disk_partitions*)arg; - part_id ndx; - - if (dl_types[0].description == NULL) - dl_init_types(); - - ndx = 0; - for (int part = 0; part < parts->l.d_npartitions; part++) { - if (parts->l.d_partitions[part].p_fstype == FS_UNUSED - && parts->l.d_partitions[part].p_size == 0) - continue; - - if (ndx == id) { - memset(info, 0, sizeof(*info)); - info->start = parts->l.d_partitions[part].p_offset; - info->size = parts->l.d_partitions[part].p_size; - info->nat_type = disklabel_find_type( - parts->l.d_partitions[part].p_fstype, true); - if (parts->last_mounted[part][0] != 0) - info->last_mounted = parts->last_mounted[part]; - info->fs_type = parts->l.d_partitions[part].p_fstype; - info->fs_sub_type = parts->fs_sub_type[part]; - info->fs_opt2 = parts->l.d_partitions[part].p_fsize; - info->fs_opt1 = info->fs_opt2 * - parts->l.d_partitions[part].p_frag; - info->fs_opt3 = parts->fs_opt3[part]; - if (part == RAW_PART && - parts->l.d_partitions[part].p_fstype == FS_UNUSED) - info->flags |= - PTI_PSCHEME_INTERNAL|PTI_RAW_PART; - if (info->start == parts->install_target && - parts->l.d_partitions[part].p_fstype != FS_UNUSED) - info->flags |= PTI_INSTALL_TARGET; -#if RAW_PART == 3 - if (part == (RAW_PART-1) && parts->dp.parent != NULL && - parts->l.d_partitions[part].p_fstype == FS_UNUSED) - info->flags |= - PTI_PSCHEME_INTERNAL|PTI_WHOLE_DISK; -#endif - return true; - } - - ndx++; - if (ndx > parts->dp.num_part || ndx > id) - break; - } - - return false; -} - -static bool -disklabel_set_part_info(struct disk_partitions *arg, part_id id, - const struct disk_part_info *info, const char **err_msg) -{ - struct disklabel_disk_partitions *parts = - (struct disklabel_disk_partitions*)arg; - part_id ndx; - bool was_inst_target; - - if (dl_types[0].description == NULL) - dl_init_types(); - - ndx = 0; - for (int part = 0; part < parts->l.d_npartitions; part++) { - if (parts->l.d_partitions[part].p_fstype == FS_UNUSED - && parts->l.d_partitions[part].p_size == 0) - continue; - - if (ndx == id) { - was_inst_target = parts->l.d_partitions[part].p_offset - == parts->install_target; - parts->l.d_partitions[part].p_offset = info->start; - if (part != RAW_PART -#if RAW_PART == 3 - && (part != RAW_PART-1 || - parts->dp.parent == NULL) -#endif - ) { - parts->dp.free_space += - parts->l.d_partitions[part].p_size - - info->size; - } - parts->l.d_partitions[part].p_size = info->size; - parts->l.d_partitions[part].p_fstype = - dl_part_type_from_generic(info->nat_type); - parts->l.d_partitions[part].p_fsize = info->fs_opt2; - if (info->fs_opt2 != 0) - parts->l.d_partitions[part].p_frag = - info->fs_opt1 / info->fs_opt2; - else - parts->l.d_partitions[part].p_frag = 0; - parts->fs_opt3[part] = info->fs_opt3; - if (info->last_mounted != NULL && - info->last_mounted != parts->last_mounted[part]) - strlcpy(parts->last_mounted[part], - info->last_mounted, - sizeof(parts->last_mounted[part])); - if (info->flags & PTI_INSTALL_TARGET) - parts->install_target = info->start; - else if (was_inst_target) - parts->install_target = -1; - assert(info->fs_type == 0 || info->fs_type == - parts->l.d_partitions[part].p_fstype); - if (info->fs_sub_type != 0) - parts->fs_sub_type[part] = info->fs_sub_type; - return true; - } - - ndx++; - if (ndx > parts->dp.num_part || ndx > id) - break; - } - - return false; -} - -static size_t -disklabel_get_free_spaces_internal(const struct - disklabel_disk_partitions *parts, - struct disk_part_free_space *result, size_t max_num_result, - daddr_t min_space_size, daddr_t align, daddr_t start, daddr_t ignore) -{ - size_t cnt = 0, i; - daddr_t s, e, from, size, end_of_disk; - - if (start < parts->dp.disk_start) - start = parts->dp.disk_start; - if (min_space_size < 1) - min_space_size = 1; - if (align > 1 && (start % align) != 0) - start = max(roundup(start, align), align); - end_of_disk = parts->dp.disk_start + parts->dp.disk_size; - from = start; - while (from < end_of_disk && cnt < max_num_result) { -again: - size = parts->dp.disk_start + parts->dp.disk_size - from; - start = from; - for (i = 0; i < parts->l.d_npartitions; i++) { - if (i == RAW_PART) - continue; - if (parts->l.d_partitions[i].p_fstype == FS_UNUSED) - continue; - if (parts->l.d_partitions[i].p_size == 0) - continue; - - s = parts->l.d_partitions[i].p_offset; - e = parts->l.d_partitions[i].p_size + s; - if (s == ignore) - continue; - if (e < from) - continue; - if (s <= from && e > from) { - if (e - 1 >= end_of_disk) - return cnt; - - from = e + 1; - if (align > 1) { - from = max(roundup(from, align), align); - if (from >= end_of_disk) { - size = 0; - break; - } - } - goto again; - } - if (s > from && s - from < size) { - size = s - from; - } - } - if (size >= min_space_size) { - result->start = start; - result->size = size; - result++; - cnt++; - } - from += size + 1; - if (align > 1) - from = max(roundup(from, align), align); - } - - return cnt; -} - -static bool -disklabel_can_add_partition(const struct disk_partitions *arg) -{ - const struct disklabel_disk_partitions *parts = - (const struct disklabel_disk_partitions*)arg; - struct disk_part_free_space space; - int i; - - if (dl_maxpart == 0) - dl_maxpart = getmaxpartitions(); - if (parts->dp.free_space < parts->ptn_alignment) - return false; - if (parts->dp.num_part >= dl_maxpart) - return false; - if (disklabel_get_free_spaces_internal(parts, &space, 1, - parts->ptn_alignment, parts->ptn_alignment, 0, -1) < 1) - return false; - if (parts->l.d_npartitions < dl_maxpart) - return true; - for (i = 0; i < parts->l.d_npartitions; i++) { - if (i == RAW_PART) - continue; -#if RAW_PART == 3 - if (i == RAW_PART-1 && parts->dp.parent != NULL) - continue; -#endif - if (parts->l.d_partitions[i].p_fstype == FS_UNUSED) - return true; - } - return false; -} - -static bool -disklabel_get_disk_pack_name(const struct disk_partitions *arg, - char *buf, size_t len) -{ - const struct disklabel_disk_partitions *parts = - (const struct disklabel_disk_partitions*)arg; - - strlcpy(buf, parts->l.d_packname, min(len, - sizeof(parts->l.d_packname)+1)); - return true; -} - -static bool -disklabel_set_disk_pack_name(struct disk_partitions *arg, const char *pack) -{ - struct disklabel_disk_partitions *parts = - (struct disklabel_disk_partitions*)arg; - - strncpy(parts->l.d_packname, pack, sizeof(parts->l.d_packname)); - return true; -} - -static bool -disklabel_get_part_device(const struct disk_partitions *arg, - part_id ptn, char *devname, size_t max_devname_len, int *part, - enum dev_name_usage which_name, bool with_path, bool life) -{ - const struct disklabel_disk_partitions *parts = - (const struct disklabel_disk_partitions*)arg; - part_id id; - int part_index; - char pname; - - if (ptn >= parts->l.d_npartitions) - return false; - - for (id = part_index = 0; part_index < parts->l.d_npartitions; - part_index++) { - if (parts->l.d_partitions[part_index].p_fstype == FS_UNUSED && - parts->l.d_partitions[part_index].p_size == 0) - continue; - if (id == ptn) - break; - id++; - if (id > ptn) - return false; - } - - if (part != 0) - *part = part_index; - - pname = 'a'+ part_index; - - switch (which_name) { - case parent_device_only: - strlcpy(devname, arg->disk, max_devname_len); - return true; - case logical_name: - case plain_name: - if (with_path) - snprintf(devname, max_devname_len, _PATH_DEV "%s%c", - arg->disk, pname); - else - snprintf(devname, max_devname_len, "%s%c", - arg->disk, pname); - return true; - case raw_dev_name: - if (with_path) - snprintf(devname, max_devname_len, _PATH_DEV "r%s%c", - arg->disk, pname); - else - snprintf(devname, max_devname_len, "r%s%c", - arg->disk, pname); - return true; - } - - return false; -} - -/* - * If the requested partition file system type internally skips - * the disk label sector, we can allow it to start at the beginning - * of the disk. In most cases though we have to move the partition - * to start past the label sector. - */ -static bool -need_to_skip_past_label(const struct disk_part_info *info) -{ - switch (info->fs_type) { - case FS_BSDFFS: - case FS_RAID: - return false; - } - - return true; -} - -static part_id -disklabel_add_partition(struct disk_partitions *arg, - const struct disk_part_info *info, const char **err_msg) -{ - struct disklabel_disk_partitions *parts = - (struct disklabel_disk_partitions*)arg; - int i, part = -1; - part_id new_id; - struct disk_part_free_space space; - struct disk_part_info data = *info; - - if (disklabel_get_free_spaces_internal(parts, &space, 1, 1, 1, - data.start, -1) < 1) { - if (err_msg) - *err_msg = msg_string(MSG_No_free_space); - return NO_PART; - } - if (space.start <= (parts->dp.disk_start + LABELSECTOR) && - need_to_skip_past_label(&data)) { - daddr_t new_start = roundup(parts->dp.disk_start + LABELSECTOR, - parts->ptn_alignment); - daddr_t off = new_start - space.start; - space.start += off; - space.size -= off; - } - if (data.size > space.size) - data.size = space.size; - daddr_t dend = data.start+data.size; - if (space.start > data.start) - data.start = space.start; - if (space.start + space.size < dend) - data.size = space.start+space.size-data.start; - - if (dl_maxpart == 0) - dl_maxpart = getmaxpartitions(); - - for (new_id = 0, i = 0; i < parts->l.d_npartitions; i++) { - if (parts->l.d_partitions[i].p_size > 0) - new_id++; - if (data.nat_type->generic_ptype != PT_root && - data.nat_type->generic_ptype != PT_swap && i < RAW_PART) - continue; - if (i == 0 && data.nat_type->generic_ptype != PT_root) - continue; - if (i == 1 && data.nat_type->generic_ptype != PT_swap) - continue; - if (i == RAW_PART) - continue; -#if RAW_PART == 3 - if (i == RAW_PART-1 && parts->dp.parent != NULL) - continue; -#endif - if (parts->l.d_partitions[i].p_size > 0) - continue; -#ifdef MD_DISKLABEL_PART_INDEX_CHECK - if (!MD_DISKLABEL_PART_INDEX_CHECK(&parts->l, i, info)) - continue; -#endif - part = i; - break; - } - - if (part < 0) { - if (parts->l.d_npartitions >= dl_maxpart) { - if (err_msg) - *err_msg = - msg_string(MSG_err_too_many_partitions); - return NO_PART; - } - - part = parts->l.d_npartitions++; - } - parts->l.d_partitions[part].p_offset = data.start; - parts->l.d_partitions[part].p_size = data.size; - parts->l.d_partitions[part].p_fstype = - dl_part_type_from_generic(data.nat_type); - parts->l.d_partitions[part].p_fsize = info->fs_opt2; - if (info->fs_opt2 != 0) - parts->l.d_partitions[part].p_frag = - info->fs_opt1 / info->fs_opt2; - else - parts->l.d_partitions[part].p_frag = 0; - if (data.last_mounted && data.last_mounted[0]) - strlcpy(parts->last_mounted[part], data.last_mounted, - sizeof(parts->last_mounted[part])); - else - parts->last_mounted[part][0] = 0; - parts->fs_sub_type[part] = data.fs_sub_type; - parts->dp.num_part++; - if (data.size <= parts->dp.free_space) - parts->dp.free_space -= data.size; - else - parts->dp.free_space = 0; - - return new_id; -} - -static part_id -disklabel_add_outer_partition(struct disk_partitions *arg, - const struct disk_part_info *info, const char **err_msg) -{ - struct disklabel_disk_partitions *parts = - (struct disklabel_disk_partitions*)arg; - int i, part = -1; - part_id new_id; - - if (dl_maxpart == 0) - dl_maxpart = getmaxpartitions(); - - for (new_id = 0, i = 0; i < parts->l.d_npartitions; i++) { - if (parts->l.d_partitions[i].p_size > 0) - new_id++; - if (info->nat_type->generic_ptype != PT_root && - info->nat_type->generic_ptype != PT_swap && i < RAW_PART) - continue; - if (i == 0 && info->nat_type->generic_ptype != PT_root) - continue; - if (i == 1 && info->nat_type->generic_ptype != PT_swap) - continue; - if (i == RAW_PART) - continue; -#if RAW_PART == 3 - if (i == RAW_PART-1 && parts->dp.parent != NULL) - continue; -#endif - if (parts->l.d_partitions[i].p_size > 0) - continue; - part = i; - break; - } - - if (part < 0) { - if (parts->l.d_npartitions >= dl_maxpart) { - if (err_msg) - *err_msg = - msg_string(MSG_err_too_many_partitions); - return NO_PART; - } - - part = parts->l.d_npartitions++; - } - parts->l.d_partitions[part].p_offset = info->start; - parts->l.d_partitions[part].p_size = info->size; - parts->l.d_partitions[part].p_fstype = - dl_part_type_from_generic(info->nat_type); - parts->l.d_partitions[part].p_fsize = info->fs_opt2; - if (info->fs_opt2 != 0) - parts->l.d_partitions[part].p_frag = - info->fs_opt1 / info->fs_opt2; - else - parts->l.d_partitions[part].p_frag = 0; - if (info->last_mounted && info->last_mounted[0]) - strlcpy(parts->last_mounted[part], info->last_mounted, - sizeof(parts->last_mounted[part])); - else - parts->last_mounted[part][0] = 0; - parts->fs_sub_type[part] = info->fs_sub_type; - parts->dp.num_part++; - - return new_id; -} - -static size_t -disklabel_get_free_spaces(const struct disk_partitions *arg, - struct disk_part_free_space *result, size_t max_num_result, - daddr_t min_space_size, daddr_t align, daddr_t start, daddr_t ignore) -{ - const struct disklabel_disk_partitions *parts = - (const struct disklabel_disk_partitions*)arg; - - return disklabel_get_free_spaces_internal(parts, result, - max_num_result, min_space_size, align, start, ignore); -} - -static daddr_t -disklabel_max_free_space_at(const struct disk_partitions *arg, daddr_t start) -{ - const struct disklabel_disk_partitions *parts = - (const struct disklabel_disk_partitions*)arg; - struct disk_part_free_space space; - - if (disklabel_get_free_spaces_internal(parts, &space, 1, 1, 0, - start, start) == 1) - return space.size; - - return 0; -} - -static daddr_t -disklabel_get_alignment(const struct disk_partitions *arg) -{ - const struct disklabel_disk_partitions *parts = - (const struct disklabel_disk_partitions*)arg; - - return parts->ptn_alignment; -} - -static part_id -disklabel_find_by_name(struct disk_partitions *arg, const char *name) -{ - const struct disklabel_disk_partitions *parts = - (const struct disklabel_disk_partitions*)arg; - const char *sl; - char part; - ptrdiff_t n; - part_id pno, id, i; - - sl = strrchr(name, '/'); - if (sl == NULL) - return NO_PART; - n = sl - name; - if (strncmp(name, parts->l.d_packname, n) != 0) - return NO_PART; - part = name[n+1]; - if (part < 'a') - return NO_PART; - pno = part - 'a'; - if (pno >= parts->l.d_npartitions) - return NO_PART; - if (parts->l.d_partitions[pno].p_fstype == FS_UNUSED) - return NO_PART; - for (id = 0, i = 0; i < pno; i++) - if (parts->l.d_partitions[i].p_fstype != FS_UNUSED || - parts->l.d_partitions[i].p_size != 0) - id++; - return id; -} - -static void -disklabel_free(struct disk_partitions *arg) -{ - - assert(arg != NULL); - free(__UNCONST(arg->disk)); - free(arg); -} - -static void -disklabel_destroy_part_scheme(struct disk_partitions *arg) -{ - - run_program(RUN_SILENT, "disklabel -D %s", arg->disk); - free(arg); -} - -const struct disk_partitioning_scheme -disklabel_parts = { - .name = MSG_parttype_disklabel, - .short_name = MSG_parttype_disklabel_short, - .new_type_prompt = MSG_dl_get_custom_fstype, - .size_limit = (daddr_t)UINT32_MAX, - .write_to_disk = disklabel_write_to_disk, - .read_from_disk = disklabel_parts_read, - .create_new_for_disk = disklabel_parts_new, -#ifdef NO_DISKLABEL_BOOT - .have_boot_support = disklabel_non_bootable, -#endif - .change_disk_geom = disklabel_change_geom, - .get_cylinder_size = disklabel_cylinder_size, - .find_by_name = disklabel_find_by_name, - .get_disk_pack_name = disklabel_get_disk_pack_name, - .set_disk_pack_name = disklabel_set_disk_pack_name, - .delete_all_partitions = disklabel_delete_all, - .delete_partitions_in_range = disklabel_delete_range, - .delete_partition = disklabel_delete, - .get_part_types_count = disklabel_type_count, - .get_part_type = disklabel_get_type, - .get_generic_part_type = disklabel_get_generic_type, - .get_fs_part_type = disklabel_get_fs_part_type, - .get_default_fstype = disklabel_get_default_fstype, - .create_custom_part_type = disklabel_create_custom_part_type, - .create_unknown_part_type = disklabel_create_unknown_part_type, - .get_part_alignment = disklabel_get_alignment, - .adapt_foreign_part_info = generic_adapt_foreign_part_info, - .get_part_info = disklabel_get_part_info, - .can_add_partition = disklabel_can_add_partition, - .set_part_info = disklabel_set_part_info, - .add_partition = disklabel_add_partition, - .add_outer_partition = disklabel_add_outer_partition, - .max_free_space_at = disklabel_max_free_space_at, - .get_free_spaces = disklabel_get_free_spaces, - .get_part_device = disklabel_get_part_device, - .free = disklabel_free, - .destroy_part_scheme = disklabel_destroy_part_scheme, -}; diff --git a/overlay/usr.sbin/sysinst/disks.c b/overlay/usr.sbin/sysinst/disks.c deleted file mode 100644 index a994cff345..0000000000 --- a/overlay/usr.sbin/sysinst/disks.c +++ /dev/null @@ -1,2841 +0,0 @@ -/* $NetBSD: disks.c,v 1.101 2026/07/13 07:43:49 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* disks.c -- routines to deal with finding disks and labeling disks. */ - - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -#include -#include - -#include -#include - -#include - -#include "defs.h" -#include "md.h" -#include "msg_defs.h" -#include "menu_defs.h" -#include "txtwalk.h" - -/* #define DEBUG_VERBOSE 1 */ - -/* Disk descriptions */ -struct disk_desc { - char dd_name[SSTRSIZE]; - char dd_descr[256]; - bool dd_no_mbr, dd_no_part; - uint dd_cyl; - uint dd_head; - uint dd_sec; - uint dd_secsize; - daddr_t dd_totsec; -}; - -#define NAME_PREFIX "NAME=" -static const char name_prefix[] = NAME_PREFIX; - -/* things we could have as /sbin/newfs_* and /sbin/fsck_* */ -static const char *extern_fs_with_chk[] = { - "ext2fs", "lfs", "msdos", "udf", "v7fs" -}; - -/* things we could have as /sbin/newfs_* but not /sbin/fsck_* */ -static const char *extern_fs_newfs_only[] = { - "sysvbfs" -}; - -/* Local prototypes */ -static int found_fs(struct data *, size_t, const struct lookfor*); -static int found_fs_nocheck(struct data *, size_t, const struct lookfor*); -static int fsck_preen(const char *, const char *, bool silent); -static void fixsb(const char *, const char *); - - -static bool tmpfs_on_var_shm(void); - -const char * -getfslabelname(uint f, uint f_version) -{ - if (f == FS_TMPFS) - return "tmpfs"; - else if (f == FS_MFS) - return "mfs"; - else if (f == FS_EFI_SP) - return msg_string(MSG_fs_type_efi_sp); - else if (f == FS_BSDFFS) { - switch (f_version) { - default: - case 1: return msg_string(MSG_fs_type_ffs); - case 2: return msg_string(MSG_fs_type_ffsv2); - case 3: return msg_string(MSG_fs_type_ffsv2ea); - } - } else if (f == FS_EX2FS && f_version == 1) - return msg_string(MSG_fs_type_ext2old); - else if (f >= __arraycount(fstypenames) || fstypenames[f] == NULL) - return "invalid"; - return fstypenames[f]; -} - -/* - * Decide whether we want to mount a tmpfs on /var/shm: we do this always - * when the machine has more than 16 MB of user memory. On smaller machines, - * shm_open() and friends will not perform well anyway. - */ -static bool -tmpfs_on_var_shm(void) -{ - uint64_t ram; - size_t len; - - len = sizeof(ram); - if (sysctlbyname("hw.usermem64", &ram, &len, NULL, 0)) - return false; - - return ram > 16 * MEG; -} - -/* - * Find length of string but ignore trailing whitespace - */ -static int -trimmed_len(const char *s) -{ - size_t len = strlen(s); - - while (len > 0 && isspace((unsigned char)s[len - 1])) - len--; - return len; -} - -/* from src/sbin/atactl/atactl.c - * extract_string: copy a block of bytes out of ataparams and make - * a proper string out of it, truncating trailing spaces and preserving - * strict typing. And also, not doing unaligned accesses. - */ -static void -ata_extract_string(char *buf, size_t bufmax, - uint8_t *bytes, unsigned numbytes, - int needswap) -{ - unsigned i; - size_t j; - unsigned char ch1, ch2; - - for (i = 0, j = 0; i < numbytes; i += 2) { - ch1 = bytes[i]; - ch2 = bytes[i+1]; - if (needswap && j < bufmax-1) { - buf[j++] = ch2; - } - if (j < bufmax-1) { - buf[j++] = ch1; - } - if (!needswap && j < bufmax-1) { - buf[j++] = ch2; - } - } - while (j > 0 && buf[j-1] == ' ') { - j--; - } - buf[j] = '\0'; -} - -/* - * from src/sbin/scsictl/scsi_subr.c - */ -#define STRVIS_ISWHITE(x) ((x) == ' ' || (x) == '\0' || (x) == (u_char)'\377') - -static void -scsi_strvis(char *sdst, size_t dlen, const char *ssrc, size_t slen) -{ - u_char *dst = (u_char *)sdst; - const u_char *src = (const u_char *)ssrc; - - /* Trim leading and trailing blanks and NULs. */ - while (slen > 0 && STRVIS_ISWHITE(src[0])) - ++src, --slen; - while (slen > 0 && STRVIS_ISWHITE(src[slen - 1])) - --slen; - - while (slen > 0) { - if (*src < 0x20 || *src >= 0x80) { - /* non-printable characters */ - dlen -= 4; - if (dlen < 1) - break; - *dst++ = '\\'; - *dst++ = ((*src & 0300) >> 6) + '0'; - *dst++ = ((*src & 0070) >> 3) + '0'; - *dst++ = ((*src & 0007) >> 0) + '0'; - } else if (*src == '\\') { - /* quote characters */ - dlen -= 2; - if (dlen < 1) - break; - *dst++ = '\\'; - *dst++ = '\\'; - } else { - /* normal characters */ - if (--dlen < 1) - break; - *dst++ = *src; - } - ++src, --slen; - } - - *dst++ = 0; -} - - -static int -get_descr_scsi(struct disk_desc *dd) -{ - struct scsipi_inquiry_data inqbuf; - struct scsipi_inquiry cmd; - scsireq_t req; - /* x4 in case every character is escaped, +1 for NUL. */ - char vendor[(sizeof(inqbuf.vendor) * 4) + 1], - product[(sizeof(inqbuf.product) * 4) + 1], - revision[(sizeof(inqbuf.revision) * 4) + 1]; - char size[5]; - - memset(&inqbuf, 0, sizeof(inqbuf)); - memset(&cmd, 0, sizeof(cmd)); - memset(&req, 0, sizeof(req)); - - cmd.opcode = INQUIRY; - cmd.length = sizeof(inqbuf); - memcpy(req.cmd, &cmd, sizeof(cmd)); - req.cmdlen = sizeof(cmd); - req.databuf = &inqbuf; - req.datalen = sizeof(inqbuf); - req.timeout = 10000; - req.flags = SCCMD_READ; - req.senselen = SENSEBUFLEN; - - if (!disk_ioctl(dd->dd_name, SCIOCCOMMAND, &req) - || req.retsts != SCCMD_OK) - return 0; - - scsi_strvis(vendor, sizeof(vendor), inqbuf.vendor, - sizeof(inqbuf.vendor)); - scsi_strvis(product, sizeof(product), inqbuf.product, - sizeof(inqbuf.product)); - scsi_strvis(revision, sizeof(revision), inqbuf.revision, - sizeof(inqbuf.revision)); - - humanize_number(size, sizeof(size), - (uint64_t)dd->dd_secsize * (uint64_t)dd->dd_totsec, - "", HN_AUTOSCALE, HN_B | HN_NOSPACE | HN_DECIMAL); - - snprintf(dd->dd_descr, sizeof(dd->dd_descr), - "%s (%s, %s %s)", - dd->dd_name, size, vendor, product); - - return 1; -} - -static int -get_descr_ata(struct disk_desc *dd) -{ - struct atareq req; - static union { - unsigned char inbuf[DEV_BSIZE]; - struct ataparams inqbuf; - } inbuf; - struct ataparams *inqbuf = &inbuf.inqbuf; - char model[sizeof(inqbuf->atap_model)+1]; - char size[5]; - int needswap = 0; - - memset(&inbuf, 0, sizeof(inbuf)); - memset(&req, 0, sizeof(req)); - - req.flags = ATACMD_READ; - req.command = WDCC_IDENTIFY; - req.databuf = (void *)&inbuf; - req.datalen = sizeof(inbuf); - req.timeout = 1000; - - if (!disk_ioctl(dd->dd_name, ATAIOCCOMMAND, &req) - || req.retsts != ATACMD_OK) - return 0; - -#if BYTE_ORDER == LITTLE_ENDIAN - /* - * On little endian machines, we need to shuffle the string - * byte order. However, we don't have to do this for NEC or - * Mitsumi ATAPI devices - */ - - if (!(inqbuf->atap_config != WDC_CFG_CFA_MAGIC && - (inqbuf->atap_config & WDC_CFG_ATAPI) && - ((inqbuf->atap_model[0] == 'N' && - inqbuf->atap_model[1] == 'E') || - (inqbuf->atap_model[0] == 'F' && - inqbuf->atap_model[1] == 'X')))) { - needswap = 1; - } -#endif - - ata_extract_string(model, sizeof(model), - inqbuf->atap_model, sizeof(inqbuf->atap_model), needswap); - humanize_number(size, sizeof(size), - (uint64_t)dd->dd_secsize * (uint64_t)dd->dd_totsec, - "", HN_AUTOSCALE, HN_B | HN_NOSPACE | HN_DECIMAL); - - snprintf(dd->dd_descr, sizeof(dd->dd_descr), "%s (%s, %s)", - dd->dd_name, size, model); - - return 1; -} - -static int -get_descr_drvctl(struct disk_desc *dd) -{ - prop_dictionary_t command_dict; - prop_dictionary_t args_dict; - prop_dictionary_t results_dict; - prop_dictionary_t props; - int8_t perr; - int error, fd; - bool rv; - char size[5]; - const char *model; - - fd = open("/dev/drvctl", O_RDONLY); - if (fd == -1) - return 0; - - command_dict = prop_dictionary_create(); - args_dict = prop_dictionary_create(); - - prop_dictionary_set_string_nocopy(command_dict, "drvctl-command", - "get-properties"); - prop_dictionary_set_string_nocopy(args_dict, "device-name", - dd->dd_name); - prop_dictionary_set(command_dict, "drvctl-arguments", args_dict); - prop_object_release(args_dict); - - error = prop_dictionary_sendrecv_ioctl(command_dict, fd, - DRVCTLCOMMAND, &results_dict); - prop_object_release(command_dict); - close(fd); - if (error) - return 0; - - rv = prop_dictionary_get_int8(results_dict, "drvctl-error", &perr); - if (rv == false || perr != 0) { - prop_object_release(results_dict); - return 0; - } - - props = prop_dictionary_get(results_dict, - "drvctl-result-data"); - if (props == NULL) { - prop_object_release(results_dict); - return 0; - } - props = prop_dictionary_get(props, "disk-info"); - if (props == NULL || - !prop_dictionary_get_string(props, "type", &model)) { - prop_object_release(results_dict); - return 0; - } - - humanize_number(size, sizeof(size), - (uint64_t)dd->dd_secsize * (uint64_t)dd->dd_totsec, - "", HN_AUTOSCALE, HN_B | HN_NOSPACE | HN_DECIMAL); - - snprintf(dd->dd_descr, sizeof(dd->dd_descr), "%s (%s, %.*s)", - dd->dd_name, size, trimmed_len(model), model); - - prop_object_release(results_dict); - - return 1; -} - -static void -get_descr(struct disk_desc *dd) -{ - char size[5]; - dd->dd_descr[0] = '\0'; - - /* try drvctl first, fallback to direct probing */ - if (get_descr_drvctl(dd)) - return; - /* try ATA */ - if (get_descr_ata(dd)) - return; - /* try SCSI */ - if (get_descr_scsi(dd)) - return; - - /* XXX: get description from raid, cgd, vnd... */ - - /* punt, just give some generic info */ - humanize_number(size, sizeof(size), - (uint64_t)dd->dd_secsize * (uint64_t)dd->dd_totsec, - "", HN_AUTOSCALE, HN_B | HN_NOSPACE | HN_DECIMAL); - - snprintf(dd->dd_descr, sizeof(dd->dd_descr), - "%s (%s)", dd->dd_name, size); -} - -/* - * State for helper callback for get_default_cdrom - */ -struct default_cdrom_data { - char *device; - size_t max_len; - bool found; -}; - -/* - * Helper function for get_default_cdrom, gets passed a device - * name and a void pointer to default_cdrom_data. - */ -static bool -get_default_cdrom_helper(void *state, const char *dev) -{ - struct default_cdrom_data *data = state; - - if (!is_cdrom_device(dev, false)) - return true; - - strlcpy(data->device, dev, data->max_len); - strlcat(data->device, "a", data->max_len); /* default to partition a */ - data->found = true; - - return false; /* one is enough, stop iteration */ -} - -/* - * Set the argument to the name of the first CD devices actually - * available, leave it unmodified otherwise. - * Return true if a device has been found. - */ -bool -get_default_cdrom(char *cd, size_t max_len) -{ - struct default_cdrom_data state; - - state.device = cd; - state.max_len = max_len; - state.found = false; - - if (enumerate_disks(&state, get_default_cdrom_helper)) - return state.found; - - return false; -} - -static bool -get_wedge_descr(struct disk_desc *dd) -{ - struct dkwedge_info dkw; - - if (!get_wedge_info(dd->dd_name, &dkw)) - return false; - - snprintf(dd->dd_descr, sizeof(dd->dd_descr), "%s (%s@%s)", - dkw.dkw_wname, dkw.dkw_devname, dkw.dkw_parent); - return true; -} - -static bool -get_name_and_parent(const char *dev, char *name, char *parent) -{ - struct dkwedge_info dkw; - - if (!get_wedge_info(dev, &dkw)) - return false; - strcpy(name, (const char *)dkw.dkw_wname); - strcpy(parent, dkw.dkw_parent); - return true; -} - -/* - * Is this disk the one the running installer lives on? The root of an install - * image on a USB stick is a wedge (dk1) of the stick (sd0), and - * is_active_rootpart() only compares the names of the disk and of the root - * device, so it does not know them as the same. Makronix measured it on - * 2026-11-08: the list said "a: sd0 (3.0G)", the stick first, and the test - * took it. - */ -static bool -is_root_wedge_parent(const char *dev) -{ - char rootdev[SSTRSIZE] = ""; - size_t varlen = sizeof(rootdev); - int mib[2] = { CTL_KERN, KERN_ROOT_DEVICE }; - struct dkwedge_info dkw; - - if (sysctl(mib, 2, rootdev, &varlen, NULL, 0) < 0) - return false; - if (!get_wedge_info(rootdev, &dkw)) - return false; - return strcmp((const char *)dkw.dkw_parent, dev) == 0; -} - -static bool -find_swap_part_on(const char *dev, char *swap_name) -{ - struct dkwedge_list dkwl; - struct dkwedge_info *dkw; - u_int i; - bool res = false; - - if (!get_wedge_list(dev, &dkwl)) - return false; - - dkw = dkwl.dkwl_buf; - for (i = 0; i < dkwl.dkwl_nwedges; i++) { - res = strcmp(dkw[i].dkw_ptype, DKW_PTYPE_SWAP) == 0; - if (res) { - strcpy(swap_name, (const char*)dkw[i].dkw_wname); - break; - } - } - free(dkwl.dkwl_buf); - - return res; -} - -static bool -is_ffs_wedge(const char *dev) -{ - struct dkwedge_info dkw; - - if (!get_wedge_info(dev, &dkw)) - return false; - - return strcmp(dkw.dkw_ptype, DKW_PTYPE_FFS) == 0; -} - -/* - * Does this device match an entry in our default CDROM device list? - * If looking for install targets, we also flag floopy devices. - */ -bool -is_cdrom_device(const char *dev, bool as_target) -{ - static const char *target_devices[] = { -#ifdef CD_NAMES - CD_NAMES -#endif -#if defined(CD_NAMES) && defined(FLOPPY_NAMES) - , -#endif -#ifdef FLOPPY_NAMES - FLOPPY_NAMES -#endif -#if defined(CD_NAMES) || defined(FLOPPY_NAMES) - , -#endif - 0 - }; - static const char *src_devices[] = { -#ifdef CD_NAMES - CD_NAMES , -#endif - 0 - }; - - for (const char **dev_pat = as_target ? target_devices : src_devices; - *dev_pat; dev_pat++) - if (fnmatch(*dev_pat, dev, 0) == 0) - return true; - - return false; -} - -/* does this device match any entry in the driver list? */ -static bool -dev_in_list(const char *dev, const char **list) -{ - - for ( ; *list; list++) { - - size_t len = strlen(*list); - - /* start of name matches? */ - if (strncmp(dev, *list, len) == 0) { - char *endp; - int e; - - /* remainder of name is a decimal number? */ - strtou(dev+len, &endp, 10, 0, INT_MAX, &e); - if (endp && *endp == 0 && e == 0) - return true; - } - } - - return false; -} - -bool -is_bootable_device(const char *dev) -{ - static const char *non_bootable_devs[] = { - "raid", /* bootcode lives outside of raid */ - "cgd", /* Makronix: the boot partition is outside of cgd */ - "xbd", /* xen virtual device, can not boot from that */ - NULL - }; - - return !dev_in_list(dev, non_bootable_devs); -} - -bool -is_partitionable_device(const char *dev) -{ - static const char *non_partitionable_devs[] = { - "dk", /* this is already a partitioned slice */ - NULL - }; - - return !dev_in_list(dev, non_partitionable_devs); -} - -/* - * Multi-purpose helper function: - * iterate all known disks, invoke a callback for each. - * Stop iteration when the callback returns false. - * Return true when iteration actually happened, false on error. - */ -bool -enumerate_disks(void *state, bool (*func)(void *state, const char *dev)) -{ - static const int mib[] = { CTL_HW, HW_DISKNAMES }; - static const unsigned int miblen = __arraycount(mib); - const char *xd; - char *disk_names; - size_t len; - - if (sysctl(mib, miblen, NULL, &len, NULL, 0) == -1) - return false; - - disk_names = malloc(len); - if (disk_names == NULL) - return false; - - if (sysctl(mib, miblen, disk_names, &len, NULL, 0) == -1) { - free(disk_names); - return false; - } - - for (xd = strtok(disk_names, " "); xd != NULL; xd = strtok(NULL, " ")) { - if (!(*func)(state, xd)) - break; - } - free(disk_names); - - return true; -} - -/* - * Helper state for get_disks - */ -struct get_disks_state { - int numdisks; - struct disk_desc *dd; - bool with_non_partitionable; -}; - -/* - * Helper function for get_disks enumartion - */ -static bool -get_disks_helper(void *arg, const char *dev) -{ - struct get_disks_state *state = arg; - struct disk_geom geo; - - /* is this a CD device? */ - if (is_cdrom_device(dev, true)) - return true; - - memset(state->dd, 0, sizeof(*state->dd)); - strlcpy(state->dd->dd_name, dev, sizeof state->dd->dd_name - 2); - state->dd->dd_no_mbr = !is_bootable_device(dev); - state->dd->dd_no_part = !is_partitionable_device(dev); - - if (state->dd->dd_no_part && !state->with_non_partitionable) - return true; - - if (!get_disk_geom(state->dd->dd_name, &geo)) { - if (errno == ENOENT) - return true; - if (errno != ENOTTY || !state->dd->dd_no_part) - /* - * Allow plain partitions, - * like already existing wedges - * (like dk0) if marked as - * non-partitioning device. - * For all other cases, continue - * with the next disk. - */ - return true; - if (!is_ffs_wedge(state->dd->dd_name)) - return true; - } - - /* - * Exclude a disk mounted as root partition, - * in case of install-image on a USB memstick. - */ - if (is_active_rootpart(state->dd->dd_name, - state->dd->dd_no_part ? -1 : 0)) - return true; - /* ... and the disk whose wedge is the root: the stick itself */ - if (is_root_wedge_parent(state->dd->dd_name)) - return true; - - state->dd->dd_cyl = geo.dg_ncylinders; - state->dd->dd_head = geo.dg_ntracks; - state->dd->dd_sec = geo.dg_nsectors; - state->dd->dd_secsize = geo.dg_secsize; - state->dd->dd_totsec = geo.dg_secperunit; - - if (!state->dd->dd_no_part || !get_wedge_descr(state->dd)) - get_descr(state->dd); - state->dd++; - state->numdisks++; - if (state->numdisks == MAX_DISKS) - return false; - - return true; -} - -/* - * Get all disk devices that are not CDs. - * Optionally leave out those that can not be partitioned further. - */ -static int -get_disks(struct disk_desc *dd, bool with_non_partitionable) -{ - struct get_disks_state state; - - /* initialize */ - state.numdisks = 0; - state.dd = dd; - state.with_non_partitionable = with_non_partitionable; - - if (enumerate_disks(&state, get_disks_helper)) - return state.numdisks; - - return 0; -} - -#ifdef DEBUG_VERBOSE -static void -dump_parts(const struct disk_partitions *parts) -{ - fprintf(stderr, "%s partitions on %s:\n", - MSG_XLAT(parts->pscheme->short_name), parts->disk); - - for (size_t p = 0; p < parts->num_part; p++) { - struct disk_part_info info; - - if (parts->pscheme->get_part_info( - parts, p, &info)) { - fprintf(stderr, " #%zu: start: %" PRIu64 " " - "size: %" PRIu64 ", flags: %x\n", - p, info.start, info.size, - info.flags); - if (info.nat_type) - fprintf(stderr, "\ttype: %s\n", - info.nat_type->description); - } else { - fprintf(stderr, "failed to get info " - "for partition #%zu\n", p); - } - } - fprintf(stderr, "%" PRIu64 " sectors free, disk size %" PRIu64 - " sectors, %zu partitions used\n", parts->free_space, - parts->disk_size, parts->num_part); -} -#endif - -#ifndef NO_DISKSIZE_CHECKS -static bool -delete_scheme(struct pm_devs *p) -{ - - if (!ask_noyes(MSG_removepartswarn)) - return false; - - p->parts->pscheme->free(p->parts); - p->parts = NULL; - return true; -} -#endif - -#if !defined(NO_DISKSIZE_CHECKS) || !defined(NO_PARTMAN) -/* If we have PARTMAN we offer a menu to convert between different partitioning - * schemes, so this code is referenced from code outside the #ifndef NO_DISKSIZE_CHECKS - * code below. - * Ideally we would also conditionalize this on the effective number of partitioning - * schemes available, but that is only known at runtime and this #if stuff is about - * reducing size for "challenged" environments. - */ -static bool -convert_copy(struct disk_partitions *old_parts, - struct disk_partitions *new_parts) -{ - struct disk_part_info oinfo, ninfo; - part_id i; - bool err = false; - - for (i = 0; i < old_parts->num_part; i++) { - if (!old_parts->pscheme->get_part_info(old_parts, i, &oinfo)) - continue; - - if (oinfo.flags & PTI_PSCHEME_INTERNAL) - continue; - - if (oinfo.flags & PTI_SEC_CONTAINER) { - if (old_parts->pscheme->secondary_partitions) { - struct disk_partitions *sec_part = - old_parts->pscheme-> - secondary_partitions( - old_parts, oinfo.start, false); - if (sec_part && !convert_copy(sec_part, - new_parts)) - err = true; - } - continue; - } - - if (!new_parts->pscheme->adapt_foreign_part_info(new_parts, - &ninfo, old_parts->pscheme, &oinfo)) { - err = true; - continue; - } - if (!new_parts->pscheme->add_partition(new_parts, &ninfo, - NULL)) - err = true; - } - return !err; -} - -bool -convert_scheme(struct pm_devs *p, bool is_boot_drive, const char **err_msg) -{ - struct disk_partitions *old_parts, *new_parts; - const struct disk_partitioning_scheme *new_scheme; - - *err_msg = NULL; - - old_parts = p->parts; - new_scheme = select_part_scheme(p, old_parts->pscheme, - false, MSG_select_other_partscheme); - - if (new_scheme == NULL) { - if (err_msg) - *err_msg = INTERNAL_ERROR; - return false; - } - - new_parts = new_scheme->create_new_for_disk(p->diskdev, - 0, p->dlsize, is_boot_drive, NULL); - if (new_parts == NULL) { - if (err_msg) - *err_msg = MSG_out_of_memory; - return false; - } - - if (!convert_copy(old_parts, new_parts)) { - /* need to cleanup */ - if (err_msg) - *err_msg = MSG_cvtscheme_error; - new_parts->pscheme->free(new_parts); - return false; - } - - old_parts->pscheme->free(old_parts); - p->parts = new_parts; - return true; -} -#endif - -static struct pm_devs * -dummy_whole_system_pm(void) -{ - static struct pm_devs whole_system = { - .diskdev = "/", - .no_mbr = true, - .no_part = true, - .cur_system = true, - }; - static bool init = false; - - if (!init) { - strlcpy(whole_system.diskdev_descr, - msg_string(MSG_running_system), - sizeof whole_system.diskdev_descr); - } - - return &whole_system; -} - -#ifdef CGDROOT -static char forced_disk[SSTRSIZE]; - -void -cgdroot_force_disk(const char *name) -{ - - if (name == NULL) - forced_disk[0] = '\0'; - else - strlcpy(forced_disk, name, sizeof forced_disk); -} -#endif - -int -find_disks(const char *doingwhat, bool allow_cur_system) -{ - struct disk_desc disks[MAX_DISKS]; - /* need two more menu entries: current system + extended partitioning */ - menu_ent dsk_menu[__arraycount(disks) + 2], - wedge_menu[__arraycount(dsk_menu)]; - int disk_no[__arraycount(dsk_menu)], wedge_no[__arraycount(dsk_menu)]; - struct disk_desc *disk; - int i = 0, dno, wno, skipped = 0; - int already_found, numdisks, selected_disk = -1; - int menu_no, w_menu_no; - size_t max_desc_len; - struct pm_devs *pm_i, *pm_last = NULL; - bool any_wedges = false; - - memset(dsk_menu, 0, sizeof(dsk_menu)); - memset(wedge_menu, 0, sizeof(wedge_menu)); - - /* Find disks. */ - numdisks = get_disks(disks, partman_go <= 0); - - /* need a redraw here, kernel messages hose everything */ - touchwin(stdscr); - refresh(); - /* Kill typeahead, it won't be what the user had in mind */ - fpurge(stdin); - /* - * we need space for the menu box and the row label, - * this sums up to 7 characters. - */ - max_desc_len = getmaxx(stdscr) - 8; - if (max_desc_len >= __arraycount(disks[0].dd_descr)) - max_desc_len = __arraycount(disks[0].dd_descr) - 1; - - /* - * partman_go: <0 - we want to see menu with extended partitioning - * ==0 - we want to see simple select disk menu - * >0 - we do not want to see any menus, just detect - * all disks - */ -#ifdef CGDROOT - /* Makronix: a disk that was chosen for the user, no menu. */ - if (partman_go <= 0 && forced_disk[0] != '\0') { - partman_go = 0; - selected_disk = -1; - for (i = 0; i < numdisks; i++) - if (strcmp(disks[i].dd_name, forced_disk) == 0) { - selected_disk = i; - break; - } - if (selected_disk < 0) - return -1; - goto fill_pm; - } -#endif - if (partman_go <= 0) { - if (numdisks == 0 && !allow_cur_system) { - /* No disks found! */ - hit_enter_to_continue(MSG_nodisk, NULL); - /*endwin();*/ - return -1; - } else { - /* One or more disks found or current system allowed */ - dno = wno = 0; - if (allow_cur_system) { - dsk_menu[dno].opt_name = MSG_running_system; - dsk_menu[dno].opt_flags = OPT_EXIT; - dsk_menu[dno].opt_action = set_menu_select; - disk_no[dno] = -1; - i++; dno++; - } - for (i = 0; i < numdisks; i++) { - if (disks[i].dd_no_part) { - any_wedges = true; - wedge_menu[wno].opt_name = - disks[i].dd_descr; - disks[i].dd_descr[max_desc_len] = 0; - wedge_menu[wno].opt_flags = OPT_EXIT; - wedge_menu[wno].opt_action = - set_menu_select; - wedge_no[wno] = i; - wno++; - } else { - dsk_menu[dno].opt_name = - disks[i].dd_descr; - disks[i].dd_descr[max_desc_len] = 0; - dsk_menu[dno].opt_flags = OPT_EXIT; - dsk_menu[dno].opt_action = - set_menu_select; - disk_no[dno] = i; - dno++; - } - } - if (any_wedges) { - dsk_menu[dno].opt_name = MSG_selectwedge; - dsk_menu[dno].opt_flags = OPT_EXIT; - dsk_menu[dno].opt_action = set_menu_select; - disk_no[dno] = -2; - dno++; - } - if (partman_go < 0) { - dsk_menu[dno].opt_name = MSG_partman; - dsk_menu[dno].opt_flags = OPT_EXIT; - dsk_menu[dno].opt_action = set_menu_select; - disk_no[dno] = -3; - dno++; - } - w_menu_no = -1; - menu_no = new_menu(MSG_Available_disks, - dsk_menu, dno, -1, - 7, 0, 0, MC_SCROLL, - NULL, NULL, NULL, NULL, MSG_exit_menu_generic); - if (menu_no == -1) - return -1; - for (;;) { - msg_fmt_display(MSG_ask_disk, "%s", doingwhat); - i = -1; - process_menu(menu_no, &i); - if (i == -1) - return -1; - if (disk_no[i] == -2) { - /* do wedges menu */ - if (w_menu_no == -1) { - w_menu_no = new_menu( - MSG_Available_wedges, - wedge_menu, wno, -1, - 4, 0, 0, MC_SCROLL, - NULL, NULL, NULL, NULL, - MSG_exit_menu_generic); - if (w_menu_no == -1) { - selected_disk = -1; - break; - } - } - i = -1; - process_menu(w_menu_no, &i); - if (i == -1) - continue; - selected_disk = wedge_no[i]; - break; - } - selected_disk = disk_no[i]; - break; - } - if (w_menu_no >= 0) - free_menu(w_menu_no); - free_menu(menu_no); - if (allow_cur_system && selected_disk == -1) { - pm = dummy_whole_system_pm(); - return 1; - } - } - if (partman_go < 0 && selected_disk == -3) { - partman_go = 1; - return -2; - } else - partman_go = 0; - if (selected_disk < 0 || selected_disk < 0 - || selected_disk >= numdisks) - return -1; - } - - /* Fill pm struct with device(s) info */ -#ifdef CGDROOT -fill_pm: -#endif - for (i = 0; i < numdisks; i++) { - if (! partman_go) - disk = disks + selected_disk; - else { - disk = disks + i; - already_found = 0; - SLIST_FOREACH(pm_i, &pm_head, l) { - pm_last = pm_i; - if (strcmp(pm_i->diskdev, disk->dd_name) == 0) { - already_found = 1; - break; - } - } - if (pm_i != NULL && already_found) { - /* - * We already added this device, but - * partitions might have changed - */ - if (!pm_i->found) { - pm_i->found = true; - if (pm_i->parts == NULL) { - pm_i->parts = - partitions_read_disk( - pm_i->diskdev, - disk->dd_totsec, - disk->dd_secsize, - disk->dd_no_mbr); - } - } - continue; - } - } - pm = pm_new; - pm->found = 1; - pm->ptstart = 0; - pm->ptsize = 0; - strlcpy(pm->diskdev, disk->dd_name, sizeof pm->diskdev); - strlcpy(pm->diskdev_descr, disk->dd_descr, sizeof pm->diskdev_descr); - /* Use as a default disk if the user has the sets on a local disk */ - strlcpy(localfs_dev, disk->dd_name, sizeof localfs_dev); - - /* - * Init disk size and geometry - */ - pm->sectorsize = disk->dd_secsize; - pm->dlcyl = disk->dd_cyl; - pm->dlhead = disk->dd_head; - pm->dlsec = disk->dd_sec; - pm->dlsize = disk->dd_totsec; - if (pm->dlsize == 0) - pm->dlsize = - disk->dd_cyl * disk->dd_head * disk->dd_sec; - - pm->parts = partitions_read_disk(pm->diskdev, - pm->dlsize, disk->dd_secsize, disk->dd_no_mbr); - -#ifndef NO_DISKSIZE_CHECKS -again: -#endif - -#ifdef DEBUG_VERBOSE - if (pm->parts) { - fputs("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", stderr); - dump_parts(pm->parts); - - if (pm->parts->pscheme->secondary_partitions) { - const struct disk_partitions *sparts = - pm->parts->pscheme->secondary_partitions( - pm->parts, pm->ptstart, false); - if (sparts != NULL) - dump_parts(sparts); - } - } -#endif - - pm->no_mbr = disk->dd_no_mbr; - pm->no_part = disk->dd_no_part; - if (!pm->no_part) { - pm->sectorsize = disk->dd_secsize; - pm->dlcyl = disk->dd_cyl; - pm->dlhead = disk->dd_head; - pm->dlsec = disk->dd_sec; - pm->dlsize = disk->dd_totsec; - if (pm->dlsize == 0) - pm->dlsize = - disk->dd_cyl * disk->dd_head * disk->dd_sec; - -#ifndef NO_DISKSIZE_CHECKS - if (pm->parts && pm->parts->pscheme->size_limit != 0 - && pm->dlsize > pm->parts->pscheme->size_limit - && ! partman_go) { - - char size[5], limit[5]; - - humanize_number(size, sizeof(size), - (uint64_t)pm->dlsize * pm->sectorsize, - "", HN_AUTOSCALE, HN_B | HN_NOSPACE - | HN_DECIMAL); - - humanize_number(limit, sizeof(limit), - (uint64_t)pm->parts->pscheme->size_limit - * 512U, - "", HN_AUTOSCALE, HN_B | HN_NOSPACE - | HN_DECIMAL); - - if (logfp) - fprintf(logfp, - "disk %s: is too big (%" PRIu64 - " blocks, %s), will be truncated\n", - pm->diskdev, pm->dlsize, - size); - - msg_display_subst(MSG_toobigdisklabel, 5, - pm->diskdev, - msg_string(pm->parts->pscheme->name), - msg_string(pm->parts->pscheme->short_name), - size, limit); - - int sel = -1; - const char *err = NULL; - process_menu(MENU_convertscheme, &sel); - if (sel == 1) { - if (!delete_scheme(pm)) { - return -1; - } - goto again; - } else if (sel == 2) { - if (!convert_scheme(pm, - partman_go < 0, &err)) { - if (err != NULL) - err_msg_win(err); - return -1; - } - goto again; - } else if (sel == 3) { - return -1; - } - pm->dlsize = pm->parts->pscheme->size_limit; - } -#endif - } else { - pm->sectorsize = 0; - pm->dlcyl = 0; - pm->dlhead = 0; - pm->dlsec = 0; - pm->dlsize = 0; - pm->no_mbr = 1; - } - pm->dlcylsize = pm->dlhead * pm->dlsec; - - if (partman_go) { - pm_getrefdev(pm_new); - if (SLIST_EMPTY(&pm_head) || pm_last == NULL) - SLIST_INSERT_HEAD(&pm_head, pm_new, l); - else - SLIST_INSERT_AFTER(pm_last, pm_new, l); - pm_new = malloc(sizeof (struct pm_devs)); - memset(pm_new, 0, sizeof *pm_new); - } else - /* We are not in partman and do not want to process - * all devices, exit */ - break; - } - - return numdisks-skipped; -} - -static int -sort_part_usage_by_mount(const void *a, const void *b) -{ - const struct part_usage_info *pa = a, *pb = b; - - /* sort all real partitions by mount point */ - if ((pa->instflags & PUIINST_MOUNT) && - (pb->instflags & PUIINST_MOUNT)) - return strcmp(pa->mount, pb->mount); - - /* real partitions go first */ - if (pa->instflags & PUIINST_MOUNT) - return -1; - if (pb->instflags & PUIINST_MOUNT) - return 1; - - /* arbitrary order for all other partitions */ - if (pa->type == PT_swap) - return -1; - if (pb->type == PT_swap) - return 1; - if (pa->type < pb->type) - return -1; - if (pa->type > pb->type) - return 1; - if (pa->cur_part_id < pb->cur_part_id) - return -1; - if (pa->cur_part_id > pb->cur_part_id) - return 1; - return (uintptr_t)a < (uintptr_t)b ? -1 : 1; -} - -/* - * Are we able to newfs this type of file system? - * Keep in sync with switch labels below! - */ -bool -can_newfs_fstype(unsigned int t) -{ - switch (t) { - case FS_APPLEUFS: - case FS_BSDFFS: - case FS_BSDLFS: - case FS_MSDOS: - case FS_EFI_SP: - case FS_SYSVBFS: - case FS_V7: - case FS_EX2FS: - return true; - } - return false; -} - -int -make_filesystems(struct install_partition_desc *install) -{ - int error = 0, partno = -1; - char *newfs = NULL, devdev[PATH_MAX], rdev[PATH_MAX], - opts[200], opt[30]; - size_t i; - struct part_usage_info *ptn; - struct disk_partitions *parts; - const char *mnt_opts = NULL, *fsname = NULL; - - if (pm->cur_system) - return 1; - - if (pm->no_part) { - /* check if this target device already has a ffs */ - snprintf(rdev, sizeof rdev, _PATH_DEV "/r%s", pm->diskdev); - error = fsck_preen(rdev, "ffs", true); - if (error) { - if (!ask_noyes(MSG_No_filesystem_newfs)) - return EINVAL; - error = run_program(RUN_DISPLAY | RUN_PROGRESS, - "/sbin/newfs -V2 -O2ea %s", rdev); - } - - md_pre_mount(install, 0); - - make_target_dir("/"); - - snprintf(devdev, sizeof devdev, _PATH_DEV "%s", pm->diskdev); - error = target_mount_do("-o async", devdev, "/"); - if (error) { - msg_display_subst(MSG_mountfail, 2, devdev, "/"); - hit_enter_to_continue(NULL, NULL); - } - - return error; - } - - /* Making new file systems and mounting them */ - - /* sort to ensure /usr/local is mounted after /usr (etc) */ - qsort(install->infos, install->num, sizeof(*install->infos), - sort_part_usage_by_mount); - - for (i = 0; i < install->num; i++) { - /* - * Newfs all file systems marked as needing this. - * Mount the ones that have a mountpoint in the target. - */ - ptn = &install->infos[i]; - parts = ptn->parts; - newfs = NULL; - fsname = NULL; - - if (ptn->size == 0 || parts == NULL|| ptn->type == PT_swap) - continue; - - if (parts->pscheme->get_part_device(parts, ptn->cur_part_id, - devdev, sizeof devdev, &partno, parent_device_only, false, - false) && is_active_rootpart(devdev, partno)) - continue; - - parts->pscheme->get_part_device(parts, ptn->cur_part_id, - devdev, sizeof devdev, &partno, plain_name, true, true); - - parts->pscheme->get_part_device(parts, ptn->cur_part_id, - rdev, sizeof rdev, &partno, raw_dev_name, true, true); - - opts[0] = 0; - switch (ptn->fs_type) { - case FS_APPLEUFS: - if (ptn->fs_opt3 != 0) - snprintf(opts, sizeof opts, "-i %u", - ptn->fs_opt3); - asprintf(&newfs, "/sbin/newfs %s", opts); - mnt_opts = "-tffs -o async"; - fsname = "ffs"; - break; - case FS_BSDFFS: - if (ptn->fs_opt3 != 0) - snprintf(opts, sizeof opts, "-i %u ", - ptn->fs_opt3); - if (ptn->fs_opt1 != 0) { - snprintf(opt, sizeof opt, "-b %u ", - ptn->fs_opt1); - strcat(opts, opt); - } - if (ptn->fs_opt2 != 0) { - snprintf(opt, sizeof opt, "-f %u ", - ptn->fs_opt2); - strcat(opts, opt); - } - const char *ffs_fmt; - switch (ptn->fs_version) { - case 3: ffs_fmt = "2ea"; break; - case 2: ffs_fmt = "2"; break; - case 1: - default: ffs_fmt = "1"; break; - } - asprintf(&newfs, - "/sbin/newfs -V2 -O %s %s", - ffs_fmt, opts); - if (ptn->mountflags & PUIMNT_LOG) - mnt_opts = "-tffs -o log"; - else - mnt_opts = "-tffs -o async"; - fsname = "ffs"; - break; - case FS_BSDLFS: - if (ptn->fs_opt1 != 0 && ptn->fs_opt2 != 0) - snprintf(opts, sizeof opts, "-b %u", - ptn->fs_opt1 * ptn->fs_opt2); - asprintf(&newfs, "/sbin/newfs_lfs %s", opts); - mnt_opts = "-tlfs"; - fsname = "lfs"; - break; - case FS_MSDOS: - case FS_EFI_SP: - asprintf(&newfs, "/sbin/newfs_msdos"); - mnt_opts = "-tmsdos"; - fsname = "msdos"; - break; - case FS_SYSVBFS: - asprintf(&newfs, "/sbin/newfs_sysvbfs"); - mnt_opts = "-tsysvbfs"; - fsname = "sysvbfs"; - break; - case FS_V7: - asprintf(&newfs, "/sbin/newfs_v7fs"); - mnt_opts = "-tv7fs"; - fsname = "v7fs"; - break; - case FS_EX2FS: - asprintf(&newfs, - ptn->fs_version == 1 ? - "/sbin/newfs_ext2fs -O 0" : - "/sbin/newfs_ext2fs"); - mnt_opts = "-text2fs"; - fsname = "ext2fs"; - break; - } - if ((ptn->instflags & PUIINST_NEWFS) && newfs != NULL) { - error = run_program(RUN_DISPLAY | RUN_PROGRESS, - "%s %s", newfs, rdev); - } else if ((ptn->instflags & (PUIINST_MOUNT|PUIINST_BOOT)) - && fsname != NULL) { - /* We'd better check it isn't dirty */ - error = fsck_preen(devdev, fsname, false); - } - free(newfs); - if (error != 0) - return error; - - ptn->instflags &= ~PUIINST_NEWFS; - md_pre_mount(install, i); - - if (partman_go == 0 && (ptn->instflags & PUIINST_MOUNT) && - mnt_opts != NULL) { - make_target_dir(ptn->mount); - error = target_mount_do(mnt_opts, devdev, - ptn->mount); - if (error) { - msg_display_subst(MSG_mountfail, 2, devdev, - ptn->mount); - hit_enter_to_continue(NULL, NULL); - return error; - } - } - } - return 0; -} - -int -make_fstab(struct install_partition_desc *install) -{ - FILE *f; - const char *dump_dev = NULL; - const char *dev; - char dev_buf[PATH_MAX], swap_dev[PATH_MAX]; - - if (pm->cur_system) - return 1; - - swap_dev[0] = 0; - - /* Create the fstab. */ - make_target_dir("/etc"); - f = target_fopen("/etc/fstab", "w"); - scripting_fprintf(NULL, "cat <%s/etc/fstab\n", target_prefix()); - - if (logfp) - (void)fprintf(logfp, - "Making %s/etc/fstab (%s).\n", target_prefix(), - pm->diskdev); - - if (f == NULL) { - msg_display(MSG_createfstab); - if (logfp) - (void)fprintf(logfp, "Failed to make /etc/fstab!\n"); - hit_enter_to_continue(NULL, NULL); -#ifndef DEBUG - return 1; -#else - f = stdout; -#endif - } - - scripting_fprintf(f, "# NetBSD /etc/fstab\n# See /usr/share/examples/" - "fstab/ for more examples.\n"); - - if (pm->no_part) { - /* single dk? target */ - char buf[200], parent[200], swap[200], *prompt; - int res; - - if (!get_name_and_parent(pm->diskdev, buf, parent)) - goto done_with_disks; - scripting_fprintf(f, NAME_PREFIX "%s\t/\tffs\trw\t\t1 1\n", - buf); - if (!find_swap_part_on(parent, swap)) - goto done_with_disks; - const char *args[] = { parent, swap }; - prompt = str_arg_subst(msg_string(MSG_Auto_add_swap_part), - __arraycount(args), args); - res = ask_yesno(prompt); - free(prompt); - if (res) - scripting_fprintf(f, NAME_PREFIX "%s\tnone" - "\tswap\tsw,dp\t\t0 0\n", swap); - goto done_with_disks; - } - - for (size_t i = 0; i < install->num; i++) { - - const struct part_usage_info *ptn = &install->infos[i]; - - if (ptn->size == 0) - continue; - - bool is_tmpfs = ptn->type == PT_root && - ptn->fs_type == FS_TMPFS && - (ptn->flags & PUIFLG_JUST_MOUNTPOINT); - - if (!is_tmpfs && ptn->type != PT_swap && - (ptn->instflags & PUIINST_MOUNT) == 0) - continue; - - const char *s = ""; - const char *mp = ptn->mount; - const char *fstype = "ffs"; - int fsck_pass = 0, dump_freq = 0; - - if (ptn->parts->pscheme->get_part_device(ptn->parts, - ptn->cur_part_id, dev_buf, sizeof dev_buf, NULL, - logical_name, true, false)) - dev = dev_buf; - else - dev = NULL; - - if (!*mp) { - /* - * No mount point specified, comment out line and - * use /mnt as a placeholder for the mount point. - */ - s = "# "; - mp = "/mnt"; - } - - switch (ptn->fs_type) { - case FS_UNUSED: - continue; - case FS_BSDLFS: - /* If there is no LFS, just comment it out. */ - if (!check_lfs_progs()) - s = "# "; - fstype = "lfs"; - /* FALLTHROUGH */ - case FS_BSDFFS: - fsck_pass = (strcmp(mp, "/") == 0) ? 1 : 2; - dump_freq = 1; - break; - case FS_MSDOS: - fstype = "msdos"; - break; - case FS_SWAP: - if (swap_dev[0] == 0) { - strlcpy(swap_dev, dev, sizeof swap_dev); - dump_dev = ",dp"; - } else { - dump_dev = ""; - } - scripting_fprintf(f, "%s\t\tnone\tswap\tsw%s\t\t 0 0\n", - dev, dump_dev); - continue; -#ifdef HAVE_TMPFS - case FS_TMPFS: - if (ptn->size < 0) - scripting_fprintf(f, - "tmpfs\t\t/tmp\ttmpfs\trw,-m1777," - "-sram%%%" PRIu64 "\n", -ptn->size); - else - scripting_fprintf(f, - "tmpfs\t\t/tmp\ttmpfs\trw,-m1777," - "-s%" PRIu64 "M\n", ptn->size); - continue; -#else - case FS_MFS: - if (swap_dev[0] != 0) - scripting_fprintf(f, - "%s\t\t/tmp\tmfs\trw,-s=%" - PRIu64 "\n", swap_dev, ptn->size); - else - scripting_fprintf(f, - "swap\t\t/tmp\tmfs\trw,-s=%" - PRIu64 "\n", ptn->size); - continue; -#endif - case FS_SYSVBFS: - fstype = "sysvbfs"; - make_target_dir("/stand"); - break; - default: - fstype = "???"; - s = "# "; - break; - } - /* The code that remounts root rw doesn't check the partition */ - if (strcmp(mp, "/") == 0 && - (ptn->instflags & PUIINST_MOUNT) == 0) - s = "# "; - - scripting_fprintf(f, - "%s%s\t\t%s\t%s\trw%s%s%s%s%s%s%s%s\t\t %d %d\n", - s, dev, mp, fstype, - ptn->mountflags & PUIMNT_LOG ? ",log" : "", - ptn->mountflags & PUIMNT_NOAUTO ? ",noauto" : "", - ptn->mountflags & PUIMNT_ASYNC ? ",async" : "", - ptn->mountflags & PUIMNT_NOATIME ? ",noatime" : "", - ptn->mountflags & PUIMNT_NODEV ? ",nodev" : "", - ptn->mountflags & PUIMNT_NODEVMTIME ? ",nodevmtime" : "", - ptn->mountflags & PUIMNT_NOEXEC ? ",noexec" : "", - ptn->mountflags & PUIMNT_NOSUID ? ",nosuid" : "", - dump_freq, fsck_pass); - } - -done_with_disks: - if (cdrom_dev[0] == 0) - get_default_cdrom(cdrom_dev, sizeof(cdrom_dev)); - - /* Add /kern, /proc and /dev/pts to fstab and make mountpoint. */ - scripting_fprintf(f, "kernfs\t\t/kern\tkernfs\trw\n"); - scripting_fprintf(f, "ptyfs\t\t/dev/pts\tptyfs\trw\n"); - scripting_fprintf(f, "procfs\t\t/proc\tprocfs\trw\n"); - if (cdrom_dev[0] != 0) - scripting_fprintf(f, "/dev/%s\t\t/cdrom\tcd9660\tro,noauto\n", - cdrom_dev); - scripting_fprintf(f, "%stmpfs\t\t/var/shm\ttmpfs\trw,-m1777,-sram%%25\n", - tmpfs_on_var_shm() ? "" : "#"); - make_target_dir("/kern"); - make_target_dir("/proc"); - make_target_dir("/dev/pts"); - if (cdrom_dev[0] != 0) - make_target_dir("/cdrom"); - make_target_dir("/var/shm"); - - scripting_fprintf(NULL, "EOF\n"); - - fclose(f); - fflush(NULL); - return 0; -} - -static bool -find_part_by_name(const char *name, struct disk_partitions **parts, - part_id *pno) -{ - struct pm_devs *i; - struct disk_partitions *ps; - part_id id; - struct disk_desc disks[MAX_DISKS]; - int n, cnt; - - if (SLIST_EMPTY(&pm_head)) { - /* - * List has not been filled, only "pm" is valid - check - * that first. - */ - if (pm->parts != NULL && - pm->parts->pscheme->find_by_name != NULL) { - id = pm->parts->pscheme->find_by_name(pm->parts, name); - if (id != NO_PART) { - *pno = id; - *parts = pm->parts; - return true; - } - } - /* - * Not that easy - check all other disks - */ - cnt = get_disks(disks, false); - for (n = 0; n < cnt; n++) { - if (strcmp(disks[n].dd_name, pm->diskdev) == 0) - continue; - ps = partitions_read_disk(disks[n].dd_name, - disks[n].dd_totsec, - disks[n].dd_secsize, - disks[n].dd_no_mbr); - if (ps == NULL) - continue; - if (ps->pscheme->find_by_name == NULL) - continue; - id = ps->pscheme->find_by_name(ps, name); - if (id != NO_PART) { - *pno = id; - *parts = ps; - return true; /* XXX this leaks memory */ - } - ps->pscheme->free(ps); - } - } else { - SLIST_FOREACH(i, &pm_head, l) { - if (i->parts == NULL) - continue; - if (i->parts->pscheme->find_by_name == NULL) - continue; - id = i->parts->pscheme->find_by_name(i->parts, name); - if (id == NO_PART) - continue; - *pno = id; - *parts = i->parts; - return true; - } - } - - *pno = NO_PART; - *parts = NULL; - return false; -} - -static int -/*ARGSUSED*/ -process_found_fs(struct data *list, size_t num, const struct lookfor *item, - bool with_fsck) -{ - int error; - char rdev[PATH_MAX], dev[PATH_MAX], - options[STRSIZE], tmp[STRSIZE], *op, *last; - const char *fsname = (const char*)item->var; - part_id pno; - struct disk_partitions *parts; - size_t len; - bool first, is_root; - - if (num < 2 || strstr(list[2].u.s_val, "noauto") != NULL) - return 0; - - is_root = strcmp(list[1].u.s_val, "/") == 0; - if (is_root && target_mounted()) - return 0; - - if (strcmp(item->head, name_prefix) == 0) { - /* this fstab entry uses NAME= syntax */ - - /* unescape */ - char *src, *dst; - for (src = list[0].u.s_val, dst =src; src[0] != 0; ) { - if (src[0] == '\\' && src[1] != 0) - src++; - *dst++ = *src++; - } - *dst = 0; - - if (!find_part_by_name(list[0].u.s_val, - &parts, &pno) || parts == NULL || pno == NO_PART) - return 0; - parts->pscheme->get_part_device(parts, pno, - dev, sizeof(dev), NULL, plain_name, true, true); - parts->pscheme->get_part_device(parts, pno, - rdev, sizeof(rdev), NULL, raw_dev_name, true, true); - } else { - /* this fstab entry uses the plain device name */ - if (is_root) { - /* - * PR 54480: we can not use the current device name - * as it might be different from the real environment. - * This is an abuse of the functionality, but it used - * to work before (and still does work if only a single - * target disk is involved). - * Use the device name from the current "pm" instead. - */ - strcpy(rdev, "/dev/r"); - strlcat(rdev, pm->diskdev, sizeof(rdev)); - strcpy(dev, "/dev/"); - strlcat(dev, pm->diskdev, sizeof(dev)); - /* copy over the partition letter, if any */ - len = strlen(list[0].u.s_val); - if (list[0].u.s_val[len-1] >= 'a' && - list[0].u.s_val[len-1] <= - ('a' + getmaxpartitions())) { - strlcat(rdev, &list[0].u.s_val[len-1], - sizeof(rdev)); - strlcat(dev, &list[0].u.s_val[len-1], - sizeof(dev)); - } - } else { - strcpy(rdev, "/dev/r"); - strlcat(rdev, list[0].u.s_val, sizeof(rdev)); - strcpy(dev, "/dev/"); - strlcat(dev, list[0].u.s_val, sizeof(dev)); - } - } - - if (with_fsck) { - /* need the raw device for fsck_preen */ - error = fsck_preen(rdev, fsname, false); - if (error != 0) - return error; - } - - /* add mount option for fs type */ - strcpy(options, "-t "); - strlcat(options, fsname, sizeof(options)); - - /* extract mount options from fstab */ - strlcpy(tmp, list[2].u.s_val, sizeof(tmp)); - for (first = true, op = strtok_r(tmp, ",", &last); op != NULL; - op = strtok_r(NULL, ",", &last)) { - if (strcmp(op, FSTAB_RW) == 0 || - strcmp(op, FSTAB_RQ) == 0 || - strcmp(op, FSTAB_RO) == 0 || - strcmp(op, FSTAB_SW) == 0 || - strcmp(op, FSTAB_DP) == 0 || - strcmp(op, FSTAB_XX) == 0) - continue; - if (first) { - first = false; - strlcat(options, " -o ", sizeof(options)); - } else { - strlcat(options, ",", sizeof(options)); - } - strlcat(options, op, sizeof(options)); - } - - error = target_mount(options, dev, list[1].u.s_val); - if (error != 0) { - msg_fmt_display(MSG_mount_failed, "%s", list[0].u.s_val); - if (!ask_noyes(NULL)) - return error; - } - return 0; -} - -static int -/*ARGSUSED*/ -found_fs(struct data *list, size_t num, const struct lookfor *item) -{ - return process_found_fs(list, num, item, true); -} - -static int -/*ARGSUSED*/ -found_fs_nocheck(struct data *list, size_t num, const struct lookfor *item) -{ - return process_found_fs(list, num, item, false); -} - -/* - * Do an fsck. On failure, inform the user by showing a warning - * message and doing menu_ok() before proceeding. - * The device passed should be the full qualified path to raw disk - * (e.g. /dev/rwd0a). - * Returns 0 on success, or nonzero return code from fsck() on failure. - */ -static int -fsck_preen(const char *disk, const char *fsname, bool silent) -{ - char *prog, err[12]; - int error; - - if (fsname == NULL) - return 0; - /* first, check if fsck program exists, if not, assume ok */ - asprintf(&prog, "/sbin/fsck_%s", fsname); - if (prog == NULL) - return 0; - if (access(prog, X_OK) != 0) { - free(prog); - return 0; - } - if (!strcmp(fsname,"ffs")) - fixsb(prog, disk); - error = run_program(silent? RUN_SILENT|RUN_ERROR_OK : 0, "%s -p -q %s", prog, disk); - free(prog); - if (error != 0 && !silent) { - sprintf(err, "%d", error); - msg_display_subst(msg_string(MSG_badfs), 3, - disk, fsname, err); - if (ask_noyes(NULL)) - error = 0; - /* XXX at this point maybe we should run a full fsck? */ - } - return error; -} - -/* This performs the same function as the etc/rc.d/fixsb script - * which attempts to correct problems with ffs1 filesystems - * which may have been introduced by booting a netbsd-current kernel - * from between April of 2003 and January 2004. For more information - * This script was developed as a response to NetBSD pr install/25138 - * Additional prs regarding the original issue include: - * bin/17910 kern/21283 kern/21404 port-macppc/23925 port-macppc/23926 - */ -static void -fixsb(const char *prog, const char *disk) -{ - int fd; - int rval; - union { - struct fs fs; - char buf[SBLOCKSIZE]; - } sblk; - struct fs *fs = &sblk.fs; - - fd = open(disk, O_RDONLY); - if (fd == -1) - return; - - /* Read ffsv1 main superblock */ - rval = pread(fd, sblk.buf, sizeof sblk.buf, SBLOCK_UFS1); - close(fd); - if (rval != sizeof sblk.buf) - return; - - if (fs->fs_magic != FS_UFS1_MAGIC && - fs->fs_magic != FS_UFS1_MAGIC_SWAPPED) - /* Not FFSv1 */ - return; - if (fs->fs_old_flags & FS_FLAGS_UPDATED) - /* properly updated fslevel 4 */ - return; - if (fs->fs_bsize != fs->fs_maxbsize) - /* not messed up */ - return; - - /* - * OK we have a munged fs, first 'upgrade' to fslevel 4, - * We specify -b16 in order to stop fsck bleating that the - * sb doesn't match the first alternate. - */ - run_program(RUN_DISPLAY | RUN_PROGRESS, - "%s -p -b 16 -c 4 %s", prog, disk); - /* Then downgrade to fslevel 3 */ - run_program(RUN_DISPLAY | RUN_PROGRESS, - "%s -p -c 3 %s", prog, disk); -} - -/* - * fsck and mount the root partition. - * devdev is the fully qualified block device name. - */ -static int -mount_root(const char *devdev, bool first, bool writeable, - struct install_partition_desc *install) -{ - int error; - - error = fsck_preen(devdev, "ffs", false); - if (error != 0) - return error; - - if (first) - md_pre_mount(install, 0); - - /* Mount devdev on target's "". - * If we pass "" as mount-on, Prefixing will DTRT. - * for now, use no options. - * XXX consider -o remount in case target root is - * current root, still readonly from single-user? - */ - return target_mount(writeable? "" : "-r", devdev, ""); -} - -/* Get information on the file systems mounted from the root filesystem. - * Offer to convert them into 4.4BSD inodes if they are not 4.4BSD - * inodes. Fsck them. Mount them. - */ - -int -mount_disks(struct install_partition_desc *install) -{ - char *fstab; - int fstabsize; - int error; - char devdev[PATH_MAX]; - size_t i, num_fs_types, num_entries; - struct lookfor *fstabbuf, *l; - - if (install->cur_system) - return 0; - - /* - * Check what file system tools are available and create parsers - * for the corresponding fstab(5) entries - all others will be - * ignored. - */ - num_fs_types = 1; /* ffs is implicit */ - for (i = 0; i < __arraycount(extern_fs_with_chk); i++) { - sprintf(devdev, "/sbin/newfs_%s", extern_fs_with_chk[i]); - if (file_exists_p(devdev)) - num_fs_types++; - } - for (i = 0; i < __arraycount(extern_fs_newfs_only); i++) { - sprintf(devdev, "/sbin/newfs_%s", extern_fs_newfs_only[i]); - if (file_exists_p(devdev)) - num_fs_types++; - } - num_entries = 2 * num_fs_types + 1; /* +1 for "ufs" special case */ - fstabbuf = calloc(num_entries, sizeof(*fstabbuf)); - if (fstabbuf == NULL) - return -1; - l = fstabbuf; - l->head = "/dev/"; - l->fmt = strdup("/dev/%s %s ffs %s"); - l->todo = "c"; - l->var = __UNCONST("ffs"); - l->func = found_fs; - l++; - l->head = "/dev/"; - l->fmt = strdup("/dev/%s %s ufs %s"); - l->todo = "c"; - l->var = __UNCONST("ffs"); - l->func = found_fs; - l++; - l->head = NAME_PREFIX; - l->fmt = strdup(NAME_PREFIX "%s %s ffs %s"); - l->todo = "c"; - l->var = __UNCONST("ffs"); - l->func = found_fs; - l++; - for (i = 0; i < __arraycount(extern_fs_with_chk); i++) { - sprintf(devdev, "/sbin/newfs_%s", extern_fs_with_chk[i]); - if (!file_exists_p(devdev)) - continue; - sprintf(devdev, "/dev/%%s %%s %s %%s", extern_fs_with_chk[i]); - l->head = "/dev/"; - l->fmt = strdup(devdev); - l->todo = "c"; - l->var = __UNCONST(extern_fs_with_chk[i]); - l->func = found_fs; - l++; - sprintf(devdev, NAME_PREFIX "%%s %%s %s %%s", - extern_fs_with_chk[i]); - l->head = NAME_PREFIX; - l->fmt = strdup(devdev); - l->todo = "c"; - l->var = __UNCONST(extern_fs_with_chk[i]); - l->func = found_fs; - l++; - } - for (i = 0; i < __arraycount(extern_fs_newfs_only); i++) { - sprintf(devdev, "/sbin/newfs_%s", extern_fs_newfs_only[i]); - if (!file_exists_p(devdev)) - continue; - sprintf(devdev, "/dev/%%s %%s %s %%s", extern_fs_newfs_only[i]); - l->head = "/dev/"; - l->fmt = strdup(devdev); - l->todo = "c"; - l->var = __UNCONST(extern_fs_newfs_only[i]); - l->func = found_fs_nocheck; - l++; - sprintf(devdev, NAME_PREFIX "%%s %%s %s %%s", - extern_fs_newfs_only[i]); - l->head = NAME_PREFIX; - l->fmt = strdup(devdev); - l->todo = "c"; - l->var = __UNCONST(extern_fs_newfs_only[i]); - l->func = found_fs_nocheck; - l++; - } - assert((size_t)(l - fstabbuf) == num_entries); - - /* First the root device. */ - if (target_already_root()) { - /* avoid needing to call target_already_root() again */ - targetroot_mnt[0] = 0; - } else if (pm->no_part) { - snprintf(devdev, sizeof devdev, _PATH_DEV "%s", pm->diskdev); - error = mount_root(devdev, true, false, install); - if (error != 0 && error != EBUSY) - return -1; - } else { - for (i = 0; i < install->num; i++) { - if (is_root_part_mount(install->infos[i].mount)) - break; - } - - if (i >= install->num) { - hit_enter_to_continue(MSG_noroot, NULL); - return -1; - } - - if (!install->infos[i].parts->pscheme->get_part_device( - install->infos[i].parts, install->infos[i].cur_part_id, - devdev, sizeof devdev, NULL, plain_name, true, true)) - return -1; - error = mount_root(devdev, true, false, install); - if (error != 0 && error != EBUSY) - return -1; - } - - /* Check the target /etc/fstab exists before trying to parse it. */ - if (target_dir_exists_p("/etc") == 0 || - target_file_exists_p("/etc/fstab") == 0) { - msg_fmt_display(MSG_noetcfstab, "%s", pm->diskdev); - hit_enter_to_continue(NULL, NULL); - return -1; - } - - - /* Get fstab entries from the target-root /etc/fstab. */ - fstabsize = target_collect_file(T_FILE, &fstab, "/etc/fstab"); - if (fstabsize < 0) { - /* error ! */ - msg_fmt_display(MSG_badetcfstab, "%s", pm->diskdev); - hit_enter_to_continue(NULL, NULL); - umount_root(); - return -2; - } - /* - * We unmount the read-only root again, so we can mount it - * with proper options from /etc/fstab - */ - umount_root(); - - /* - * Now do all entries in /etc/fstab and mount them if required - */ - error = walk(fstab, (size_t)fstabsize, fstabbuf, num_entries); - free(fstab); - for (i = 0; i < num_entries; i++) - free(__UNCONST(fstabbuf[i].fmt)); - free(fstabbuf); - - return error; -} - -static char swap_dev[PATH_MAX]; - -void -set_swap_if_low_ram(struct install_partition_desc *install) -{ - swap_dev[0] = 0; - if (get_ramsize() <= TINY_RAM_SIZE) - set_swap(install); -} - -void -set_swap(struct install_partition_desc *install) -{ - size_t i; - int rval; - - swap_dev[0] = 0; - for (i = 0; i < install->num; i++) { - if (install->infos[i].type == PT_swap) - break; - } - if (i >= install->num) - return; - - if (!install->infos[i].parts->pscheme->get_part_device( - install->infos[i].parts, install->infos[i].cur_part_id, swap_dev, - sizeof swap_dev, NULL, plain_name, true, true)) - return; - - rval = swapctl(SWAP_ON, swap_dev, 0); - if (rval != 0) - swap_dev[0] = 0; -} - -void -clear_swap(void) -{ - - if (swap_dev[0] == 0) - return; - swapctl(SWAP_OFF, swap_dev, 0); - swap_dev[0] = 0; -} - -int -check_swap(const char *disk, int remove_swap) -{ - struct swapent *swap; - char *cp; - int nswap; - int l; - int rval = 0; - - nswap = swapctl(SWAP_NSWAP, 0, 0); - if (nswap <= 0) - return 0; - - swap = malloc(nswap * sizeof *swap); - if (swap == NULL) - return -1; - - nswap = swapctl(SWAP_STATS, swap, nswap); - if (nswap < 0) - goto bad_swap; - - l = strlen(disk); - while (--nswap >= 0) { - /* Should we check the se_dev or se_path? */ - cp = swap[nswap].se_path; - if (memcmp(cp, "/dev/", 5) != 0) - continue; - if (memcmp(cp + 5, disk, l) != 0) - continue; - if (!isalpha(*(unsigned char *)(cp + 5 + l))) - continue; - if (cp[5 + l + 1] != 0) - continue; - /* ok path looks like it is for this device */ - if (!remove_swap) { - /* count active swap areas */ - rval++; - continue; - } - if (swapctl(SWAP_OFF, cp, 0) == -1) - rval = -1; - } - - done: - free(swap); - return rval; - - bad_swap: - rval = -1; - goto done; -} - -#ifdef HAVE_BOOTXX_xFS -char * -bootxx_name(struct install_partition_desc *install) -{ - size_t i; - int fstype = -1; - const char *bootxxname; - char *bootxx; - - /* find a partition to be mounted as / */ - for (i = 0; i < install->num; i++) { - if ((install->infos[i].instflags & PUIINST_MOUNT) - && strcmp(install->infos[i].mount, "/") == 0) { - fstype = install->infos[i].fs_type; - break; - } - } - if (fstype < 0) { - /* not found? take first root type partition instead */ - for (i = 0; i < install->num; i++) { - if (install->infos[i].type == PT_root) { - fstype = install->infos[i].fs_type; - break; - } - } - } - - /* check we have boot code for the root partition type */ - switch (fstype) { -#if defined(BOOTXX_FFSV1) || defined(BOOTXX_FFSV2) - case FS_BSDFFS: - if (install->infos[i].fs_version >= 2) { -#ifdef BOOTXX_FFSV2 - bootxxname = BOOTXX_FFSV2; -#else - bootxxname = NULL; -#endif - } else { -#ifdef BOOTXX_FFSV1 - bootxxname = BOOTXX_FFSV1; -#else - bootxxname = NULL; -#endif - } - break; -#endif -#ifdef BOOTXX_LFSV2 - case FS_BSDLFS: - bootxxname = BOOTXX_LFSV2; - break; -#endif - default: - bootxxname = NULL; - break; - } - - if (bootxxname == NULL) - return NULL; - - asprintf(&bootxx, "%s/%s", BOOTXXDIR, bootxxname); - return bootxx; -} -#endif - -/* from dkctl.c */ -static int -get_dkwedges_sort(const void *a, const void *b) -{ - const struct dkwedge_info *dkwa = a, *dkwb = b; - const daddr_t oa = dkwa->dkw_offset, ob = dkwb->dkw_offset; - return (oa < ob) ? -1 : (oa > ob) ? 1 : 0; -} - -int -get_dkwedges(struct dkwedge_info **dkw, const char *diskdev) -{ - struct dkwedge_list dkwl; - - *dkw = NULL; - if (!get_wedge_list(diskdev, &dkwl)) - return -1; - - if (dkwl.dkwl_nwedges > 0 && *dkw != NULL) { - qsort(*dkw, dkwl.dkwl_nwedges, sizeof(**dkw), - get_dkwedges_sort); - } - - return dkwl.dkwl_nwedges; -} - -#ifndef NO_CLONES -/* - * Helper structures used in the partition select menu - */ -struct single_partition { - struct disk_partitions *parts; - part_id id; -}; - -struct sel_menu_data { - struct single_partition *partitions; - struct selected_partition result; -}; - -static int -select_single_part(menudesc *m, void *arg) -{ - struct sel_menu_data *data = arg; - - data->result.parts = data->partitions[m->cursel].parts; - data->result.id = data->partitions[m->cursel].id; - - return 1; -} - -static void -display_single_part(menudesc *m, int opt, void *arg) -{ - const struct sel_menu_data *data = arg; - struct disk_part_info info; - struct disk_partitions *parts = data->partitions[opt].parts; - part_id id = data->partitions[opt].id; - int l; - const char *desc = NULL; - char line[MENUSTRSIZE*2]; - - if (!parts->pscheme->get_part_info(parts, id, &info)) - return; - - if (parts->pscheme->other_partition_identifier != NULL) - desc = parts->pscheme->other_partition_identifier( - parts, id); - - daddr_t start = info.start / sizemult; - daddr_t size = info.size / sizemult; - snprintf(line, sizeof line, "%s [%" PRIu64 " @ %" PRIu64 "]", - parts->disk, size, start); - - if (info.nat_type != NULL) { - strlcat(line, " ", sizeof line); - strlcat(line, info.nat_type->description, sizeof line); - } - - if (desc != NULL) { - strlcat(line, ": ", sizeof line); - strlcat(line, desc, sizeof line); - } - - l = strlen(line); - if (l >= (m->w)) - strcpy(line + (m->w-3), "..."); - wprintw(m->mw, "%s", line); -} - -/* - * is the given "test" partitions set used in the selected set? - */ -static bool -selection_has_parts(struct selected_partitions *sel, - const struct disk_partitions *test) -{ - size_t i; - - for (i = 0; i < sel->num_sel; i++) { - if (sel->selection[i].parts == test) - return true; - } - return false; -} - -/* - * is the given "test" partition in the selected set? - */ -static bool -selection_has_partition(struct selected_partitions *sel, - const struct disk_partitions *test, part_id test_id) -{ - size_t i; - - for (i = 0; i < sel->num_sel; i++) { - if (sel->selection[i].parts == test && - sel->selection[i].id == test_id) - return true; - } - return false; -} - -/* - * let the user select a partition, optionally skipping all partitions - * on the "ignore" device - */ -static bool -add_select_partition(struct selected_partitions *res, - struct disk_partitions **all_parts, size_t all_cnt) -{ - struct disk_partitions *ps; - struct disk_part_info info; - part_id id; - struct single_partition *partitions, *pp; - struct menu_ent *part_menu_opts, *menup; - size_t n, part_cnt; - int sel_menu; - - /* - * count how many items our menu will have - */ - part_cnt = 0; - for (n = 0; n < all_cnt; n++) { - ps = all_parts[n]; - for (id = 0; id < ps->num_part; id++) { - if (selection_has_partition(res, ps, id)) - continue; - if (!ps->pscheme->get_part_info(ps, id, &info)) - continue; - if (info.flags & (PTI_SEC_CONTAINER|PTI_WHOLE_DISK| - PTI_PSCHEME_INTERNAL|PTI_RAW_PART)) - continue; - part_cnt++; - } - } - - /* - * create a menu from this and let the user - * select one partition - */ - part_menu_opts = NULL; - partitions = calloc(part_cnt, sizeof *partitions); - if (partitions == NULL) - goto done; - part_menu_opts = calloc(part_cnt, sizeof *part_menu_opts); - if (part_menu_opts == NULL) - goto done; - pp = partitions; - menup = part_menu_opts; - for (n = 0; n < all_cnt; n++) { - ps = all_parts[n]; - for (id = 0; id < ps->num_part; id++) { - if (selection_has_partition(res, ps, id)) - continue; - if (!ps->pscheme->get_part_info(ps, id, &info)) - continue; - if (info.flags & (PTI_SEC_CONTAINER|PTI_WHOLE_DISK| - PTI_PSCHEME_INTERNAL|PTI_RAW_PART)) - continue; - pp->parts = ps; - pp->id = id; - pp++; - menup->opt_action = select_single_part; - menup++; - } - } - sel_menu = new_menu(MSG_select_foreign_part, part_menu_opts, part_cnt, - 3, 3, 0, 60, - MC_SUBMENU | MC_SCROLL | MC_NOCLEAR, - NULL, display_single_part, NULL, - NULL, MSG_exit_menu_generic); - if (sel_menu != -1) { - struct selected_partition *newsels; - struct sel_menu_data data; - - memset(&data, 0, sizeof data); - data.partitions = partitions; - process_menu(sel_menu, &data); - free_menu(sel_menu); - - if (data.result.parts != NULL) { - newsels = realloc(res->selection, - sizeof(*res->selection)*(res->num_sel+1)); - if (newsels != NULL) { - res->selection = newsels; - newsels += res->num_sel++; - newsels->parts = data.result.parts; - newsels->id = data.result.id; - } - } - } - - /* - * Final cleanup - */ -done: - free(part_menu_opts); - free(partitions); - - return res->num_sel > 0; -} - -struct part_selection_and_all_parts { - struct selected_partitions *selection; - struct disk_partitions **all_parts; - size_t all_cnt; - char *title; - bool cancelled; -}; - -static int -toggle_clone_data(struct menudesc *m, void *arg) -{ - struct part_selection_and_all_parts *sel = arg; - - sel->selection->with_data = !sel->selection->with_data; - return 0; -} - -static int -add_another(struct menudesc *m, void *arg) -{ - struct part_selection_and_all_parts *sel = arg; - - add_select_partition(sel->selection, sel->all_parts, sel->all_cnt); - return 0; -} - -static int -cancel_clone(struct menudesc *m, void *arg) -{ - struct part_selection_and_all_parts *sel = arg; - - sel->cancelled = true; - return 1; -} - -static void -update_sel_part_title(struct part_selection_and_all_parts *sel) -{ - struct disk_part_info info; - char *buf, line[MENUSTRSIZE]; - size_t buf_len, i; - - buf_len = MENUSTRSIZE * (1+sel->selection->num_sel); - buf = malloc(buf_len); - if (buf == NULL) - return; - - strcpy(buf, msg_string(MSG_select_source_hdr)); - for (i = 0; i < sel->selection->num_sel; i++) { - struct selected_partition *s = - &sel->selection->selection[i]; - if (!s->parts->pscheme->get_part_info(s->parts, s->id, &info)) - continue; - daddr_t start = info.start / sizemult; - daddr_t size = info.size / sizemult; - sprintf(line, "\n %s [%" PRIu64 " @ %" PRIu64 "] ", - s->parts->disk, size, start); - if (info.nat_type != NULL) - strlcat(line, info.nat_type->description, sizeof(line)); - strlcat(buf, line, buf_len); - } - free(sel->title); - sel->title = buf; -} - -static void -post_sel_part(struct menudesc *m, void *arg) -{ - struct part_selection_and_all_parts *sel = arg; - - if (m->mw == NULL) - return; - update_sel_part_title(sel); - m->title = sel->title; - m->h = 0; - resize_menu_height(m); -} - -static void -fmt_sel_part_line(struct menudesc *m, int i, void *arg) -{ - struct part_selection_and_all_parts *sel = arg; - - wprintw(m->mw, "%s: %s", msg_string(MSG_clone_with_data), - sel->selection->with_data ? - msg_string(MSG_Yes) : - msg_string(MSG_No)); -} - -bool -select_partitions(struct selected_partitions *res, - const struct disk_partitions *ignore) -{ - struct disk_desc disks[MAX_DISKS]; - struct disk_partitions *ps; - struct part_selection_and_all_parts data; - struct pm_devs *i; - size_t j; - int cnt, n, m; - static menu_ent men[] = { - { .opt_name = MSG_select_source_add, - .opt_action = add_another }, - { .opt_action = toggle_clone_data }, - { .opt_name = MSG_cancel, .opt_action = cancel_clone }, - }; - - memset(res, 0, sizeof *res); - memset(&data, 0, sizeof data); - data.selection = res; - - /* - * collect all available partition sets - */ - data.all_cnt = 0; - if (SLIST_EMPTY(&pm_head)) { - cnt = get_disks(disks, false); - if (cnt <= 0) - return false; - - /* - * allocate two slots for each disk (primary/secondary) - */ - data.all_parts = calloc(2*cnt, sizeof *data.all_parts); - if (data.all_parts == NULL) - return false; - - for (n = 0; n < cnt; n++) { - if (ignore != NULL && - strcmp(disks[n].dd_name, ignore->disk) == 0) - continue; - - ps = partitions_read_disk(disks[n].dd_name, - disks[n].dd_totsec, - disks[n].dd_secsize, - disks[n].dd_no_mbr); - if (ps == NULL) - continue; - data.all_parts[data.all_cnt++] = ps; - ps = get_inner_parts(ps); - if (ps == NULL) - continue; - data.all_parts[data.all_cnt++] = ps; - } - if (data.all_cnt > 0) - res->free_parts = true; - } else { - cnt = 0; - SLIST_FOREACH(i, &pm_head, l) - cnt++; - - data.all_parts = calloc(cnt, sizeof *data.all_parts); - if (data.all_parts == NULL) - return false; - - SLIST_FOREACH(i, &pm_head, l) { - if (i->parts == NULL) - continue; - if (i->parts == ignore) - continue; - data.all_parts[data.all_cnt++] = i->parts; - } - } - - if (!add_select_partition(res, data.all_parts, data.all_cnt)) - goto fail; - - /* loop with menu */ - update_sel_part_title(&data); - m = new_menu(data.title, men, __arraycount(men), 3, 2, 0, 65, MC_SCROLL, - post_sel_part, fmt_sel_part_line, NULL, NULL, MSG_clone_src_done); - process_menu(m, &data); - free(data.title); - if (res->num_sel == 0) - goto fail; - - /* cleanup */ - if (res->free_parts) { - for (j = 0; j < data.all_cnt; j++) { - if (selection_has_parts(res, data.all_parts[j])) - continue; - if (data.all_parts[j]->parent != NULL) - continue; - data.all_parts[j]->pscheme->free(data.all_parts[j]); - } - } - free(data.all_parts); - return true; - -fail: - if (res->free_parts) { - for (j = 0; j < data.all_cnt; j++) { - if (data.all_parts[j]->parent != NULL) - continue; - data.all_parts[j]->pscheme->free(data.all_parts[j]); - } - } - free(data.all_parts); - return false; -} - -void -free_selected_partitions(struct selected_partitions *selected) -{ - size_t i; - struct disk_partitions *parts; - - if (!selected->free_parts) - return; - - for (i = 0; i < selected->num_sel; i++) { - parts = selected->selection[i].parts; - - /* remove from list before testing for other instances */ - selected->selection[i].parts = NULL; - - /* if this is the secondary partition set, the parent owns it */ - if (parts->parent != NULL) - continue; - - /* only free once (we use the last one) */ - if (selection_has_parts(selected, parts)) - continue; - parts->pscheme->free(parts); - } - free(selected->selection); -} - -daddr_t -selected_parts_size(struct selected_partitions *selected) -{ - struct disk_part_info info; - size_t i; - daddr_t s = 0; - - for (i = 0; i < selected->num_sel; i++) { - if (!selected->selection[i].parts->pscheme->get_part_info( - selected->selection[i].parts, - selected->selection[i].id, &info)) - continue; - s += info.size; - } - - return s; -} - -int -clone_target_select(menudesc *m, void *arg) -{ - struct clone_target_menu_data *data = arg; - - data->res = m->cursel; - return 1; -} - -bool -clone_partition_data(struct disk_partitions *dest_parts, part_id did, - struct disk_partitions *src_parts, part_id sid) -{ - char src_dev[MAXPATHLEN], target_dev[MAXPATHLEN]; - - if (!src_parts->pscheme->get_part_device( - src_parts, sid, src_dev, sizeof src_dev, NULL, - raw_dev_name, true, true)) - return false; - if (!dest_parts->pscheme->get_part_device( - dest_parts, did, target_dev, sizeof target_dev, NULL, - raw_dev_name, true, true)) - return false; - - return run_program(RUN_DISPLAY | RUN_PROGRESS, - "progress -f %s -b 1m dd bs=1m of=%s", - src_dev, target_dev) == 0; -} -#endif - diff --git a/overlay/usr.sbin/sysinst/disks_lfs.c b/overlay/usr.sbin/sysinst/disks_lfs.c deleted file mode 100644 index e59c470066..0000000000 --- a/overlay/usr.sbin/sysinst/disks_lfs.c +++ /dev/null @@ -1,44 +0,0 @@ -/* $NetBSD: disks_lfs.c,v 1.1 2014/07/26 19:30:44 dholland Exp $ */ - -/* - * Copyright (c) 2001 Matthew R. Green - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES - * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. - * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, - * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, - * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED - * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - */ - -/* this gets its own file as LFS includes interfere with other ones */ - -#include -#include -#include -#include - -#include "defs.h" - -int -fs_is_lfs(void *fs) -{ - struct dlfs *dlfs = (struct dlfs *)fs; - - return (dlfs->dlfs_magic == LFS_MAGIC); -} diff --git a/overlay/usr.sbin/sysinst/endian.h b/overlay/usr.sbin/sysinst/endian.h deleted file mode 100644 index ae4f834713..0000000000 --- a/overlay/usr.sbin/sysinst/endian.h +++ /dev/null @@ -1,4 +0,0 @@ -/* $NetBSD: endian.h,v 1.1 2014/07/26 19:30:44 dholland Exp $ */ - -#include -#include diff --git a/overlay/usr.sbin/sysinst/extras.c b/overlay/usr.sbin/sysinst/extras.c deleted file mode 100644 index 4a4b6a3495..0000000000 --- a/overlay/usr.sbin/sysinst/extras.c +++ /dev/null @@ -1,263 +0,0 @@ -/* $NetBSD$ */ - -/* - * Makronix: the extra programs of the simple installation. - * - * Firefox, Thunderbird, QEMU, the sound daemon (PulseAudio) and printing - * (CUPS) come as binary packages that the NetBSD project builds and Makronix - * does not patch (docs/BUILD-VM.md, "Binary first"). They are not part of a - * set: they sit on the CDs after the one with the makronix set (CD 3, CD 4, ..., - * tools/cd3.sh) and on the DVD, in - * - * /packages/All/NAME.tgz, pkg_summary.gz the packages of this CD - * /packages/disc "N M": CD N of M - * /packages/top.list the names to install - * - * and are installed with the new system's own pkg_add(1), the way a - * NetBSD administrator would, with PKG_PATH pointing at a copy of the packages - * in the target (see the end of makronix_extras() for why a copy). A package - * on one CD can need one on another, so all the CDs are copied first and - * pkg_add runs once. - * - * Nothing here is needed for a working system: a user who says no, or a - * medium without the directory, gets the system without them, and pkg_add - * does it later from the network repository (setup.c, set_pkg_defaults). - */ - -#include -#include -#include -#include -#include -#include - -#include "defs.h" -#include "msg_defs.h" -#include "menu_defs.h" - -/* where the packages are copied to in the target, removed afterwards */ -#define PKGCOPY "/var/tmp/makronix-pkgs" - -/* the CD number of the first CD with packages: 1 system, 2 the makronix set */ -#define FIRST_PKG_CD 3 - -#define MAXDISCS 16 - -/* /: ext_dir_bin is //binary/sets */ -void -media_dir(char *buf, size_t len) -{ - size_t n, s = strlen("/binary/sets"); - - strlcpy(buf, ext_dir_bin, len); - n = strlen(buf); - if (n >= s && strcmp(buf + n - s, "/binary/sets") == 0) - buf[n - s] = '\0'; -} - -/* the packages directory of the medium that is in the drive, if it has one */ -static bool -packages_here(char *dir, size_t len) -{ - char f[MAXPATHLEN]; - - media_dir(dir, len); - strlcat(dir, "/packages", len); - (void)snprintf(f, sizeof f, "%s/All/pkg_summary.gz", dir); - return access(f, R_OK) == 0; -} - -/* "N M" of the disc file: this is package CD N of M; none means 1 of 1 */ -static void -disc_of(const char *dir, int *n, int *m) -{ - char f[MAXPATHLEN]; - FILE *fp; - int a, b; - - *n = *m = 1; - (void)snprintf(f, sizeof f, "%s/disc", dir); - if ((fp = fopen(f, "r")) == NULL) - return; - if (fscanf(fp, "%d %d", &a, &b) == 2 && a >= 1 && b >= a && - b <= MAXDISCS) { - *n = a; - *m = b; - } - fclose(fp); -} - -/* the package names of top.list: letters, digits and - _ + . only */ -static bool -read_names(const char *dir, char *names, size_t len) -{ - char f[MAXPATHLEN], line[STRSIZE]; - FILE *fp; - const char *p; - - (void)snprintf(f, sizeof f, "%s/top.list", dir); - if ((fp = fopen(f, "r")) == NULL) - return false; - names[0] = '\0'; - while (fgets(line, sizeof line, fp) != NULL) { - line[strcspn(line, "\r\n")] = '\0'; - if (line[0] == '\0' || line[0] == '#') - continue; - for (p = line; *p != '\0'; p++) - if (!isalnum((unsigned char)*p) && *p != '-' && - *p != '_' && *p != '+' && *p != '.') - break; - if (*p != '\0') - continue; - if (names[0] != '\0') - strlcat(names, " ", len); - strlcat(names, line, len); - } - fclose(fp); - return names[0] != '\0'; -} - -/* - * A service the package brings as an example rc script (pkgsrc puts them - * under share/examples/rc.d; pkg_add does not copy them to /etc/rc.d, the - * administrator does): copy it and turn it on in rc.conf. - */ -static void -enable_rcd(const char *name) -{ - char ex[MAXPATHLEN]; - - (void)snprintf(ex, sizeof ex, "/usr/pkg/share/examples/rc.d/%s", name); - if (!target_file_exists_p(ex)) - return; - run_program(RUN_SILENT | RUN_CHROOT | RUN_ERROR_OK, - "sh -c 'cp %s /etc/rc.d/%s && chmod 555 /etc/rc.d/%s'", - ex, name, name); - (void)del_rc_conf(name); - add_rc_conf("%s=YES\n", name); -} - -void -makronix_extras(void) -{ - char dir[MAXPATHLEN], names[STRSIZE], tgt[MAXPATHLEN]; - const char *mnt = "/mnt2"; - bool copied[MAXDISCS + 1], have_names = false; - int ncopied = 0, ndiscs = 0, n, m, want, sel, tries; - - memset(copied, 0, sizeof copied); - - /* - * The extra programs are part of the userland of Makronix, not an option: - * nothing is asked (Konrad, 2026-11-09). MSG_extras_ask is unused now; it - * stays in the catalogs until they are cleaned up. - */ - - (void)snprintf(tgt, sizeof tgt, "%s" PKGCOPY, target_prefix()); - if (run_program(RUN_SILENT | RUN_ERROR_OK, "mkdir -p %s", tgt) != 0) { - hit_enter_to_continue(MSG_extras_failed, NULL); - return; - } - - /* - * sysinst unmounts /mnt2 once the sets are unpacked; the medium that - * was in the drive then is looked at again, the way cgdroot_finish() - * does for cgdroot.kmod (measured 2026-11-07: without this the first - * look found nothing and said "not on this medium"). - */ - if (!mnt2_mounted && cdrom_dev[0] != '\0' && - run_program(RUN_SILENT | RUN_ERROR_OK, - "/sbin/mount -rt cd9660 /dev/%s %s", cdrom_dev, mnt) == 0) - mnt2_mounted = 1; - - /* - * The CDs, one after the other, until all are copied. The DVD has - * them all next to the sets. Otherwise, when the installer runs from - * RAM, ask for the next CD, like extract_file_to() does for a set that - * is on another CD. A CD that is already copied, or has no packages, - * is asked for again. - */ - for (;;) { - if (packages_here(dir, sizeof dir)) { - disc_of(dir, &n, &m); - if (!copied[n]) { - /* - * Copy the packages of this CD. The names are - * the same on every CD; one copy is enough. - */ - if (run_program(RUN_DISPLAY | RUN_PROGRESS | - RUN_ERROR_OK, "cp -R %s/All %s/", dir, - tgt) != 0) { - hit_enter_to_continue( - MSG_extras_failed, NULL); - goto out; - } - copied[n] = true; - ncopied++; - ndiscs = m; - if (!have_names) - have_names = read_names(dir, names, - sizeof names); - } - } - if (ndiscs > 0 && ncopied >= ndiscs) - break; - /* the lowest package CD not copied yet; the first, if none */ - want = 1; - while (want <= MAXDISCS && copied[want]) - want++; - if (cdrom_dev[0] == '\0' || !root_is_ramdisk()) { - if (ncopied == 0) - hit_enter_to_continue(MSG_extras_missing, NULL); - else - hit_enter_to_continue(MSG_extras_failed, NULL); - goto out; - } - /* - * Whatever mounted /mnt2 -- sysinst or cgdroot_finish -- the CD in - * the drive is taken out of the file system tree first. - */ - (void)run_program(RUN_SILENT | RUN_ERROR_OK, "/sbin/umount %s", - mnt); - mnt2_mounted = 0; - sel = 0; - msg_fmt_display(MSG_extras_nextcd, "%d", FIRST_PKG_CD + want - 1); - process_menu(MENU_nextcd, &sel); - if (sel == 1) - goto out; - for (tries = 0; tries < 8; tries++) { - sleep(2); - if (run_program(RUN_SILENT | RUN_ERROR_OK, - "/sbin/mount -rt cd9660 /dev/%s %s", cdrom_dev, - mnt) == 0) { - mnt2_mounted = 1; - break; - } - } - } - if (!have_names) { - hit_enter_to_continue(MSG_extras_missing, NULL); - goto out; - } - - /* - * pkg_add runs in the chroot, which does not see the medium: it is - * /mnt2 (a CD that was put in) or the root of the installer (the DVD). - * Mounting it a second time inside the target does not work -- the - * device is mounted already and cd9660 refuses (EBUSY; measured - * 2026-11-07, "Installing the extra programs failed" with no pkg_add - * output) -- so the packages were copied into the target for the time - * the installation takes, and are removed again. About 600 MB. - */ - if (run_program(RUN_DISPLAY | RUN_PROGRESS | RUN_CHROOT | RUN_ERROR_OK, - "env PKG_PATH=" PKGCOPY "/All /usr/sbin/pkg_add %s", names) != 0) { - hit_enter_to_continue(MSG_extras_failed, NULL); - goto out; - } - - /* the services of a desktop: the message bus, printing */ - enable_rcd("dbus"); - enable_rcd("cupsd"); -out: - (void)run_program(RUN_SILENT | RUN_ERROR_OK, "rm -rf %s", tgt); -} diff --git a/overlay/usr.sbin/sysinst/factor.c b/overlay/usr.sbin/sysinst/factor.c deleted file mode 100644 index 8a179a2e87..0000000000 --- a/overlay/usr.sbin/sysinst/factor.c +++ /dev/null @@ -1,143 +0,0 @@ -/* $NetBSD: factor.c,v 1.2 2021/01/31 20:51:04 rillig Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -#include -#include - - -/* - * primes - prime table, built to include up to 46345 because - * sqrt(2^31) = 46340.9500118415 - * - * building the table instead of storing a precomputed table saves - * about 19K of space on the binary image. - */ - -#ifdef TESTING -long primes[4800]; -int num_primes = 2; - -static void build_primes (long max); -void factor (long val, long *fact_list, int fact_size, int *num_fact); - -static void -build_primes(long max) -{ - long pc; - int j; - long rem; - - /* - * Initialise primes at run-time rather than compile time - * so it's put in bss rather than data. - */ - primes[0] = 2; - primes[1] = 3; - - for (pc = primes[num_primes-1]; pc < 46345 && pc*pc <= max; pc+=2) { - j = 0; - rem = 1; - while (j < num_primes && primes[j] * primes[j] <= pc) { - if ((rem = pc % primes[j]) == 0) - break; - j++; - } - if (rem) - primes[num_primes++] = pc; - } -} - -/* factor: prepare a list of prime factors of val. - The last number may not be a prime factor if the list is not - long enough. */ - -void -factor(long val, long *fact_list, int fact_size, int *num_fact) -{ - int i; - - /* Check to make sure we have enough primes. */ - build_primes(val); - - i = 0; - *num_fact = 0; - while (*num_fact < fact_size-1 && val > 1 && i < num_primes) { - /* Find the next prime that divides. */ - while (i < num_primes && val % primes[i] != 0) i++; - - /* Put factors in array. */ - while (*num_fact < fact_size-1 && i < num_primes && - val % primes[i] == 0) { - fact_list[(*num_fact)++] = primes[i]; - val /= primes[i]; - } - } - if (val > 1) - fact_list[(*num_fact)++] = val; -} - - - -#include -#include - -int -main(int argc, char **argv) -{ - long facts[30]; - long val; - int i, nfact; - int arg; - - if (argc < 2) { - fprintf (stderr, "usage: %s numbers\n", argv[0]); - exit(1); - } - - /* Factor each arg! */ - for (arg = 1; arg < argc; arg++) { - - val = atol(argv[arg]); - factor (val, facts, 30, &nfact); - - printf ("%ld:", val); - for (i = 0; i -#include -#include -#include -#include -#include -#include -#include "partutil.h" - -#include "defs.h" - -bool -disk_ioctl(const char *disk, unsigned long cmd, void *d) -{ - char diskpath[MAXPATHLEN]; - int fd; - int sv_errno; - - /* Open the disk. */ - fd = opendisk(disk, O_RDONLY, diskpath, sizeof(diskpath), 0); - if (fd == -1) - return false; - - if (ioctl(fd, cmd, d) == -1) { - sv_errno = errno; - (void)close(fd); - errno = sv_errno; - return false; - } - (void)close(fd); - return true; -} - -bool -get_wedge_list(const char *disk, struct dkwedge_list *dkwl) -{ - struct dkwedge_info *dkw; - memset(dkwl, 0, sizeof(*dkwl)); - - for (;;) { - if (!disk_ioctl(disk, DIOCLWEDGES, dkwl)) - goto out; - if (dkwl->dkwl_nwedges == dkwl->dkwl_ncopied) - return true; - dkwl->dkwl_bufsize = dkwl->dkwl_nwedges * sizeof(*dkw); - dkw = realloc(dkwl->dkwl_buf, dkwl->dkwl_bufsize); - if (dkw == NULL) - goto out; - dkwl->dkwl_buf = dkw; - } -out: - free(dkwl->dkwl_buf); - return false; -} - -bool -get_wedge_info(const char *disk, struct dkwedge_info *dkw) -{ - - return disk_ioctl(disk, DIOCGWEDGEINFO, dkw); -} - -bool -get_disk_geom(const char *disk, struct disk_geom *d) -{ - char buf[MAXPATHLEN]; - int fd, error; - - if ((fd = opendisk(disk, O_RDONLY, buf, sizeof(buf), 0)) == -1) - return false; - - error = getdiskinfo(disk, fd, NULL, d, NULL); - close(fd); - if (error < 0) { - errno = error; - return false; - } - return true; -} - -bool -get_label_geom(const char *disk, struct disklabel *l) -{ - - return disk_ioctl(disk, DIOCGDINFO, l); -} diff --git a/overlay/usr.sbin/sysinst/gpt.c b/overlay/usr.sbin/sysinst/gpt.c deleted file mode 100644 index e63902a64d..0000000000 --- a/overlay/usr.sbin/sysinst/gpt.c +++ /dev/null @@ -1,1971 +0,0 @@ -/* $NetBSD: gpt.c,v 1.33 2026/06/21 20:02:43 martin Exp $ */ - -/* - * Copyright 2018 The NetBSD Foundation, Inc. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -#include "defs.h" -#include "mbr.h" -#include "md.h" -#include "gpt_uuid.h" -#include -#include -#include -#include -#include -#include -#include -#include - -bool gpt_parts_check(void); /* check for needed binaries */ - - -/*************** GPT ************************************************/ -/* a GPT based disk_partitions interface */ - -#define GUID_STR_LEN 40 -#define GPT_PTYPE_ALLOC 32 /* initial type array allocation, should be > - * gpt type -l | wc -l */ -#define GPT_DEV_LEN DISKNAMESIZE /* dkNN */ - -#define GPT_PARTS_PER_SEC 4 /* a 512 byte sector holds 4 entries */ -#define GPT_DEFAULT_MAX_PARTS 128 - -/* a usable label will be short, so we can get away with an arbitrary limit */ -#define GPT_LABEL_LEN 96 - -#define GPT_ATTR_BIOSBOOT 1 -#define GPT_ATTR_BOOTME 2 -#define GPT_ATTR_BOOTONCE 4 -#define GPT_ATTR_BOOTFAILED 8 -#define GPT_ATTR_NOBLOCKIO 16 -#define GPT_ATTR_REQUIRED 32 - -/* when we don't care for BIOS or UEFI boot, use the combined boot flags */ -#define GPT_ATTR_BOOT (GPT_ATTR_BIOSBOOT|GPT_ATTR_BOOTME) - -struct gpt_attr_desc { - const char *name; - uint flag; -}; -static const struct gpt_attr_desc gpt_avail_attrs[] = { - { "biosboot", GPT_ATTR_BIOSBOOT }, - { "bootme", GPT_ATTR_BOOTME }, - { "bootonce", GPT_ATTR_BOOTONCE }, - { "bootfailed", GPT_ATTR_BOOTFAILED }, - { "noblockio", GPT_ATTR_NOBLOCKIO }, - { "required", GPT_ATTR_REQUIRED }, - { NULL, 0 } -}; - -struct gpt_ptype_desc { - struct part_type_desc gent; - char tid[GUID_STR_LEN]; - uint fsflags, default_fs_type; -}; - -static const -struct { - const char *name; - uint fstype; - enum part_type ptype; - uint fsflags; -} gpt_fs_types[] = { - { .name = "ffs", .fstype = FS_BSDFFS, .ptype = PT_root, - .fsflags = GLM_LIKELY_FFS }, - { .name = "swap", .fstype = FS_SWAP, .ptype = PT_swap }, - { .name = "windows", .fstype = FS_MSDOS, .ptype = PT_FAT, - .fsflags = GLM_MAYBE_FAT32|GLM_MAYBE_NTFS }, - { .name = "windows", .fstype = FS_NTFS, .ptype = PT_FAT, - .fsflags = GLM_MAYBE_FAT32|GLM_MAYBE_NTFS }, - { .name = "efi", .fstype = FS_MSDOS, .ptype = PT_EFI_SYSTEM, - .fsflags = GLM_MAYBE_FAT32 }, - { .name = "efi", .fstype = FS_EFI_SP, .ptype = PT_EFI_SYSTEM, - .fsflags = GLM_MAYBE_FAT32 }, - { .name = "bios", .fstype = FS_MSDOS, .ptype = PT_FAT, - .fsflags = GLM_MAYBE_FAT32 }, - { .name = "lfs", .fstype = FS_BSDLFS, .ptype = PT_root }, - { .name = "linux-data", .fstype = FS_EX2FS, .ptype = PT_root }, - { .name = "apple", .fstype = FS_HFS, .ptype = PT_unknown }, - { .name = "ccd", .fstype = FS_CCD, .ptype = PT_root }, - { .name = "cgd", .fstype = FS_CGD, .ptype = PT_root }, - { .name = "raid", .fstype = FS_RAID, .ptype = PT_root }, - { .name = "vmcore", .fstype = FS_VMKCORE, .ptype = PT_unknown }, - { .name = "vmfs", .fstype = FS_VMFS, .ptype = PT_unknown }, - { .name = "vmresered", .fstype = FS_VMWRESV, .ptype = PT_unknown }, - { .name = "zfs", .fstype = FS_ZFS, .ptype = PT_root }, -}; - -static size_t gpt_ptype_cnt = 0, gpt_ptype_alloc = 0; -static struct gpt_ptype_desc *gpt_ptype_descs = NULL; - -/* "well" known types with special handling */ -static const struct part_type_desc *gpt_native_root; - -/* similar to struct gpt_ent, but matching our needs */ -struct gpt_part_entry { - const struct gpt_ptype_desc *gp_type; - char gp_id[GUID_STR_LEN]; /* partition guid as string */ - daddr_t gp_start, gp_size; - uint gp_attr; /* various attribute bits */ - char gp_label[GPT_LABEL_LEN]; /* user defined label */ - char gp_dev_name[GPT_DEV_LEN]; /* name of wedge */ - const char *last_mounted; /* last mounted if known */ - uint fs_type, fs_sub_type, /* FS_* and maybe sub type */ - fs_opt1, fs_opt2, fs_opt3; /* transient file system options */ - uint gp_flags; -#define GPEF_ON_DISK 1 /* This entry exists on-disk */ -#define GPEF_MODIFIED 2 /* this entry has been changed */ -#define GPEF_WEDGE 4 /* wedge for this exists */ -#define GPEF_RESIZED 8 /* size has changed */ -#define GPEF_TARGET 16 /* marked install target */ - struct gpt_part_entry *gp_next; -}; - -static const struct gpt_ptype_desc *gpt_find_native_type( - const struct part_type_desc *gent); -static const struct gpt_ptype_desc *gpt_find_guid_type(const char*); -static bool -gpt_info_to_part(struct gpt_part_entry *p, const struct disk_part_info *info, - const char **err_msg); - -const struct disk_partitioning_scheme gpt_parts; -struct gpt_disk_partitions { - struct disk_partitions dp; - /* - * We keep a list of our current valid partitions, pointed - * to by "partitions". - * dp.num_part is the number of entries in "partitions". - * When partitions that have a representation on disk already - * are deleted, we move them to the "obsolete" list so we - * can issue the proper commands to remove it when writing back. - */ - struct gpt_part_entry *partitions, /* current partitions */ - *obsolete; /* deleted partitions */ - size_t max_num_parts; /* how many entries max? */ - size_t prologue, epilogue; /* number of sectors res. */ - bool has_gpt; /* disk already has a GPT */ -}; - -/* - * Init global variables from MD details - */ -static void -gpt_md_init(bool is_boot_disk, size_t *max_parts, size_t *head, size_t *tail) -{ - size_t num; - - if (is_boot_disk) { -#ifdef MD_GPT_INITIAL_SIZE -#if MD_GPT_INITIAL_SIZE < 2*512 -#error impossible small GPT prologue -#endif - num = ((MD_GPT_INITIAL_SIZE-(2*512))/512)*GPT_PARTS_PER_SEC; -#else - num = GPT_DEFAULT_MAX_PARTS; -#endif - } else { - num = GPT_DEFAULT_MAX_PARTS; - } - *max_parts = num; - *head = 2 + num/GPT_PARTS_PER_SEC; - *tail = 1 + num/GPT_PARTS_PER_SEC; -} - -/* - * Parse a part of "gpt show" output into a struct gpt_part_entry. - * Output is from "show -a" format if details = false, otherwise - * from details for a specific partition (show -i or show -b) - */ -static void -gpt_add_info(struct gpt_part_entry *part, const char *tag, char *val, - bool details) -{ - char *s, *e; - - if (details && strcmp(tag, "Start:") == 0) { - part->gp_start = strtouq(val, NULL, 10); - } else if (details && strcmp(tag, "Size:") == 0) { - part->gp_size = strtouq(val, NULL, 10); - } else if (details && strcmp(tag, "Type:") == 0) { - s = strchr(val, '('); - if (!s) - return; - e = strchr(s, ')'); - if (!e) - return; - *e = 0; - part->gp_type = gpt_find_guid_type(s+1); - } else if (strcmp(tag, "TypeID:") == 0) { - part->gp_type = gpt_find_guid_type(val); - } else if (strcmp(tag, "GUID:") == 0) { - strlcpy(part->gp_id, val, sizeof(part->gp_id)); - } else if (strcmp(tag, "Label:") == 0) { - strlcpy(part->gp_label, val, sizeof(part->gp_label)); - } else if (strcmp(tag, "Attributes:") == 0) { - char *n; - - while ((n = strsep(&val, ", ")) != NULL) { - if (*n == 0) - continue; - for (const struct gpt_attr_desc *p = gpt_avail_attrs; - p->name != NULL; p++) { - if (strcmp(p->name, n) == 0) - part->gp_attr |= p->flag; - } - } - } -} - -/* - * Find the partition matching this wedge info and record that we - * have a wedge already. - */ -static void -update_part_from_wedge_info(struct gpt_disk_partitions *parts, - const struct dkwedge_info *dkw) -{ - for (struct gpt_part_entry *p = parts->partitions; p != NULL; - p = p->gp_next) { - if (p->gp_start != dkw->dkw_offset || - (uint64_t)p->gp_size != dkw->dkw_size) - continue; - p->gp_flags |= GPEF_WEDGE; - strlcpy(p->gp_dev_name, dkw->dkw_devname, - sizeof p->gp_dev_name); - return; - } -} - -static struct disk_partitions * -gpt_read_from_disk(const char *dev, daddr_t start, daddr_t len, size_t bps, - const struct disk_partitioning_scheme *scheme) -{ - char diskpath[MAXPATHLEN]; - int fd; - struct dkwedge_info *dkw; - struct dkwedge_list dkwl; - size_t bufsize, dk; - int i; - unsigned int p_index; - daddr_t p_start, p_size, avail_start, avail_size, - disk_size; - char *textbuf, *t, *tt, p_type[STRSIZE]; - static const char regpart_prefix[] = "GPT part - "; - struct gpt_disk_partitions *parts; - struct gpt_part_entry *last, *add_to; - const struct gpt_ptype_desc *native_root - = gpt_find_native_type(gpt_native_root); - bool have_target; - bool gpt_needs_resize; - - assert(start == 0); - assert(have_gpt); - -retry_after_fixup: - - if (run_program(RUN_SILENT | RUN_ERROR_OK, - "gpt -rq header %s", dev) != 0) - return NULL; - - /* read the partitions */ - p_start = 0; - p_size = 0; - avail_start = 0; - avail_size = 0; - disk_size = 0; - last = NULL; - add_to = NULL; - have_target = false; - gpt_needs_resize = false; - - if (collect(T_OUTPUT, &textbuf, "gpt -r show -a %s 2>/dev/null", dev) - < 1) - return NULL; - - /* parse output and create our list */ - parts = calloc(1, sizeof(*parts)); - if (parts == NULL) - return NULL; - - (void)strtok(textbuf, "\n"); /* ignore first line */ - while ((t = strtok(NULL, "\n")) != NULL) { - i = 0; p_start = 0; p_size = 0; p_index = 0; - p_type[0] = 0; - while ((tt = strsep(&t, " \t")) != NULL) { - if (strlen(tt) == 0) - continue; - if (i == 0) { - if (add_to != NULL) - gpt_add_info(add_to, tt, t, false); - p_start = strtouq(tt, NULL, 10); - if (p_start == 0 && add_to != NULL) - break; - else - add_to = NULL; - } - if (i == 1) { - p_size = strtouq(tt, NULL, 10); - } - if (i == 2) { - if (strcmp(tt, "Unused") == 0 && p_size > 0 && disk_size > 0) - gpt_needs_resize = true; - else - p_index = strtouq(tt, NULL, 10); - } - if (i > 2 || (i == 2 && p_index == 0)) { - if (p_type[0]) - strlcat(p_type, " ", STRSIZE); - strlcat(p_type, tt, STRSIZE); - } - i++; - } - - if (p_start == 0 || p_size == 0) - continue; - else if (strcmp(p_type, "Pri GPT table") == 0) { - avail_start = p_start + p_size; - parts->prologue = avail_start; - parts->epilogue = p_size + 1; - parts->max_num_parts = p_size * GPT_PARTS_PER_SEC; - } else if (strcmp(p_type, "Sec GPT table") == 0) - avail_size = p_start - avail_start; - else if(strcmp(p_type, "Sec GPT header") == 0) - disk_size = p_start + p_size; - else if (p_index == 0 && strlen(p_type) > 0) - /* Utilitary entry (PMBR, etc) */ - continue; - else if (p_index == 0) { - /* Free space */ - continue; - } else { - /* Usual partition */ - tt = p_type; - if (strncmp(tt, regpart_prefix, - strlen(regpart_prefix)) == 0) - tt += strlen(regpart_prefix); - - /* Add to our linked list */ - struct gpt_part_entry *np = calloc(1, sizeof(*np)); - if (np == NULL) - break; - - strlcpy(np->gp_label, tt, sizeof(np->gp_label)); - np->gp_start = p_start; - np->gp_size = p_size; - np->gp_flags |= GPEF_ON_DISK; - if (!have_target && native_root != NULL && - strcmp(np->gp_id, native_root->tid) == 0) { - have_target = true; - np->gp_flags |= GPEF_TARGET; - } - - if (last == NULL) - parts->partitions = np; - else - last->gp_next = np; - last = np; - add_to = np; - parts->dp.num_part++; - } - } - free(textbuf); - - /* If the GPT was not complete (e.g. truncated image), barf */ - if (disk_size <= 0) { - free(parts); - return NULL; - } - - /* If the size of the disk did not fit the GPT, resize it */ - if (gpt_needs_resize) { - free(parts); - if (!ask_yesno(MSG_resize_gpt)) - return NULL; - if (run_program(RUN_SILENT | RUN_ERROR_OK, - "gpt resizedisk %s", dev) != 0) - return NULL; - goto retry_after_fixup; - } - - parts->dp.pscheme = scheme; - parts->dp.disk = strdup(dev); - parts->dp.disk_start = start; - parts->dp.disk_size = disk_size; - parts->dp.free_space = avail_size; - parts->dp.bytes_per_sector = bps; - parts->has_gpt = true; - - fd = opendisk(parts->dp.disk, O_RDONLY, diskpath, sizeof(diskpath), 0); - for (struct gpt_part_entry *p = parts->partitions; p != NULL; - p = p->gp_next) { -#ifdef DEFAULT_UFS2 - bool fs_is_default = false; -#endif - - if (p->gp_type != NULL) { - - if (p->gp_type->fsflags != 0) { - const char *lm = get_last_mounted(fd, - p->gp_start, &p->fs_type, - &p->fs_sub_type, p->gp_type->fsflags); - if (lm != NULL && *lm != 0) { - char *path = strdup(lm); - canonicalize_last_mounted(path); - p->last_mounted = path; - } else { - p->fs_type = p->gp_type-> - default_fs_type; -#ifdef DEFAULT_UFS2 - fs_is_default = true; -#endif - } - } else { - p->fs_type = p->gp_type->default_fs_type; -#ifdef DEFAULT_UFS2 - fs_is_default = true; -#endif - } -#ifdef DEFAULT_UFS2 - if (fs_is_default && p->fs_type == FS_BSDFFS) - p->fs_sub_type = 2; -#endif - } - - parts->dp.free_space -= p->gp_size; - } - - /* - * Check if we have any (matching/auto-configured) wedges already - */ - dkw = NULL; - dkwl.dkwl_buf = dkw; - dkwl.dkwl_bufsize = 0; - if (ioctl(fd, DIOCLWEDGES, &dkwl) == 0) { - /* do not even try to deal with any races at this point */ - bufsize = dkwl.dkwl_nwedges * sizeof(*dkw); - dkw = malloc(bufsize); - dkwl.dkwl_buf = dkw; - dkwl.dkwl_bufsize = bufsize; - if (dkw != NULL && ioctl(fd, DIOCLWEDGES, &dkwl) == 0) { - for (dk = 0; dk < dkwl.dkwl_ncopied; dk++) - update_part_from_wedge_info(parts, &dkw[dk]); - } - free(dkw); - } - - close(fd); - - return &parts->dp; -} - -static size_t -gpt_cyl_size(const struct disk_partitions *arg) -{ - return MEG / 512; -} - -static struct disk_partitions * -gpt_create_new(const char *disk, daddr_t start, daddr_t len, - bool is_boot_drive, struct disk_partitions *parent) -{ - struct gpt_disk_partitions *parts; - struct disk_geom geo; - - if (start != 0) { - assert(0); - return NULL; - } - - if (!get_disk_geom(disk, &geo)) - return NULL; - - parts = calloc(1, sizeof(*parts)); - if (!parts) - return NULL; - - parts->dp.pscheme = &gpt_parts; - parts->dp.disk = strdup(disk); - - gpt_md_init(is_boot_drive, &parts->max_num_parts, &parts->prologue, - &parts->epilogue); - - parts->dp.disk_start = start; - parts->dp.disk_size = len; - parts->dp.bytes_per_sector = geo.dg_secsize; - parts->dp.free_space = len - start - parts->prologue - parts->epilogue; - parts->has_gpt = false; - - return &parts->dp; -} - -static bool -gpt_get_part_info(const struct disk_partitions *arg, part_id id, - struct disk_part_info *info) -{ - static const struct part_type_desc gpt_unknown_type = - { .generic_ptype = PT_undef, - .short_desc = "" }; - const struct gpt_disk_partitions *parts = - (const struct gpt_disk_partitions*)arg; - const struct gpt_part_entry *p = parts->partitions; - part_id no; - - for (no = 0; p != NULL && no < id; no++) - p = p->gp_next; - - if (no != id || p == NULL) - return false; - - memset(info, 0, sizeof(*info)); - info->start = p->gp_start; - info->size = p->gp_size; - if (p->gp_type) - info->nat_type = &p->gp_type->gent; - else - info->nat_type = &gpt_unknown_type; - info->last_mounted = p->last_mounted; - info->fs_type = p->fs_type; - info->fs_sub_type = p->fs_sub_type; - info->fs_opt1 = p->fs_opt1; - info->fs_opt2 = p->fs_opt2; - info->fs_opt3 = p->fs_opt3; - if (p->gp_flags & GPEF_TARGET) - info->flags |= PTI_INSTALL_TARGET; - - return true; -} - -static bool -gpt_get_part_attr_str(const struct disk_partitions *arg, part_id id, - char *str, size_t avail_space) -{ - const struct gpt_disk_partitions *parts = - (const struct gpt_disk_partitions*)arg; - const struct gpt_part_entry *p = parts->partitions; - part_id no; - static const char *flags = NULL; - - for (no = 0; p != NULL && no < id; no++) - p = p->gp_next; - - if (no != id || p == NULL) - return false; - - if (flags == NULL) - flags = msg_string(MSG_gpt_flags); - - if (avail_space < 2) - return false; - - if (p->gp_attr & GPT_ATTR_BOOT) - *str++ = flags[0]; - *str = 0; - - return true; -} - -/* - * Find insert position and check for duplicates. - * If all goes well, insert the new "entry" in the "list". - * If there are collisions, report "no free space". - * We keep all lists sorted by start sector number, - */ -static bool -gpt_insert_part_into_list(struct gpt_disk_partitions *parts, - struct gpt_part_entry **list, - struct gpt_part_entry *entry, const char **err_msg, part_id *new_id) -{ - struct gpt_part_entry *p, *last; - part_id pno; - - /* find the first entry past the new one (if any) */ - for (pno = 0, last = NULL, p = *list; p != NULL; - last = p, p = p->gp_next, pno++) { - if (p->gp_start > entry->gp_start) - break; - } - - /* check if last partition overlaps with new one */ - if (last) { - if (last->gp_start + last->gp_size > entry->gp_start) { - if (err_msg) - *err_msg = msg_string(MSG_No_free_space); - return false; - } - } - - if (p == NULL) { - entry->gp_next = NULL; - if (last != NULL) { - last->gp_next = entry; - } - } else { - /* check if new entry overlaps with next */ - if (entry->gp_start + entry->gp_size > p->gp_start) { - if (err_msg) - *err_msg = msg_string(MSG_No_free_space); - return false; - } - - entry->gp_next = p; - if (last != NULL) - last->gp_next = entry; - else - *list = entry; - } - if (*list == NULL) - *list = entry; - if (new_id != NULL) - *new_id = pno; - return true; -} - -static bool -gpt_set_part_info(struct disk_partitions *arg, part_id id, - const struct disk_part_info *info, const char **err_msg) -{ - struct gpt_disk_partitions *parts = - (struct gpt_disk_partitions*)arg; - struct gpt_part_entry *p = parts->partitions, *n; - part_id no; - daddr_t lendiff; - - for (no = 0; p != NULL && no < id; no++) - p = p->gp_next; - - if (no != id || p == NULL) - return false; - - /* update target mark - we can only have one */ - if (info->flags & PTI_INSTALL_TARGET) { - p->gp_flags |= GPEF_TARGET; - for (n = parts->partitions; n != NULL; n = n->gp_next) - if (n != p) - n->gp_flags &= ~GPEF_TARGET; - } else { - p->gp_flags &= ~GPEF_TARGET; - } - - if ((p->gp_flags & GPEF_ON_DISK)) { - if (info->start != p->gp_start) { - /* partition moved, we need to delete and re-add */ - n = calloc(1, sizeof(*n)); - if (n == NULL) { - if (err_msg) - *err_msg = err_outofmem; - return false; - } - *n = *p; - p->gp_flags &= ~GPEF_ON_DISK; - if (!gpt_insert_part_into_list(parts, &parts->obsolete, - n, err_msg, NULL)) - return false; - } else if (info->size != p->gp_size) { - p->gp_flags |= GPEF_RESIZED; - } - } - - p->gp_flags |= GPEF_MODIFIED; - - lendiff = info->size - p->gp_size; - parts->dp.free_space -= lendiff; - return gpt_info_to_part(p, info, err_msg); -} - -static size_t -gpt_get_free_spaces_internal(const struct gpt_disk_partitions *parts, - struct disk_part_free_space *result, size_t max_num_result, - daddr_t min_space_size, daddr_t align, daddr_t start, daddr_t ignore) -{ - size_t cnt = 0; - daddr_t s, e, from, size, end_of_disk; - struct gpt_part_entry *p; - - if (align > 1) - start = max(roundup(start, align), align); - if (start < 0 || start < (daddr_t)parts->prologue) - start = parts->prologue; - if (parts->dp.disk_start != 0 && parts->dp.disk_start > start) - start = parts->dp.disk_start; - if (min_space_size < 1) - min_space_size = 1; - end_of_disk = parts->dp.disk_start + parts->dp.disk_size - - parts->epilogue; - from = start; - while (from < end_of_disk && cnt < max_num_result) { -again: - size = parts->dp.disk_start + parts->dp.disk_size - from; - start = from; - if (start + size > end_of_disk) - size = end_of_disk - start; - for (p = parts->partitions; p != NULL; p = p->gp_next) { - s = p->gp_start; - e = p->gp_size + s; - if (s == ignore) - continue; - if (e < from) - continue; - if (s <= from && e > from) { - if (e - 1 >= end_of_disk) - return cnt; - from = e + 1; - if (align > 1) { - from = max(roundup(from, align), align); - if (from >= end_of_disk) { - size = 0; - break; - } - } - goto again; - } - if (s > from && s - from < size) { - size = s - from; - } - } - if (size >= min_space_size) { - result->start = start; - result->size = size; - result++; - cnt++; - } - from += size + 1; - if (align > 1) - from = max(roundup(from, align), align); - } - - return cnt; -} - -static daddr_t -gpt_max_free_space_at(const struct disk_partitions *arg, daddr_t start) -{ - const struct gpt_disk_partitions *parts = - (const struct gpt_disk_partitions*)arg; - struct disk_part_free_space space; - - if (gpt_get_free_spaces_internal(parts, &space, 1, 1, 0, - start, start) == 1) - return space.size; - - return 0; -} - -static size_t -gpt_get_free_spaces(const struct disk_partitions *arg, - struct disk_part_free_space *result, size_t max_num_result, - daddr_t min_space_size, daddr_t align, daddr_t start, - daddr_t ignore) -{ - const struct gpt_disk_partitions *parts = - (const struct gpt_disk_partitions*)arg; - - return gpt_get_free_spaces_internal(parts, result, - max_num_result, min_space_size, align, start, ignore); -} - -static void -gpt_match_ptype(const char *name, struct gpt_ptype_desc *t) -{ - size_t i; - - for (i = 0; i < __arraycount(gpt_fs_types); i++) { - if (strcmp(name, gpt_fs_types[i].name) == 0) { - t->gent.generic_ptype = gpt_fs_types[i].ptype; - t->fsflags = gpt_fs_types[i].fsflags; - t->default_fs_type = gpt_fs_types[i].fstype; - - /* recongnize special entries */ - if (gpt_native_root == NULL && i == 0) - gpt_native_root = &t->gent; - - return; - } - } - - t->gent.generic_ptype = PT_unknown; - t->fsflags = 0; - t->default_fs_type = FS_BSDFFS; -} - -static void -gpt_internal_add_ptype(const char *uid, const char *name, const char *desc) -{ - if (gpt_ptype_cnt >= gpt_ptype_alloc) { - gpt_ptype_alloc = gpt_ptype_alloc ? 2*gpt_ptype_alloc - : GPT_PTYPE_ALLOC; - struct gpt_ptype_desc *nptypes = realloc(gpt_ptype_descs, - gpt_ptype_alloc*sizeof(*gpt_ptype_descs)); - if (nptypes == 0) - errx(EXIT_FAILURE, "out of memory"); - gpt_ptype_descs = nptypes; - } - - strlcpy(gpt_ptype_descs[gpt_ptype_cnt].tid, uid, - sizeof(gpt_ptype_descs[gpt_ptype_cnt].tid)); - gpt_ptype_descs[gpt_ptype_cnt].gent.short_desc = strdup(name); - gpt_ptype_descs[gpt_ptype_cnt].gent.description = strdup(desc); - gpt_match_ptype(name, &gpt_ptype_descs[gpt_ptype_cnt]); - gpt_ptype_cnt++; -} - -static void -gpt_init_ptypes(void) -{ - if (gpt_ptype_cnt == 0) - gpt_uuid_query(gpt_internal_add_ptype); -} - -static void -gpt_cleanup(void) -{ - /* free all of gpt_ptype_descs */ - for (size_t i = 0; i < gpt_ptype_cnt; i++) { - free(__UNCONST(gpt_ptype_descs[i].gent.short_desc)); - free(__UNCONST(gpt_ptype_descs[i].gent.description)); - } - free(gpt_ptype_descs); - gpt_ptype_descs = NULL; - gpt_ptype_cnt = gpt_ptype_alloc = 0; -} - -static size_t -gpt_type_count(void) -{ - if (gpt_ptype_cnt == 0) - gpt_init_ptypes(); - - return gpt_ptype_cnt; -} - -static const struct part_type_desc * -gpt_get_ptype(size_t ndx) -{ - if (gpt_ptype_cnt == 0) - gpt_init_ptypes(); - - if (ndx >= gpt_ptype_cnt) - return NULL; - - return &gpt_ptype_descs[ndx].gent; -} - -static const struct part_type_desc * -gpt_get_generic_type(enum part_type gent) -{ - if (gpt_ptype_cnt == 0) - gpt_init_ptypes(); - - if (gent == PT_root) - return gpt_native_root; - if (gent == PT_unknown) - return NULL; - - for (size_t i = 0; i < gpt_ptype_cnt; i++) - if (gpt_ptype_descs[i].gent.generic_ptype == gent) - return &gpt_ptype_descs[i].gent; - - return NULL; -} - -static const struct gpt_ptype_desc * -gpt_find_native_type(const struct part_type_desc *gent) -{ - if (gpt_ptype_cnt == 0) - gpt_init_ptypes(); - - if (gent == NULL) - return NULL; - - for (size_t i = 0; i < gpt_ptype_cnt; i++) - if (gent == &gpt_ptype_descs[i].gent) - return &gpt_ptype_descs[i]; - - gent = gpt_get_generic_type(gent->generic_ptype); - if (gent == NULL) - return NULL; - - /* this can not recurse deeper than once, we would not have found a - * generic type a few lines above if it would. */ - return gpt_find_native_type(gent); -} - -static const struct gpt_ptype_desc * -gpt_find_guid_type(const char *uid) -{ - if (gpt_ptype_cnt == 0) - gpt_init_ptypes(); - - if (uid == NULL || uid[0] == 0) - return NULL; - - for (size_t i = 0; i < gpt_ptype_cnt; i++) - if (strcmp(gpt_ptype_descs[i].tid, uid) == 0) - return &gpt_ptype_descs[i]; - - return NULL; -} - -static const struct part_type_desc * -gpt_find_type(const char *desc) -{ - if (gpt_ptype_cnt == 0) - gpt_init_ptypes(); - - if (desc == NULL || desc[0] == 0) - return NULL; - - for (size_t i = 0; i < gpt_ptype_cnt; i++) - if (strcmp(gpt_ptype_descs[i].gent.short_desc, desc) == 0) - return &gpt_ptype_descs[i].gent; - - return NULL; -} - -static const struct part_type_desc * -gpt_get_fs_part_type(enum part_type pt, unsigned fstype, unsigned fs_sub_type) -{ - size_t i; - - /* Try with complete match (including part_type) first */ - for (i = 0; i < __arraycount(gpt_fs_types); i++) - if (fstype == gpt_fs_types[i].fstype && - pt == gpt_fs_types[i].ptype) - return gpt_find_type(gpt_fs_types[i].name); - - /* If that did not work, ignore part_type */ - for (i = 0; i < __arraycount(gpt_fs_types); i++) - if (fstype == gpt_fs_types[i].fstype) - return gpt_find_type(gpt_fs_types[i].name); - - return NULL; -} - -static bool -gpt_get_default_fstype(const struct part_type_desc *nat_type, - unsigned *fstype, unsigned *fs_sub_type) -{ - const struct gpt_ptype_desc *gtype; - - gtype = gpt_find_native_type(nat_type); - if (gtype == NULL) - return false; - - *fstype = gtype->default_fs_type; -#ifdef DEFAULT_UFS2 - if (gtype->default_fs_type == FS_BSDFFS) - *fs_sub_type = 2; - else -#endif - *fs_sub_type = 0; - return true; -} - -static const struct part_type_desc * -gpt_get_uuid_part_type(const uuid_t *id) -{ - char str[GUID_STR_LEN], desc[GUID_STR_LEN + MENUSTRSIZE]; - const struct gpt_ptype_desc *t; - char *guid = NULL; - uint32_t err; - - uuid_to_string(id, &guid, &err); - strlcpy(str, err == uuid_s_ok ? guid : "-", sizeof str); - free(guid); - - t = gpt_find_guid_type(str); - if (t == NULL) { - snprintf(desc, sizeof desc, "%s (%s)", - msg_string(MSG_custom_type), str); - gpt_internal_add_ptype(str, str, desc); - t = gpt_find_guid_type(str); - assert(t != NULL); - } - return &t->gent; -} - -static const struct part_type_desc * -gpt_create_custom_part_type(const char *custom, const char **err_msg) -{ - uuid_t id; - uint32_t err; - - uuid_from_string(custom, &id, &err); - if (err_msg != NULL && - (err == uuid_s_invalid_string_uuid || err == uuid_s_bad_version)) { - *err_msg = MSG_invalid_guid; - return NULL; - } - if (err != uuid_s_ok) - return NULL; - - return gpt_get_uuid_part_type(&id); -} - -static const struct part_type_desc * -gpt_create_unknown_part_type(void) -{ - uuid_t id; - uint32_t err; - - uuid_create(&id, &err); - if (err != uuid_s_ok) - return NULL; - - return gpt_get_uuid_part_type(&id); -} - -static daddr_t -gpt_get_part_alignment(const struct disk_partitions *parts) -{ - - assert(parts->disk_size > 0); - if (parts->disk_size < 0) - return 1; - - /* Use 1MB offset/alignment for large (>128GB) disks */ - if (parts->disk_size > HUGE_DISK_SIZE) - return 2048; - else if (parts->disk_size > TINY_DISK_SIZE) - return 64; - else - return 4; -} - -static bool -gpt_can_add_partition(const struct disk_partitions *arg) -{ - const struct gpt_disk_partitions *parts = - (const struct gpt_disk_partitions*)arg; - struct disk_part_free_space space; - daddr_t align; - - if (parts->dp.num_part >= parts->max_num_parts) - return false; - - align = gpt_get_part_alignment(arg); - if (parts->dp.free_space <= align) - return false; - - if (gpt_get_free_spaces_internal(parts, &space, 1, align, align, - 0, -1) < 1) - return false; - - return true; -} - -static bool -gpt_info_to_part(struct gpt_part_entry *p, const struct disk_part_info *info, - const char **err_msg) -{ - p->gp_type = gpt_find_native_type(info->nat_type); - p->gp_start = info->start; - p->gp_size = info->size; - if (info->last_mounted != NULL && info->last_mounted != - p->last_mounted) { - free(__UNCONST(p->last_mounted)); - p->last_mounted = strdup(info->last_mounted); - } - p->fs_type = info->fs_type; - p->fs_sub_type = info->fs_sub_type; - p->fs_opt1 = info->fs_opt1; - p->fs_opt2 = info->fs_opt2; - p->fs_opt3 = info->fs_opt3; - - return true; -} - -static part_id -gpt_add_part(struct disk_partitions *arg, - const struct disk_part_info *info, const char **err_msg) -{ - struct gpt_disk_partitions *parts = - (struct gpt_disk_partitions*)arg; - struct disk_part_free_space space; - struct disk_part_info data = *info; - struct gpt_part_entry *p, *n; - part_id pno; - bool ok; - - if (err_msg != NULL) - *err_msg = NULL; - - if (gpt_get_free_spaces_internal(parts, &space, 1, 1, 1, - info->start, -1) < 1) { - if (err_msg) - *err_msg = msg_string(MSG_No_free_space); - return NO_PART; - } - if (parts->dp.num_part >= parts->max_num_parts) { - if (err_msg) - *err_msg = msg_string(MSG_err_too_many_partitions); - return NO_PART; - } - - if (data.size > space.size) - data.size = space.size; - - p = calloc(1, sizeof(*p)); - if (p == NULL) { - if (err_msg != NULL) - *err_msg = INTERNAL_ERROR; - return NO_PART; - } - if (!gpt_info_to_part(p, &data, err_msg)) { - free(p); - return NO_PART; - } - p->gp_flags |= GPEF_MODIFIED; - ok = gpt_insert_part_into_list(parts, &parts->partitions, p, - err_msg, &pno); - if (ok) { - if (info->flags & PTI_INSTALL_TARGET) { - /* update target mark - we can only have one */ - p->gp_flags |= GPEF_TARGET; - for (n = parts->partitions; n != NULL; n = n->gp_next) - if (n != p) - n->gp_flags &= ~GPEF_TARGET; - } - - parts->dp.num_part++; - parts->dp.free_space -= p->gp_size; - return pno; - } else { - free(p); - return NO_PART; - } -} - -static bool -gpt_delete_partition(struct disk_partitions *arg, part_id id, - const char **err_msg) -{ - struct gpt_disk_partitions *parts = (struct gpt_disk_partitions*)arg; - struct gpt_part_entry *p, *last = NULL; - part_id i; - bool res; - - if (parts->dp.num_part == 0) - return false; - - for (i = 0, p = parts->partitions; - i != id && i < parts->dp.num_part && p != NULL; - i++, p = p->gp_next) - last = p; - - if (p == NULL) { - if (err_msg) - *err_msg = INTERNAL_ERROR; - return false; - } - - if (last == NULL) - parts->partitions = p->gp_next; - else - last->gp_next = p->gp_next; - - res = true; - if (p->gp_flags & GPEF_ON_DISK) { - if (!gpt_insert_part_into_list(parts, &parts->obsolete, - p, err_msg, NULL)) - res = false; - } else { - free(p); - } - - if (res) { - parts->dp.num_part--; - parts->dp.free_space += p->gp_size; - } - - return res; -} - -static bool -gpt_delete_all_partitions(struct disk_partitions *arg) -{ - struct gpt_disk_partitions *parts = (struct gpt_disk_partitions*)arg; - - while (parts->dp.num_part > 0) { - if (!gpt_delete_partition(&parts->dp, 0, NULL)) - return false; - } - - return true; -} - -static bool -gpt_read_part(const char *disk, daddr_t start, struct gpt_part_entry *p) -{ - char *textbuf, *t, *tt; - static const char expected_hdr[] = "Details for index "; - - /* run gpt show for this partition */ - if (collect(T_OUTPUT, &textbuf, - "gpt -r show -b %" PRIu64 " %s 2>/dev/null", start, disk) < 1) - return false; - - /* - * gpt show should respond with single partition details, but will - * fall back to "show -a" output if something is wrong - */ - t = strtok(textbuf, "\n"); /* first line is special */ - if (strncmp(t, expected_hdr, sizeof(expected_hdr)-1) != 0) { - free(textbuf); - return false; - } - - /* parse output into "old" */ - while ((t = strtok(NULL, "\n")) != NULL) { - tt = strsep(&t, " \t"); - if (strlen(tt) == 0) - continue; - gpt_add_info(p, tt, t, true); - } - free(textbuf); - - return true; -} - -static bool -gpt_apply_attr(const char *disk, const char *cmd, off_t start, uint todo) -{ - size_t i; - char attr_str[STRSIZE]; - - if (todo == 0) - return true; - - strcpy(attr_str, "-a "); - for (i = 0; todo != 0; i++) { - if (!(gpt_avail_attrs[i].flag & todo)) - continue; - todo &= ~gpt_avail_attrs[i].flag; - if (attr_str[0]) - strlcat(attr_str, ",", - sizeof(attr_str)); - strlcat(attr_str, - gpt_avail_attrs[i].name, - sizeof(attr_str)); - } - if (run_program(RUN_SILENT, - "gpt %s %s -b %" PRIu64 " %s", cmd, attr_str, start, disk) != 0) - return false; - return true; -} - -/* - * Modify an existing on-disk partition. - * Start and size can not be changed here, caller needs to deal - * with that kind of changes upfront. - */ -static bool -gpt_modify_part(const char *disk, struct gpt_part_entry *p) -{ - struct gpt_part_entry old; - uint todo_set, todo_unset; - - /* - * Query current on-disk state - */ - memset(&old, 0, sizeof old); - if (!gpt_read_part(disk, p->gp_start, &old)) - return false; - - /* Reject unsupported changes */ - if (old.gp_start != p->gp_start || old.gp_size != p->gp_size) - return false; - - /* - * GUID should never change, but the internal copy - * may not yet know it. - */ - strcpy(p->gp_id, old.gp_id); - - /* Check type */ - if (p->gp_type != old.gp_type) { - if (run_program(RUN_SILENT, - "gpt type -b %" PRIu64 " -T %s %s", - p->gp_start, p->gp_type->tid, disk) != 0) - return false; - } - - /* Check label */ - if (strcmp(p->gp_label, old.gp_label) != 0) { - if (run_program(RUN_SILENT, - "gpt label -b %" PRIu64 " -l \'%s\' %s", - p->gp_start, p->gp_label, disk) != 0) - return false; - } - - /* Check attributes */ - if (p->gp_attr != old.gp_attr) { - if (p->gp_attr == 0) { - if (run_program(RUN_SILENT, - "gpt set -N -b %" PRIu64 " %s", - p->gp_start, disk) != 0) - return false; - } else { - todo_set = (p->gp_attr ^ old.gp_attr) & p->gp_attr; - todo_unset = (p->gp_attr ^ old.gp_attr) & old.gp_attr; - if (!gpt_apply_attr(disk, "unset", p->gp_start, - todo_unset)) - return false; - if (!gpt_apply_attr(disk, "set", p->gp_start, - todo_set)) - return false; - } - } - - return true; -} - -/* - * verbatim copy from sys/dev/dkwedge/dkwedge_bsdlabel.c: - * map FS_* to wedge strings - */ -static const char * -bsdlabel_fstype_to_str(uint8_t fstype) -{ - const char *str; - - /* - * For each type known to FSTYPE_DEFN (from ), - * a suitable case branch will convert the type number to a string. - */ - switch (fstype) { -#define FSTYPE_TO_STR_CASE(tag, number, name, fsck, mount) \ - case __CONCAT(FS_,tag): str = __CONCAT(DKW_PTYPE_,tag); break; - FSTYPE_DEFN(FSTYPE_TO_STR_CASE) -#undef FSTYPE_TO_STR_CASE - default: str = NULL; break; - } - - return (str); -} - -/* - * diskfd is an open file descriptor for a disk we had trouble with - * creating some new wedges. - * Go through all wedges actually on that disk, check if we have a - * record for them and remove all others. - * This should sync our internal model of partitions with the real state. - */ -static void -gpt_sanitize(int diskfd, const struct gpt_disk_partitions *parts, - struct gpt_part_entry *ignore) -{ - struct dkwedge_info *dkw, delw; - struct dkwedge_list dkwl; - size_t bufsize; - u_int i; - - dkw = NULL; - dkwl.dkwl_buf = dkw; - dkwl.dkwl_bufsize = 0; - - /* get a list of all wedges */ - for (;;) { - if (ioctl(diskfd, DIOCLWEDGES, &dkwl) == -1) - return; - if (dkwl.dkwl_nwedges == dkwl.dkwl_ncopied) - break; - bufsize = dkwl.dkwl_nwedges * sizeof(*dkw); - if (dkwl.dkwl_bufsize < bufsize) { - dkw = realloc(dkwl.dkwl_buf, bufsize); - if (dkw == NULL) - return; - dkwl.dkwl_buf = dkw; - dkwl.dkwl_bufsize = bufsize; - } - } - - /* try to remove all the ones we do not know about */ - for (i = 0; i < dkwl.dkwl_nwedges; i++) { - bool found = false; - const char *devname = dkw[i].dkw_devname; - - for (struct gpt_part_entry *pe = parts->partitions; - pe != NULL; pe = pe->gp_next) { - if (pe == ignore) - continue; - if ((pe->gp_flags & GPEF_WEDGE) && - strcmp(pe->gp_dev_name, devname) == 0) { - found = true; - break; - } - } - if (found) - continue; - memset(&delw, 0, sizeof(delw)); - strlcpy(delw.dkw_devname, devname, sizeof(delw.dkw_devname)); - (void)ioctl(diskfd, DIOCDWEDGE, &delw); - } - - /* cleanup */ - free(dkw); -} - -static bool -gpt_add_wedge(const char *disk, struct gpt_part_entry *p, - const struct gpt_disk_partitions *parts) -{ - struct dkwedge_info dkw; - const char *tname; - char diskpath[MAXPATHLEN]; - int fd; - - memset(&dkw, 0, sizeof(dkw)); - tname = bsdlabel_fstype_to_str(p->fs_type); - if (tname) - strlcpy(dkw.dkw_ptype, tname, sizeof(dkw.dkw_ptype)); - - strlcpy((char*)&dkw.dkw_wname, p->gp_id, sizeof(dkw.dkw_wname)); - dkw.dkw_offset = p->gp_start; - dkw.dkw_size = p->gp_size; - if (dkw.dkw_wname[0] == 0) { - if (p->gp_label[0] != 0) - strlcpy((char*)&dkw.dkw_wname, - p->gp_label, sizeof(dkw.dkw_wname)); - } - if (dkw.dkw_wname[0] == 0) { - snprintf((char*)dkw.dkw_wname, sizeof dkw.dkw_wname, - "%s_%" PRIi64 "@%" PRIi64, disk, p->gp_size, p->gp_start); - } - - fd = opendisk(disk, O_RDWR, diskpath, sizeof(diskpath), 0); - if (fd < 0) - return false; - if (ioctl(fd, DIOCAWEDGE, &dkw) == -1) { - if (errno == EINVAL) { - /* sanitize existing wedges and try again */ - gpt_sanitize(fd, parts, p); - if (ioctl(fd, DIOCAWEDGE, &dkw) == 0) - goto ok; - } - close(fd); - return false; - } -ok: - close(fd); - - strlcpy(p->gp_dev_name, dkw.dkw_devname, sizeof(p->gp_dev_name)); - p->gp_flags |= GPEF_WEDGE; - return true; -} - -static void -escape_spaces(char *dest, const char *src) -{ - unsigned char c; - - while (*src) { - c = *src++; - if (isspace(c) || c == '\\') - *dest++ = '\\'; - *dest++ = c; - } - *dest = 0; -} - -static bool -gpt_get_part_device(const struct disk_partitions *arg, - part_id id, char *devname, size_t max_devname_len, int *part, - enum dev_name_usage usage, bool with_path, bool life) -{ - const struct gpt_disk_partitions *parts = - (const struct gpt_disk_partitions*)arg; - struct gpt_part_entry *p = parts->partitions; - char tmpname[GPT_LABEL_LEN*2]; - part_id no; - - - for (no = 0; p != NULL && no < id; no++) - p = p->gp_next; - - if (no != id || p == NULL) - return false; - - if (part) - *part = -1; - - if (usage == logical_name && p->gp_label[0] == 0 && p->gp_id[0] == 0) - usage = plain_name; - if (usage == plain_name || usage == raw_dev_name) - life = true; - if (!(p->gp_flags & GPEF_WEDGE) && life && - !gpt_add_wedge(arg->disk, p, parts)) - return false; - - switch (usage) { - case logical_name: - if (p->gp_label[0] != 0) { - escape_spaces(tmpname, p->gp_label); - snprintf(devname, max_devname_len, - "NAME=%s", tmpname); - } else { - snprintf(devname, max_devname_len, - "NAME=%s", p->gp_id); - } - break; - case plain_name: - assert(p->gp_flags & GPEF_WEDGE); - if (with_path) - snprintf(devname, max_devname_len, _PATH_DEV "%s", - p->gp_dev_name); - else - strlcpy(devname, p->gp_dev_name, max_devname_len); - break; - case raw_dev_name: - assert(p->gp_flags & GPEF_WEDGE); - if (with_path) - snprintf(devname, max_devname_len, _PATH_DEV "r%s", - p->gp_dev_name); - else - snprintf(devname, max_devname_len, "r%s", - p->gp_dev_name); - break; - default: - return false; - } - - return true; -} - -static bool -gpt_write_to_disk(struct disk_partitions *arg) -{ - struct gpt_disk_partitions *parts = (struct gpt_disk_partitions*)arg; - struct gpt_part_entry *p, *n; - char label_arg[sizeof(p->gp_label) + 10]; - char diskpath[MAXPATHLEN]; - int fd, bits = 0; - bool root_is_new = false, efi_is_new = false; - part_id root_id = NO_PART, efi_id = NO_PART, pno; - - /* - * Remove all wedges on this disk - they may become invalid and we - * have no easy way to associate them with the partitioning data. - * Instead we will explicitly request creation of wedges on demand - * later. - */ - fd = opendisk(arg->disk, O_RDWR, diskpath, sizeof(diskpath), 0); - if (fd < 0) - return false; - if (ioctl(fd, DIOCRMWEDGES, &bits) == -1) - return false; - close(fd); - - /* - * Collect first root and efi partition (if available), clear - * "have wedge" flags. - */ - for (pno = 0, p = parts->partitions; p != NULL; p = p->gp_next, pno++) { - p->gp_flags &= ~GPEF_WEDGE; - if (root_id == NO_PART && p->gp_type != NULL) { - if (p->gp_type->gent.generic_ptype == PT_root && - (p->gp_flags & GPEF_TARGET)) { - root_id = pno; - root_is_new = !(p->gp_flags & GPEF_ON_DISK); - } else if (efi_id == NO_PART && - p->gp_type->gent.generic_ptype == PT_EFI_SYSTEM) { - efi_id = pno; - efi_is_new = !(p->gp_flags & GPEF_ON_DISK); - } - } - } - - /* - * If no GPT on disk yet, create it. - */ - if (!parts->has_gpt) { - char limit[30]; - - if (parts->max_num_parts > 0) - sprintf(limit, "-p %zu", parts->max_num_parts); - else - limit[0] = 0; - if (run_program(RUN_SILENT, "gpt create %s %s", - limit, parts->dp.disk)) - return false; - parts->has_gpt = true; - } - - /* - * Delete all old partitions - */ - for (p = parts->obsolete; p != NULL; p = n) { - run_program(RUN_SILENT, "gpt -n remove -b %" PRIu64 " %s", - p->gp_start, arg->disk); - n = p->gp_next; - free(p); - } - parts->obsolete = NULL; - - /* - * Modify existing but changed partitions - */ - for (p = parts->partitions; p != NULL; p = p->gp_next) { - if (!(p->gp_flags & GPEF_ON_DISK)) - continue; - - if (p->gp_flags & GPEF_RESIZED) { - run_program(RUN_SILENT, - "gpt -n resize -b %" PRIu64 " -s %" PRIu64 "s %s", - p->gp_start, p->gp_size, arg->disk); - p->gp_flags &= ~GPEF_RESIZED; - } - - if (!(p->gp_flags & GPEF_MODIFIED)) - continue; - - if (!gpt_modify_part(parts->dp.disk, p)) - return false; - } - - /* - * Add new partitions - */ - for (p = parts->partitions; p != NULL; p = p->gp_next) { - if (p->gp_flags & GPEF_ON_DISK) - continue; - if (!(p->gp_flags & GPEF_MODIFIED)) - continue; - - if (p->gp_label[0] == 0) - label_arg[0] = 0; - else - sprintf(label_arg, "-l \'%s\'", p->gp_label); - - if (p->gp_type != NULL) - run_program(RUN_SILENT, - "gpt -n add -b %" PRIu64 " -s %" PRIu64 - "s -t %s %s %s", - p->gp_start, p->gp_size, p->gp_type->tid, - label_arg, arg->disk); - else - run_program(RUN_SILENT, - "gpt -n add -b %" PRIu64 " -s %" PRIu64 - "s %s %s", - p->gp_start, p->gp_size, label_arg, arg->disk); - gpt_apply_attr(arg->disk, "set", p->gp_start, p->gp_attr); - gpt_read_part(arg->disk, p->gp_start, p); - p->gp_flags |= GPEF_ON_DISK; - } - - /* - * Additional MD bootloader magic... - */ - if (!md_gpt_post_write(&parts->dp, root_id, root_is_new, efi_id, - efi_is_new)) - return false; - - return true; -} - -static part_id -gpt_find_by_name(struct disk_partitions *arg, const char *name) -{ - struct gpt_disk_partitions *parts = (struct gpt_disk_partitions*)arg; - struct gpt_part_entry *p; - part_id pno; - - for (pno = 0, p = parts->partitions; p != NULL; - p = p->gp_next, pno++) { - if (strcmp(p->gp_label, name) == 0) - return pno; - if (strcmp(p->gp_id, name) == 0) - return pno; - } - - return NO_PART; -} - -bool -gpt_parts_check(void) -{ - - check_available_binaries(); - - return have_gpt && have_dk; -} - -static void -gpt_free(struct disk_partitions *arg) -{ - struct gpt_disk_partitions *parts = (struct gpt_disk_partitions*)arg; - struct gpt_part_entry *p, *n; - - assert(parts != NULL); - for (p = parts->partitions; p != NULL; p = n) { - if (p->gp_flags & GPEF_WEDGE) - register_post_umount_delwedge(parts->dp.disk, - p->gp_dev_name); - free(__UNCONST(p->last_mounted)); - n = p->gp_next; - free(p); - } - free(__UNCONST(parts->dp.disk)); - free(parts); -} - -static void -gpt_destroy_part_scheme(struct disk_partitions *arg) -{ - - run_program(RUN_SILENT, "gpt destroy %s", arg->disk); - gpt_free(arg); -} - -static bool -gpt_custom_attribute_writable(const struct disk_partitions *arg, - part_id ptn, size_t attr_no) -{ - const struct gpt_disk_partitions *parts = - (const struct gpt_disk_partitions*)arg; - size_t i; - struct gpt_part_entry *p; - - if (attr_no >= arg->pscheme->custom_attribute_count) - return false; - - const msg label = arg->pscheme->custom_attributes[attr_no].label; - - /* we can not edit the uuid attribute */ - if (label == MSG_ptn_uuid) - return false; - - /* the label is always editable */ - if (label == MSG_ptn_label) - return true; - - /* the GPT type is read only */ - if (label == MSG_ptn_gpt_type) - return false; - - /* BOOTME makes no sense on swap partitions */ - for (i = 0, p = parts->partitions; p != NULL; i++, p = p->gp_next) - if (i == ptn) - break; - - if (p == NULL) - return false; - - if (p->fs_type == FS_SWAP || - (p->gp_type != NULL && p->gp_type->gent.generic_ptype == PT_swap)) - return false; - - return true; -} - -static const char * -gpt_get_label_str(const struct disk_partitions *arg, part_id ptn) -{ - const struct gpt_disk_partitions *parts = - (const struct gpt_disk_partitions*)arg; - size_t i; - struct gpt_part_entry *p; - - for (i = 0, p = parts->partitions; p != NULL; i++, p = p->gp_next) - if (i == ptn) - break; - - if (p == NULL) - return NULL; - - if (p->gp_label[0] != 0) - return p->gp_label; - return p->gp_id; -} - -static bool -gpt_format_custom_attribute(const struct disk_partitions *arg, - part_id ptn, size_t attr_no, const struct disk_part_info *info, - char *out, size_t out_space) -{ - const struct gpt_disk_partitions *parts = - (const struct gpt_disk_partitions*)arg; - size_t i; - struct gpt_part_entry *p, data; - - for (i = 0, p = parts->partitions; p != NULL; i++, p = p->gp_next) - if (i == ptn) - break; - - if (p == NULL) - return false; - - if (attr_no >= parts->dp.pscheme->custom_attribute_count) - return false; - - const msg label = parts->dp.pscheme->custom_attributes[attr_no].label; - - if (info != NULL) { - data = *p; - gpt_info_to_part(&data, info, NULL); - p = &data; - } - - if (label == MSG_ptn_label) - strlcpy(out, p->gp_label, out_space); - else if (label == MSG_ptn_uuid) - strlcpy(out, p->gp_id, out_space); - else if (label == MSG_ptn_gpt_type) { - if (p->gp_type != NULL) - strlcpy(out, p->gp_type->gent.description, out_space); - else if (out_space > 1) - out[0] = 0; - } else if (label == MSG_ptn_boot) - strlcpy(out, msg_string(p->gp_attr & GPT_ATTR_BOOT ? - MSG_Yes : MSG_No), out_space); - else - return false; - - return true; -} - -static bool -gpt_custom_attribute_toggle(struct disk_partitions *arg, - part_id ptn, size_t attr_no) -{ - const struct gpt_disk_partitions *parts = - (const struct gpt_disk_partitions*)arg; - size_t i; - struct gpt_part_entry *p; - - for (i = 0, p = parts->partitions; p != NULL; i++, p = p->gp_next) - if (i == ptn) - break; - - if (p == NULL) - return false; - - if (attr_no >= parts->dp.pscheme->custom_attribute_count) - return false; - - const msg label = parts->dp.pscheme->custom_attributes[attr_no].label; - if (label != MSG_ptn_boot) - return false; - - if (p->gp_attr & GPT_ATTR_BOOT) { - p->gp_attr &= ~GPT_ATTR_BOOT; - } else { - for (i = 0, p = parts->partitions; p != NULL; - i++, p = p->gp_next) - if (i == ptn) - p->gp_attr |= GPT_ATTR_BOOT; - else - p->gp_attr &= ~GPT_ATTR_BOOT; - } - return true; -} - -static bool -gpt_custom_attribute_set_str(struct disk_partitions *arg, - part_id ptn, size_t attr_no, const char *new_val) -{ - const struct gpt_disk_partitions *parts = - (const struct gpt_disk_partitions*)arg; - size_t i; - struct gpt_part_entry *p; - - for (i = 0, p = parts->partitions; p != NULL; i++, p = p->gp_next) - if (i == ptn) - break; - - if (p == NULL) - return false; - - if (attr_no >= parts->dp.pscheme->custom_attribute_count) - return false; - - const msg label = parts->dp.pscheme->custom_attributes[attr_no].label; - - if (label != MSG_ptn_label) - return false; - - strlcpy(p->gp_label, new_val, sizeof(p->gp_label)); - return true; -} - -static bool -gpt_have_boot_support(const char *disk) -{ -#ifdef HAVE_GPT_BOOT - return true; -#else - return false; -#endif -} - -const struct disk_part_custom_attribute gpt_custom_attrs[] = { - { .label = MSG_ptn_label, .type = pet_str }, - { .label = MSG_ptn_uuid, .type = pet_str }, - { .label = MSG_ptn_gpt_type, .type = pet_str }, - { .label = MSG_ptn_boot, .type = pet_bool }, -}; - -const struct disk_partitioning_scheme -gpt_parts = { - .name = MSG_parttype_gpt, - .short_name = MSG_parttype_gpt_short, - .part_flag_desc = MSG_gpt_flag_desc, - .custom_attribute_count = __arraycount(gpt_custom_attrs), - .custom_attributes = gpt_custom_attrs, - .get_part_types_count = gpt_type_count, - .get_part_type = gpt_get_ptype, - .get_generic_part_type = gpt_get_generic_type, - .get_fs_part_type = gpt_get_fs_part_type, - .get_default_fstype = gpt_get_default_fstype, - .create_custom_part_type = gpt_create_custom_part_type, - .create_unknown_part_type = gpt_create_unknown_part_type, - .get_part_alignment = gpt_get_part_alignment, - .read_from_disk = gpt_read_from_disk, - .get_cylinder_size = gpt_cyl_size, - .create_new_for_disk = gpt_create_new, - .have_boot_support = gpt_have_boot_support, - .find_by_name = gpt_find_by_name, - .can_add_partition = gpt_can_add_partition, - .custom_attribute_writable = gpt_custom_attribute_writable, - .format_custom_attribute = gpt_format_custom_attribute, - .custom_attribute_toggle = gpt_custom_attribute_toggle, - .custom_attribute_set_str = gpt_custom_attribute_set_str, - .other_partition_identifier = gpt_get_label_str, - .get_part_device = gpt_get_part_device, - .max_free_space_at = gpt_max_free_space_at, - .get_free_spaces = gpt_get_free_spaces, - .adapt_foreign_part_info = generic_adapt_foreign_part_info, - .get_part_info = gpt_get_part_info, - .get_part_attr_str = gpt_get_part_attr_str, - .set_part_info = gpt_set_part_info, - .add_partition = gpt_add_part, - .delete_all_partitions = gpt_delete_all_partitions, - .delete_partition = gpt_delete_partition, - .write_to_disk = gpt_write_to_disk, - .free = gpt_free, - .destroy_part_scheme = gpt_destroy_part_scheme, - .cleanup = gpt_cleanup, -}; diff --git a/overlay/usr.sbin/sysinst/gpt_uuid.c b/overlay/usr.sbin/sysinst/gpt_uuid.c deleted file mode 100644 index 0eb2be08ad..0000000000 --- a/overlay/usr.sbin/sysinst/gpt_uuid.c +++ /dev/null @@ -1,4 +0,0 @@ -/* re-use the query parts of gpt(8)'s uuid list */ - -#define GPT_UUID_QUERY_ONLY -#include "../../sbin/gpt/gpt_uuid.c" diff --git a/overlay/usr.sbin/sysinst/install.c b/overlay/usr.sbin/sysinst/install.c deleted file mode 100644 index c7e287a088..0000000000 --- a/overlay/usr.sbin/sysinst/install.c +++ /dev/null @@ -1,354 +0,0 @@ -/* $NetBSD: install.c,v 1.26 2026/06/25 16:46:56 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* install.c -- system installation. */ - -#include -#include -#include -#include "defs.h" -#include "msg_defs.h" -#include "menu_defs.h" - -/* - * helper function: call the md pre/post disklabel callback for all involved - * inner partitions and write them back. - * return net result - */ -static bool -write_all_parts(struct install_partition_desc *install) -{ - struct disk_partitions **allparts, *parts; -#ifndef NO_CLONES - struct selected_partition *src; -#endif - size_t num_parts, i, j; - bool found, res; - - /* pessimistic assumption: all partitions on different devices */ - allparts = calloc(install->num + install->num_write_back, - sizeof(*allparts)); - if (allparts == NULL) - return false; - - /* collect all different partition sets */ - num_parts = 0; - for (i = 0; i < install->num_write_back; i++) { - parts = install->write_back[i]; - if (parts == NULL) - continue; - found = false; - for (j = 0; j < num_parts; j++) { - if (allparts[j] == parts) { - found = true; - break; - } - } - if (found) - continue; - allparts[num_parts++] = parts; - } - for (i = 0; i < install->num; i++) { - parts = install->infos[i].parts; - if (parts == NULL) - continue; - found = false; - for (j = 0; j < num_parts; j++) { - if (allparts[j] == parts) { - found = true; - break; - } - } - if (found) - continue; - allparts[num_parts++] = parts; - } - - /* do multiple phases, abort anytime and go out, returning res */ - - res = true; - - /* phase 1: pre disklabel - used to write MBR and similar */ - for (i = 0; i < num_parts; i++) { - if (!md_pre_disklabel(install, allparts[i])) { - res = false; - goto out; - } - } - - /* phase 2: write our partitions (used to be: disklabel) */ - for (i = 0; i < num_parts; i++) { - if (!allparts[i]->pscheme->write_to_disk(allparts[i])) { - res = false; - goto out; - } - } - - /* phase 3: now we may have a first chance to enable swap space */ - set_swap_if_low_ram(install); - -#ifndef NO_CLONES - /* phase 4: copy any cloned partitions data (if requested) */ - for (i = 0; i < install->num; i++) { - if ((install->infos[i].flags & PUIFLG_CLONE_PARTS) == 0 - || install->infos[i].clone_src == NULL - || !install->infos[i].clone_src->with_data) - continue; - src = &install->infos[i].clone_src - ->selection[install->infos[i].clone_ndx]; - clone_partition_data(install->infos[i].parts, - install->infos[i].cur_part_id, - src->parts, src->id); - } -#endif - - /* phase 5: post disklabel (used for updating boot loaders) */ - for (i = 0; i < num_parts; i++) { - if (!md_post_disklabel(install, allparts[i])) { - res = false; - goto out; - } - } - -out: - free(allparts); - - return res; -} - -/* Makronix: see defs.h */ -/* - * Makronix: the simple mode takes the whole disk, so it first clears the marks - * the disk carries: the first and the last 4 MB (partition maps, the GPT and - * its copy at the end, LVM or LUKS headers, an Apple partition map). What an - * earlier system left there can make the new partition table fail. Errors here - * do not stop the installation: partitioning says what is wrong. - */ -static void -wipe_disk_ends(struct pm_devs *p) -{ - intmax_t mb = (intmax_t)p->dlsize * p->sectorsize / MEG; - - if (mb <= 16) - return; - run_program(RUN_SILENT | RUN_ERROR_OK, - "dd if=/dev/zero of=/dev/r%s%c bs=1m count=4", - p->diskdev, 'a' + RAW_PART); - run_program(RUN_SILENT | RUN_ERROR_OK, - "dd if=/dev/zero of=/dev/r%s%c bs=1m seek=%jd count=3", - p->diskdev, 'a' + RAW_PART, mb - 4); -} - - -bool simple_install; - -/* Do the system install. */ - -static void -do_install_inner(void) -{ - int find_disks_ret; - int retcode = 0, res; - struct install_partition_desc install = {}; - -#ifndef NO_PARTMAN - partman_go = -1; -#else - partman_go = 0; -#endif - -#ifndef DEBUG - msg_display(MSG_installusure); - if (!ask_noyes(NULL)) - return; -#endif - - /* - * Makronix: simple (the disk, then everything) or advanced (the - * partitioning and the sets are chosen as before). -1 is "abandon". - */ - { - int mode = -1; - - process_menu(MENU_installmode, &mode); - if (mode < 0) - return; - simple_install = (mode == 1); -#ifdef CGDROOT - /* Makronix: encrypting the disk is offered in the simple mode. */ - cgdroot_install = simple_install && cgdroot_ask(); -#endif - } - - memset(&install, 0, sizeof install); - - /* Create and mount partitions */ - find_disks_ret = find_disks(msg_string(MSG_install), false); - if (partman_go == 1) { - if (partman(&install) < 0) { - hit_enter_to_continue(MSG_abort_part, NULL); - return; - } - } else if (find_disks_ret < 0) - return; - else { - /* Classical partitioning wizard */ - partman_go = 0; - clear(); - refresh(); -#ifdef CGDROOT - /* Makronix: partition the disk, configure cgd0, continue on it. */ - if (cgdroot_install && cgdroot_prepare() != 0) - goto error; -#endif - if (check_swap(pm->diskdev, 0) > 0) { - hit_enter_to_continue(MSG_swapactive, NULL); - if (check_swap(pm->diskdev, 1) < 0) { - hit_enter_to_continue(MSG_swapdelfailed, NULL); - if (!debug) - return; - } - } - - for (;;) { - if (md_get_info(&install)) { - res = md_make_bsd_partitions(&install); - if (res == -1) { - pm->parts = NULL; - continue; - } else if (res == 1) { - break; - } - } - hit_enter_to_continue(MSG_abort_inst, NULL); - goto error; - } - -#ifdef CGDROOT - /* the real disk was confirmed in cgdroot_prepare() */ - if (!cgdroot_install) { -#endif - /* Last chance ... do you really want to do this? */ - clear(); - refresh(); - msg_fmt_display(MSG_lastchance, "%s", pm->diskdev); - if (!ask_noyes(NULL)) - goto error; -#ifdef CGDROOT - } -#endif - -#ifdef CGDROOT - if (simple_install && !cgdroot_install && !pm->no_part) -#else - if (simple_install && !pm->no_part) -#endif - wipe_disk_ends(pm); - - if ((!pm->no_part && !write_all_parts(&install)) || - make_filesystems(&install) || - make_fstab(&install) != 0 || - md_post_newfs(&install) != 0) - goto error; - } - - /* Unpack the distribution. */ - if (simple_install) { - /* Makronix: everything belongs together, no set menu. */ - init_set_status(0); - retcode = 1; - } else - process_menu(MENU_distset, &retcode); - if (retcode == 0) - goto error; - if (get_and_unpack_sets(0, MSG_disksetupdone, - MSG_extractcomplete, MSG_abortinst) != 0) - goto error; - - if (md_post_extract(&install, false) != 0) - goto error; - -#ifdef CGDROOT - if (cgdroot_install && cgdroot_finish() != 0) - goto error; -#endif - - /* we have now installed our own trust anchors, so make use of them! */ - unsetenv("FTPSSLNOVERIFY"); - - if (simple_install) - makronix_extras(); - - if (simple_install) { - /* - * Makronix: the questions of a desktop computer, in sysinst's - * own screen, instead of the configuration menu (setup.c). - * Entropy first: the password hashes need it. - */ -#if CHECK_ENTROPY - do_add_entropy(); -#endif - makronix_setup(); - } else { - root_pw_setup(); -#if CHECK_ENTROPY - do_add_entropy(); -#endif - do_configmenu(&install); - } - - sanity_check(); - - md_cleanup_install(&install); - - hit_enter_to_continue(MSG_instcomplete, NULL); - -error: - free_install_desc(&install); -} - -/* - * Makronix: simple_install is only meaningful while an installation runs; an - * upgrade or a re-install of sets in the same session goes through the same - * functions and must not inherit it. - */ -void -do_install(void) -{ - do_install_inner(); -#ifdef CGDROOT - cgdroot_install = false; -#endif - simple_install = false; -} diff --git a/overlay/usr.sbin/sysinst/label.c b/overlay/usr.sbin/sysinst/label.c deleted file mode 100644 index 34fa41465d..0000000000 --- a/overlay/usr.sbin/sysinst/label.c +++ /dev/null @@ -1,2447 +0,0 @@ -/* $NetBSD: label.c,v 1.52 2026/06/22 19:36:47 martin Exp $ */ - -/* - * Copyright 1997 Jonathan Stone - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed for the NetBSD Project by - * Jonathan Stone. - * 4. The name of Jonathan Stone may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY JONATHAN STONE ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -#include -#if defined(LIBC_SCCS) && !defined(lint) -__RCSID("$NetBSD: label.c,v 1.52 2026/06/22 19:36:47 martin Exp $"); -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "defs.h" -#include "msg_defs.h" -#include "menu_defs.h" - -/* - * local prototypes - */ -static bool boringpart(const struct disk_part_info *info); -static bool checklabel(struct disk_partitions*, char *, char *); -static void show_partition_adder(menudesc *, struct partition_usage_set*); - -/* - * Return 1 if a partition should be ignored when checking - * for overlapping partitions. - */ -static bool -boringpart(const struct disk_part_info *info) -{ - - if (info->size == 0) - return true; - if (info->flags & PTI_SPECIAL_PARTS) - return true; - - return false; -} - -/* - * We have some partitions in our "wanted" list that we may not edit, - * like the RAW_PART in disklabel, some that just represent external - * mount entries for the final fstab or similar. - * We have previously sorted pset->parts and pset->infos to be in sync, - * but the former "array" may be shorter. - * Here are a few quick predicates to check for them. - */ -static bool -real_partition(const struct partition_usage_set *pset, int index) -{ - if (index < 0 || (size_t)index >= pset->num) - return false; - - return pset->infos[index].cur_part_id != NO_PART; -} - -/* - * Check partitioning for overlapping partitions. - * Returns true if no overlapping partition found. - * Sets reference arguments ovly1 and ovly2 to the indices of - * overlapping partitions if any are found. - */ -static bool -checklabel(struct disk_partitions *parts, - char *ovl1, char *ovl2) -{ - part_id i, j; - struct disk_part_info info; - daddr_t istart, iend, jstart, jend; - unsigned int fs_type, fs_sub_type; - - if (parts->num_part == 0) - return true; - - for (i = 0; i < parts->num_part - 1; i ++ ) { - if (!parts->pscheme->get_part_info(parts, i, &info)) - continue; - - /* skip unused or reserved partitions */ - if (boringpart(&info)) - continue; - - /* - * check succeeding partitions for overlap. - * O(n^2), but n is small. - */ - istart = info.start; - iend = istart + info.size; - fs_type = info.fs_type; - fs_sub_type = info.fs_sub_type; - - for (j = i+1; j < parts->num_part; j++) { - - if (!parts->pscheme->get_part_info(parts, j, &info)) - continue; - - /* skip unused or reserved partitions */ - if (boringpart(&info)) - continue; - - jstart = info.start; - jend = jstart + info.size; - - /* overlap? */ - if ((istart <= jstart && jstart < iend) || - (jstart <= istart && istart < jend)) { - snprintf(ovl1, MENUSTRSIZE, - "%" PRIu64 " - %" PRIu64 " %s, %s", - istart / sizemult, iend / sizemult, - multname, - getfslabelname(fs_type, fs_sub_type)); - snprintf(ovl2, MENUSTRSIZE, - "%" PRIu64 " - %" PRIu64 " %s, %s", - jstart / sizemult, jend / sizemult, - multname, - getfslabelname(info.fs_type, - info.fs_sub_type)); - return false; - } - } - } - - return true; -} - -int -checkoverlap(struct disk_partitions *parts) -{ - char desc1[MENUSTRSIZE], desc2[MENUSTRSIZE]; - if (!checklabel(parts, desc1, desc2)) { - msg_display_subst(MSG_partitions_overlap, 2, desc1, desc2); - return 1; - } - return 0; -} - -/* - * return (see post_edit_verify): - * 0 -> abort - * 1 -> re-edit - * 2 -> continue installation - */ -static int -verify_parts(struct partition_usage_set *pset, bool install) -{ - struct part_usage_info *wanted; - struct disk_partitions *parts; - size_t i, num_root; - daddr_t first_bsdstart, inst_start; - int rv; - - first_bsdstart = inst_start = -1; - num_root = 0; - parts = pset->parts; - for (i = 0; i < pset->num; i++) { - wanted = &pset->infos[i]; - - if (wanted->flags & PUIFLG_JUST_MOUNTPOINT) - continue; - if (wanted->cur_part_id == NO_PART) - continue; - if (!(wanted->instflags & PUIINST_MOUNT)) - continue; - if (strcmp(wanted->mount, "/") != 0) - continue; - num_root++; - - if (first_bsdstart <= 0) { - first_bsdstart = wanted->cur_start; - } - if (inst_start < 0 && - (wanted->cur_flags & PTI_INSTALL_TARGET)) { - inst_start = wanted->cur_start; - } - } - - if ((num_root == 0 && install) || - (num_root > 1 && inst_start < 0)) { - if (num_root == 0 && install) - msg_display_subst(MSG_must_be_one_root, 2, - msg_string(parts->pscheme->name), - msg_string(parts->pscheme->short_name)); - else - msg_display_subst(MSG_multbsdpart, 2, - msg_string(parts->pscheme->name), - msg_string(parts->pscheme->short_name)); - rv = ask_reedit(parts); - if (rv != 2) - return rv; - } - - /* Check for overlaps */ - if (checkoverlap(parts) != 0) { - rv = ask_reedit(parts); - if (rv != 2) - return rv; - } - - /* - * post_edit_verify returns: - * 0 -> abort - * 1 -> re-edit - * 2 -> continue installation - */ - if (parts->pscheme->post_edit_verify) - return parts->pscheme->post_edit_verify(parts, false); - - return 2; -} - -static int -edit_fs_start(menudesc *m, void *arg) -{ - struct single_part_fs_edit *edit = arg; - daddr_t start, end; - - start = getpartoff(edit->pset->parts, edit->info.start); - if (edit->info.size != 0) { - if (start < (edit->info.start+edit->info.size)) { - /* Try to keep end in the same place */ - end = edit->info.start + edit->info.size; - if (end < start) - edit->info.size = edit->pset->parts->pscheme-> - max_free_space_at(edit->pset->parts, - edit->info.start); - else - edit->info.size = end - start; - } else { - edit->info.size = 0; - } - } - edit->info.start = start; - return 0; -} - -static int -edit_fs_size(menudesc *m, void *arg) -{ - struct single_part_fs_edit *edit = arg; - struct disk_part_info pinfo; - daddr_t size; - - /* get original partition data, in case start moved already */ - if (!edit->pset->parts->pscheme->get_part_info(edit->pset->parts, - edit->id, &pinfo)) - pinfo = edit->info; - /* ask for new size with old start and current values */ - size = getpartsize(edit->pset->parts, pinfo.start, - edit->info.start, edit->info.size); - if (size < 0) - return 0; - if (size > edit->pset->parts->disk_size) - size = edit->pset->parts->disk_size - edit->info.start; - edit->info.size = size; - return 0; -} - -static int -set_ffs_opt_pow2(menudesc *m, void *arg) -{ - struct single_part_fs_edit *edit = arg; - size_t val = 1 << (edit->offset+m->cursel); - - if (edit->mode == 1) { - edit->info.fs_opt1 = val; - edit->wanted->fs_opt1 = val; - } else if (edit->mode == 2) { - edit->info.fs_opt2 = val; - edit->wanted->fs_opt2 = val; - } - return 0; -} - -static int -edit_fs_ffs_opt(menudesc *m, void *arg, msg head, - size_t min_val, size_t max_val) -{ - struct single_part_fs_edit *edit = arg; - menu_ent opts[min(MAXPHYS/4096, 8)]; - char names[min(MAXPHYS/4096, 8)][20]; - size_t i, val; - int menu; - - edit->offset = ilog2(min_val); - memset(opts, 0, sizeof opts); - for (i = 0, val = min_val; val <= max_val; i++, val <<= 1) { - snprintf(names[i], sizeof names[i], "%zu", val); - opts[i].opt_name = names[i]; - opts[i].opt_action = set_ffs_opt_pow2; - opts[i].opt_flags = OPT_EXIT; - } - menu = new_menu(head, opts, i, 40, 6, 0, 0, MC_NOEXITOPT, - NULL, NULL, NULL, NULL, NULL); - if (menu < 0) - return 1; - process_menu(menu, arg); - free_menu(menu); - return 0; -} - -static int -edit_fs_ffs_block(menudesc *m, void *arg) -{ - struct single_part_fs_edit *edit = arg; - - edit->mode = 1; /* edit fs_opt1 */ - return edit_fs_ffs_opt(m, arg, MSG_Select_file_system_block_size, - 4096, MAXPHYS); -} - -static int -edit_fs_ffs_frag(menudesc *m, void *arg) -{ - struct single_part_fs_edit *edit = arg; - size_t bsize, sec_size; - - edit->mode = 2; /* edit fs_opt2 */ - bsize = edit->info.fs_opt1; - if (bsize == 0) { - sec_size = edit->wanted->parts->bytes_per_sector; - if (edit->wanted->size >= (daddr_t)(128L*(GIG/sec_size))) - bsize = 32*1024; - else if (edit->wanted->size >= (daddr_t)(1000L*(MEG/sec_size))) - bsize = 16*1024; - else if (edit->wanted->size >= (daddr_t)(20L*(MEG/sec_size))) - bsize = 8*1024; - else - bsize = 4+1024; - } - return edit_fs_ffs_opt(m, arg, MSG_Select_file_system_fragment_size, - bsize / 8, bsize); -} - -static int -edit_fs_ffs_avg_size(menudesc *m, void *arg) -{ - struct single_part_fs_edit *edit = arg; - char answer[12]; - - snprintf(answer, sizeof answer, "%u", edit->info.fs_opt3); - msg_prompt_win(MSG_ptn_isize_prompt, -1, 18, 0, 0, - answer, answer, sizeof answer); - edit->info.fs_opt3 = atol(answer); - edit->wanted->fs_opt3 = edit->info.fs_opt3; - - return 0; -} - -static int -edit_fs_preserve(menudesc *m, void *arg) -{ - struct single_part_fs_edit *edit = arg; - - edit->wanted->instflags ^= PUIINST_NEWFS; - return 0; -} - -static int -edit_install(menudesc *m, void *arg) -{ - struct single_part_fs_edit *edit = arg; - - edit->info.flags ^= PTI_INSTALL_TARGET; - return 0; -} - -static int -edit_fs_mount(menudesc *m, void *arg) -{ - struct single_part_fs_edit *edit = arg; - - edit->wanted->instflags ^= PUIINST_MOUNT; - return 0; -} - -static int -edit_fs_mountpt(menudesc *m, void *arg) -{ - struct single_part_fs_edit *edit = arg; - char *p, *first, *last, buf[MOUNTLEN]; - - strlcpy(buf, edit->wanted->mount, sizeof buf); - msg_prompt_win(MSG_mountpoint, -1, 18, 0, 0, - buf, buf, MOUNTLEN); - - /* - * Trim all leading and trailing whitespace - */ - for (first = NULL, last = NULL, p = buf; *p; p++) { - if (isspace((unsigned char)*p)) - continue; - if (first == NULL) - first = p; - last = p; - } - if (last != NULL) - last[1] = 0; - - if (first == NULL || *first == 0 || strcmp(first, "-") == 0) { - edit->wanted->mount[0] = 0; - edit->wanted->instflags &= ~PUIINST_MOUNT; - return 0; - } - - if (*first != '/') { - edit->wanted->mount[0] = '/'; - strlcpy(&edit->wanted->mount[1], first, - sizeof(edit->wanted->mount)-1); - } else { - strlcpy(edit->wanted->mount, first, sizeof edit->wanted->mount); - } - edit->wanted->instflags |= PUIINST_MOUNT; - - return 0; -} - -static int -edit_restore(menudesc *m, void *arg) -{ - struct single_part_fs_edit *edit = arg; - - edit->info = edit->old_info; - *edit->wanted = edit->old_usage; - return 0; -} - -static int -edit_cancel(menudesc *m, void *arg) -{ - struct single_part_fs_edit *edit = arg; - - edit->rv = -1; - return 1; -} - -static int -edit_delete_ptn(menudesc *m, void *arg) -{ - struct single_part_fs_edit *edit = arg; - - edit->rv = -2; - return 1; -} - -/* - * We have added/removed partitions, all cur_part_id values are - * out of sync. Re-fetch and reorder partitions accordingly. - */ -static void -renumber_partitions(struct partition_usage_set *pset) -{ - struct part_usage_info *ninfos; - struct disk_part_info info; - size_t i; - part_id pno; - - ninfos = calloc(pset->parts->num_part, sizeof(*ninfos)); - if (ninfos == NULL) { - err_msg_win(err_outofmem); - return; - } - - for (pno = 0; pno < pset->parts->num_part; pno++) { - if (!pset->parts->pscheme->get_part_info(pset->parts, pno, - &info)) - continue; - for (i = 0; i < pset->num; i++) { - if (pset->infos[i].cur_start != info.start) - continue; - if ((pset->infos[i].cur_flags & ~PTI_INSTALL_TARGET) - != (info.flags & ~PTI_INSTALL_TARGET)) - continue; - if ((info.flags & PTI_SPECIAL_PARTS) != - (pset->infos[i].cur_flags & PTI_SPECIAL_PARTS)) - continue; - if ((info.fs_type != FS_UNUSED && - info.fs_type == pset->infos[i].fs_type) || - (pset->infos[i].type == - info.nat_type->generic_ptype)) { - memcpy(&ninfos[pno], &pset->infos[i], - sizeof(ninfos[pno])); - ninfos[pno].cur_part_id = pno; - break; - } - } - } - - free(pset->infos); - pset->infos = ninfos; - pset->num = pset->parts->num_part; -} - -/* - * Most often used file system types, we offer them in a first level menu. - */ -static const uint edit_fs_common_types[] = - { FS_BSDFFS, FS_SWAP, FS_MSDOS, FS_EFI_SP, FS_BSDLFS, FS_EX2FS }; - -/* - * Functions for uncommon file system types - we offer the full list, - * but put FFSv2 and FFSv1 at the front and duplicate FS_MSDOS as - * EFI system partition. - */ -static void -init_fs_type_ext(menudesc *menu, void *arg) -{ - struct single_part_fs_edit *edit = arg; - uint t = edit->info.fs_type; - size_t i, ndx, max = menu->numopts; - - if (t == FS_BSDFFS) { - if (edit->info.fs_sub_type == 3) - menu->cursel = 0; - else if (edit->info.fs_sub_type == 2) - menu->cursel = 1; - else - menu->cursel = 2; - return; - } else if (t == FS_EX2FS && edit->info.fs_sub_type == 1) { - menu->cursel = FSMAXTYPES+2; - return; - } - /* skip the two FFS entries, and do not add FFS later again */ - for (ndx = 3, i = 0; i < FSMAXTYPES && ndx < max; i++) { - if (i == FS_UNUSED) - continue; - if (i == FS_BSDFFS) - continue; - if (fstypenames[i] == NULL) - continue; - - if (i == t) { - menu->cursel = ndx; - break; - } - if (i == FS_MSDOS) { - ndx++; - if (t == FS_EFI_SP) { - menu->cursel = ndx; - break; - } - } - ndx++; - } -} - -static int -set_fstype_ext(menudesc *menu, void *arg) -{ - struct single_part_fs_edit *edit = arg; - size_t i, ndx, max = menu->numopts; - enum part_type pt; - - if (menu->cursel >= 0 && menu->cursel <= 2) { - edit->info.fs_type = FS_BSDFFS; - edit->info.fs_sub_type = 3-menu->cursel; - goto found_type; - } else if (menu->cursel == FSMAXTYPES+2) { - edit->info.fs_type = FS_EX2FS; - edit->info.fs_sub_type = 1; - goto found_type; - } - - for (ndx = 3, i = 0; i < FSMAXTYPES && ndx < max; i++) { - if (i == FS_UNUSED) - continue; - if (i == FS_BSDFFS) - continue; - if (fstypenames[i] == NULL) - continue; - - if (ndx == (size_t)menu->cursel) { - edit->info.fs_type = i; - edit->info.fs_sub_type = 0; - goto found_type; - } - ndx++; - if (i == FS_MSDOS) { - if (ndx == (size_t)menu->cursel) { - edit->info.fs_type = FS_EFI_SP; - edit->info.fs_sub_type = 0; - goto found_type; - } - ndx++; - } - } - return 1; - -found_type: - pt = edit->info.nat_type ? edit->info.nat_type->generic_ptype : PT_root; - edit->info.nat_type = edit->pset->parts->pscheme-> - get_fs_part_type(pt, edit->info.fs_type, edit->info.fs_sub_type); - if (edit->info.nat_type == NULL) - edit->info.nat_type = edit->pset->parts->pscheme-> - get_generic_part_type(PT_root); - edit->wanted->type = edit->info.nat_type->generic_ptype; - edit->wanted->fs_type = edit->info.fs_type; - edit->wanted->fs_version = edit->info.fs_sub_type; - return 1; -} - -/* - * Offer a menu with "exotic" file system types, start with FFSv2 and FFSv1, - * skip later FFS entry in the generic list. - */ -static int -edit_fs_type_ext(menudesc *menu, void *arg) -{ - menu_ent *opts; - int m; - size_t i, ndx, cnt; - - cnt = __arraycount(fstypenames)+2; - opts = calloc(cnt, sizeof(*opts)); - if (opts == NULL) - return 1; - - ndx = 0; - opts[ndx].opt_name = msg_string(MSG_fs_type_ffsv2ea); - opts[ndx].opt_action = set_fstype_ext; - ndx++; - opts[ndx].opt_name = msg_string(MSG_fs_type_ffsv2); - opts[ndx].opt_action = set_fstype_ext; - ndx++; - opts[ndx].opt_name = msg_string(MSG_fs_type_ffs); - opts[ndx].opt_action = set_fstype_ext; - ndx++; - for (i = 0; i < FSMAXTYPES && ndx < cnt; i++) { - if (i == FS_UNUSED) - continue; - if (i == FS_BSDFFS) - continue; - if (fstypenames[i] == NULL) - continue; - opts[ndx].opt_name = fstypenames[i]; - opts[ndx].opt_action = set_fstype_ext; - ndx++; - if (i == FS_MSDOS) { - opts[ndx] = opts[ndx-1]; - opts[ndx].opt_name = getfslabelname(FS_EFI_SP, 0); - ndx++; - } - } - opts[ndx].opt_name = msg_string(MSG_fs_type_ext2old); - opts[ndx].opt_action = set_fstype_ext; - ndx++; - assert(ndx == cnt); - m = new_menu(MSG_Select_the_type, opts, ndx, - 30, 6, 10, 0, MC_SUBMENU | MC_SCROLL, - init_fs_type_ext, NULL, NULL, NULL, MSG_unchanged); - - if (m < 0) - return 1; - process_menu(m, arg); - free_menu(m); - free(opts); - - return 1; -} - -static void -init_fs_type(menudesc *menu, void *arg) -{ - struct single_part_fs_edit *edit = arg; - size_t i; - - /* init menu->cursel from fs type in arg */ - if (edit->info.fs_type == FS_BSDFFS) { - if (edit->info.fs_sub_type == 3) - menu->cursel = 0; - else if (edit->info.fs_sub_type == 2) - menu->cursel = 1; - else - menu->cursel = 2; - } - for (i = 1; i < __arraycount(edit_fs_common_types); i++) { - if (edit->info.fs_type == edit_fs_common_types[i]) { - menu->cursel = i+2; - break; - } - } -} - -static int -set_fstype(menudesc *menu, void *arg) -{ - struct single_part_fs_edit *edit = arg; - enum part_type pt; - int ndx; - - pt = edit->info.nat_type ? edit->info.nat_type->generic_ptype : PT_root; - if (menu->cursel < 3) { - edit->info.fs_type = FS_BSDFFS; - edit->info.fs_sub_type = 3-menu->cursel; - edit->info.nat_type = edit->pset->parts->pscheme-> - get_fs_part_type(pt, FS_BSDFFS, edit->info.fs_sub_type); - if (edit->info.nat_type == NULL) - edit->info.nat_type = edit->pset->parts-> - pscheme->get_generic_part_type(PT_root); - edit->wanted->type = edit->info.nat_type->generic_ptype; - edit->wanted->fs_type = edit->info.fs_type; - edit->wanted->fs_version = edit->info.fs_sub_type; - return 1; - } - ndx = menu->cursel-2; - - if (ndx < 0 || - (size_t)ndx >= __arraycount(edit_fs_common_types)) - return 1; - - edit->info.fs_type = edit_fs_common_types[ndx]; - edit->info.fs_sub_type = 0; - edit->info.nat_type = edit->pset->parts->pscheme-> - get_fs_part_type(pt, edit->info.fs_type, 0); - if (edit->info.nat_type == NULL) - edit->info.nat_type = edit->pset->parts-> - pscheme->get_generic_part_type(PT_root); - edit->wanted->type = edit->info.nat_type->generic_ptype; - edit->wanted->fs_type = edit->info.fs_type; - edit->wanted->fs_version = edit->info.fs_sub_type; - return 1; -} - -/* - * Offer a menu selecting the common file system types - */ -static int -edit_fs_type(menudesc *menu, void *arg) -{ - struct single_part_fs_edit *edit = arg; - menu_ent *opts; - int m, cnt; - size_t i; - - /* - * Shortcut to full menu if we have an exotic value - */ - if (edit->info.fs_type == FS_EX2FS && edit->info.fs_sub_type == 1) { - edit_fs_type_ext(menu, arg); - return 0; - } - for (i = 0; i < __arraycount(edit_fs_common_types); i++) - if (edit->info.fs_type == edit_fs_common_types[i]) - break; - if (i >= __arraycount(edit_fs_common_types)) { - edit_fs_type_ext(menu, arg); - return 0; - } - - /* - * Starting with a common type, show short menu first - */ - cnt = __arraycount(edit_fs_common_types) + 3; - opts = calloc(cnt, sizeof(*opts)); - if (opts == NULL) - return 0; - - /* special case entry 0 - 2: three FFS entries */ - for (i = 0; i < __arraycount(edit_fs_common_types); i++) { - opts[i+2].opt_name = getfslabelname(edit_fs_common_types[i], 0); - opts[i+2].opt_action = set_fstype; - } - /* duplicate FFS (at offset 2) into first two entries */ - opts[0] = opts[1] = opts[2]; - opts[0].opt_name = msg_string(MSG_fs_type_ffsv2ea); - opts[1].opt_name = msg_string(MSG_fs_type_ffsv2); - opts[2].opt_name = msg_string(MSG_fs_type_ffs); - /* add secondary sub-menu */ - assert(i+2 < (size_t)cnt); - opts[i+2].opt_name = msg_string(MSG_other_fs_type); - opts[i+2].opt_action = edit_fs_type_ext; - - m = new_menu(MSG_Select_the_type, opts, cnt, - 30, 6, 0, 0, MC_SUBMENU | MC_SCROLL, - init_fs_type, NULL, NULL, NULL, MSG_unchanged); - - if (m < 0) - return 0; - process_menu(m, arg); - free_menu(m); - free(opts); - - return 0; -} - - -static void update_edit_ptn_menu(menudesc *m, void *arg); -static void draw_edit_ptn_line(menudesc *m, int opt, void *arg); -static int edit_ptn_custom_type(menudesc *m, void *arg); - -static void -remember_deleted(struct partition_usage_set *pset, - struct disk_partitions *parts) -{ - size_t i, num; - struct disk_partitions **tab; - - /* do we have parts on record already? */ - for (i = 0; i < pset->num_write_back; i++) - if (pset->write_back[i] == parts) - return; - /* - * Need to record this partition table for write back - */ - num = pset->num_write_back + 1; - tab = realloc(pset->write_back, num*sizeof(*pset->write_back)); - if (!tab) - return; - tab[pset->num_write_back] = parts; - pset->write_back = tab; - pset->num_write_back = num; -} - -int -edit_ptn(menudesc *menu, void *arg) -{ - struct partition_usage_set *pset = arg; - struct single_part_fs_edit edit; - int fspart_menu, num_opts; - const char *err; - menu_ent *mopts, *popt; - bool is_new_part, with_inst_opt = pset->parts->parent == NULL; - - static const menu_ent edit_ptn_fields_head[] = { - { .opt_action=edit_fs_type }, - { .opt_action=edit_fs_start }, - { .opt_action=edit_fs_size }, - { .opt_flags=OPT_IGNORE }, - }; - - static const menu_ent edit_ptn_fields_head_add[] = { - { .opt_action=edit_install }, - }; - - static const menu_ent edit_ptn_fields_head2[] = { - { .opt_action=edit_fs_preserve }, - { .opt_action=edit_fs_mount }, - { .opt_menu=MENU_mountoptions, .opt_flags=OPT_SUB }, - { .opt_action=edit_fs_mountpt }, - }; - - static const menu_ent edit_ptn_fields_ffs[] = { - { .opt_action=edit_fs_ffs_avg_size }, - { .opt_action=edit_fs_ffs_block }, - { .opt_action=edit_fs_ffs_frag }, - }; - - static const menu_ent edit_ptn_fields_tail[] = { - { .opt_name=MSG_askunits, .opt_menu=MENU_sizechoice, - .opt_flags=OPT_SUB }, - { .opt_name=MSG_restore, - .opt_action=edit_restore}, - { .opt_name=MSG_Delete_partition, - .opt_action=edit_delete_ptn}, - { .opt_name=MSG_cancel, - .opt_action=edit_cancel}, - }; - - memset(&edit, 0, sizeof edit); - edit.pset = pset; - edit.index = menu->cursel; - edit.wanted = &pset->infos[edit.index]; - - if (menu->cursel < 0 || (size_t)menu->cursel > pset->parts->num_part) - return 0; - is_new_part = (size_t)menu->cursel == pset->parts->num_part; - - num_opts = __arraycount(edit_ptn_fields_head) + - __arraycount(edit_ptn_fields_head2) + - __arraycount(edit_ptn_fields_tail); - if (edit.wanted->fs_type == FS_BSDFFS || - edit.wanted->fs_type == FS_BSDLFS) - num_opts += __arraycount(edit_ptn_fields_ffs); - if (with_inst_opt) - num_opts += __arraycount(edit_ptn_fields_head_add); - if (is_new_part) - num_opts--; - else - num_opts += pset->parts->pscheme->custom_attribute_count; - - mopts = calloc(num_opts, sizeof(*mopts)); - if (mopts == NULL) { - err_msg_win(err_outofmem); - return 0; - } - memcpy(mopts, edit_ptn_fields_head, sizeof(edit_ptn_fields_head)); - popt = mopts + __arraycount(edit_ptn_fields_head); - if (with_inst_opt) { - memcpy(popt, edit_ptn_fields_head_add, - sizeof(edit_ptn_fields_head_add)); - popt += __arraycount(edit_ptn_fields_head_add); - } - memcpy(popt, edit_ptn_fields_head2, sizeof(edit_ptn_fields_head2)); - popt += __arraycount(edit_ptn_fields_head2); - if (edit.wanted->fs_type == FS_BSDFFS || - edit.wanted->fs_type == FS_BSDLFS) { - memcpy(popt, edit_ptn_fields_ffs, sizeof(edit_ptn_fields_ffs)); - popt += __arraycount(edit_ptn_fields_ffs); - } - edit.first_custom_attr = popt - mopts; - if (!is_new_part) { - for (size_t i = 0; - i < pset->parts->pscheme->custom_attribute_count; - i++, popt++) { - popt->opt_action = edit_ptn_custom_type; - } - } - memcpy(popt, edit_ptn_fields_tail, sizeof(edit_ptn_fields_tail)); - popt += __arraycount(edit_ptn_fields_tail) - 1; - if (is_new_part) - memcpy(popt-1, popt, sizeof(*popt)); - - if (is_new_part) { - struct disk_part_free_space space; - daddr_t align = pset->parts->pscheme->get_part_alignment( - pset->parts); - - edit.id = NO_PART; - if (pset->parts->pscheme->get_free_spaces(pset->parts, - &space, 1, align, align, -1, -1) == 1) { - edit.info.start = space.start; - edit.info.size = space.size; - edit.info.fs_type = FS_BSDFFS; - edit.info.fs_sub_type = 2; - edit.info.nat_type = pset->parts->pscheme-> - get_fs_part_type(PT_root, edit.info.fs_type, - edit.info.fs_sub_type); - edit.wanted->instflags = PUIINST_NEWFS; - } - } else { - edit.id = pset->infos[edit.index].cur_part_id; - if (!pset->parts->pscheme->get_part_info(pset->parts, edit.id, - &edit.info)) { - free(mopts); - return 0; - } - } - - edit.old_usage = *edit.wanted; - edit.old_info = edit.info; - - fspart_menu = new_menu(MSG_edfspart, mopts, num_opts, - 15, 2, 0, 55, MC_NOCLEAR | MC_SCROLL, - update_edit_ptn_menu, draw_edit_ptn_line, NULL, - NULL, MSG_OK); - - process_menu(fspart_menu, &edit); - free(mopts); - free_menu(fspart_menu); - - if (edit.rv == 0) { /* OK, set new data */ - edit.info.last_mounted = edit.wanted->mount; - if (is_new_part) { - edit.wanted->parts = pset->parts; - if (!can_newfs_fstype(edit.info.fs_type)) - edit.wanted->instflags &= ~PUIINST_NEWFS; - edit.wanted->cur_part_id = pset->parts->pscheme-> - add_partition(pset->parts, &edit.info, &err); - if (edit.wanted->cur_part_id == NO_PART) - err_msg_win(err); - else { - pset->parts->pscheme->get_part_info( - pset->parts, edit.wanted->cur_part_id, - &edit.info); - edit.wanted->cur_start = edit.info.start; - edit.wanted->size = edit.info.size; - edit.wanted->type = - edit.info.nat_type->generic_ptype; - edit.wanted->fs_type = edit.info.fs_type; - edit.wanted->fs_version = edit.info.fs_sub_type; - edit.wanted->cur_flags = edit.info.flags; - /* things have changed, re-sort */ - renumber_partitions(pset); - } - } else { - if (!pset->parts->pscheme->set_part_info(pset->parts, - edit.id, &edit.info, &err)) - err_msg_win(err); - else - pset->cur_free_space += edit.old_info.size - - edit.info.size; - } - - /* - * if size has changed, we may need to add or remove - * the option to add partitions - */ - show_partition_adder(menu, pset); - } else if (edit.rv == -1) { /* cancel edit */ - if (is_new_part) { - memmove(pset->infos+edit.index, - pset->infos+edit.index+1, - sizeof(*pset->infos)*(pset->num-edit.index)); - memmove(menu->opts+edit.index, - menu->opts+edit.index+1, - sizeof(*menu->opts)*(menu->numopts-edit.index)); - menu->numopts--; - menu->cursel = 0; - pset->num--; - return -1; - } - pset->infos[edit.index] = edit.old_usage; - } else if (!is_new_part && edit.rv == -2) { /* delete partition */ - if (!pset->parts->pscheme->delete_partition(pset->parts, - edit.id, &err)) { - err_msg_win(err); - return 0; - } - remember_deleted(pset, - pset->infos[edit.index].parts); - pset->cur_free_space += edit.info.size; - memmove(pset->infos+edit.index, - pset->infos+edit.index+1, - sizeof(*pset->infos)*(pset->num-edit.index-1)); - memmove(menu->opts+edit.index, - menu->opts+edit.index+1, - sizeof(*menu->opts)*(menu->numopts-edit.index-1)); - menu->numopts--; - menu->cursel = 0; - if (pset->parts->num_part == 0) - menu->cursel = 1; /* skip sentinel line */ - - /* things have changed, re-sort */ - pset->num--; - renumber_partitions(pset); - - /* we can likely add new partitions now */ - show_partition_adder(menu, pset); - - return -1; - } - - return 0; -} - -static void -update_edit_ptn_menu(menudesc *m, void *arg) -{ - struct single_part_fs_edit *edit = arg; - int i; - uint t = edit->info.fs_type; - size_t attr_no; - - /* Determine which of the properties can be changed */ - for (i = 0; i < m->numopts; i++) { - if (m->opts[i].opt_action == NULL && - m->opts[i].opt_menu != MENU_mountoptions) - continue; - - /* Default to disabled... */ - m->opts[i].opt_flags |= OPT_IGNORE; - if ((t == FS_UNUSED || t == FS_SWAP) && - (m->opts[i].opt_action == edit_fs_preserve || - m->opts[i].opt_action == edit_fs_mount || - m->opts[i].opt_action == edit_fs_mountpt || - m->opts[i].opt_menu == MENU_mountoptions)) - continue; - if (m->opts[i].opt_action == edit_install && - edit->info.nat_type && - edit->info.nat_type->generic_ptype != PT_root) - /* can only install onto PT_root partitions */ - continue; - if (m->opts[i].opt_action == edit_fs_preserve && - !can_newfs_fstype(t)) { - /* Can not newfs this filesystem */ - edit->wanted->instflags &= ~PUIINST_NEWFS; - continue; - } - if (m->opts[i].opt_action == edit_ptn_custom_type) { - attr_no = (size_t)i - edit->first_custom_attr; - if (!edit->pset->parts->pscheme-> - custom_attribute_writable( - edit->pset->parts, edit->id, attr_no)) - continue; - } - /* - * Do not allow editing of size/start/type when partition - * is defined in some outer partition table already - */ - if ((edit->pset->infos[edit->index].flags & PUIFLG_IS_OUTER) - && (m->opts[i].opt_action == edit_fs_type - || m->opts[i].opt_action == edit_fs_start - || m->opts[i].opt_action == edit_fs_size)) - continue; - /* Ok: we want this one */ - m->opts[i].opt_flags &= ~OPT_IGNORE; - } - - /* Avoid starting at a (now) disabled menu item */ - while (m->cursel >= 0 && m->cursel < m->numopts - && (m->opts[m->cursel].opt_flags & OPT_IGNORE)) - m->cursel++; -} - -static void -draw_edit_ptn_line(menudesc *m, int opt, void *arg) -{ - struct single_part_fs_edit *edit = arg; - static int col_width; - static const char *ptn_type, *ptn_start, *ptn_size, *ptn_end, - *ptn_newfs, *ptn_mount, *ptn_mount_options, *ptn_mountpt, - *ptn_install, *ptn_bsize, *ptn_fsize, *ptn_isize; - const char *c; - char val[MENUSTRSIZE]; - const char *attrname; - size_t attr_no; - - if (col_width == 0) { - int l; - -#define LOAD(STR) STR = msg_string(MSG_##STR); l = strlen(STR); \ - if (l > col_width) col_width = l - - LOAD(ptn_type); - LOAD(ptn_start); - LOAD(ptn_size); - LOAD(ptn_end); - LOAD(ptn_install); - LOAD(ptn_newfs); - LOAD(ptn_mount); - LOAD(ptn_mount_options); - LOAD(ptn_mountpt); - LOAD(ptn_bsize); - LOAD(ptn_fsize); - LOAD(ptn_isize); -#undef LOAD - - for (size_t i = 0; - i < edit->pset->parts->pscheme->custom_attribute_count; - i++) { - attrname = msg_string( - edit->pset->parts->pscheme->custom_attributes[i] - .label); - l = strlen(attrname); - if (l > col_width) col_width = l; - } - - col_width += 3; - } - - if (m->opts[opt].opt_flags & OPT_IGNORE - && (opt != 3 || edit->info.fs_type == FS_UNUSED) - && m->opts[opt].opt_action != edit_ptn_custom_type - && m->opts[opt].opt_action != edit_fs_type - && m->opts[opt].opt_action != edit_fs_start - && m->opts[opt].opt_action != edit_fs_size) { - wprintw(m->mw, "%*s -", col_width, ""); - return; - } - - if (opt < 4) { - switch (opt) { - case 0: - if (edit->info.fs_type == FS_BSDFFS) { - if (edit->info.fs_sub_type == 3) - c = msg_string(MSG_fs_type_ffsv2ea); - else if (edit->info.fs_sub_type == 2) - c = msg_string(MSG_fs_type_ffsv2); - else - c = msg_string(MSG_fs_type_ffs); - } else { - c = getfslabelname(edit->info.fs_type, - edit->info.fs_sub_type); - } - wprintw(m->mw, "%*s : %s", col_width, ptn_type, c); - return; - case 1: - wprintw(m->mw, "%*s : %" PRIu64 " %s", col_width, - ptn_start, edit->info.start / sizemult, multname); - return; - case 2: - wprintw(m->mw, "%*s : %" PRIu64 " %s", col_width, - ptn_size, edit->info.size / sizemult, multname); - return; - case 3: - wprintw(m->mw, "%*s : %" PRIu64 " %s", col_width, - ptn_end, (edit->info.start + edit->info.size) - / sizemult, multname); - return; - } - } - if (m->opts[opt].opt_action == edit_install) { - wprintw(m->mw, "%*s : %s", col_width, ptn_install, - msg_string((edit->info.flags & PTI_INSTALL_TARGET) - ? MSG_Yes : MSG_No)); - return; - } - if (m->opts[opt].opt_action == edit_fs_preserve) { - wprintw(m->mw, "%*s : %s", col_width, ptn_newfs, - msg_string(edit->wanted->instflags & PUIINST_NEWFS - ? MSG_Yes : MSG_No)); - return; - } - if (m->opts[opt].opt_action == edit_fs_mount) { - wprintw(m->mw, "%*s : %s", col_width, ptn_mount, - msg_string(edit->wanted->instflags & PUIINST_MOUNT - ? MSG_Yes : MSG_No)); - return; - } - if (m->opts[opt].opt_action == edit_fs_ffs_block) { - wprintw(m->mw, "%*s : %u", col_width, ptn_bsize, - edit->wanted->fs_opt1); - return; - } - if (m->opts[opt].opt_action == edit_fs_ffs_frag) { - wprintw(m->mw, "%*s : %u", col_width, ptn_fsize, - edit->wanted->fs_opt2); - return; - } - if (m->opts[opt].opt_action == edit_fs_ffs_avg_size) { - if (edit->wanted->fs_opt3 == 0) - wprintw(m->mw, "%*s : %s", col_width, ptn_isize, - msg_string(MSG_ptn_isize_dflt)); - else { - char buf[24], *line; - const char *t = buf; - - snprintf(buf, sizeof buf, "%u", edit->wanted->fs_opt3); - line = str_arg_subst(msg_string(MSG_ptn_isize_bytes), - 1, &t); - wprintw(m->mw, "%*s : %s", col_width, ptn_isize, - line); - free(line); - } - return; - } - if (m->opts[opt].opt_menu == MENU_mountoptions) { - wprintw(m->mw, "%*s : ", col_width, ptn_mount_options); - if (edit->wanted->mountflags & PUIMNT_ASYNC) - wprintw(m->mw, "async "); - if (edit->wanted->mountflags & PUIMNT_NOATIME) - wprintw(m->mw, "noatime "); - if (edit->wanted->mountflags & PUIMNT_NODEV) - wprintw(m->mw, "nodev "); - if (edit->wanted->mountflags & PUIMNT_NODEVMTIME) - wprintw(m->mw, "nodevmtime "); - if (edit->wanted->mountflags & PUIMNT_NOEXEC) - wprintw(m->mw, "noexec "); - if (edit->wanted->mountflags & PUIMNT_NOSUID) - wprintw(m->mw, "nosuid "); - if (edit->wanted->mountflags & PUIMNT_LOG) - wprintw(m->mw, "log "); - if (edit->wanted->mountflags & PUIMNT_NOAUTO) - wprintw(m->mw, "noauto "); - return; - } - if (m->opts[opt].opt_action == edit_fs_mountpt) { - wprintw(m->mw, "%*s : %s", col_width, ptn_mountpt, - edit->wanted->mount); - return; - } - - attr_no = opt - edit->first_custom_attr; - edit->pset->parts->pscheme->format_custom_attribute( - edit->pset->parts, edit->id, attr_no, &edit->info, - val, sizeof val); - attrname = msg_string(edit->pset->parts->pscheme-> - custom_attributes[attr_no].label); - wprintw(m->mw, "%*s : %s", col_width, attrname, val); -} - -static int -edit_ptn_custom_type(menudesc *m, void *arg) -{ - struct single_part_fs_edit *edit = arg; - size_t attr_no = m->cursel - edit->first_custom_attr; - char line[STRSIZE]; - - switch (edit->pset->parts->pscheme->custom_attributes[attr_no].type) { - case pet_bool: - edit->pset->parts->pscheme->custom_attribute_toggle( - edit->pset->parts, edit->id, attr_no); - break; - case pet_cardinal: - case pet_str: - edit->pset->parts->pscheme->format_custom_attribute( - edit->pset->parts, edit->id, attr_no, &edit->info, - line, sizeof(line)); - msg_prompt_win( - edit->pset->parts->pscheme->custom_attributes[attr_no]. - label, -1, 18, 0, 0, line, line, sizeof(line)); - edit->pset->parts->pscheme->custom_attribute_set_str( - edit->pset->parts, edit->id, attr_no, line); - break; - } - - return 0; -} - - -/* - * Some column width depend on translation, we will set these in - * fmt_fspart_header and later use it when formatting single entries - * in fmt_fspart_row. - * The table consist of 3 "size like" columns, all fixed width, then - * ptnheaders_fstype, part_header_col_flag, and finally the mount point - * (which is variable width). - */ -static int fstype_width, flags_width; -static char fspart_separator[MENUSTRSIZE]; -static char fspart_title[2*MENUSTRSIZE]; - -/* - * Format the header of the main partition editor menu. - */ -static void -fmt_fspart_header(menudesc *menu, void *arg) -{ - struct partition_usage_set *pset = arg; - char total[6], free_space[6], scol[13], ecol[13], szcol[13], - sepline[MENUSTRSIZE], *p, desc[MENUSTRSIZE]; - const char *fstype, *flags; - int i; - size_t ptn; - bool with_clone, with_inst_flag = pset->parts->parent == NULL; - - with_clone = false; - for (ptn = 0; ptn < pset->num && !with_clone; ptn++) - if (pset->infos[ptn].flags & PUIFLG_CLONE_PARTS) - with_clone = true; - humanize_number(total, sizeof total, - pset->parts->disk_size * pset->parts->bytes_per_sector, - "", HN_AUTOSCALE, HN_B | HN_NOSPACE | HN_DECIMAL); - humanize_number(free_space, sizeof free_space, - pset->cur_free_space * pset->parts->bytes_per_sector, - "", HN_AUTOSCALE, HN_B | HN_NOSPACE | HN_DECIMAL); - - if (with_clone) - strlcpy(desc, msg_string(MSG_clone_flag_desc), sizeof desc); - else - desc[0] = 0; - if (pset->parts->pscheme->part_flag_desc) - strlcat(desc, msg_string(pset->parts->pscheme->part_flag_desc), - sizeof desc); - - msg_display_subst(MSG_fspart, 7, pset->parts->disk, - msg_string(pset->parts->pscheme->name), - msg_string(pset->parts->pscheme->short_name), - with_inst_flag ? msg_string(MSG_ptn_instflag_desc) : "", - desc, total, free_space); - - snprintf(scol, sizeof scol, "%s (%s)", - msg_string(MSG_ptnheaders_start), multname); - snprintf(ecol, sizeof ecol, "%s (%s)", - msg_string(MSG_ptnheaders_end), multname); - snprintf(szcol, sizeof szcol, "%s (%s)", - msg_string(MSG_ptnheaders_size), multname); - - fstype = msg_string(MSG_ptnheaders_fstype); - flags = msg_string(MSG_part_header_col_flag); - fstype_width = max(strlen(fstype), 8); - flags_width = strlen(flags); - for (i = 0, p = sepline; i < fstype_width; i++) - *p++ = '-'; - for (i = 0, *p++ = ' '; i < flags_width; i++) - *p++ = '-'; - *p = 0; - - snprintf(fspart_separator, sizeof(fspart_separator), - "------------ ------------ ------------ %s ----------------", - sepline); - - snprintf(fspart_title, sizeof(fspart_title), - " %12.12s %12.12s %12.12s %*s %*s %s\n" - " %s", scol, ecol, szcol, fstype_width, fstype, - flags_width, flags, msg_string(MSG_ptnheaders_filesystem), - fspart_separator); - - msg_table_add("\n\n"); -} - -/* - * Format one partition entry in the main partition editor. - */ -static void -fmt_fspart_row(menudesc *m, int ptn, void *arg) -{ - struct partition_usage_set *pset = arg; - struct disk_part_info info; - daddr_t poffset, psize, pend; - const char *desc; - static const char *Yes; - char flag_str[MENUSTRSIZE], *fp; - unsigned inst_flags; -#ifndef NO_CLONES - size_t clone_cnt; -#endif - bool with_inst_flag = pset->parts->parent == NULL; - - if (Yes == NULL) - Yes = msg_string(MSG_Yes); - -#ifndef NO_CLONES - if ((pset->infos[ptn].flags & PUIFLG_CLONE_PARTS) && - pset->infos[ptn].cur_part_id == NO_PART) { - psize = pset->infos[ptn].size / sizemult; - if (pset->infos[ptn].clone_ndx < - pset->infos[ptn].clone_src->num_sel) - clone_cnt = 1; - else - clone_cnt = pset->infos[ptn].clone_src->num_sel; - if (pset->infos[ptn].cur_part_id == NO_PART) - wprintw(m->mw, " %12" PRIu64 - " [%zu %s]", psize, clone_cnt, - msg_string(MSG_clone_target_disp)); - else { - poffset = pset->infos[ptn].cur_start / sizemult; - pend = (pset->infos[ptn].cur_start + - pset->infos[ptn].size) / sizemult - 1; - wprintw(m->mw, "%12" PRIu64 " %12" PRIu64 " %12" PRIu64 - " [%zu %s]", - poffset, pend, psize, clone_cnt, - msg_string(MSG_clone_target_disp)); - } - if (m->title == fspart_title) - m->opts[ptn].opt_flags |= OPT_IGNORE; - else - m->opts[ptn].opt_flags &= ~OPT_IGNORE; - return; - } -#endif - - if (!real_partition(pset, ptn)) - return; - - if (!pset->parts->pscheme->get_part_info(pset->parts, - pset->infos[ptn].cur_part_id, &info)) - return; - - /* - * We use this function in multiple menus, but only want it - * to play with enable/disable in a single one: - */ - if (m->title == fspart_title) { - /* - * Enable / disable this line if it is something - * like RAW_PART - */ - if ((info.flags & - (PTI_WHOLE_DISK|PTI_PSCHEME_INTERNAL|PTI_RAW_PART)) - || (pset->infos[ptn].flags & PUIFLG_CLONE_PARTS)) - m->opts[ptn].opt_flags |= OPT_IGNORE; - else - m->opts[ptn].opt_flags &= ~OPT_IGNORE; - } - - poffset = info.start / sizemult; - psize = info.size / sizemult; - if (psize == 0) - pend = 0; - else - pend = (info.start + info.size) / sizemult - 1; - - if (info.flags & PTI_WHOLE_DISK) - desc = msg_string(MSG_NetBSD_partition_cant_change); - else if (info.flags & PTI_RAW_PART) - desc = msg_string(MSG_Whole_disk_cant_change); - else if (info.flags & PTI_BOOT) - desc = msg_string(MSG_Boot_partition_cant_change); - else - desc = getfslabelname(info.fs_type, info.fs_sub_type); - - fp = flag_str; - inst_flags = pset->infos[ptn].instflags; - if (with_inst_flag && (info.flags & PTI_INSTALL_TARGET) && - info.nat_type->generic_ptype == PT_root) { - static char inst_flag; - - if (inst_flag == 0) - inst_flag = msg_string(MSG_install_flag)[0]; - *fp++ = inst_flag; - } - if (inst_flags & PUIINST_NEWFS) - *fp++ = msg_string(MSG_newfs_flag)[0]; - if (pset->infos[ptn].flags & PUIFLG_CLONE_PARTS) - *fp++ = msg_string(MSG_clone_flag)[0]; - *fp = 0; - if (pset->parts->pscheme->get_part_attr_str != NULL) - pset->parts->pscheme->get_part_attr_str(pset->parts, - pset->infos[ptn].cur_part_id, fp, - sizeof(flag_str)-1-(fp-flag_str)); - - /* if the fstype description does not fit, check if we can overrun */ - if (strlen(desc) > (size_t)fstype_width && - flag_str[0] == 0 && (info.last_mounted == NULL || - info.last_mounted[0] == 0)) - wprintw(m->mw, "%12" PRIu64 " %12" PRIu64 " %12" PRIu64 - " %s", - poffset, pend, psize, desc); - else - wprintw(m->mw, "%12" PRIu64 " %12" PRIu64 " %12" PRIu64 - " %*.*s %*s %s", - poffset, pend, psize, fstype_width, fstype_width, desc, - -flags_width, flag_str, - (inst_flags & PUIINST_MOUNT) && info.last_mounted && - info.last_mounted[0] ? info.last_mounted : ""); -} - -#ifndef NO_CLONES -static int -part_ext_clone(menudesc *m, void *arg) -{ - struct selected_partitions selected, *clone_src; - struct clone_target_menu_data data; - struct partition_usage_set *pset = arg; - struct part_usage_info *p; - struct disk_part_info sinfo, cinfo; - struct disk_partitions *csrc; - struct disk_part_free_space space; - menu_ent *men; - daddr_t clone_size, free_size, offset, align; - int num_men, i; - size_t s, clone_cnt; - part_id cid; - struct clone_data { - struct disk_part_info info; - part_id new_id; - size_t ndx; - }; - struct clone_data *clones = NULL; - - if (!select_partitions(&selected, pm->parts)) - return 0; - - clone_size = selected_parts_size(&selected); - num_men = pset->num+1; - men = calloc(num_men, sizeof *men); - if (men == NULL) - return 0; - for (i = 0; i < num_men; i++) { - men[i].opt_action = clone_target_select; - if (i == 0) - free_size = pset->infos[i].cur_start; - else if (i > 0 && (size_t)i < pset->num) - free_size = pset->infos[i].cur_start - - pset->infos[i-1].cur_start - pset->infos[i-1].size; - else - free_size = pset->parts->free_space; - if (free_size < clone_size) - men[i].opt_flags = OPT_IGNORE; - } - men[num_men-1].opt_name = MSG_clone_target_end; - - memset(&data, 0, sizeof data); - data.usage = *pset; - data.res = -1; - - data.usage.menu = new_menu(MSG_clone_target_hdr, - men, num_men, 3, 2, 0, 65, MC_SCROLL, - NULL, fmt_fspart_row, NULL, NULL, MSG_cancel); - process_menu(data.usage.menu, &data); - free_menu(data.usage.menu); - free(men); - - if (data.res < 0) - goto err; - - /* create temporary infos for all clones that work out */ - clone_cnt = 0; - clones = calloc(selected.num_sel, sizeof(*clones)); - if (clones == NULL) - goto err; - - clone_src = malloc(sizeof(selected)); - if (clone_src == NULL) - goto err; - *clone_src = selected; - - /* find selected offset from data.res and insert clones there */ - align = pset->parts->pscheme->get_part_alignment(pset->parts); - offset = -1; - if (data.res > 0) - offset = pset->infos[data.res-1].cur_start - + pset->infos[data.res-1].size; - else - offset = 0; - for (s = 0; s < selected.num_sel; s++) { - csrc = selected.selection[s].parts; - cid = selected.selection[s].id; - csrc->pscheme->get_part_info(csrc, cid, &sinfo); - if (!pset->parts->pscheme->adapt_foreign_part_info( - pset->parts, &cinfo, csrc->pscheme, &sinfo)) - continue; - size_t cnt = pset->parts->pscheme->get_free_spaces( - pset->parts, &space, 1, cinfo.size-align, align, - offset, -1); - if (cnt == 0) - continue; - cinfo.start = space.start; - cid = pset->parts->pscheme->add_partition( - pset->parts, &cinfo, NULL); - if (cid == NO_PART) - continue; - pset->parts->pscheme->get_part_info(pset->parts, cid, &cinfo); - clones[clone_cnt].info = cinfo; - clones[clone_cnt].new_id = cid; - clones[clone_cnt].ndx = s; - clone_cnt++; - offset = roundup(cinfo.start+cinfo.size, align); - } - - /* insert new clone records at offset data.res */ - men = realloc(m->opts, (m->numopts+clone_cnt)*sizeof(*m->opts)); - if (men == NULL) - goto err; - pset->menu_opts = men; - m->opts = men; - m->numopts += clone_cnt; - - p = realloc(pset->infos, (pset->num+clone_cnt)*sizeof(*pset->infos)); - if (p == NULL) - goto err; - pset->infos = p; - - men += data.res; - p += data.res; - memmove(men+clone_cnt, men, - sizeof(*men)*(m->numopts-data.res-clone_cnt)); - if (pset->num > (size_t)data.res) - memmove(p+clone_cnt, p, sizeof(*p)*(pset->num-data.res)); - memset(men, 0, sizeof(*men)*clone_cnt); - memset(p, 0, sizeof(*p)*clone_cnt); - for (s = 0; s < clone_cnt; s++) { - p[s].cur_part_id = clones[s].new_id; - p[s].cur_start = clones[s].info.start; - p[s].size = clones[s].info.size; - p[s].cur_flags = clones[s].info.flags; - p[s].flags = PUIFLG_CLONE_PARTS; - p[s].parts = pset->parts; - p[s].clone_src = clone_src; - p[s].clone_ndx = s; - } - free(clones); - m->cursel = ((size_t)data.res >= pset->num) ? 0 : data.res+clone_cnt; - pset->num += clone_cnt; - m->h = 0; - resize_menu_height(m); - - return -1; - -err: - free(clones); - free_selected_partitions(&selected); - return 0; -} -#endif - -static int -edit_fspart_pack(menudesc *m, void *arg) -{ - struct partition_usage_set *pset = arg; - char buf[STRSIZE]; - - if (!pset->parts->pscheme->get_disk_pack_name(pset->parts, - buf, sizeof buf)) - return 0; - - msg_prompt_win(MSG_edit_disk_pack_hdr, - -1, 18, 0, -1, buf, buf, sizeof(buf)); - - pset->parts->pscheme->set_disk_pack_name(pset->parts, buf); - return 0; -} - -static int -edit_fspart_add(menudesc *m, void *arg) -{ - struct partition_usage_set *pset = arg; - struct part_usage_info *ninfo; - menu_ent *nmenopts; - size_t cnt, off; - - ninfo = realloc(pset->infos, (pset->num+1)*sizeof(*pset->infos)); - if (ninfo == NULL) - return 0; - pset->infos = ninfo; - off = pset->parts->num_part; - cnt = pset->num-pset->parts->num_part; - if (cnt > 0) - memmove(pset->infos+off+1,pset->infos+off, - cnt*sizeof(*pset->infos)); - memset(pset->infos+off, 0, sizeof(*pset->infos)); - - nmenopts = realloc(m->opts, (m->numopts+1)*sizeof(*m->opts)); - if (nmenopts == NULL) - return 0; - memmove(nmenopts+off+1, nmenopts+off, - (m->numopts-off)*sizeof(*nmenopts)); - memset(&nmenopts[off], 0, sizeof(nmenopts[off])); - nmenopts[off].opt_action = edit_ptn; - pset->menu_opts = m->opts = nmenopts; - m->numopts++; - m->cursel = off; - pset->num++; - - /* now update edit menu to fit */ - m->h = 0; - resize_menu_height(m); - - /* and directly invoke the partition editor for the new part */ - edit_ptn(m, arg); - - show_partition_adder(m, pset); - - return -1; -} - -static void -add_partition_adder(menudesc *m, struct partition_usage_set *pset) -{ - struct part_usage_info *ninfo; - menu_ent *nmenopts; - size_t off; - - ninfo = realloc(pset->infos, (pset->num+1)*sizeof(*pset->infos)); - if (ninfo == NULL) - return; - pset->infos = ninfo; - off = pset->parts->num_part+1; - - nmenopts = realloc(m->opts, (m->numopts+1)*sizeof(*m->opts)); - if (nmenopts == NULL) - return; - memmove(nmenopts+off+1, nmenopts+off, - (m->numopts-off)*sizeof(*nmenopts)); - memset(&nmenopts[off], 0, sizeof(nmenopts[off])); - - nmenopts[off].opt_name = MSG_addpart; - nmenopts[off].opt_flags = OPT_SUB; - nmenopts[off].opt_action = edit_fspart_add; - - m->opts = nmenopts; - m->numopts++; -} - -static void -remove_partition_adder(menudesc *m, struct partition_usage_set *pset) -{ - size_t off; - - off = pset->parts->num_part+1; - memmove(m->opts+off, m->opts+off+1, - (m->numopts-off-1)*sizeof(*m->opts)); - m->numopts--; -} - -/* - * Called whenever the "add a partition" option may need to be removed - * or added - */ -static void -show_partition_adder(menudesc *m, struct partition_usage_set *pset) -{ - if (m->opts == NULL) - return; - - bool can_add_partition = pset->parts->pscheme->can_add_partition( - pset->parts); - bool part_adder_present = - (m->opts[pset->parts->num_part].opt_flags & OPT_IGNORE) && - (m->opts[pset->parts->num_part+1].opt_action == edit_fspart_add); - - if (can_add_partition == part_adder_present) - return; - - if (can_add_partition) - add_partition_adder(m, pset); - else - remove_partition_adder(m, pset); - - /* now update edit menu to fit */ - m->h = 0; - resize_menu_height(m); -} - -static int -edit_fspart_abort(menudesc *m, void *arg) -{ - struct partition_usage_set *pset = arg; - - pset->ok = false; - return 1; -} - -/* - * Check a disklabel. - * If there are overlapping active partitions, - * Ask the user if they want to edit the partition or give up. - */ -int -edit_and_check_label(struct pm_devs *p, struct partition_usage_set *pset, - bool install) -{ - menu_ent *op; - size_t cnt, i; - bool may_add = pset->parts->pscheme->can_add_partition(pset->parts); - bool may_edit_pack = - pset->parts->pscheme->get_disk_pack_name != NULL && - pset->parts->pscheme->set_disk_pack_name != NULL; - -#ifdef NO_CLONES -#define C_M_ITEMS 0 -#else -#define C_M_ITEMS 1 -#endif - pset->menu_opts = calloc(pset->parts->num_part - +3+C_M_ITEMS+may_add+may_edit_pack, - sizeof *pset->menu_opts); - if (pset->menu_opts == NULL) - return 0; - - op = pset->menu_opts; - for (i = 0; i < pset->parts->num_part; i++) { - op->opt_action = edit_ptn; - op++; - } - /* separator line between partitions and actions */ - op->opt_name = fspart_separator; - op->opt_flags = OPT_IGNORE|OPT_NOSHORT; - op++; - - /* followed by new partition adder */ - if (may_add) { - op->opt_name = MSG_addpart; - op->opt_flags = OPT_SUB; - op->opt_action = edit_fspart_add; - op++; - } - - /* and unit changer */ - op->opt_name = MSG_askunits; - op->opt_menu = MENU_sizechoice; - op->opt_flags = OPT_SUB; - op->opt_action = NULL; - op++; - - if (may_edit_pack) { - op->opt_name = MSG_editpack; - op->opt_flags = OPT_SUB; - op->opt_action = edit_fspart_pack; - op++; - } - -#ifndef NO_CLONES - /* add a clone-from-elsewhere option */ - op->opt_name = MSG_clone_from_elsewhere; - op->opt_action = part_ext_clone; - op++; -#endif - - /* and abort option */ - op->opt_name = MSG_cancel; - op->opt_flags = OPT_EXIT; - op->opt_action = edit_fspart_abort; - op++; - cnt = op - pset->menu_opts; - assert(cnt == pset->parts->num_part+3+C_M_ITEMS+may_add+may_edit_pack); - - pset->menu = new_menu(fspart_title, pset->menu_opts, cnt, - 0, -1, 0, 74, - MC_ALWAYS_SCROLL|MC_NOBOX|MC_DFLTEXIT| - MC_NOCLEAR|MC_CONTINUOUS, - fmt_fspart_header, fmt_fspart_row, NULL, NULL, - MSG_partition_sizes_ok); - - if (pset->menu < 0) { - free(pset->menu_opts); - pset->menu_opts = NULL; - return 0; - } - - p->current_cylsize = p->dlcylsize; - - /* - * Makronix simple installation: do not show the editor for the layout - * that was just made from the defaults. If it does not pass - * verification, the user gets the editor after all. - */ - bool interactive = !(install && simple_install); - - for (;;) { - /* first give the user the option to edit the label... */ - pset->ok = true; - if (interactive) - process_menu(pset->menu, pset); - if (!pset->ok) { - i = 0; - break; - } - - /* User thinks the label is OK. */ - i = verify_parts(pset, install); - if (i == 1) { - interactive = true; - continue; - } - break; - } - free(pset->menu_opts); - pset->menu_opts = NULL; - free_menu(pset->menu); - pset->menu = -1; - - return i != 0; -} - -/* - * strip trailing / to avoid confusion in path comparisons later - */ -void -canonicalize_last_mounted(char *path) -{ - char *p; - - if (path == NULL) - return; - - if (strcmp(path, "/") == 0) - return; /* in this case a "trailing" slash is allowed */ - - for (;;) { - p = strrchr(path, '/'); - if (p == NULL) - return; - if (p[1] != 0) - return; - p[0] = 0; - } -} - -/* - * Try to get 'last mounted on' (or equiv) from fs superblock. - */ -const char * -get_last_mounted(int fd, daddr_t partstart, uint *fs_type, uint *fs_sub_type, - uint flags) -{ - static char sblk[SBLOCKSIZE] __aligned(8); /* is this enough? */ - struct fs *SB = (struct fs *)sblk; - static const off_t sblocks[] = SBLOCKSEARCH; - const off_t *sbp; - const char *mnt = NULL; - int len; - - if (fd == -1) - return ""; - - if (fs_type) - *fs_type = 0; - if (fs_sub_type) - *fs_sub_type = 0; - - /* Check UFS1/2 (and hence LFS) superblock */ - for (sbp = sblocks; mnt == NULL && *sbp != -1; sbp++) { - if (pread(fd, sblk, sizeof sblk, - (off_t)partstart * (off_t)512 + *sbp) != sizeof sblk) - continue; - - /* - * If start of partition and allowed by flags check - * for other fs types - */ - if (*sbp == 0 && (flags & GLM_MAYBE_FAT32) && - sblk[0x42] == 0x29 && memcmp(sblk + 0x52, "FAT", 3) == 0) { - /* Probably a FAT filesystem, report volume name */ - size_t i; - for (i = 0x51; i >= 0x47; i--) { - if (sblk[i] != ' ') - break; - sblk[i] = 0; - } - sblk[0x52] = 0; - if (fs_type) - *fs_type = FS_MSDOS; - if (fs_sub_type) - *fs_sub_type = sblk[0x53]; - return sblk + 0x47; - } else if (*sbp == 0 && (flags & GLM_MAYBE_NTFS) && - memcmp(sblk+3, "NTFS ", 8) == 0) { - if (fs_type) - *fs_type = FS_NTFS; - if (fs_sub_type) - *fs_sub_type = MBR_PTYPE_NTFS; - /* XXX dig for volume name attribute ? */ - return ""; - } - - if (!(flags & GLM_LIKELY_FFS)) - continue; - - /* Maybe we should validate the checksum??? */ - switch (SB->fs_magic) { - case FS_UFS1_MAGIC: - case FS_UFS1_MAGIC_SWAPPED: - if (!(SB->fs_old_flags & FS_FLAGS_UPDATED)) { - if (*sbp == SBLOCK_UFS1) - mnt = (const char *)SB->fs_fsmnt; - } else { - /* Check we have the main superblock */ - if (SB->fs_sblockloc == *sbp) - mnt = (const char *)SB->fs_fsmnt; - } - if (fs_type) - *fs_type = FS_BSDFFS; - if (fs_sub_type) - *fs_sub_type = 1; - continue; - case FS_UFS2_MAGIC: - case FS_UFS2EA_MAGIC: - case FS_UFS2_MAGIC_SWAPPED: - case FS_UFS2EA_MAGIC_SWAPPED: - /* Check we have the main superblock */ - if (SB->fs_sblockloc == *sbp) { - mnt = (const char *)SB->fs_fsmnt; - if (fs_type) - *fs_type = FS_BSDFFS; - if (fs_sub_type) - *fs_sub_type = 2; - } - continue; - } - } - - if (mnt == NULL) - return ""; - - /* If sysinst mounted this last then strip prefix */ - len = strlen(targetroot_mnt); - if (memcmp(mnt, targetroot_mnt, len) == 0) { - if (mnt[len] == 0) - return "/"; - if (mnt[len] == '/') - return mnt + len; - } - return mnt; - #undef SB -} - -/* Ask for a partition offset, check bounds and do the needed roundups */ -daddr_t -getpartoff(struct disk_partitions *parts, daddr_t defpartstart) -{ - char defstart[24], isize[24], maxpart, minspace, maxspace, - *prompt, *label_msg, valid_parts[4], valid_spaces[4], - space_prompt[1024], *head, *hint_part, *hint_space, *tail; - size_t num_freespace, spaces, ndx; - struct disk_part_free_space *freespace; - daddr_t i, localsizemult, ptn_alignment, min, max; - part_id partn; - struct disk_part_info info; - const char *errmsg = NULL; - - min = parts->disk_start; - max = min + parts->disk_size; - - /* upper bound on the number of free spaces, plus some slope */ - num_freespace = parts->num_part * 2 + 5; - freespace = calloc(num_freespace, sizeof(*freespace)); - if (freespace == NULL) - return -1; - - ptn_alignment = parts->pscheme->get_part_alignment(parts); - spaces = parts->pscheme->get_free_spaces(parts, freespace, - num_freespace, max(sizemult, ptn_alignment), ptn_alignment, -1, - defpartstart); - - maxpart = 'a' + parts->num_part -1; - if (parts->num_part > 1) { - snprintf(valid_parts, sizeof valid_parts, "a-%c", maxpart); - } else if (parts->num_part == 1) { - snprintf(valid_parts, sizeof valid_parts, " %c", maxpart); - } else { - strcpy(valid_parts, "---"); - } - if (spaces > 1) { - minspace = maxpart + 1; - maxspace = minspace + spaces -1; - snprintf(valid_spaces, sizeof valid_spaces, "%c-%c", minspace, - maxspace); - } else if (spaces == 1) { - maxspace = minspace = maxpart + 1; - snprintf(valid_spaces, sizeof valid_spaces, " %c", minspace); - } else { - minspace = 0; - maxspace = 0; - strcpy(valid_spaces, "---"); - } - - /* Add description of start/size to user prompt */ - const char *mstr = msg_string(MSG_free_space_line); - space_prompt[0] = 0; - for (ndx = 0; ndx < spaces; ndx++) { - char str_start[40], str_end[40], str_size[40], str_tag[4]; - - sprintf(str_tag, "%c: ", minspace+(int)ndx); - sprintf(str_start, "%" PRIu64, freespace[ndx].start / sizemult); - sprintf(str_end, "%" PRIu64, - (freespace[ndx].start + freespace[ndx].size) / sizemult); - sprintf(str_size, "%" PRIu64, freespace[ndx].size / sizemult); - const char *args[4] = { str_start, str_end, str_size, - multname }; - char *line = str_arg_subst(mstr, 4, args); - strlcat(space_prompt, str_tag, sizeof(space_prompt)); - size_t len = strlcat(space_prompt, line, sizeof(space_prompt)); - free (line); - if (len >= sizeof space_prompt) - break; - } - - const char *args[] = { valid_parts, valid_spaces, multname }; - hint_part = NULL; - hint_space = NULL; - head = str_arg_subst(msg_string(MSG_label_offset_head), - __arraycount(args), args); - if (parts->num_part) - hint_part = str_arg_subst(msg_string( - MSG_label_offset_part_hint), __arraycount(args), args); - if (spaces) - hint_space = str_arg_subst(msg_string( - MSG_label_offset_space_hint), __arraycount(args), args); - tail = str_arg_subst(msg_string(MSG_label_offset_tail), - __arraycount(args), args); - - if (hint_part && hint_space) - asprintf(&label_msg, "%s\n%s\n%s\n\n%s\n%s", - head, hint_part, hint_space, space_prompt, tail); - else if (hint_part) - asprintf(&label_msg, "%s\n%s\n\n%s", - head, hint_part, tail); - else if (hint_space) - asprintf(&label_msg, "%s\n%s\n\n%s\n%s", - head, hint_space, space_prompt, tail); - else - asprintf(&label_msg, "%s\n\n%s", - head, tail); - free(head); free(hint_part); free(hint_space); free(tail); - - localsizemult = sizemult; - errmsg = NULL; - for (;;) { - snprintf(defstart, sizeof defstart, "%" PRIu64, - defpartstart/sizemult); - if (errmsg != NULL && errmsg[0] != 0) - asprintf(&prompt, "%s\n\n%s", errmsg, label_msg); - else - prompt = label_msg; - msg_prompt_win(prompt, -1, 13, 70, -1, - (defpartstart > 0) ? defstart : NULL, isize, sizeof isize); - if (label_msg != prompt) - free(prompt); - if (strcmp(defstart, isize) == 0) { - /* Don't do rounding if default accepted */ - i = defpartstart; - break; - } - if (isize[1] == '\0' && isize[0] >= 'a' && - isize[0] <= maxpart) { - partn = isize[0] - 'a'; - if (parts->pscheme->get_part_info(parts, partn, - &info)) { - i = info.start + info.size; - localsizemult = 1; - } else { - errmsg = msg_string(MSG_invalid_sector_number); - continue; - } - } else if (isize[1] == '\0' && isize[0] >= minspace && - isize[0] <= maxspace) { - ndx = isize[0] - minspace; - i = freespace[ndx].start; - localsizemult = 1; - } else if (atoi(isize) == -1) { - i = min; - localsizemult = 1; - } else { - i = parse_disk_pos(isize, &localsizemult, - parts->bytes_per_sector, - parts->pscheme->get_cylinder_size(parts), NULL); - if (i < 0) { - errmsg = msg_string(MSG_invalid_sector_number); - continue; - } - } - /* round to cylinder size if localsizemult != 1 */ - int cylsize = parts->pscheme->get_cylinder_size(parts); - i = NUMSEC(i, localsizemult, cylsize); - /* Adjust to start of slice if needed */ - if ((i < min && (min - i) < localsizemult) || - (i > min && (i - min) < localsizemult)) { - i = min; - } - if (max == 0 || i <= max) - break; - errmsg = msg_string(MSG_startoutsidedisk); - } - free(label_msg); - free(freespace); - - return i; -} - - -/* Ask for a partition size, check bounds and do the needed roundups */ -daddr_t -getpartsize(struct disk_partitions *parts, daddr_t orig_start, - daddr_t partstart, daddr_t dflt) -{ - char dsize[24], isize[24], max_size[24], maxpartc, valid_parts[4], - *label_msg, *prompt, *head, *hint, *tail; - const char *errmsg = NULL; - daddr_t i, partend, diskend, localsizemult, max, max_r, dflt_r; - struct disk_part_info info; - part_id partn; - - diskend = parts->disk_start + parts->disk_size; - max = parts->pscheme->max_free_space_at(parts, orig_start); - max += orig_start - partstart; - if (sizemult == 1) - max--; /* with hugher scale proper rounding later will be ok */ - - /* We need to keep both the unrounded and rounded (_r) max and dflt */ - dflt_r = (partstart + dflt) / sizemult - partstart / sizemult; - if (max == dflt) - max_r = dflt_r; - else - max_r = max / sizemult; - /* the partition may have been moved and now not fit any longer */ - if (dflt > max) - dflt = max; - if (dflt_r > max_r) - dflt_r = max_r; - - snprintf(max_size, sizeof max_size, "%" PRIu64, max_r); - - maxpartc = 'a' + parts->num_part -1; - if (parts->num_part > 1) { - snprintf(valid_parts, sizeof valid_parts, "a-%c", maxpartc); - } else if (parts->num_part == 1) { - snprintf(valid_parts, sizeof valid_parts, " %c", maxpartc); - } else { - strcpy(valid_parts, "---"); - } - - const char *args[] = { valid_parts, max_size, multname }; - hint = NULL; - head = str_arg_subst(msg_string(MSG_label_size_head), - __arraycount(args), args); - if (parts->num_part) - hint = str_arg_subst(msg_string(MSG_label_size_part_hint), - __arraycount(args), args); - tail = str_arg_subst(msg_string(MSG_label_size_tail), - __arraycount(args), args); - - if (hint != NULL) - asprintf(&label_msg, "%s\n%s\n\n%s", head, hint, tail); - else - asprintf(&label_msg, "%s\n\n%s", head, tail); - free(head); free(hint); free(tail); - - localsizemult = sizemult; - i = -1; - for (;;) { - snprintf(dsize, sizeof dsize, "%" PRIu64, dflt_r); - - if (errmsg != NULL && errmsg[0] != 0) - asprintf(&prompt, "%s\n\n%s", errmsg, label_msg); - else - prompt = label_msg; - msg_prompt_win(prompt, -1, 12, 70, -1, - (dflt != 0) ? dsize : 0, isize, sizeof isize); - if (prompt != label_msg) - free(prompt); - - if (strcmp(isize, dsize) == 0) { - free(label_msg); - return dflt; - } - if (parts->num_part && isize[1] == '\0' && isize[0] >= 'a' && - isize[0] <= maxpartc) { - partn = isize[0] - 'a'; - if (parts->pscheme->get_part_info(parts, partn, - &info)) { - i = info.start - partstart -1; - localsizemult = 1; - max_r = max; - } - } else if (atoi(isize) == -1) { - i = max; - localsizemult = 1; - max_r = max; - } else { - i = parse_disk_pos(isize, &localsizemult, - parts->bytes_per_sector, - parts->pscheme->get_cylinder_size(parts), NULL); - if (localsizemult != sizemult) - max_r = max; - } - if (i < 0) { - errmsg = msg_string(MSG_Invalid_numeric); - continue; - } else if (i > max_r) { - errmsg = msg_string(MSG_Too_large); - continue; - } - /* - * partend is aligned to a cylinder if localsizemult - * is not 1 sector - */ - int cylsize = parts->pscheme->get_cylinder_size(parts); - partend = NUMSEC((partstart + i*localsizemult) / localsizemult, - localsizemult, cylsize); - /* Align to end-of-disk or end-of-slice if close enough */ - if (partend > (diskend - sizemult) - && partend < (diskend + sizemult)) - partend = diskend; - if (partend > (partstart + max - sizemult) - && partend < (partstart + max + sizemult)) - partend = partstart + max; - /* sanity checks */ - if (partend > diskend) { - partend = diskend; - errmsg = msg_string(MSG_endoutsidedisk); - continue; - } - free(label_msg); - if (partend < partstart) - return 0; - return (partend - partstart); - } - /* NOTREACHED */ -} - -/* - * convert a string to a number of sectors, with a possible unit - * 150M = 150 Megabytes - * 2000c = 2000 cylinders - * 150256s = 150256 sectors - * Without units, use the default (sizemult). - * returns the raw input value, and the unit used. Caller needs to multiply! - * On invalid inputs, returns -1. - */ -daddr_t -parse_disk_pos( - const char *str, - daddr_t *localsizemult, - daddr_t bps, - daddr_t cyl_size, - bool *extend_this) -{ - daddr_t val; - char *cp; - bool mult_found; - - if (str[0] == '\0') { - return -1; - } - val = strtoull(str, &cp, 10); - mult_found = false; - if (extend_this) - *extend_this = false; - while (*cp != 0) { - if (*cp == 'G' || *cp == 'g') { - if (mult_found) - return -1; - *localsizemult = GIG / bps; - goto next; - } - if (*cp == 'M' || *cp == 'm') { - if (mult_found) - return -1; - *localsizemult = MEG / bps; - goto next; - } - if (*cp == 'c' || *cp == 'C') { - if (mult_found) - return -1; - *localsizemult = cyl_size; - goto next; - } - if (*cp == 's' || *cp == 'S') { - if (mult_found) - return -1; - *localsizemult = 1; - goto next; - } - if (*cp == '+' && extend_this) { - *extend_this = true; - cp++; - break; - } - - /* not a known unit */ - return -1; - -next: - mult_found = true; - cp++; - continue; - } - if (*cp != 0) - return -1; - - return val; -} diff --git a/overlay/usr.sbin/sysinst/main.c b/overlay/usr.sbin/sysinst/main.c deleted file mode 100644 index afab3db839..0000000000 --- a/overlay/usr.sbin/sysinst/main.c +++ /dev/null @@ -1,735 +0,0 @@ -/* $NetBSD: main.c,v 1.40 2026/08/14 17:19:04 andvar Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* main sysinst program. */ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "defs.h" -#include "md.h" -#include "msg_defs.h" -#include "menu_defs.h" -#include "txtwalk.h" - -int debug; -char machine[SSTRSIZE]; -int ignorerror; -int ttysig_ignore; -pid_t ttysig_forward; -uint sizemult; -int partman_go; -FILE *logfp; -FILE *script; -daddr_t root_limit; -struct pm_head_t pm_head; -struct pm_devs *pm; -struct pm_devs *pm_new; -char xfer_dir[STRSIZE]; -int clean_xfer_dir; -char ext_dir_bin[STRSIZE]; -char ext_dir_src[STRSIZE]; -char ext_dir_pkgsrc[STRSIZE]; -char set_dir_bin[STRSIZE]; -char set_dir_src[STRSIZE]; -char pkg_dir[STRSIZE]; -char pkgsrc_dir[STRSIZE]; -const char *ushell; -struct ftpinfo ftp, pkg, pkgsrc; -int (*fetch_fn)(const char *); -char nfs_host[STRSIZE]; -char nfs_dir[STRSIZE]; -char cdrom_dev[SSTRSIZE]; -char fd_dev[SSTRSIZE]; -const char *fd_type; -char localfs_dev[SSTRSIZE]; -char localfs_fs[SSTRSIZE]; -char localfs_dir[STRSIZE]; -char targetroot_mnt[SSTRSIZE]; -int mnt2_mounted; -char dist_postfix[SSTRSIZE]; -char dist_tgz_postfix[SSTRSIZE]; -WINDOW *mainwin; - -static void select_language(const char*); -__dead static void usage(void); -__dead static void miscsighandler(int); -static void ttysighandler(int); -static void cleanup(void); -static void process_f_flag(char *); -#ifndef NO_HTTPS -static bool no_openssl_trust_anchors_available(void); -#endif -#ifdef BUILD_TIMESTAMP -static void check_todr_sanity(void); -#endif - -static int exit_cleanly = 0; /* Did we finish nicely? */ -FILE *logfp; /* log file */ -FILE *script; /* script file */ - -const char *multname; -const char *err_outofmem; - -#ifdef DEBUG -extern int log_flip(void); -#endif - -/* Definition for colors */ - -struct { - unsigned int bg; - unsigned int fg; -} clr_arg; - -/* String defaults and stuff for processing the -f file argument. */ - -struct f_arg { - const char *name; - const char *dflt; - char *var; - int size; -}; - -static const struct f_arg fflagopts[] = { - {"release", REL, NULL, 0}, - {"machine", MACH, machine, sizeof machine}, - {"xfer dir", "/usr/INSTALL", xfer_dir, sizeof xfer_dir}, - {"ext dir", "", ext_dir_bin, sizeof ext_dir_bin}, - {"ext src dir", "", ext_dir_src, sizeof ext_dir_src}, - {"ftp host", SYSINST_FTP_HOST, ftp.xfer_host[XFER_HOST(XFER_FTP)], sizeof ftp.xfer_host[XFER_HOST(XFER_FTP)]}, - {"http host", SYSINST_HTTP_HOST, ftp.xfer_host[XFER_HOST(XFER_HTTP)], sizeof ftp.xfer_host[XFER_HOST(XFER_HTTP)]}, - {"ftp dir", SYSINST_FTP_DIR, ftp.dir, sizeof ftp.dir}, - {"ftp prefix", "/" ARCH_SUBDIR "/binary/sets", set_dir_bin, sizeof set_dir_bin}, - {"ftp src prefix", "/source/sets", set_dir_src, sizeof set_dir_src}, - {"ftp user", "ftp", ftp.user, sizeof ftp.user}, - {"ftp pass", "", ftp.pass, sizeof ftp.pass}, - {"ftp proxy", "", ftp.proxy, sizeof ftp.proxy}, - {"nfs host", "", nfs_host, sizeof nfs_host}, - {"nfs dir", "/bsd/release", nfs_dir, sizeof nfs_dir}, - {"cd dev", 0, cdrom_dev, sizeof cdrom_dev}, /* default filled in init */ - {"fd dev", "/dev/fd0a", fd_dev, sizeof fd_dev}, - {"local dev", "", localfs_dev, sizeof localfs_dev}, - {"local fs", "ffs", localfs_fs, sizeof localfs_fs}, - {"local dir", "release", localfs_dir, sizeof localfs_dir}, - {"targetroot mount", "/targetroot", targetroot_mnt, sizeof targetroot_mnt}, - {"dist postfix", "." SETS_TAR_SUFF, dist_postfix, sizeof dist_postfix}, - {"dist tgz postfix", ".tgz", dist_tgz_postfix, sizeof dist_tgz_postfix}, - {"pkg host", SYSINST_PKG_HOST, pkg.xfer_host[XFER_HOST(XFER_FTP)], sizeof pkg.xfer_host[XFER_HOST(XFER_FTP)]}, - {"pkg http host", SYSINST_PKG_HTTP_HOST, pkg.xfer_host[XFER_HOST(XFER_HTTP)], sizeof pkg.xfer_host[XFER_HOST(XFER_HTTP)]}, - {"pkg dir", SYSINST_PKG_DIR, pkg.dir, sizeof pkg.dir}, - {"pkg prefix", "/" PKG_ARCH_SUBDIR "/" PKG_SUBDIR "/All", pkg_dir, sizeof pkg_dir}, - {"pkg user", "ftp", pkg.user, sizeof pkg.user}, - {"pkg pass", "", pkg.pass, sizeof pkg.pass}, - {"pkg proxy", "", pkg.proxy, sizeof pkg.proxy}, - {"pkgsrc host", SYSINST_PKGSRC_HOST, pkgsrc.xfer_host[XFER_HOST(XFER_FTP)], sizeof pkgsrc.xfer_host[XFER_HOST(XFER_FTP)]}, - {"pkgsrc http host", SYSINST_PKGSRC_HTTP_HOST, pkgsrc.xfer_host[XFER_HOST(XFER_HTTP)], sizeof pkgsrc.xfer_host[XFER_HOST(XFER_HTTP)]}, - {"pkgsrc dir", "", pkgsrc.dir, sizeof pkgsrc.dir}, - {"pkgsrc prefix", "pub/pkgsrc/stable", pkgsrc_dir, sizeof pkgsrc_dir}, - {"pkgsrc user", "ftp", pkgsrc.user, sizeof pkgsrc.user}, - {"pkgsrc pass", "", pkgsrc.pass, sizeof pkgsrc.pass}, - {"pkgsrc proxy", "", pkgsrc.proxy, sizeof pkgsrc.proxy}, - - {NULL, NULL, NULL, 0} -}; - -static void -init(void) -{ - const struct f_arg *arg; - - sizemult = 1; - clean_xfer_dir = 0; - mnt2_mounted = 0; - fd_type = "msdos"; - - pm_head = (struct pm_head_t) SLIST_HEAD_INITIALIZER(pm_head); - SLIST_INIT(&pm_head); - pm_new = malloc(sizeof (struct pm_devs)); - memset(pm_new, 0, sizeof *pm_new); - - for (arg = fflagopts; arg->name != NULL; arg++) { - if (arg->var == NULL) - continue; - if (arg->var == cdrom_dev) - get_default_cdrom(arg->var, arg->size); - else - strlcpy(arg->var, arg->dflt, arg->size); - } - pkg.xfer = pkgsrc.xfer = XFER_HTTPS; -#ifdef NO_HTTPS - ftp.xfer = XFER_HTTP; -#else - ftp.xfer = XFER_HTTPS; -#endif - - /* - * Makronix: the CDE look, dark text on the palette's window colour. - * With the eight fixed colours of a console this is black on white; - * do_coloring() makes it the CDE colour where the terminal can. - */ - clr_arg.bg=COLOR_WHITE; - clr_arg.fg=COLOR_BLACK; -} - -static void -init_lang(void) -{ - sizemult = 1; - err_outofmem = msg_string(MSG_out_of_memory); - multname = msg_string(MSG_secname); -} - -int -main(int argc, char **argv) -{ - int ch; - const char *msg_cat_dir = NULL; - - init(); - -#ifdef DEBUG - log_flip(); -#endif - - /* Check for TERM ... */ - if (!getenv("TERM")) { - (void)fprintf(stderr, - "sysinst: environment variable TERM not set.\n"); - exit(4); - } - - /* argv processing */ - while ((ch = getopt(argc, argv, "Dr:f:C:m:" -#ifndef NO_PARTMAN - "p" -#endif - )) != -1) - switch(ch) { - case 'D': /* set to get past certain errors in testing */ - debug = 1; - break; - case 'r': - /* Release name - ignore for compatibility with older versions */ - break; - case 'f': - /* Definition file to read. */ - process_f_flag(optarg); - break; - case 'C': - /* Define colors */ - sscanf(optarg, "%u:%u", &clr_arg.bg, &clr_arg.fg); - break; - case 'm': - /* set message catalog directory */ - msg_cat_dir = optarg; - break; -#ifndef NO_PARTMAN - case 'p': - /* Partition tool */ - partman_go = 1; - break; -#endif - case '?': - default: - usage(); - } - - md_init(); - - /* Initialize the partitioning subsystem */ - partitions_init(); - - /* - * Do we need to tell ftp(1) to avoid checking certificate chains? - * Does the ftp(1) that comes with this installer support https - * at all? - */ -#ifndef NO_HTTPS - if (no_openssl_trust_anchors_available()) -#endif - setenv("FTPSSLNOVERIFY", "1", 1); - - /* Prevent kernel console messages from messing up the display */ - discard_console_output(); - - /* initialize message window */ - if (menu_init()) { - __menu_initerror(); - exit(4); - } - - /* - * Put 'messages' in a window that has a one-character border - * on the real screen. - */ - mainwin = newwin(getmaxy(stdscr) - 2, getmaxx(stdscr) - 2, 1, 1); - if (mainwin == NULL) { - (void)fprintf(stderr, - "sysinst: screen too small\n"); - exit(1); - } - if (has_colors()) { - start_color(); - do_coloring(clr_arg.fg,clr_arg.bg); - } - msg_window(mainwin); - - /* Watch for signals and clean up */ - (void)atexit(cleanup); - (void)signal(SIGINT, ttysighandler); - (void)signal(SIGQUIT, ttysighandler); - (void)signal(SIGHUP, miscsighandler); - - /* redraw screen */ - touchwin(stdscr); - refresh(); - - /* Ensure we have mountpoint for target filesystems */ - mkdir(targetroot_mnt, S_IRWXU | S_IRGRP|S_IXGRP | S_IROTH|S_IXOTH); - - select_language(msg_cat_dir); - get_kb_encoding(); - init_lang(); - - /* Makronix: the welcome screen, in the language just chosen. */ - msg_fmt_display(MSG_welcome, "%s", REL); - process_menu(MENU_welcome, NULL); - -#ifdef BUILD_TIMESTAMP - check_todr_sanity(); -#endif - - /* remove some invalid menu entries */ - if (!has_colors()) - remove_color_options(); - - /* Menu processing */ - if (partman_go) - partman(NULL); - else - process_menu(MENU_netbsd, NULL); - -#ifndef NO_PARTMAN - /* clean up internal storage */ - pm_destroy_all(); -#endif - - partitions_cleanup(); - - exit_cleanly = 1; - return 0; -} - -static int -set_language(menudesc *m, void *arg) -{ - char **fnames = arg; - - msg_file(fnames[m->cursel]); - return 1; -} - -/* - * Search for sysinstmsg.* files in the given dir, collect - * their names and return the number of files found. - * fnames[0] is preallocated and duplicates are ignored. - */ -struct found_msgs { - char **lang_msg, **fnames; - int max_lang, num_lang; - -}; -static void -find_language_files(const char *path, struct found_msgs *res) -{ - DIR *dir; - struct dirent *dirent; - char fname[PATH_MAX]; - const char *cp; - - res->num_lang = 0; - dir = opendir(path); - if (!dir) - return; - - while ((dirent = readdir(dir)) != 0) { - if (memcmp(dirent->d_name, "sysinstmsgs.", 12)) - continue; - - if (res->num_lang == 0) - res->num_lang = 1; - strcpy(fname, path); - strcat(fname, "/"); - strcat(fname, dirent->d_name); - if (msg_file(fname)) - continue; - cp = msg_string(MSG_sysinst_message_language); - if (!strcmp(cp, res->lang_msg[0])) - continue; - if (res->num_lang == res->max_lang) { - char **new; - res->max_lang *= 2; - new = realloc(res->lang_msg, - res->max_lang * sizeof *res->lang_msg); - if (!new) - break; - res->lang_msg = new; - new = realloc(res->fnames, - res->max_lang * sizeof *res->fnames); - if (!new) - break; - res->fnames = new; - } - res->fnames[res->num_lang] = strdup(fname); - res->lang_msg[res->num_lang++] = strdup(cp); - } - - closedir(dir); -} - -static void -select_language(const char *msg_cat_path) -{ - struct found_msgs found; - menu_ent *opt = 0; - const char *cp; - int lang_menu = -1; - int lang; - - found.max_lang = 16; - found.num_lang = 0; - found.lang_msg = malloc(found.max_lang * sizeof *found.lang_msg); - found.fnames = malloc(found.max_lang * sizeof *found.fnames); - if (!found.lang_msg || !found.fnames) - goto done; - found.lang_msg[0] = strdup(msg_string(MSG_sysinst_message_language)); - found.fnames[0] = NULL; - - if (msg_cat_path != NULL) - find_language_files(msg_cat_path, &found); - if (found.num_lang == 0) - find_language_files(".", &found); -#ifdef CATALOG_DIR - if (found.num_lang == 0) - find_language_files(CATALOG_DIR, &found); -#endif - - msg_file(0); - - if (found.num_lang <= 1) - goto done; - - opt = calloc(found.num_lang, sizeof *opt); - if (!opt) - goto done; - - for (lang = 0; lang < found.num_lang; lang++) { - opt[lang].opt_name = found.lang_msg[lang]; - opt[lang].opt_action = set_language; - } - - lang_menu = new_menu(NULL, opt, found.num_lang, -1, 12, 0, 0, - MC_NOEXITOPT, NULL, NULL, NULL, NULL, NULL); - - if (lang_menu != -1) { - msg_display(MSG_hello); - process_menu(lang_menu, found.fnames); - } - - done: - if (lang_menu != -1) - free_menu(lang_menu); - free(opt); - for (int i = 0; i < found.num_lang; i++) { - free(found.lang_msg[i]); - free(found.fnames[i]); - } - free(found.lang_msg); - free(found.fnames); - - /* set locale according to selected language */ - cp = msg_string(MSG_sysinst_message_locale); - if (cp) { - setlocale(LC_CTYPE, cp); - setenv("LC_CTYPE", cp, 1); - } -} - -#ifndef md_may_remove_boot_medium -#define md_may_remove_boot_medium() (boot_media_still_needed()<=0) -#endif - -/* toplevel menu handler ... */ -void -toplevel(void) -{ - /* - * Undo any stateful side-effects of previous menu choices. - * XXX must be idempotent, since we get run each time the main - * menu is displayed. - */ - char *home = getenv("HOME"); - if (home != NULL) - if (chdir(home) != 0) - (void)chdir("/"); - unwind_mounts(); - clear_swap(); - - /* Display banner message in (english, francais, deutsch..) */ - msg_display(MSG_hello); - msg_display_add(MSG_md_hello); - if (md_may_remove_boot_medium()) - msg_display_add(MSG_md_may_remove_boot_medium); - msg_display_add(MSG_thanks); -} - - -/* The usage ... */ - -static void -usage(void) -{ - - (void)fprintf(stderr, "usage: sysinst [-C bg:fg] [-D" -#ifndef NO_PARTMAN - "p" -#endif - "] [-f definition_file] " - "[-m message_catalog_dir]" - "\n" - "where:\n" - "\t-C bg:fg\n\t\tuse different color scheme\n" - "\t-D\n\t\trun in debug mode\n" - "\t-f definition_file\n\t\toverride built-in defaults from file\n" - "\t-m msg_catalog_dir\n\t\tuse translation files from msg_catalog_dir\n" -#ifndef NO_PARTMAN - "\t-p\n\t\tonly run the partition editor, no installation\n" -#endif - ); - - exit(1); -} - -/* ARGSUSED */ -static void -miscsighandler(int signo) -{ - - /* - * we need to cleanup(), but it was already scheduled with atexit(), - * so it'll be invoked on exit(). - */ - exit(1); -} - -static void -ttysighandler(int signo) -{ - - /* - * if we want to ignore a TTY signal (SIGINT or SIGQUIT), then we - * just return. If we want to forward a TTY signal, we forward it - * to the specified process group. - * - * This functionality is used when setting up and displaying child - * output so that the child gets the signal and presumably dies, - * but sysinst continues. We use this rather than actually ignoring - * the signals, because that will be passed on to a child - * through fork/exec, whereas special handlers get reset on exec.. - */ - if (ttysig_ignore) - return; - if (ttysig_forward) { - killpg(ttysig_forward, signo); - return; - } - - /* - * we need to cleanup(), but it was already scheduled with atexit(), - * so it'll be invoked on exit(). - */ - exit(1); -} - -static void -cleanup(void) -{ - time_t tloc; - - (void)time(&tloc); - -#if 0 - restore_etc(); -#endif - /* Ensure we aren't inside the target tree */ - chdir(getenv("HOME")); - unwind_mounts(); - umount_mnt2(); - clear_swap(); - - endwin(); - - if (logfp) { - fprintf(logfp, "Log ended at: %s\n", safectime(&tloc)); - fflush(logfp); - fclose(logfp); - logfp = NULL; - } - if (script) { - fprintf(script, "# Script ended at: %s\n", safectime(&tloc)); - fflush(script); - fclose(script); - script = NULL; - } - - if (!exit_cleanly) - fprintf(stderr, "\n\nsysinst terminated.\n"); -} - - -/* process function ... */ - -void -process_f_flag(char *f_name) -{ - char buffer[STRSIZE]; - int len; - const struct f_arg *arg; - FILE *fp; - char *cp, *cp1, *err; - - /* open the file */ - fp = fopen(f_name, "r"); - if (fp == NULL) { - const char *args[] = { f_name }; - err = str_arg_subst(msg_string(MSG_config_open_error), - __arraycount(args), args); - fprintf(stderr, "%s\n", err); - free(err); - exit(1); - } - - while (fgets(buffer, sizeof buffer, fp) != NULL) { - cp = buffer + strspn(buffer, " \t"); - if (strchr("#\r\n", *cp) != NULL) - continue; - for (arg = fflagopts; arg->name != NULL; arg++) { - len = strlen(arg->name); - if (memcmp(cp, arg->name, len) != 0) - continue; - if (arg->var == NULL || arg->size == 0) - continue; - cp1 = cp + len; - cp1 += strspn(cp1, " \t"); - if (*cp1++ != '=') - continue; - cp1 += strspn(cp1, " \t"); - len = strcspn(cp1, " \n\r\t"); - cp1[len] = 0; - strlcpy(arg->var, cp1, arg->size); - break; - } - } - - fclose(fp); -} - -#ifndef NO_HTTPS -/* - * return true if we do not have any root certificates installed, - * so can not verify any trust chain. - * We rely on /etc/openssl being the OPENSSLDIR and test the - * "all in one" /etc/openssl/cert.pem first, if that is not found - * check if there are multiple regular files or symlinks in - * /etc/openssl/certs/. - */ -static bool -no_openssl_trust_anchors_available(void) -{ - struct stat sb; - DIR *dir; - struct dirent *ent; - size_t cnt; - - /* check the omnibus single file variant first */ - if (stat("/etc/openssl/cert.pem", &sb) == 0 && - S_ISREG(sb.st_mode) && sb.st_size > 0) - return false; /* exists and is a non-empty file */ - - /* look for files/symlinks in the certs subdirectory */ - dir = opendir("/etc/openssl/certs"); - if (dir == NULL) - return true; - for (cnt = 0; cnt < 2; ) { - ent = readdir(dir); - if (ent == NULL) - break; - switch (ent->d_type) { - case DT_REG: - case DT_LNK: - cnt++; - break; - default: - break; - } - } - closedir(dir); - - return cnt < 2; -} -#endif - -#ifdef BUILD_TIMESTAMP -static void -check_todr_sanity(void) -{ - time_t now = time(NULL); - - if (now >= BUILD_TIMESTAMP - 2*86400) - return; - - do_time_and_date_setup(MSG_todr_old); -} -#endif - diff --git a/overlay/usr.sbin/sysinst/mbr.c b/overlay/usr.sbin/sysinst/mbr.c deleted file mode 100644 index 7e415edbef..0000000000 --- a/overlay/usr.sbin/sysinst/mbr.c +++ /dev/null @@ -1,3207 +0,0 @@ -/* $NetBSD: mbr.c,v 1.51 2026/09/03 02:12:15 gutteridge Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* - * Following applies to the geometry guessing code - */ - -/* - * Mach Operating System - * Copyright (c) 1992 Carnegie Mellon University - * All Rights Reserved. - * - * Permission to use, copy, modify and distribute this software and its - * documentation is hereby granted, provided that both the copyright - * notice and this permission notice appear in all copies of the - * software, derivative works or modified versions, and any portions - * thereof, and that both notices appear in supporting documentation. - * - * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" - * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR - * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. - * - * Carnegie Mellon requests users of this software to return to - * - * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU - * School of Computer Science - * Carnegie Mellon University - * Pittsburgh PA 15213-3890 - * - * any improvements or extensions that they make and grant Carnegie Mellon - * the rights to redistribute these changes. - */ - -/* mbr.c -- DOS Master Boot Record editing code */ - -#ifdef HAVE_MBR - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include "defs.h" -#include "mbr.h" -#include "md.h" -#include "msg_defs.h" -#include "menu_defs.h" -#include "defsizes.h" -#include "endian.h" - -#define NO_BOOTMENU (-0x100) - -#define MAXCYL 1023 /* Possibly 1024 */ -#define MAXHEAD 255 /* Possibly 256 */ -#define MAXSECTOR 63 - - -#define MBR_UNKNOWN_PTYPE 94 /* arbitrary not widely used value */ - - -/* A list of predefined partition types */ -const struct { - unsigned int ptype; - const char *desc; -} mbr_part_types_src[] = { - { .ptype=MBR_PTYPE_NETBSD, .desc="NetBSD" }, - { .ptype=MBR_PTYPE_FAT32L, .desc="Windows FAT32, LBA" }, - { .ptype=MBR_PTYPE_EXT_LBA, .desc="Extended partition, LBA" }, - { .ptype=MBR_PTYPE_386BSD, .desc="FreeBSD/386BSD" }, - { .ptype=MBR_PTYPE_OPENBSD, .desc="OpenBSD" }, - { .ptype=MBR_PTYPE_LNXEXT2, .desc="Linux native" }, - { .ptype=MBR_PTYPE_LNXSWAP, .desc="Linux swap" }, - { .ptype=MBR_PTYPE_NTFSVOL, .desc="NTFS volume set" }, - { .ptype=MBR_PTYPE_NTFS, .desc="NTFS" }, - { .ptype=MBR_PTYPE_PREP, .desc="PReP Boot" }, -#ifdef MBR_PTYPE_SOLARIS - { .ptype=MBR_PTYPE_SOLARIS, .desc="Solaris" }, -#endif - { .ptype=MBR_PTYPE_FAT12, .desc="DOS FAT12" }, - { .ptype=MBR_PTYPE_FAT16S, .desc="DOS FAT16, <32M" }, - { .ptype=MBR_PTYPE_FAT16B, .desc="DOS FAT16, >32M" }, - { .ptype=MBR_PTYPE_FAT16L, .desc="Windows FAT16, LBA" }, - { .ptype=MBR_PTYPE_FAT32, .desc="Windows FAT32" }, - { .ptype=MBR_PTYPE_EFI, .desc="(U)EFI system partition" }, -}; - -/* bookeeping of available partition types (including custom ones) */ -struct mbr_part_type_info { - struct part_type_desc gen; /* generic description */ - char desc_buf[40], short_buf[10]; - size_t next_ptype; /* user interface order */ -}; - -const struct disk_partitioning_scheme mbr_parts; -struct mbr_disk_partitions { - struct disk_partitions dp, *dlabel; - mbr_info_t mbr; - uint ptn_alignment, ptn_0_offset, ext_ptn_alignment, - geo_sec, geo_head, geo_cyl, target; -}; - -const struct disk_partitioning_scheme mbr_parts; - -static size_t known_part_types = 0, last_added_part_type = 0; -static const size_t first_part_type = MBR_PTYPE_NETBSD; - -/* all partition types (we are lucky, only a fixed number is possible) */ -struct mbr_part_type_info mbr_gen_type_desc[256]; - -extern const struct disk_partitioning_scheme disklabel_parts; - -static void convert_mbr_chs(int, int, int, uint8_t *, uint8_t *, - uint8_t *, uint32_t); - -static part_id mbr_add_part(struct disk_partitions *arg, - const struct disk_part_info *info, const char **errmsg); - -static size_t mbr_get_free_spaces(const struct disk_partitions *arg, - struct disk_part_free_space *result, size_t max_num_result, - daddr_t min_size, daddr_t align, daddr_t lower_bound, daddr_t ignore); - -static size_t mbr_type_from_gen_desc(const struct part_type_desc *desc); - -/* - * Notes on the extended partition editor. - * - * The extended partition structure is actually a singly linked list. - * Each of the 'mbr' sectors can only contain 2 items, the first describes - * a user partition (relative to that mbr sector), the second describes - * the following partition (relative to the start of the extended partition). - * - * The 'start' sector for the user partition is always the size of one - * track - very often 63. The extended partitions themselves should - * always start on a cylinder boundary using the BIOS geometry - often - * 16065 sectors per cylinder. - * - * The disk is also always described in increasing sector order. - * - * During editing we keep the mbr sectors accurate (it might have been - * easier to use absolute sector numbers though), and keep a copy of the - * entire sector - to preserve any information any other OS has tried - * to squirrel away in the (apparently) unused space. - * - * Typical disk (with some small numbers): - * - * 0 -> a 63 37 dos - * b 100 1000 extended LBA (type 15) - * - * 100 -> a 63 37 user - * b 100 200 extended partition (type 5) - * - * 200 -> a 63 37 user - * b 200 300 extended partition (type 5) - * - * 300 -> a 63 37 user - * b 0 0 0 (end of chain) - * - */ - -#ifndef debug_extended -#define dump_mbr(mbr, msg) -#else -static void -dump_mbr(mbr_info_t *m, const char *label) -{ - int i; - uint ext_base = 0; - - fprintf(stderr, "\n%s: bsec %d\n", label, bsec); - do { - fprintf(stderr, "%p: %12u %p\n", - m, m->sector, m->extended); - for (i = 0; i < MBR_PART_COUNT; i++) { - fprintf(stderr, " %*d %12u %12u %12" PRIu64, - 10, - m->mbr.mbr_parts[i].mbrp_type, - m->mbr.mbr_parts[i].mbrp_start, - m->mbr.mbr_parts[i].mbrp_size, - (uint64_t)m->mbr.mbr_parts[i].mbrp_start + - (uint64_t)m->mbr.mbr_parts[i].mbrp_size); - if (m->sector == 0 && - MBR_IS_EXTENDED(m->mbr.mbr_parts[i].mbrp_type)) - ext_base = m->mbr.mbr_parts[i].mbrp_start; - if (m->sector > 0 && - m->mbr.mbr_parts[i].mbrp_size > 0) { - uint off = MBR_IS_EXTENDED( - m->mbr.mbr_parts[i].mbrp_type) - ? ext_base : m->sector; - fprintf(stderr, " -> [%u .. %u]", - m->mbr.mbr_parts[i].mbrp_start + off, - m->mbr.mbr_parts[i].mbrp_size + - m->mbr.mbr_parts[i].mbrp_start + off); - } - fprintf(stderr, ",\n"); - if (m->sector > 0 && i >= 1) - break; - } - } while ((m = m->extended)); -} -#endif - -/* - * Like pread, but handles re-blocking for non 512 byte sector disks - */ -static ssize_t -blockread(int fd, size_t secsize, void *buf, size_t nbytes, off_t offset) -{ - ssize_t nr; - off_t sector = offset / 512; - off_t offs = sector * (off_t)secsize; - off_t mod = offs & (secsize - 1); - off_t rnd = offs & ~(secsize - 1); - char *iobuf; - - assert(nbytes <= 512); - - if (secsize == 512) - return pread(fd, buf, nbytes, offset); - - iobuf = malloc(secsize); - if (iobuf == NULL) - return -1; - nr = pread(fd, iobuf, secsize, rnd); - if (nr == (off_t)secsize) - memcpy(buf, &iobuf[mod], nbytes); - free(iobuf); - - return nr == (off_t)secsize ? (off_t)nbytes : -1; -} - -/* - * Same for pwrite - */ -static ssize_t -blockwrite(int fd, size_t secsize, const void *buf, size_t nbytes, - off_t offset) -{ - ssize_t nr; - off_t sector = offset / secsize; - off_t offs = sector * (off_t)secsize; - off_t mod = offs & (secsize - 1); - off_t rnd = offs & ~(secsize - 1); - char *iobuf; - - assert(nbytes <= 512); - - if (secsize == 512) - return pwrite(fd, buf, nbytes, offset); - - iobuf = malloc(secsize); - if (iobuf == NULL) - return -1; - nr = pread(fd, iobuf, secsize, rnd); - if (nr == (off_t)secsize) { - memcpy(&iobuf[mod], buf, nbytes); - nr = pwrite(fd, iobuf, secsize, rnd); - } - free(iobuf); - - return nr == (off_t)secsize ? (off_t)nbytes : -1; -} - -static void -free_last_mounted(mbr_info_t *m) -{ - size_t i; - - for (i = 0; i < MBR_PART_COUNT; i++) - free(__UNCONST(m->last_mounted[i])); -} - -static void -free_mbr_info(mbr_info_t *m) -{ - if (m == NULL) - return; - free_last_mounted(m); - free(m); -} - -/* - * To be used only on ports which cannot provide any bios geometry - */ -int -set_bios_geom_with_mbr_guess(struct disk_partitions *parts) -{ - int cyl, head, sec; - - msg_fmt_display(MSG_nobiosgeom, "%d%d%d", - pm->dlcyl, pm->dlsec, pm->dlhead); - if (guess_biosgeom_from_parts(parts, &cyl, &head, &sec) >= 0) - msg_fmt_display_add(MSG_biosguess, "%d%d%d", cyl, head, sec); - set_bios_geom(parts, &cyl, &head, &sec); - if (parts->pscheme->change_disk_geom) - parts->pscheme->change_disk_geom(parts, cyl, head, sec); - - return edit_outer_parts(parts); -} - -static void -mbr_init_chs(struct mbr_disk_partitions *parts, int ncyl, int nhead, int nsec) -{ - if (ncyl > MAXCYL) - ncyl = MAXCYL; - pm->current_cylsize = nhead*nsec; - pm->max_chs = (unsigned long)ncyl*nhead*nsec; - parts->geo_sec = nsec; - parts->geo_head = nhead; - parts->geo_cyl = ncyl; -} - -/* - * get C/H/S geometry from user via menu interface and - * store in globals. - */ -void -set_bios_geom(struct disk_partitions *parts, int *cyl, int *head, int *sec) -{ - char res[80]; - int bsec, bhead, bcyl; - daddr_t s; - - if (parts->pscheme->change_disk_geom == NULL) - return; - - msg_display_add(MSG_setbiosgeom); - - do { - snprintf(res, 80, "%d", *sec); - msg_prompt_add(MSG_sectors, res, res, 80); - bsec = atoi(res); - } while (bsec <= 0 || bsec > MAXSECTOR); - - do { - snprintf(res, 80, "%d", *head); - msg_prompt_add(MSG_heads, res, res, 80); - bhead = atoi(res); - } while (bhead <= 0 || bhead > MAXHEAD); - s = min(pm->dlsize, mbr_parts.size_limit); - bcyl = s / bsec / bhead; - if (s != bcyl * bsec * bhead) - bcyl++; - if (bcyl > MAXCYL) - bcyl = MAXCYL; - pm->max_chs = (unsigned long)bcyl * bhead * bsec; - pm->current_cylsize = bhead * bsec; - parts->pscheme->change_disk_geom(parts, bcyl, bhead, bsec); - *cyl = bcyl; - *head = bhead; - *sec = bsec; -} - -static int -find_mbr_space(const struct mbr_info_t *mbrs, uint *start, uint *size, - uint from, uint end_of_disk, uint ignore_at, bool primary_only) -{ - uint sz; - int i, j; - uint s, e; - const mbr_info_t *m, *me; - bool is_extended; - - check_again: - m = mbrs; - sz = end_of_disk-from; - if (from >= end_of_disk) - return -1; - - for (i = 0; i < MBR_PART_COUNT; i++) { - if (m->mbr.mbr_parts[i].mbrp_type == MBR_PTYPE_UNUSED) - continue; - - is_extended = MBR_IS_EXTENDED( - m->mbr.mbr_parts[i].mbrp_type); - - s = m->mbr.mbr_parts[i].mbrp_start + m->sector; - if (s == ignore_at) - continue; - e = s + m->mbr.mbr_parts[i].mbrp_size; - if (s <= from && e > from - && (!is_extended || primary_only)) { - if (e - 1 >= end_of_disk) - break; - if (e >= UINT_MAX) { - sz = 0; - break; - } - from = e + 1; - goto check_again; - } - if (s <= from && e > from && is_extended) { - /* - * if we start in the extended partition, - * we must end before its end - */ - sz = e - from; - } - if (s > from && s - from < sz) - sz = s - from; - - if (is_extended) { - for (me = m->extended; me != NULL; me = me->extended) { - for (j = 0; j < MBR_PART_COUNT; j++) { - if (me->mbr.mbr_parts[j].mbrp_type == - MBR_PTYPE_UNUSED) - continue; - - is_extended = MBR_IS_EXTENDED( - me->mbr.mbr_parts[j].mbrp_type); - - if (is_extended && i > 0) - break; - - s = me->mbr.mbr_parts[j].mbrp_start + - me->sector; - if (s == ignore_at) - continue; - e = s + me->mbr.mbr_parts[j].mbrp_size; - if (me->sector != 0 && me->sector< s) - /* - * can not allow to overwrite - * the ext mbr - */ - s = me->sector; - if (s <= from && e > from) { - if (e - 1 >= end_of_disk) - break; - from = e + 1; - goto check_again; - } - if (s > from && s - from < sz) - sz = s - from; - - } - } - } - } - - if (sz == 0) - return -1; - if (start != NULL) - *start = from; - if (size != NULL) - *size = sz; - return 0; -} - -#ifdef BOOTSEL -static int -validate_and_set_names(mbr_info_t *mbri, const struct mbr_bootsel *src, - uint32_t ext_base) -{ - size_t i, l; - const unsigned char *p; - - /* - * The 16 bit magic used to detect whether mbr_bootsel is valid - * or not is pretty week - collisions have been seen in the wild; - * but maybe it is just foreign tools corruption reminiscents - * of NetBSD MBRs. Anyway, before accepting a boot menu definition, - * make sure it is kinda "sane". - */ - - for (i = 0; i < MBR_PART_COUNT; i++) { - /* - * Make sure the name does not contain control chars - * (not using iscntrl due to minimalistic locale support - * in miniroot environments) and is properly 0-terminated. - */ - for (l = 0, p = (const unsigned char *)&src->mbrbs_nametab[i]; - *p != 0; l++, p++) { - if (l > MBR_BS_PARTNAMESIZE) - return 0; - if (*p < ' ') /* hacky 'iscntrl' */ - return 0; - } - } - - memcpy(&mbri->mbrb, src, sizeof(*src)); - - if (ext_base == 0) - return mbri->mbrb.mbrbs_defkey - SCAN_1; - return 0; -} -#endif - -static int -valid_mbr(struct mbr_sector *mbrs) -{ - - return (le16toh(mbrs->mbr_magic) == MBR_MAGIC); -} - -static int -read_mbr(const char *disk, size_t secsize, mbr_info_t *mbri, - struct mbr_disk_partitions *parts) -{ - struct mbr_partition *mbrp; - struct mbr_sector *mbrs = &mbri->mbr; - mbr_info_t *ext = NULL; - char diskpath[MAXPATHLEN]; - int fd, i; - uint32_t ext_base = 0, next_ext = 0; - int rval = -1; -#ifdef BOOTSEL - mbr_info_t *ombri = mbri; - int bootkey = 0; -#endif - - memset(mbri, 0, sizeof *mbri); - - /* Open the disk. */ - fd = opendisk(disk, O_RDONLY, diskpath, sizeof(diskpath), 0); - if (fd < 0) - goto bad_mbr; - - for (;;) { - if (blockread(fd, secsize, mbrs, sizeof *mbrs, - (ext_base + next_ext) * (off_t)MBR_SECSIZE) - - sizeof *mbrs != 0) - break; - - if (!valid_mbr(mbrs)) - break; - - mbrp = &mbrs->mbr_parts[0]; - if (ext_base != 0) { - /* sanity check extended chain */ - if (MBR_IS_EXTENDED(mbrp[0].mbrp_type)) - break; - if (mbrp[1].mbrp_type != MBR_PTYPE_UNUSED && - !MBR_IS_EXTENDED(mbrp[1].mbrp_type)) - break; - if (mbrp[2].mbrp_type != MBR_PTYPE_UNUSED - || mbrp[3].mbrp_type != MBR_PTYPE_UNUSED) - break; - /* Looks ok, link into extended chain */ - mbri->extended = ext; - ext->extended = NULL; - mbri = ext; - ext = NULL; - } -#if BOOTSEL - if (mbrs->mbr_bootsel_magic == htole16(MBR_MAGIC)) { - /* old bootsel, grab bootsel info */ - bootkey = validate_and_set_names(mbri, - (struct mbr_bootsel *) - ((uint8_t *)mbrs + MBR_BS_OLD_OFFSET), - ext_base); - } else if (mbrs->mbr_bootsel_magic == htole16(MBR_BS_MAGIC)) { - /* new location */ - bootkey = validate_and_set_names(mbri, - &mbrs->mbr_bootsel, ext_base); - } - /* Save original flags for mbr code update tests */ - mbri->oflags = mbri->mbrb.mbrbs_flags; -#endif - mbri->sector = next_ext + ext_base; - next_ext = 0; - rval = 0; - for (i = 0; i < MBR_PART_COUNT; mbrp++, i++) { - if (mbrp->mbrp_type == MBR_PTYPE_UNUSED) { - /* type is unused, discard scum */ - memset(mbrp, 0, sizeof *mbrp); - continue; - } - mbrp->mbrp_start = le32toh(mbrp->mbrp_start); - mbrp->mbrp_size = le32toh(mbrp->mbrp_size); - if (MBR_IS_EXTENDED(mbrp->mbrp_type)) { - next_ext = mbrp->mbrp_start; - } else { - uint flags = 0; - if (mbrp->mbrp_type == MBR_PTYPE_NETBSD) { - flags |= GLM_LIKELY_FFS; - if (parts->target == ~0U) - parts->target = - mbri->sector + - mbrp->mbrp_start; - } else if (mbrp->mbrp_type == MBR_PTYPE_FAT12 || - mbrp->mbrp_type == MBR_PTYPE_FAT16S || - mbrp->mbrp_type == MBR_PTYPE_FAT16B || - mbrp->mbrp_type == MBR_PTYPE_FAT32 || - mbrp->mbrp_type == MBR_PTYPE_FAT32L || - mbrp->mbrp_type == MBR_PTYPE_FAT16L || - mbrp->mbrp_type == MBR_PTYPE_EFI) - flags |= GLM_MAYBE_FAT32; - else if (mbrp->mbrp_type == MBR_PTYPE_NTFS) - flags |= GLM_MAYBE_NTFS; - if (flags != 0) { - const char *mount = get_last_mounted( - fd, mbri->sector + mbrp->mbrp_start, - &mbri->fs_type[i], - &mbri->fs_sub_type[i], - flags); - char *p = strdup(mount); - canonicalize_last_mounted(p); - mbri->last_mounted[i] = p; - } - } -#if BOOTSEL - if (mbri->mbrb.mbrbs_nametab[i][0] != 0 - && bootkey-- == 0) - ombri->bootsec = mbri->sector + - mbrp->mbrp_start; -#endif - } - - if (next_ext == 0 || ext_base + next_ext <= mbri->sector) - break; - if (ext_base == 0) { - ext_base = next_ext; - next_ext = 0; - } - ext = calloc(1, sizeof *ext); - if (!ext) - break; - mbrs = &ext->mbr; - } - - bad_mbr: - free_mbr_info(ext); - if (fd >= 0) - close(fd); - if (rval == -1) { - memset(&mbrs->mbr_parts, 0, sizeof mbrs->mbr_parts); - mbrs->mbr_magic = htole16(MBR_MAGIC); - } - dump_mbr(ombri, "read"); - return rval; -} - -static int -write_mbr(const char *disk, size_t secsize, mbr_info_t *mbri, int bsec, - int bhead, int bcyl) -{ - char diskpath[MAXPATHLEN]; - int fd, i, ret = 0, bits = 0; - struct mbr_partition *mbrp; - u_int32_t pstart, psize; -#ifdef BOOTSEL - struct mbr_sector *mbrs; -#endif - struct mbr_sector mbrsec; - mbr_info_t *ext; - uint sector; - - dump_mbr(mbri, "write"); - - /* Open the disk. */ - fd = opendisk(disk, secsize == 512 ? O_WRONLY : O_RDWR, - diskpath, sizeof(diskpath), 0); - if (fd < 0) - return -1; - - /* Remove all wedges */ - if (ioctl(fd, DIOCRMWEDGES, &bits) == -1) - return -1; - -#ifdef BOOTSEL - /* - * If the main boot code (appears to) contain the netbsd bootcode, - * copy in all the menu strings and set the default keycode - * to be that for the default partition. - * Unfortunately we can't rely on the user having actually updated - * to the new mbr code :-( - */ - if (mbri->mbr.mbr_bootsel_magic == htole16(MBR_BS_MAGIC) - || mbri->mbr.mbr_bootsel_magic == htole16(MBR_MAGIC)) { - int8_t key = SCAN_1; - uint offset = MBR_BS_OFFSET; - if (mbri->mbr.mbr_bootsel_magic == htole16(MBR_MAGIC)) - offset = MBR_BS_OLD_OFFSET; - mbri->mbrb.mbrbs_defkey = SCAN_ENTER; - if (mbri->mbrb.mbrbs_timeo == 0) - mbri->mbrb.mbrbs_timeo = 182; /* 10 seconds */ - for (ext = mbri; ext != NULL; ext = ext->extended) { - mbrs = &ext->mbr; - mbrp = &mbrs->mbr_parts[0]; - /* Ensure marker is set in each sector */ - mbrs->mbr_bootsel_magic = mbri->mbr.mbr_bootsel_magic; - /* and copy in bootsel parameters */ - *(struct mbr_bootsel *)((uint8_t *)mbrs + offset) = - ext->mbrb; - for (i = 0; i < MBR_PART_COUNT; i++) { - if (ext->mbrb.mbrbs_nametab[i][0] == 0) - continue; - if (ext->sector + mbrp->mbrp_start == - mbri->bootsec) - mbri->mbrb.mbrbs_defkey = key; - key++; - } - } - /* copy main data (again) since we've put the 'key' in */ - *(struct mbr_bootsel *)((uint8_t *)&mbri->mbr + offset) = - mbri->mbrb; - } -#endif - - for (ext = mbri; ext != NULL; ext = ext->extended) { - memset(mbri->wedge, 0, sizeof mbri->wedge); - sector = ext->sector; - mbrsec = ext->mbr; /* copy sector */ - mbrp = &mbrsec.mbr_parts[0]; - - if (sector != 0 && ext->extended != NULL - && ext->extended->mbr.mbr_parts[0].mbrp_type - == MBR_PTYPE_UNUSED) { - - /* - * This should never happen nowadays, old code - * inserted empty ext sectors in the chain to - * help the gui out - we do not do that anymore. - */ - assert(false); - - /* We are followed by an empty slot, collapse out */ - ext = ext->extended; - /* Make us describe the next non-empty partition */ - mbrp[1] = ext->mbr.mbr_parts[1]; - } - - for (i = 0; i < MBR_PART_COUNT; i++) { - if (mbrp[i].mbrp_start == 0 && mbrp[i].mbrp_size == 0) { - mbrp[i].mbrp_scyl = 0; - mbrp[i].mbrp_shd = 0; - mbrp[i].mbrp_ssect = 0; - mbrp[i].mbrp_ecyl = 0; - mbrp[i].mbrp_ehd = 0; - mbrp[i].mbrp_esect = 0; - continue; - } - pstart = mbrp[i].mbrp_start; - psize = mbrp[i].mbrp_size; - mbrp[i].mbrp_start = htole32(pstart); - mbrp[i].mbrp_size = htole32(psize); - if (bsec && bcyl && bhead) { - convert_mbr_chs(bcyl, bhead, bsec, - &mbrp[i].mbrp_scyl, &mbrp[i].mbrp_shd, - &mbrp[i].mbrp_ssect, pstart); - convert_mbr_chs(bcyl, bhead, bsec, - &mbrp[i].mbrp_ecyl, &mbrp[i].mbrp_ehd, - &mbrp[i].mbrp_esect, pstart + psize - 1); - } - } - - mbrsec.mbr_magic = htole16(MBR_MAGIC); - if (blockwrite(fd, secsize, &mbrsec, sizeof mbrsec, - sector * (off_t)MBR_SECSIZE) < 0) { - ret = -1; - break; - } - } - - (void)close(fd); - return ret; -} - -static void -convert_mbr_chs(int cyl, int head, int sec, - uint8_t *cylp, uint8_t *headp, uint8_t *secp, - uint32_t relsecs) -{ - unsigned int tcyl, temp, thead, tsec; - - temp = head * sec; - tcyl = relsecs / temp; - relsecs -= tcyl * temp; - - thead = relsecs / sec; - tsec = relsecs - thead * sec + 1; - - if (tcyl > MAXCYL) - tcyl = MAXCYL; - - *cylp = MBR_PUT_LSCYL(tcyl); - *headp = thead; - *secp = MBR_PUT_MSCYLANDSEC(tcyl, tsec); -} - -/* - * This function is ONLY to be used as a last resort to provide a - * hint for the user. Ports should provide a more reliable way - * of getting the BIOS geometry. The i386 code, for example, - * uses the BIOS geometry as passed on from the bootblocks, - * and only uses this as a hint to the user when that information - * is not present, or a match could not be made with a NetBSD - * device. - */ -int -guess_biosgeom_from_parts(struct disk_partitions *parts, - int *cyl, int *head, int *sec) -{ - - /* - * The physical parameters may be invalid as bios geometry. - * If we cannot determine the actual bios geometry, we are - * better off picking a likely 'faked' geometry than leaving - * the invalid physical one. - */ - - int xcylinders = pm->dlcyl; - int xheads = pm->dlhead; - daddr_t xsectors = pm->dlsec; - daddr_t xsize = min(pm->dlsize, mbr_parts.size_limit); - if (xcylinders > MAXCYL || xheads > MAXHEAD || xsectors > MAXSECTOR) { - xsectors = MAXSECTOR; - xheads = MAXHEAD; - xcylinders = xsize / (MAXSECTOR * MAXHEAD); - if (xcylinders > MAXCYL) - xcylinders = MAXCYL; - } - *cyl = xcylinders; - *head = xheads; - *sec = xsectors; - - if (parts->pscheme->guess_disk_geom == NULL) - return -1; - - return parts->pscheme->guess_disk_geom(parts, cyl, head, sec); -} - -static int -mbr_comp_part_entry(const void *a, const void *b) -{ - const struct mbr_partition *part_a = a, - *part_b = b; - - if (part_a->mbrp_type == MBR_PTYPE_UNUSED - && part_b->mbrp_type != MBR_PTYPE_UNUSED) - return 1; - - if (part_b->mbrp_type == MBR_PTYPE_UNUSED - && part_a->mbrp_type != MBR_PTYPE_UNUSED) - return -1; - - return part_a->mbrp_start < part_b->mbrp_start ? -1 : 1; -} - -static void -mbr_sort_main_mbr(struct mbr_sector *m) -{ - qsort(&m->mbr_parts[0], MBR_PART_COUNT, - sizeof(m->mbr_parts[0]), mbr_comp_part_entry); -} - -static void -mbr_init_default_alignments(struct mbr_disk_partitions *parts, uint track) -{ - if (track == 0) - track = 16065; - - assert(parts->dp.disk_size > 0); - if (parts->dp.disk_size < 0) - return; - - parts->ptn_0_offset = parts->geo_sec; - - /* Use 1MB offset/alignment for large (>128GB) disks */ - if (parts->dp.disk_size > HUGE_DISK_SIZE) { - parts->ptn_alignment = 2048; - } else if (parts->dp.disk_size > TINY_DISK_SIZE) { - parts->ptn_alignment = 64; - } else { - parts->ptn_alignment = 1; - } - parts->ext_ptn_alignment = track; -} - -static struct disk_partitions * -mbr_create_new(const char *disk, daddr_t start, daddr_t len, - bool is_boot_drive, struct disk_partitions *parent) -{ - struct mbr_disk_partitions *parts; - struct disk_geom geo; - - assert(start == 0); - if (start != 0) - return NULL; - - parts = calloc(1, sizeof(*parts)); - if (!parts) - return NULL; - - parts->dp.pscheme = &mbr_parts; - parts->dp.disk = strdup(disk); - if (len > mbr_parts.size_limit) - len = mbr_parts.size_limit; - parts->dp.disk_start = start; - parts->dp.disk_size = len; - parts->dp.free_space = len-1; - parts->dp.bytes_per_sector = 512; - parts->geo_sec = MAXSECTOR; - parts->geo_head = MAXHEAD; - parts->geo_cyl = len/MAXHEAD/MAXSECTOR+1; - parts->target = ~0U; - - if (get_disk_geom(disk, &geo)) { - parts->geo_sec = geo.dg_nsectors; - parts->geo_head = geo.dg_ntracks; - parts->geo_cyl = geo.dg_ncylinders; - parts->dp.bytes_per_sector = geo.dg_secsize; - } - - mbr_init_default_alignments(parts, 0); - - return &parts->dp; -} - -static void -mbr_calc_free_space(struct mbr_disk_partitions *parts) -{ - size_t i; - mbr_info_t *m; - - parts->dp.free_space = parts->dp.disk_size - 1; - parts->dp.num_part = 0; - m = &parts->mbr; - do { - for (i = 0; i < MBR_PART_COUNT; i++) { - if (m->mbr.mbr_parts[i].mbrp_type == MBR_PTYPE_UNUSED) - continue; - - if (m != &parts->mbr && i > 0 && - MBR_IS_EXTENDED(m->mbr.mbr_parts[i].mbrp_type)) - break; - - parts->dp.num_part++; - if (MBR_IS_EXTENDED(m->mbr.mbr_parts[i].mbrp_type)) - continue; - - daddr_t psize = m->mbr.mbr_parts[i].mbrp_size; - if (m != &parts->mbr) - psize += m->mbr.mbr_parts[i].mbrp_start; - - if (psize > parts->dp.free_space) - parts->dp.free_space = 0; - else - parts->dp.free_space -= psize; - } - } while ((m = m->extended)); -} - -static struct disk_partitions * -mbr_read_from_disk(const char *disk, daddr_t start, daddr_t len, size_t bps, - const struct disk_partitioning_scheme *scheme) -{ - struct mbr_disk_partitions *parts; - - assert(start == 0); - if (start != 0) - return NULL; - - parts = calloc(1, sizeof(*parts)); - if (!parts) - return NULL; - - parts->dp.pscheme = scheme; - parts->dp.disk = strdup(disk); - if (len >= mbr_parts.size_limit) - len = mbr_parts.size_limit; - parts->dp.disk_start = start; - parts->dp.disk_size = len; - parts->geo_sec = MAXSECTOR; - parts->geo_head = MAXHEAD; - parts->geo_cyl = len/MAXHEAD/MAXSECTOR+1; - parts->dp.bytes_per_sector = bps; - parts->target = ~0U; - mbr_init_default_alignments(parts, 0); - if (read_mbr(disk, parts->dp.bytes_per_sector, &parts->mbr, parts) - == -1) { - free(parts); - return NULL; - } - mbr_calc_free_space(parts); - if (parts->dp.num_part == 1 && - parts->dp.free_space < parts->ptn_alignment) { - struct disk_part_info info; - - /* - * Check if this is a GPT protective MBR - */ - if (parts->dp.pscheme->get_part_info(&parts->dp, 0, &info) - && info.nat_type != NULL - && mbr_type_from_gen_desc(info.nat_type) == 0xEE) { - parts->dp.pscheme->free(&parts->dp); - return NULL; - } - } - - return &parts->dp; -} - -static bool -mbr_write_to_disk(struct disk_partitions *new_state) -{ - struct mbr_disk_partitions *parts = - (struct mbr_disk_partitions *)new_state; - unsigned long bsec, bhead, bcyl; - daddr_t t; - - assert(parts->geo_sec != 0); - if (parts->geo_sec != 0) { - bsec = parts->geo_sec; - bhead = parts->ext_ptn_alignment / bsec; - } else { - bsec = MAXSECTOR; - bhead = MAXHEAD; - } - t = bsec * bhead; - assert(t != 0); - if ((daddr_t)(1UL<<10) * t <= parts->dp.disk_size) - bcyl = (1UL<<10) - 1; - else - bcyl = (unsigned long)(parts->dp.disk_size / t); - - return write_mbr(parts->dp.disk, parts->dp.bytes_per_sector, - &parts->mbr, bsec, bhead, bcyl) == 0; -} - -static bool -mbr_change_disk_geom(struct disk_partitions *arg, int ncyl, int nhead, - int nsec) -{ - struct mbr_disk_partitions *parts = (struct mbr_disk_partitions *)arg; - daddr_t ptn_0_base, ptn_0_limit; - struct disk_part_info info; - - /* Default to using 'traditional' cylinder alignment */ - mbr_init_chs(parts, ncyl, nhead, nsec); - mbr_init_default_alignments(parts, nhead * nsec); - - if (parts->dp.disk_size <= TINY_DISK_SIZE) { - set_default_sizemult(arg->disk, - parts->dp.bytes_per_sector, parts->dp.bytes_per_sector); - return true; - } - - if (parts->dp.num_part > 0 && - parts->dp.pscheme->get_part_info(arg, 0, &info)) { - - /* Try to copy offset of first partition */ - ptn_0_base = info.start; - ptn_0_limit = info.start + info.size; - if (!(ptn_0_limit & 2047)) { - /* Partition ends on a 1MB boundary, align to 1MB */ - parts->ptn_alignment = 2048; - if ((ptn_0_base <= 2048 - && !(ptn_0_base & (ptn_0_base - 1))) - || (ptn_0_base < parts->ptn_0_offset)) { - /* - * If ptn_base is a power of 2, use it. - * Also use it if the first partition - * already is close to the beginning - * of the disk and we can't enforce - * better alignment. - */ - parts->ptn_0_offset = ptn_0_base; - } - } - } - set_default_sizemult(arg->disk, MEG, parts->dp.bytes_per_sector); - return true; -} - -static size_t -mbr_type_from_gen_desc(const struct part_type_desc *desc) -{ - for (size_t i = 0; i < __arraycount(mbr_gen_type_desc); i++) - if (&mbr_gen_type_desc[i].gen == desc) - return i; - - return SIZE_MAX; -} - -static enum part_type -mbr_map_part_type(unsigned int t) -{ - /* Map some special MBR partition types */ - switch (t) { - case MBR_PTYPE_FAT32: - case MBR_PTYPE_FAT32L: - case MBR_PTYPE_FAT16S: - case MBR_PTYPE_FAT16B: - case MBR_PTYPE_FAT16L: - case MBR_PTYPE_FAT12: - case MBR_PTYPE_FT_FAT32: - case MBR_PTYPE_FT_FAT32_EXT: - return PT_FAT; - case MBR_PTYPE_EFI: - return PT_EFI_SYSTEM; - case MBR_PTYPE_LNXEXT2: - return PT_EXT2; - case MBR_PTYPE_NETBSD: - return PT_root; - } - - return PT_unknown; -} - -static void -map_mbr_part_types(void) -{ - - for (size_t i = 0; i < __arraycount(mbr_part_types_src); i++) { - unsigned int v = mbr_part_types_src[i].ptype; - - snprintf(mbr_gen_type_desc[v].short_buf, - sizeof(mbr_gen_type_desc[v].short_buf), "%u", v); - mbr_gen_type_desc[v].gen.short_desc = - mbr_gen_type_desc[v].short_buf; - mbr_gen_type_desc[v].gen.description = - mbr_part_types_src[i].desc; - mbr_gen_type_desc[v].gen.generic_ptype = mbr_map_part_type(v); - mbr_gen_type_desc[v].next_ptype = ~0U; - mbr_gen_type_desc[last_added_part_type].next_ptype = v; - known_part_types++; - last_added_part_type = v; - } -} - -static size_t -mbr_get_part_type_count(void) -{ - if (known_part_types == 0) - map_mbr_part_types(); - - return known_part_types; -} - -static const struct part_type_desc * -mbr_get_fs_part_type(enum part_type pt, unsigned fs_type, unsigned sub_type) -{ - if (known_part_types == 0) - map_mbr_part_types(); - - switch (fs_type) { - case FS_BSDFFS: - return &mbr_gen_type_desc[MBR_PTYPE_NETBSD].gen; - case FS_EX2FS: - return &mbr_gen_type_desc[MBR_PTYPE_LNXEXT2].gen; - case FS_MSDOS: - if (sub_type == 0) - sub_type = MBR_PTYPE_FAT32L; - - switch (sub_type) { - case MBR_PTYPE_FAT12: - case MBR_PTYPE_FAT16S: - case MBR_PTYPE_FAT16B: - case MBR_PTYPE_FAT32: - case MBR_PTYPE_FAT32L: - case MBR_PTYPE_FAT16L: - return &mbr_gen_type_desc[sub_type].gen; - } - break; - case FS_EFI_SP: - return &mbr_gen_type_desc[MBR_PTYPE_EFI].gen; - } - - return NULL; -} - -static const struct part_type_desc * -mbr_get_part_type(size_t index) -{ - size_t i, no; - - if (known_part_types == 0) - map_mbr_part_types(); - - if (index >= known_part_types) - return NULL; - - for (i = first_part_type, no = 0; i < __arraycount(mbr_gen_type_desc) - && no != index; no++) - i = mbr_gen_type_desc[i].next_ptype; - - if (i >= __arraycount(mbr_gen_type_desc)) - return NULL; - return &mbr_gen_type_desc[i].gen; -} - -static const struct part_type_desc * -mbr_new_custom_part_type(unsigned int v) -{ - snprintf(mbr_gen_type_desc[v].short_buf, - sizeof(mbr_gen_type_desc[v].short_buf), "%u", v); - snprintf(mbr_gen_type_desc[v].desc_buf, - sizeof(mbr_gen_type_desc[v].desc_buf), "%s (%u)", - msg_string(MSG_custom_type), v); - mbr_gen_type_desc[v].gen.short_desc = mbr_gen_type_desc[v].short_buf; - mbr_gen_type_desc[v].gen.description = mbr_gen_type_desc[v].desc_buf; - mbr_gen_type_desc[v].gen.generic_ptype = mbr_map_part_type(v); - mbr_gen_type_desc[v].next_ptype = ~0U; - mbr_gen_type_desc[last_added_part_type].next_ptype = v; - known_part_types++; - last_added_part_type = v; - - return &mbr_gen_type_desc[v].gen; -} - -static const struct part_type_desc * -mbr_custom_part_type(const char *custom, const char **err_msg) -{ - unsigned long v; - char *endp; - - if (known_part_types == 0) - map_mbr_part_types(); - - v = strtoul(custom, &endp, 10); - if (v > 255 || (v == 0 && *endp != 0)) { - if (err_msg != NULL) - *err_msg = msg_string(MSG_mbr_type_invalid); - return NULL; - } - - if (mbr_gen_type_desc[v].gen.short_desc != NULL) - return &mbr_gen_type_desc[v].gen; - - return mbr_new_custom_part_type(v); -} - -static const struct part_type_desc * -mbr_create_unknown_part_type(void) -{ - - if (mbr_gen_type_desc[MBR_UNKNOWN_PTYPE].gen.short_desc != NULL) - return &mbr_gen_type_desc[MBR_UNKNOWN_PTYPE].gen; - - return mbr_new_custom_part_type(MBR_UNKNOWN_PTYPE); -} - -static const struct part_type_desc * -mbr_get_gen_type_desc(unsigned int pt) -{ - - if (known_part_types == 0) - map_mbr_part_types(); - - if (pt >= __arraycount(mbr_gen_type_desc)) - return NULL; - - if (mbr_gen_type_desc[pt].gen.short_desc != NULL) - return &mbr_gen_type_desc[pt].gen; - - return mbr_new_custom_part_type(pt); -} - -static const struct part_type_desc * -mbr_get_generic_part_type(enum part_type pt) -{ - switch (pt) { - case PT_root: - return mbr_get_gen_type_desc(MBR_PTYPE_NETBSD); - case PT_FAT: - return mbr_get_gen_type_desc(MBR_PTYPE_FAT32L); - case PT_EXT2: - return mbr_get_gen_type_desc(MBR_PTYPE_LNXEXT2); - case PT_EFI_SYSTEM: - return mbr_get_gen_type_desc(MBR_PTYPE_EFI); - default: - break; - } - assert(false); - return NULL; -} - -static void -mbr_partition_to_info(const struct mbr_partition *mp, daddr_t start_off, - struct disk_part_info *info) -{ - memset(info, 0, sizeof(*info)); - info->start = mp->mbrp_start + start_off; - info->size = mp->mbrp_size; - info->nat_type = mbr_get_gen_type_desc(mp->mbrp_type); - if (mp->mbrp_type == MBR_PTYPE_NETBSD) { - info->flags |= PTI_SEC_CONTAINER; - } else if (MBR_IS_EXTENDED(mp->mbrp_type)) - info->flags |= PTI_PSCHEME_INTERNAL; -} - -static bool -mbr_part_apply(const struct disk_partitions *arg, part_id id, - bool (*func)(const struct disk_partitions *arg, part_id id, - const mbr_info_t *mb, int i, bool primary, - const struct mbr_partition *mp, void *), - void *cookie) -{ - const struct mbr_disk_partitions *parts = - (const struct mbr_disk_partitions*)arg; - part_id i, j, no; - const mbr_info_t *m = &parts->mbr, *me; - - no = 0; - for (i = 0; i < MBR_PART_COUNT; i++) { - if (m->mbr.mbr_parts[i].mbrp_type == MBR_PTYPE_UNUSED) - continue; - - if (no == id) { - return func(arg, id, m, i, true, - &m->mbr.mbr_parts[i], cookie); - } - no++; - - if (MBR_IS_EXTENDED(m->mbr.mbr_parts[i].mbrp_type)) { - for (me = m->extended; me != NULL; me = me->extended) { - for (j = 0; j < MBR_PART_COUNT; j++) { - if (me->mbr.mbr_parts[j].mbrp_type == - MBR_PTYPE_UNUSED) - continue; - if (j > 0 && MBR_IS_EXTENDED( - me->mbr.mbr_parts[j].mbrp_type)) - break; - if (no == id) { - return func(arg, id, me, j, - false, - &me->mbr.mbr_parts[j], - cookie); - } - no++; - } - } - } - } - - - return false; -} - -static bool -mbr_do_get_part_info(const struct disk_partitions *arg, part_id id, - const mbr_info_t *mb, int i, bool primary, - const struct mbr_partition *mp, void *cookie) -{ - struct disk_part_info *info = cookie; - const struct mbr_disk_partitions *parts = - (const struct mbr_disk_partitions*)arg; - - mbr_partition_to_info(mp, mb->sector, info); - if (mp->mbrp_start + mb->sector == parts->target) - info->flags |= PTI_INSTALL_TARGET; - if (mb->last_mounted[i] != NULL && mb->last_mounted[i][0] != 0) - info->last_mounted = mb->last_mounted[i]; - if (mb->fs_type[i] != FS_UNUSED) { - info->fs_type = mb->fs_type[i]; - info->fs_sub_type = mb->fs_sub_type[i]; - } else { - info->fs_sub_type = 0; - switch (mp->mbrp_type) { - case MBR_PTYPE_FAT12: - case MBR_PTYPE_FAT16S: - case MBR_PTYPE_FAT16B: - case MBR_PTYPE_FAT32: - case MBR_PTYPE_FAT32L: - case MBR_PTYPE_FAT16L: - case MBR_PTYPE_OS2_DOS12: - case MBR_PTYPE_OS2_DOS16S: - case MBR_PTYPE_OS2_DOS16B: - case MBR_PTYPE_HID_FAT32: - case MBR_PTYPE_HID_FAT32_LBA: - case MBR_PTYPE_HID_FAT16_LBA: - case MBR_PTYPE_MDOS_FAT12: - case MBR_PTYPE_MDOS_FAT16S: - case MBR_PTYPE_MDOS_EXT: - case MBR_PTYPE_MDOS_FAT16B: - case MBR_PTYPE_SPEEDSTOR_16S: - case MBR_PTYPE_EFI: - info->fs_type = FS_MSDOS; - info->fs_sub_type = mp->mbrp_type; - break; - case MBR_PTYPE_LNXEXT2: - info->fs_type = FS_EX2FS; - break; - case MBR_PTYPE_XENIX_ROOT: - case MBR_PTYPE_XENIX_USR: - info->fs_type = FS_SYSV; - break; - case MBR_PTYPE_NTFS: - info->fs_type = FS_NTFS; - break; - case MBR_PTYPE_APPLE_HFS: - info->fs_type = FS_HFS; - break; - case MBR_PTYPE_VMWARE: - info->fs_type = FS_VMFS; - break; - case MBR_PTYPE_AST_SWAP: - case MBR_PTYPE_DRDOS_LSWAP: - case MBR_PTYPE_LNXSWAP: - case MBR_PTYPE_BSDI_SWAP: - case MBR_PTYPE_HID_LNX_SWAP: - case MBR_PTYPE_VMWARE_SWAP: - info->fs_type = FS_SWAP; - break; - } - } - return true; -} - -static bool -get_wedge_devname(const struct disk_partitions *arg, part_id id, - const mbr_info_t *mb, int i, bool primary, - const struct mbr_partition *mp, void *cookie) -{ - char **res = cookie; - - if (!res) - return false; - - *res = __UNCONST(mb->wedge[i]); - return true; -} - -static bool -mbr_part_get_wedge(const struct disk_partitions *arg, part_id id, - char **res) -{ - return mbr_part_apply(arg, id, get_wedge_devname, res); -} - -static bool -mbr_get_part_info(const struct disk_partitions *arg, part_id id, - struct disk_part_info *info) -{ - return mbr_part_apply(arg, id, mbr_do_get_part_info, info); -} - -static bool -type_can_change(const struct disk_partitions *arg, part_id id, - const mbr_info_t *mb, int i, bool primary, - const struct mbr_partition *mp, void *cookie) -{ - /* - * The extended partition can only change type or be - * deleted if it is empty - */ - if (!MBR_IS_EXTENDED(mp->mbrp_type)) - return true; - return primary && mb->extended == NULL; -} - -static bool -mbr_part_type_can_change(const struct disk_partitions *arg, part_id id) -{ - return mbr_part_apply(arg, id, type_can_change, NULL); -} - -struct part_get_str_data { - char *str; - size_t avail_space; - size_t col; -}; - - -static bool -mbr_get_part_table_str(const struct disk_partitions *arg, part_id id, - const mbr_info_t *mb, int i, bool primary, - const struct mbr_partition *mp, void *cookie) -{ - struct part_get_str_data *data = cookie; - char *str = data->str; - const struct part_type_desc *ptype; - - switch (data->col) { - case 0: - ptype = mbr_get_gen_type_desc(mp->mbrp_type); - if (ptype != NULL) - strncpy(str, ptype->description, data->avail_space); - else - snprintf(str, data->avail_space, "%u", mp->mbrp_type); - str[data->avail_space-1] = 0; - break; - case 1: - if (mb->last_mounted[i]) - strlcpy(str, mb->last_mounted[i], data->avail_space); - else - *str = 0; - break; -#ifdef BOOTSEL - case 2: - if (mb->mbrb.mbrbs_nametab[i][0] != 0) - strlcpy(str, mb->mbrb.mbrbs_nametab[i], - data->avail_space); - else - *str = 0; - break; -#endif - } - - return true; -} - -static bool -mbr_table_str(const struct disk_partitions *arg, part_id id, size_t col, - char *str, size_t avail_space) -{ - struct part_get_str_data data; - - data.str = str; - data.avail_space = avail_space; - data.col = col; - return mbr_part_apply(arg, id, mbr_get_part_table_str, &data); -} - -static bool -mbr_get_part_attr_str(const struct disk_partitions *arg, part_id id, - const mbr_info_t *mb, int i, bool primary, - const struct mbr_partition *mp, void *cookie) -{ -#ifdef BOOTSEL - const struct mbr_disk_partitions *parts = - (const struct mbr_disk_partitions*)arg; -#endif - struct part_get_str_data *data = cookie; - static const char *flags = NULL; - char *str = data->str; - - if (flags == NULL) - flags = msg_string(MSG_mbr_flags); - - if (mp->mbrp_flag & MBR_PFLAG_ACTIVE) - *str++ = flags[0]; -#ifdef BOOTSEL - if (parts->mbr.bootsec == mb->sector+mp->mbrp_start) - *str++ = flags[1]; -#endif - *str = 0; - return true; -} - -static bool -mbr_part_attr_str(const struct disk_partitions *arg, part_id id, - char *str, size_t avail_space) -{ - struct part_get_str_data data; - - if (avail_space < 3) - return false; - - data.str = str; - data.avail_space = avail_space; - return mbr_part_apply(arg, id, mbr_get_part_attr_str, &data); -} - -static bool -mbr_info_to_partition(const struct disk_part_info *info, - struct mbr_partition *mp, uint sector, - struct mbr_info_t *mb, size_t index, const char **err_msg) -{ - size_t pt = mbr_type_from_gen_desc(info->nat_type); - if (info->start + info->size > UINT_MAX - || pt > __arraycount(mbr_gen_type_desc)) { - if (err_msg) - *err_msg = err_outofmem; - return false; - } - mp->mbrp_start = info->start - sector; - mp->mbrp_size = info->size; - mp->mbrp_type = pt; - if (info->flags & PTI_INSTALL_TARGET) { - mp->mbrp_flag |= MBR_PFLAG_ACTIVE; -#ifdef BOOTSEL - strcpy(mb->mbrb.mbrbs_nametab[index], "NetBSD"); -#endif - } - - return true; -} - -static bool -inside_ext_part(mbr_info_t *m, daddr_t start) -{ - size_t i; - struct mbr_partition *mp = NULL; - - for (i = 0; i < MBR_PART_COUNT; i++) { - if (!MBR_IS_EXTENDED(m->mbr.mbr_parts[i].mbrp_type)) - continue; - mp = &m->mbr.mbr_parts[i]; - break; - } - - if (mp == NULL) { - assert(false); - return false; - } - - if (mp->mbrp_start > start) - return false; - - return true; -} - -static void -adjust_ext_part(mbr_info_t *m, daddr_t start, daddr_t size) -{ - size_t i; - struct mbr_partition *mp = NULL; - - for (i = 0; i < MBR_PART_COUNT; i++) { - if (!MBR_IS_EXTENDED(m->mbr.mbr_parts[i].mbrp_type)) - continue; - mp = &m->mbr.mbr_parts[i]; - break; - } - - if (mp == NULL) { - assert(false); - return; - } - - if (mp->mbrp_start + mp->mbrp_size >= start + size) - return; - - daddr_t new_end = start + size; - mp->mbrp_size = new_end - mp->mbrp_start; -} - -static bool -ext_part_good(mbr_info_t *m, daddr_t ext_start, daddr_t ext_size) -{ - for (m = m->extended; m != NULL; m = m->extended) { - for (size_t i = 0; i < MBR_PART_COUNT; i++) { - if (m->mbr.mbr_parts[i].mbrp_type == MBR_PTYPE_UNUSED) - continue; - - if (i > 0 && - MBR_IS_EXTENDED(m->mbr.mbr_parts[i].mbrp_type)) - break; - - daddr_t pstart = m->mbr.mbr_parts[i].mbrp_start + - m->sector; - daddr_t pend = pstart + m->mbr.mbr_parts[i].mbrp_size; - - if (pstart < ext_start || pend > ext_start+ext_size) - return false; - } - } - - return true; -} - -static bool -mbr_set_part_info(struct disk_partitions *arg, part_id id, - const struct disk_part_info *info, const char **err_msg) -{ - struct mbr_disk_partitions *parts = - (struct mbr_disk_partitions*)arg; - struct disk_part_info data = *info; - part_id i, j, no, ext_ndx, t; - mbr_info_t *m = &parts->mbr, *me; - uint pt = mbr_type_from_gen_desc(info->nat_type); - - if (MBR_IS_EXTENDED(pt)) { - /* check for duplicate ext part */ - no = 0; - t = ext_ndx = MBR_PART_COUNT; - for (i = 0; i < MBR_PART_COUNT; i++) { - if (m->mbr.mbr_parts[i].mbrp_type == MBR_PTYPE_UNUSED) - continue; - if (MBR_IS_EXTENDED(m->mbr.mbr_parts[i].mbrp_type)) - ext_ndx = i; - if (no == id) - t = i; - no++; - } - if (ext_ndx < MBR_PART_COUNT && t != ext_ndx) { - if (err_msg) - *err_msg = - msg_string(MSG_Only_one_extended_ptn); - return false; - } - /* this partition becomes an extended one, apply alignment */ - data.start = max(roundup(data.start, parts->ext_ptn_alignment), - parts->ext_ptn_alignment); - } - - no = 0; - for (i = 0; i < MBR_PART_COUNT; i++) { - if (m->mbr.mbr_parts[i].mbrp_type == MBR_PTYPE_UNUSED) - continue; - - if (no == id) - goto found; - no++; - - if (MBR_IS_EXTENDED(m->mbr.mbr_parts[i].mbrp_type)) { - for (me = m->extended; me != NULL; me = me->extended) { - for (j = 0; j < MBR_PART_COUNT; j++) { - if (me->mbr.mbr_parts[j].mbrp_type == - MBR_PTYPE_UNUSED) - continue; - if (j > 0 && MBR_IS_EXTENDED( - me->mbr.mbr_parts[j].mbrp_type)) - break; - if (no == id) { - i = j; - m = me; - goto found; - } - no++; - } - } - } - } - - if (err_msg) - *err_msg = INTERNAL_ERROR; - return false; - -found: - /* - * We assume that m is the mbr we want to update and - * i is the local partition index into it. - */ - if (m == &parts->mbr) { - if (MBR_IS_EXTENDED( - m->mbr.mbr_parts[i].mbrp_type) && - !ext_part_good(&parts->mbr, data.start, data.size)) { - if (err_msg) - *err_msg = - MSG_mbr_ext_nofit; - return false; - } - } else if (!inside_ext_part(&parts->mbr, data.start)) { - if (err_msg) - *err_msg = msg_string(MSG_mbr_inside_ext); - return false; - } - uint start = data.start, size = data.size; - uint oldstart = m->mbr.mbr_parts[i].mbrp_start + m->sector; - if (parts->ptn_0_offset > 0 && - start < parts->ptn_0_offset) - start = parts->ptn_0_offset; - if (find_mbr_space(m, &start, &size, start, parts->dp.disk_size, - oldstart, false) < 0) { - if (err_msg != NULL) - *err_msg = INTERNAL_ERROR; - return false; - } - data.start = start; - if (size < data.size) - data.size = size; - uint old_start = m->mbr.mbr_parts[i].mbrp_start; - if (!mbr_info_to_partition(&data, - &m->mbr.mbr_parts[i], m->sector, m, i, err_msg)) - return false; - if (data.flags & PTI_INSTALL_TARGET) - parts->target = start; - else if (old_start == parts->target) - parts->target = -1; - if (data.last_mounted && m->last_mounted[i] && - data.last_mounted != m->last_mounted[i]) { - free(__UNCONST(m->last_mounted[i])); - m->last_mounted[i] = strdup(data.last_mounted); - } - if (data.fs_type != 0) - m->fs_type[i] = data.fs_type; - if (data.fs_sub_type != 0) - m->fs_sub_type[i] = data.fs_sub_type; - - if (m == &parts->mbr) { - if (m->mbr.mbr_parts[i].mbrp_start != - old_start) - mbr_sort_main_mbr(&m->mbr); - } else { - adjust_ext_part(&parts->mbr, - data.start, data.size); - } - mbr_calc_free_space(parts); - return true; -} - -static bool -mbr_find_netbsd(const struct mbr_info_t *m, uint start, - struct disk_part_info *info) -{ - size_t i; - bool prim = true; - - do { - for (i = 0; i < MBR_PART_COUNT; i++) { - if (m->mbr.mbr_parts[i].mbrp_type == MBR_PTYPE_UNUSED) - continue; - - if (!prim && i > 0 && - MBR_IS_EXTENDED(m->mbr.mbr_parts[i].mbrp_type)) - break; - - const struct mbr_partition *mp = &m->mbr.mbr_parts[i]; - if (mp->mbrp_type != MBR_PTYPE_NETBSD) - continue; - - mbr_partition_to_info(mp, m->sector, info); - if (m->last_mounted[i] && *m->last_mounted[i] != 0) - info->last_mounted = - m->last_mounted[i]; - info->fs_type = m->fs_type[i]; - info->fs_sub_type = m->fs_sub_type[i]; - if (start > 0 && start != info->start) - continue; - return true; - } - prim = false; - } while ((m = m->extended)); - - return false; -} - -static struct disk_partitions * -mbr_read_disklabel(struct disk_partitions *arg, daddr_t start, bool force_empty) -{ - struct mbr_disk_partitions *myparts = - (struct mbr_disk_partitions*)arg; - struct disk_part_info part; - struct disk_part_free_space space; - - if (force_empty && myparts->dlabel) - myparts->dlabel->pscheme->delete_all_partitions( - myparts->dlabel); - - if (myparts->dlabel == NULL) { - /* - * Find the NetBSD MBR partition - */ - if (!mbr_find_netbsd(&myparts->mbr, start, &part)) { - if (!force_empty) - return NULL; - - /* add a "whole disk" NetBSD partition */ - memset(&part, 0, sizeof part); - part.start = min(myparts->ptn_0_offset,start); - if (!mbr_get_free_spaces(arg, &space, 1, - part.start, myparts->ptn_alignment, -1, -1)) - return NULL; - part.start = space.start; - part.size = space.size; - part.nat_type = &mbr_gen_type_desc[MBR_PTYPE_NETBSD].gen; - mbr_add_part(arg, &part, NULL); - if (!mbr_find_netbsd(&myparts->mbr, start, &part)) - return NULL; - } - - if (!force_empty) { - myparts->dlabel = disklabel_parts.read_from_disk( - myparts->dp.disk, part.start, part.size, - myparts->dp.bytes_per_sector, &disklabel_parts); - if (myparts->dlabel != NULL) - myparts->dlabel->parent = &myparts->dp; - } - - if (myparts->dlabel == NULL && part.size > 0) { - /* we just created the outer partitions? */ - myparts->dlabel = - disklabel_parts.create_new_for_disk( - myparts->dp.disk, part.start, part.size, - false, &myparts->dp); - } - - if (myparts->dlabel != NULL) - myparts->dlabel->pscheme->change_disk_geom( - myparts->dlabel, myparts->geo_cyl, - myparts->geo_head, myparts->geo_sec); - } - return myparts->dlabel; -} - -static int -get_mapping(struct mbr_partition *parts, int i, - int *cylinder, int *head, int *sector, daddr_t *absolute) -{ - struct mbr_partition *apart = &parts[i / 2]; - - if (apart->mbrp_type == MBR_PTYPE_UNUSED) - return -1; - if (i % 2 == 0) { - *cylinder = MBR_PCYL(apart->mbrp_scyl, apart->mbrp_ssect); - *head = apart->mbrp_shd; - *sector = MBR_PSECT(apart->mbrp_ssect) - 1; - *absolute = le32toh(apart->mbrp_start); - } else { - *cylinder = MBR_PCYL(apart->mbrp_ecyl, apart->mbrp_esect); - *head = apart->mbrp_ehd; - *sector = MBR_PSECT(apart->mbrp_esect) - 1; - *absolute = le32toh(apart->mbrp_start) - + le32toh(apart->mbrp_size) - 1; - } - /* Sanity check the data against max values */ - if ((((*cylinder * MAXHEAD) + *head) * (uint32_t)MAXSECTOR + *sector) < *absolute) - /* cannot be a CHS mapping */ - return -1; - - return 0; -} - -static bool -mbr_delete_all(struct disk_partitions *arg) -{ - struct mbr_disk_partitions *myparts = (struct mbr_disk_partitions*)arg; - struct mbr_sector *mbrs = &myparts->mbr.mbr; - struct mbr_info_t *mbri = &myparts->mbr; - mbr_info_t *ext; - struct mbr_partition *part; - - part = &mbrs->mbr_parts[0]; - /* Set the partition information for full disk usage. */ - while ((ext = mbri->extended)) { - mbri->extended = ext->extended; - free_mbr_info(ext); - } - memset(part, 0, MBR_PART_COUNT * sizeof *part); -#ifdef BOOTSEL - memset(&mbri->mbrb, 0, sizeof mbri->mbrb); -#endif - - /* - * We may have changed alignment settings due to partitions - * ending on an MB boundary - undo that, now that the partitions - * are gone. - */ - mbr_change_disk_geom(arg, myparts->geo_cyl, myparts->geo_head, - myparts->geo_sec); - - return true; -} - -/* - * helper function to fix up mbrp_start and mbrp_size for the - * extended MBRs "partition b" entries after addition/deletion - * of some partition. - */ -static void -mbr_fixup_ext_chain(mbr_info_t *primary, uint ext_start, uint ext_end) -{ - for (mbr_info_t *m = primary->extended; m != NULL; m = m->extended) { - if (m->extended == NULL) { - m->mbr.mbr_parts[1].mbrp_type = MBR_PTYPE_UNUSED; - m->mbr.mbr_parts[1].mbrp_start = 0; - m->mbr.mbr_parts[1].mbrp_size = 0; - } else { - uint n_end, n_start = m->extended->sector; - if (m->extended->extended) - n_end = m->extended->extended->sector; - else - n_end = ext_end; - m->mbr.mbr_parts[1].mbrp_type = MBR_PTYPE_EXT; - m->mbr.mbr_parts[1].mbrp_start = n_start - ext_start; - m->mbr.mbr_parts[1].mbrp_size = n_end - n_start; - } - } -} - -struct delete_part_args { - struct mbr_disk_partitions *parts; - daddr_t start, size; - const char **err_msg; -}; - -static bool -mbr_do_delete_part(const struct disk_partitions *arg, part_id id, - const mbr_info_t *mb, int i, bool primary, - const struct mbr_partition *mp, void *cookie) -{ - struct delete_part_args *marg = cookie; - bool is_ext_part = MBR_IS_EXTENDED(mp->mbrp_type); - - /* can not delete non-empty extended partitions */ - if (MBR_IS_EXTENDED(mp->mbrp_type) - && marg->parts->mbr.extended != NULL) { - if (marg->err_msg) - *marg->err_msg = msg_string(MSG_mbr_ext_not_empty); - return false; - } - - /* return position/size to caller */ - marg->start = mb->sector + mp->mbrp_start; - marg->size = mp->mbrp_size; - - if (primary) { - /* if deleting the primary extended partition, just kill it */ - struct mbr_partition *md = &marg->parts->mbr.mbr.mbr_parts[i]; - md->mbrp_size = 0; - md->mbrp_start = 0; - md->mbrp_type = MBR_PTYPE_UNUSED; - if (marg->parts->mbr.last_mounted[i]) { - free(__UNCONST(marg->parts->mbr.last_mounted[i])); - marg->parts->mbr.last_mounted[i] = NULL; - } - if (is_ext_part) { - for (mbr_info_t *m = marg->parts->mbr.extended; - m != NULL; ) { - mbr_info_t *n = m->extended; - free_mbr_info(m); - m = n; - } - marg->parts->mbr.extended = NULL; - } - } else { - /* find the size of the primary extended partition */ - uint ext_start = 0, ext_size = 0; - for (i = 0; i < MBR_PART_COUNT; i++) { - if (!MBR_IS_EXTENDED(marg->parts->mbr.mbr.mbr_parts[i] - .mbrp_type)) - continue; - ext_start = marg->parts->mbr.mbr.mbr_parts[i] - .mbrp_start; - ext_size = marg->parts->mbr.mbr.mbr_parts[i] - .mbrp_size; - break; - } - - /* - * If we are in an extended partition chain, unlink this MBR, - * unless it is the very first one at the start of the extended - * partition (we would have no previous ext mbr to fix up - * the chain in that case) - */ - if (marg->parts->mbr.extended == mb) { - struct mbr_partition *part = - &marg->parts->mbr.extended->mbr.mbr_parts[0]; - part->mbrp_type = MBR_PTYPE_UNUSED; - part->mbrp_start = 0; - part->mbrp_size = 0; - } else { - mbr_info_t *p, *last; - for (last = NULL, p = &marg->parts->mbr; p != NULL; - last = p, p = p->extended) - if (p == mb) - break; - if (last == NULL) { - if (marg->err_msg != NULL) - *marg->err_msg= INTERNAL_ERROR; - return false; - } - last->extended = p->extended; - free_mbr_info(p); - if (last == &marg->parts->mbr && last->extended && - last->extended->extended == NULL && - last->extended->mbr.mbr_parts[0].mbrp_type == - MBR_PTYPE_UNUSED) { - /* - * we deleted the last extended sector, - * remove the whole chain - */ - free_mbr_info(last->extended); - last->extended = NULL; - } - } - mbr_fixup_ext_chain(&marg->parts->mbr, ext_start, - ext_start+ext_size); - } - mbr_calc_free_space(marg->parts); - return true; -} - -static bool -mbr_delete_part(struct disk_partitions *arg, part_id pno, const char **err_msg) -{ - struct mbr_disk_partitions *parts = - (struct mbr_disk_partitions*)arg; - struct delete_part_args data = { .parts = parts, .err_msg = err_msg }; - - if (!mbr_part_apply(arg, pno, mbr_do_delete_part, &data)) { - if (err_msg) - *err_msg = INTERNAL_ERROR; - return false; - } - - if (parts->target == data.start) - parts->target = ~0U; - - if (parts->dlabel) { - /* - * If we change the mbr partitioning, the we must - * remove any references in the netbsd disklabel - * to the part we changed. - */ - parts->dlabel->pscheme->delete_partitions_in_range( - parts->dlabel, data.start, data.size); - } - - if (err_msg) - *err_msg = NULL; - - dump_mbr(&parts->mbr, "after delete"); - return true; -} - -static struct mbr_partition * -mbr_ptr_from_start(mbr_info_t *m, daddr_t start) -{ - bool primary = true; - - do { - for (uint i = 0; i < MBR_PART_COUNT; i++) { - if (m->mbr.mbr_parts[i].mbrp_type == MBR_PTYPE_UNUSED) - continue; - if (!primary && - MBR_IS_EXTENDED(m->mbr.mbr_parts[i].mbrp_type)) - break; - - daddr_t pstart = m->sector + - m->mbr.mbr_parts[i].mbrp_start; - if (pstart == start) - return &m->mbr.mbr_parts[i]; - - } - primary = false; - } while ((m = m->extended)); - - return NULL; -} - -static uint8_t -mbr_type_from_start(const mbr_info_t *m, daddr_t start) -{ - bool primary = true; - - do { - for (uint i = 0; i < MBR_PART_COUNT; i++) { - if (m->mbr.mbr_parts[i].mbrp_type == MBR_PTYPE_UNUSED) - continue; - if (!primary && - MBR_IS_EXTENDED(m->mbr.mbr_parts[i].mbrp_type)) - break; - - daddr_t pstart = m->sector + - m->mbr.mbr_parts[i].mbrp_start; - if (pstart == start) - return m->mbr.mbr_parts[i].mbrp_type; - - } - primary = false; - } while ((m = m->extended)); - - return MBR_PTYPE_UNUSED; -} - -static part_id -mbr_add_part(struct disk_partitions *arg, - const struct disk_part_info *info, const char **errmsg) -{ - struct mbr_disk_partitions *parts = - (struct mbr_disk_partitions*)arg; - part_id i, j, no, free_primary = UINT_MAX; - mbr_info_t *m = &parts->mbr, *me, *last, *t; - daddr_t ext_start = 0, ext_size = 0; - uint start, size; - struct disk_part_info data = *info; - struct mbr_partition *newp; - - if (errmsg != NULL) - *errmsg = NULL; - - assert(info->nat_type != NULL); - if (info->nat_type == NULL) { - if (errmsg != NULL) - *errmsg = INTERNAL_ERROR; - return NO_PART; - } - if (mbr_type_from_gen_desc(info->nat_type) == MBR_PTYPE_UNUSED) { - if (errmsg != NULL) - *errmsg = INTERNAL_ERROR; - return NO_PART; - } - - /* do we have free primary slots and/or an extended partition? */ - for (i = 0; i < MBR_PART_COUNT; i++) { - if (m->mbr.mbr_parts[i].mbrp_type == MBR_PTYPE_UNUSED - && free_primary > MBR_PART_COUNT) - free_primary = i; - if (MBR_IS_EXTENDED(m->mbr.mbr_parts[i].mbrp_type)) { - ext_start = m->mbr.mbr_parts[i].mbrp_start+m->sector; - ext_size = m->mbr.mbr_parts[i].mbrp_size; - continue; - } - if (m->mbr.mbr_parts[i].mbrp_type == MBR_PTYPE_UNUSED - && m->mbr.mbr_parts[i].mbrp_size == 0) - continue; - } - if (ext_start > 0 && ext_size > 0 && - MBR_IS_EXTENDED(mbr_type_from_gen_desc(info->nat_type))) { - /* - * Do not allow a second extended partition - */ - if (errmsg) - *errmsg = MSG_Only_one_extended_ptn; - return NO_PART; - } - - /* should this go into the extended partition? */ - if (ext_size > 0 && info->start >= ext_start - && info->start < ext_start + ext_size) { - - /* must fit into the extended partition */ - if (info->start + info->size > ext_start + ext_size) { - if (errmsg != NULL) - *errmsg = MSG_mbr_ext_nofit; - return NO_PART; - } - - /* walk the chain until we find a proper insert position */ - daddr_t e_end, e_start; - for (last = m, m = m->extended; m != NULL; - last = m, m = m->extended) { - e_start = m->mbr.mbr_parts[1].mbrp_start - + ext_start; - e_end = e_start + m->mbr.mbr_parts[1].mbrp_size; - if (data.start <= e_start) - break; - } - if (m == NULL) { - /* add new tail record */ - e_end = ext_start + ext_size; - /* new part needs to fit inside primary extended one */ - if (data.start + data.size > e_end) { - if (errmsg) - *errmsg = MSG_No_free_space; - return NO_PART; - } - } else if (data.start + data.size > e_start) { - /* new part needs to fit before next extended */ - if (errmsg) - *errmsg = MSG_No_free_space; - return NO_PART; - } - /* - * now last points to previous mbr (maybe primary), m - * points to the one that should take the new partition - * or we have to insert a new mbr between the two, or - * m needs to be split and we go into the one after it. - */ - if (m && m->mbr.mbr_parts[0].mbrp_type == MBR_PTYPE_UNUSED) { - /* empty slot, we can just use it */ - newp = &m->mbr.mbr_parts[0]; - mbr_info_to_partition(&data, &m->mbr.mbr_parts[0], - m->sector, m, 0, errmsg); - if (data.last_mounted && m->last_mounted[0] && - data.last_mounted != m->last_mounted[0]) { - free(__UNCONST(m->last_mounted[0])); - m->last_mounted[0] = strdup(data.last_mounted); - } - } else { - mbr_info_t *new_mbr; - if (m == NULL) - m = last; - daddr_t p_start = m->mbr.mbr_parts[0].mbrp_start - + m->sector; - daddr_t p_end = p_start - + m->mbr.mbr_parts[0].mbrp_size; - bool before; - if (m == last || data.start > p_end) - before = false; - else if (data.start + data.size < p_start) - before = true; - else { - if (errmsg) - *errmsg = MSG_No_free_space; - return NO_PART; - } - new_mbr = calloc(1, sizeof *new_mbr); - if (!new_mbr) { - if (errmsg) - *errmsg = err_outofmem; - return NO_PART; - } - new_mbr->mbr.mbr_magic = htole16(MBR_MAGIC); - new_mbr->mbr.mbr_parts[1].mbrp_type = MBR_PTYPE_EXT; - if (before) { - /* - * This is a hypthetical case where - * an extended MBR uses an unusual high - * offset (m->sector to parts[0].mbrp_start) - * and we want to go into that space. - * Should not happen in the real world (tm) - * and is untested.... - */ - - /* make sure the aligned new mbr fits */ - uint mbrsec = rounddown(p_start, - parts->ext_ptn_alignment); - if (mbrsec <= data.start + data.size) - data.size = mbrsec-1-data.start; - - /* now the new partition data is ready, - * write out to old position */ - new_mbr->sector = m->sector; - newp = &new_mbr->mbr.mbr_parts[0]; - mbr_info_to_partition(&data, - &new_mbr->mbr.mbr_parts[0], - new_mbr->sector, new_mbr, 0, errmsg); - if (data.last_mounted && m->last_mounted[0] && - data.last_mounted != m->last_mounted[0]) { - free(__UNCONST(m->last_mounted[0])); - m->last_mounted[0] = - strdup(data.last_mounted); - } - new_mbr->extended = m; - } else { - new_mbr->sector = max(roundup(data.start, - parts->ext_ptn_alignment), - parts->ext_ptn_alignment); - uint off = new_mbr->sector - data.start; - data.start += parts->ptn_0_offset+off; - if (data.start + data.size > e_end) - data.size = e_end - data.start; - newp = &new_mbr->mbr.mbr_parts[0]; - mbr_info_to_partition(&data, - &new_mbr->mbr.mbr_parts[0], - new_mbr->sector, new_mbr, 0, errmsg); - if (data.last_mounted && m->last_mounted[0] && - data.last_mounted != m->last_mounted[0]) { - free(__UNCONST(m->last_mounted[0])); - m->last_mounted[0] = - strdup(data.last_mounted); - } - /* - * Special case: if we are creating the - * first extended mbr, but do not start - * at the beginning of the primary - * extended partition, we need to insert - * another extended mbr at the start. - */ - if (m == &parts->mbr && m->extended == NULL - && new_mbr->sector > ext_start) { - t = calloc(1, sizeof *new_mbr); - if (!t) { - free_mbr_info(new_mbr); - if (errmsg) - *errmsg = err_outofmem; - return NO_PART; - } - t->sector = ext_start; - t->mbr.mbr_magic = htole16(MBR_MAGIC); - t->mbr.mbr_parts[1].mbrp_type = - MBR_PTYPE_EXT; - m->extended = t; - m = t; - } - new_mbr->extended = m->extended; - m->extended = new_mbr; - } - } - mbr_fixup_ext_chain(&parts->mbr, ext_start, ext_start+ext_size); - dump_mbr(&parts->mbr, "after adding in extended"); - goto find_rval; - } - - /* this one is for the primary boot block */ - if (free_primary > MBR_PART_COUNT) { - if (errmsg != NULL) - *errmsg = ext_size > 0 ? - MSG_mbr_no_free_primary_have_ext - : MSG_mbr_no_free_primary_no_ext; - return NO_PART; - } - - start = max(info->start, parts->ptn_0_offset); - size = info->size; - if (find_mbr_space(m, &start, &size, start, parts->dp.disk_size, - start, true) < 0 || size < info->size) { - if (errmsg != NULL) - *errmsg = MSG_No_free_space; - return NO_PART; - } - data.start = start; - if (MBR_IS_EXTENDED(mbr_type_from_gen_desc(info->nat_type))) { - data.start = max(roundup(data.start, parts->ext_ptn_alignment), - parts->ext_ptn_alignment); - } - if (data.start + data.size > start + size) - data.size = start + size - data.start; - mbr_info_to_partition(&data, &m->mbr.mbr_parts[free_primary], - m->sector, m, free_primary, errmsg); - if (data.last_mounted && m->last_mounted[free_primary] && - data.last_mounted != m->last_mounted[free_primary]) { - free(__UNCONST(m->last_mounted[free_primary])); - m->last_mounted[free_primary] = strdup(data.last_mounted); - } - start = m->mbr.mbr_parts[free_primary].mbrp_start; - mbr_sort_main_mbr(&m->mbr); - - /* find the partition again after sorting */ - newp = NULL; - for (i = 0; i < MBR_PART_COUNT; i++) { - if (m->mbr.mbr_parts[i].mbrp_type == MBR_PTYPE_UNUSED) - continue; - if (m->mbr.mbr_parts[i].mbrp_start != start) - continue; - newp = &m->mbr.mbr_parts[i]; - break; - } - - dump_mbr(&parts->mbr, "after adding in primary"); - -find_rval: - mbr_calc_free_space(parts); - if (newp == NULL) - return 0; - - /* - * Now newp points to the modified partition entry but we do not know - * a good part_id for it. - * Iterate from start and find it. - */ - no = 0; - for (i = 0; i < MBR_PART_COUNT; i++) { - if (m->mbr.mbr_parts[i].mbrp_type == MBR_PTYPE_UNUSED) - continue; - - if (newp == &m->mbr.mbr_parts[i]) - return no; - no++; - - if (MBR_IS_EXTENDED(m->mbr.mbr_parts[i].mbrp_type)) { - for (me = m->extended; me != NULL; me = me->extended) { - for (j = 0; j < MBR_PART_COUNT; j++) { - if (me->mbr.mbr_parts[j].mbrp_type == - MBR_PTYPE_UNUSED) - continue; - if (j > 0 && MBR_IS_EXTENDED( - me->mbr.mbr_parts[j].mbrp_type)) - break; - if (newp == &me->mbr.mbr_parts[j]) - return no; - no++; - } - } - } - } - return 0; -} - -static int -mbr_guess_geom(struct disk_partitions *arg, int *cyl, int *head, int *sec) -{ - struct mbr_disk_partitions *myparts = (struct mbr_disk_partitions*)arg; - struct mbr_sector *mbrs = &myparts->mbr.mbr; - struct mbr_partition *parts = &mbrs->mbr_parts[0]; - int xcylinders, xheads, i, j; - daddr_t xsectors, xsize; - int c1, h1, s1, c2, h2, s2; - daddr_t a1, a2; - uint64_t num, denom; - - xheads = -1; - - /* Try to deduce the number of heads from two different mappings. */ - for (i = 0; i < MBR_PART_COUNT * 2 - 1; i++) { - if (get_mapping(parts, i, &c1, &h1, &s1, &a1) < 0) - continue; - a1 -= s1; - for (j = i + 1; j < MBR_PART_COUNT * 2; j++) { - if (get_mapping(parts, j, &c2, &h2, &s2, &a2) < 0) - continue; - a2 -= s2; - num = (uint64_t)h1 * a2 - (quad_t)h2 * a1; - denom = (uint64_t)c2 * a1 - (quad_t)c1 * a2; - if (num != 0 && denom != 0 && num % denom == 0) { - xheads = (int)(num / denom); - xsectors = a1 / (c1 * xheads + h1); - break; - } - } - if (xheads != -1) - break; - } - - if (xheads == -1) - return -1; - - /* - * Estimate the number of cylinders. - * XXX relies on get_disks having been called. - */ - xsize = min(pm->dlsize, mbr_parts.size_limit); - xcylinders = xsize / xheads / xsectors; - if (xsize != xcylinders * xheads * xsectors) - xcylinders++; - - /* - * Now verify consistency with each of the partition table entries. - * Be willing to shove cylinders up a little bit to make things work, - * but translation mismatches are fatal. - */ - for (i = 0; i < MBR_PART_COUNT * 2; i++) { - if (get_mapping(parts, i, &c1, &h1, &s1, &a1) < 0) - continue; - if (c1 >= MAXCYL - 1) - /* Ignore anything that is near the CHS limit */ - continue; - if (xsectors * (c1 * xheads + h1) + s1 != a1) - return -1; - } - - /* - * Everything checks out. Reset the geometry to use for further - * calculations. - */ - *cyl = MIN(xcylinders, MAXCYL); - *head = xheads; - *sec = xsectors; - return 0; -} - -static size_t -mbr_get_cylinder(const struct disk_partitions *arg) -{ - const struct mbr_disk_partitions *parts = - (const struct mbr_disk_partitions*)arg; - - return parts->geo_cyl; -} - -static daddr_t -mbr_max_part_size(const struct disk_partitions *arg, daddr_t fp_start) -{ - const struct mbr_disk_partitions *parts = - (const struct mbr_disk_partitions*)arg; - uint start = fp_start, size = 0; - uint8_t pt; - - start = fp_start; - pt = mbr_type_from_start(&parts->mbr, start); - if (find_mbr_space(&parts->mbr, &start, &size, start, - parts->dp.disk_size, start, MBR_IS_EXTENDED(pt)) < 0) - return 0; - - return size; -} - -static size_t -mbr_get_free_spaces(const struct disk_partitions *arg, - struct disk_part_free_space *result, size_t max_num_result, - daddr_t min_size, daddr_t align, daddr_t lower_bound, daddr_t ignore) -{ - const struct mbr_disk_partitions *parts = - (const struct mbr_disk_partitions*)arg; - uint start = 0, size = 0, from, next; - size_t spaces = 0; - - if (min_size < 1) - min_size = 1; - from = parts->ptn_0_offset; - if (lower_bound > from) - from = lower_bound; - for ( ; from < parts->dp.disk_size && spaces < max_num_result; ) { - if (find_mbr_space(&parts->mbr, &start, &size, from, - parts->dp.disk_size, ignore > 0 ? (uint)ignore : UINT_MAX, - false) < 0) - break; - next = start + size + 1; - if (align > 0) { - uint nv = max(roundup(start, align), align); - uint off = nv - start; - start = nv; - if (size > off) - size -= off; - else - size = 0; - } - if (size > min_size) { - result[spaces].start = start; - result[spaces].size = size; - spaces++; - } - if ((daddr_t)start + (daddr_t)size + 1 >= mbr_parts.size_limit) - break; - from = next; - } - - return spaces; -} - -static bool -mbr_can_add_partition(const struct disk_partitions *arg) -{ - const struct mbr_disk_partitions *myparts = - (const struct mbr_disk_partitions*)arg; - struct disk_part_free_space space; - bool free_primary, have_extended; - - if (arg->free_space < myparts->ptn_alignment) - return false; - - if (mbr_get_free_spaces(arg, &space, 1, myparts->ptn_alignment, - myparts->ptn_alignment, 0, -1) < 1) - return false; - - for (int i = 0; i < MBR_PART_COUNT; i++) { - uint8_t t = myparts->mbr.mbr.mbr_parts[i].mbrp_type; - - if (t == MBR_PTYPE_UNUSED && - myparts->mbr.mbr.mbr_parts[i].mbrp_size == 0) - free_primary = true; - - if (MBR_IS_EXTENDED(t)) - have_extended = true; - } - - if (have_extended) - return true; - - return free_primary; -} - -static void -mbr_free_wedge(int *fd, const char *disk, const char *wedge) -{ - struct dkwedge_info dkw; - char diskpath[MAXPATHLEN]; - - if (*fd == -1) - *fd = opendisk(disk, O_RDWR, diskpath, - sizeof(diskpath), 0); - if (*fd != -1) { - memset(&dkw, 0, sizeof(dkw)); - strlcpy(dkw.dkw_devname, wedge, - sizeof(dkw.dkw_devname)); - ioctl(*fd, DIOCDWEDGE, &dkw); - } -} - -static void -mbr_free(struct disk_partitions *arg) -{ - struct mbr_disk_partitions *parts = (struct mbr_disk_partitions*)arg; - mbr_info_t *m; - int i, fd; - - assert(parts != NULL); - - fd = -1; - m = &parts->mbr; - do { - for (i = 0; i < MBR_PART_COUNT; i++) { - if (m->wedge[i][0] != 0) - mbr_free_wedge(&fd, arg->disk, m->wedge[i]); - } - } while ((m = m->extended)); - - if (fd != -1) - close(fd); - - if (parts->dlabel) - parts->dlabel->pscheme->free(parts->dlabel); - - free_mbr_info(parts->mbr.extended); - free_last_mounted(&parts->mbr); - free(__UNCONST(parts->dp.disk)); - free(parts); -} - -static void -mbr_destroy_part_scheme(struct disk_partitions *arg) -{ - struct mbr_disk_partitions *parts = (struct mbr_disk_partitions*)arg; - char diskpath[MAXPATHLEN]; - int fd; - - if (parts->dlabel != NULL) - parts->dlabel->pscheme->destroy_part_scheme(parts->dlabel); - fd = opendisk(arg->disk, O_RDWR, diskpath, sizeof(diskpath), 0); - if (fd != -1) { - char *buf; - - buf = calloc(arg->bytes_per_sector, 1); - if (buf != NULL) { - write(fd, buf, arg->bytes_per_sector); - free(buf); - } - close(fd); - } - mbr_free(arg); -} - -static bool -mbr_verify_for_update(struct disk_partitions *arg) -{ - struct mbr_disk_partitions *parts = - (struct mbr_disk_partitions*)arg; - - return md_mbr_update_check(arg, &parts->mbr); -} - -static int -mbr_verify(struct disk_partitions *arg, bool quiet) -{ - struct mbr_disk_partitions *parts = - (struct mbr_disk_partitions*)arg; - mbr_info_t *m = &parts->mbr; - int i; - bool active_found = false; - - for (i = 0; i < MBR_PART_COUNT; i++) { - if (m->mbr.mbr_parts[i].mbrp_flag & MBR_PFLAG_ACTIVE) { - active_found = true; - break; - } - } - - if (!active_found && pm->ptstart > 0) { - struct mbr_partition *mp = mbr_ptr_from_start(m, pm->ptstart); - - if (mp) { - if (!quiet) - msg_display(MSG_noactivepart); - if (quiet || ask_yesno(MSG_fixactivepart)) { - mp->mbrp_flag |= MBR_PFLAG_ACTIVE; - active_found = true; - } - } - } - if (!active_found && !quiet) { - msg_display(MSG_noactivepart); - i = ask_reedit(arg); - if (i <= 1) - return i; - } - - for (i = 0; i < MBR_PART_COUNT; i++) { - if (m->mbr.mbr_parts[i].mbrp_type != MBR_PTYPE_NETBSD) - continue; - m->mbr.mbr_parts[i].mbrp_flag |= MBR_PFLAG_ACTIVE; - break; - } - - return md_check_mbr(arg, &parts->mbr, quiet); -} - -static bool -mbr_guess_root(const struct disk_partitions *arg, - daddr_t *start, daddr_t *size) -{ - const struct mbr_disk_partitions *parts = - (const struct mbr_disk_partitions*)arg; - const mbr_info_t *m = &parts->mbr; - size_t i, num_found; - bool prim = true; - daddr_t pstart, psize; - - num_found = 0; - do { - for (i = 0; i < MBR_PART_COUNT; i++) { - if (m->mbr.mbr_parts[i].mbrp_type == MBR_PTYPE_UNUSED) - continue; - - if (!prim && i > 0 && - MBR_IS_EXTENDED(m->mbr.mbr_parts[i].mbrp_type)) - break; - - const struct mbr_partition *mp = &m->mbr.mbr_parts[i]; - if (mp->mbrp_type != MBR_PTYPE_NETBSD) - continue; - - if (num_found == 0) { - pstart = m->sector + mp->mbrp_start; - psize = mp->mbrp_size; - } - num_found++; - - if (m->last_mounted[i] != NULL && - strcmp(m->last_mounted[i], "/") == 0) { - *start = pstart; - *size = psize; - return true; - } - } - prim = false; - } while ((m = m->extended)); - - if (num_found == 1) { - *start = pstart; - *size = psize; - return true; - } - - return false; -} - -struct part_attr_fmt_data { - char *str; - size_t avail_space, attr_no; - const struct mbr_disk_partitions *parts; - const struct disk_part_info *info; -}; - -struct part_attr_set_data { - size_t attr_no; - const struct mbr_disk_partitions *parts; - const char *str; - mbr_info_t *mbr; -}; - -static bool -part_attr_format_str(const struct disk_partitions *arg, part_id id, - const mbr_info_t *mb, int i, bool primary, - const struct mbr_partition *mp, void *cookie) -{ - const struct mbr_disk_partitions *parts = - (const struct mbr_disk_partitions*)arg; - struct part_attr_fmt_data *data = cookie; - const char *attrtype = parts->dp.pscheme - ->custom_attributes[data->attr_no].label; - - if (attrtype == MSG_ptn_active) { - strlcpy(data->str, - msg_string(primary && (mp->mbrp_flag & MBR_PFLAG_ACTIVE) ? - MSG_Yes : MSG_No), data->avail_space); - return true; -#if BOOTSEL - } else if (attrtype == MSG_boot_dflt) { - strlcpy(data->str, - msg_string( - (parts->mbr.bootsec == mb->sector+mp->mbrp_start) ? - MSG_Yes : MSG_No), data->avail_space); - return true; - } else if (attrtype == MSG_bootmenu) { - strlcpy(data->str, mb->mbrb.mbrbs_nametab[i], - data->avail_space); -#endif - } - - return false; -} - -static bool -part_attr_set_str(const struct disk_partitions *arg, part_id id, - const mbr_info_t *mb, int i, bool primary, - const struct mbr_partition *mp, void *cookie) -{ - struct part_attr_set_data *data = cookie; - const char *str = data->str; -#ifdef BOOTSEL - const struct mbr_disk_partitions *parts = - (const struct mbr_disk_partitions*)arg; - const char *attrtype = parts->dp.pscheme - ->custom_attributes[data->attr_no].label; - mbr_info_t *m; -#endif - - while (*str == ' ') - str++; - -#if BOOTSEL - if (attrtype == MSG_bootmenu) { - for (m = data->mbr; m != mb; m = m->extended) - ; - strncpy(m->mbrb.mbrbs_nametab[i], str, - sizeof(m->mbrb.mbrbs_nametab[i])); - } -#endif - - return false; -} - -static bool -part_attr_toggle(const struct disk_partitions *arg, part_id id, - const mbr_info_t *mb, int i, bool primary, - const struct mbr_partition *mp, void *cookie) -{ - const struct mbr_disk_partitions *parts = - (const struct mbr_disk_partitions*)arg; - struct part_attr_set_data *data = cookie; - const char *attrtype = parts->dp.pscheme - ->custom_attributes[data->attr_no].label; - int j; - - if (attrtype == MSG_ptn_active) { - if (!primary) - return false; - - data->mbr->mbr.mbr_parts[i].mbrp_flag ^= MBR_PFLAG_ACTIVE; - for (j = 0; j < MBR_PART_COUNT; j++) { - if (j == i) - continue; - data->mbr->mbr.mbr_parts[j].mbrp_flag - &= ~MBR_PFLAG_ACTIVE; - } - return true; -#ifdef BOOTSEL - } else if (attrtype == MSG_boot_dflt) { - if (data->mbr->bootsec == mb->sector+mp->mbrp_start) - data->mbr->bootsec = 0; - else - data->mbr->bootsec = mb->sector+mp->mbrp_start; - return true; -#endif - } - - return false; -} - -static bool -mbr_custom_attribute_format(const struct disk_partitions *arg, - part_id id, size_t attr_no, const struct disk_part_info *info, - char *res, size_t space) -{ - const struct mbr_disk_partitions *parts = - (const struct mbr_disk_partitions*)arg; - struct part_attr_fmt_data data; - - data.str = res; - data.avail_space = space; - data.attr_no = attr_no; - data.parts = parts; - data.info = info; - - return mbr_part_apply(arg, id, part_attr_format_str, &data); -} - -static bool -mbr_custom_attribute_toggle(struct disk_partitions *arg, - part_id id, size_t attr_no) -{ - struct mbr_disk_partitions *parts = - (struct mbr_disk_partitions*)arg; - struct part_attr_set_data data; - - data.attr_no = attr_no; - data.parts = parts; - data.str = NULL; -#ifdef BOOTSEL - data.mbr = &parts->mbr; -#endif - - return mbr_part_apply(arg, id, part_attr_toggle, &data); -} - -static bool -mbr_custom_attribute_set_str(struct disk_partitions *arg, - part_id id, size_t attr_no, const char *new_val) -{ - struct mbr_disk_partitions *parts = - (struct mbr_disk_partitions*)arg; - struct part_attr_set_data data; - - data.attr_no = attr_no; - data.parts = parts; - data.str = new_val; -#ifdef BOOTSEL - data.mbr = &parts->mbr; -#endif - - return mbr_part_apply(arg, id, part_attr_set_str, &data); -} - -static daddr_t -mbr_part_alignment(const struct disk_partitions *arg) -{ - const struct mbr_disk_partitions *parts = - (const struct mbr_disk_partitions*)arg; - - return parts->ptn_alignment; -} - -static bool -add_wedge(const char *disk, daddr_t start, daddr_t size, - char *wname, size_t max_len) -{ - struct dkwedge_info dkw; - char diskpath[MAXPATHLEN]; - int fd; - - memset(&dkw, 0, sizeof(dkw)); - dkw.dkw_offset = start; - dkw.dkw_size = size; - snprintf((char*)dkw.dkw_wname, sizeof dkw.dkw_wname, - "%s_%" PRIi64 "@%" PRIi64, disk, size, start); - - *wname = 0; - - fd = opendisk(disk, O_RDWR, diskpath, sizeof(diskpath), 0); - if (fd < 0) - return false; - if (ioctl(fd, DIOCAWEDGE, &dkw) == -1) { - close(fd); - return false; - } - close(fd); - strlcpy(wname, dkw.dkw_devname, max_len); - return true; -} - -static bool -mbr_get_part_device(const struct disk_partitions *arg, - part_id ptn, char *devname, size_t max_devname_len, int *part, - enum dev_name_usage usage, bool with_path, bool life) -{ - const struct mbr_disk_partitions *parts = - (const struct mbr_disk_partitions*)arg; - struct disk_part_info info, tmp; - part_id dptn; - char *wedge_dev; - - if (!mbr_get_part_info(arg, ptn, &info)) - return false; - - if (!mbr_part_get_wedge(arg, ptn, &wedge_dev) || wedge_dev == NULL) - return false; - - if (wedge_dev[0] == 0) { - /* - * If we have secondary partitions, try to find a match there - * and use that... - */ - if (parts->dlabel != NULL) { - for (dptn = 0; dptn < parts->dlabel->num_part; dptn++) { - if (!parts->dlabel->pscheme->get_part_info( - parts->dlabel, dptn, &tmp)) - continue; - if (tmp.start != info.start || - tmp.size != info.size) - continue; - return parts->dlabel->pscheme->get_part_device( - parts->dlabel, dptn, devname, - max_devname_len, - part, usage, with_path, life); - } - } - - /* - * Configure a new wedge and remember the name - */ - if (!add_wedge(arg->disk, info.start, info.size, wedge_dev, - MBR_DEV_LEN)) - return false; - } - - assert(wedge_dev[0] != 0); - - switch (usage) { - case logical_name: - case plain_name: - if (with_path) - snprintf(devname, max_devname_len, _PATH_DEV "%s", - wedge_dev); - else - strlcpy(devname, wedge_dev, max_devname_len); - return true; - case raw_dev_name: - if (with_path) - snprintf(devname, max_devname_len, _PATH_DEV "r%s", - wedge_dev); - else - snprintf(devname, max_devname_len, "r%s", - wedge_dev); - return true; - default: - return false; - } -} - -static bool -is_custom_attribute_writable(const struct disk_partitions *arg, part_id id, - const mbr_info_t *mb, int i, bool primary, - const struct mbr_partition *mp, void *cookie) -{ - const struct mbr_disk_partitions *parts = - (const struct mbr_disk_partitions*)arg; - struct part_attr_set_data *data = cookie; - const char *attrtype = parts->dp.pscheme - ->custom_attributes[data->attr_no].label; - - if (attrtype == MSG_ptn_active) - /* Only 'normal' partitions can be 'Active' */ - return primary && !MBR_IS_EXTENDED(mp->mbrp_type); -#ifdef BOOTSEL - else if (attrtype == MSG_boot_dflt) - /* Only partitions with bootmenu names can be default */ - return mb->mbrb.mbrbs_nametab[i][0] != 0; - else if (attrtype == MSG_bootmenu) - /* The extended partition isn't bootable */ - return !MBR_IS_EXTENDED(mp->mbrp_type); -#endif - - return false; -} - -static bool -mbr_custom_attribute_writable(const struct disk_partitions *arg, - part_id id, size_t attr_no) -{ - const struct mbr_disk_partitions *parts = - (const struct mbr_disk_partitions*)arg; - struct part_attr_set_data data; - - data.attr_no = attr_no; - data.parts = parts; - data.str = NULL; -#ifdef BOOTSEL - data.mbr = NULL; -#endif - - return mbr_part_apply(arg, id, is_custom_attribute_writable, &data); -} - -const struct disk_part_edit_column_desc mbr_edit_columns[] = { - { .title = MSG_mbr_part_header_1, -#if BOOTSEL - .width = 16U -#else - .width = 26U -#endif - }, - { .title = MSG_mbr_part_header_2, .width = 8U }, -#if BOOTSEL - { .title = MSG_mbr_part_header_3, .width = 9U }, -#endif -}; - -const struct disk_part_custom_attribute mbr_custom_attrs[] = { - { .label = MSG_ptn_active, .type = pet_bool }, -#if BOOTSEL - { .label = MSG_boot_dflt, .type = pet_bool }, - { .label = MSG_bootmenu, .type = pet_str, - .strlen = MBR_BS_PARTNAMESIZE }, -#endif -}; - -const struct disk_partitioning_scheme -mbr_parts = { - .name = MSG_parttype_mbr, - .short_name = MSG_parttype_mbr_short, - .new_type_prompt = MSG_mbr_get_ptn_id, - .part_flag_desc = MSG_mbr_flag_desc, - .size_limit = (daddr_t)UINT32_MAX, - .secondary_scheme = &disklabel_parts, - .edit_columns_count = __arraycount(mbr_edit_columns), - .edit_columns = mbr_edit_columns, - .custom_attribute_count = __arraycount(mbr_custom_attrs), - .custom_attributes = mbr_custom_attrs, - .get_part_alignment = mbr_part_alignment, - .get_part_info = mbr_get_part_info, - .get_part_attr_str = mbr_part_attr_str, - .format_partition_table_str = mbr_table_str, - .part_type_can_change = mbr_part_type_can_change, - .can_add_partition = mbr_can_add_partition, - .custom_attribute_writable = mbr_custom_attribute_writable, - .format_custom_attribute = mbr_custom_attribute_format, - .custom_attribute_toggle = mbr_custom_attribute_toggle, - .custom_attribute_set_str = mbr_custom_attribute_set_str, - .get_part_types_count = mbr_get_part_type_count, - .adapt_foreign_part_info = generic_adapt_foreign_part_info, - .get_part_type = mbr_get_part_type, - .get_fs_part_type = mbr_get_fs_part_type, - .get_generic_part_type = mbr_get_generic_part_type, - .create_custom_part_type = mbr_custom_part_type, - .create_unknown_part_type = mbr_create_unknown_part_type, - .secondary_partitions = mbr_read_disklabel, - .write_to_disk = mbr_write_to_disk, - .read_from_disk = mbr_read_from_disk, - .create_new_for_disk = mbr_create_new, - .guess_disk_geom = mbr_guess_geom, - .get_cylinder_size = mbr_get_cylinder, - .change_disk_geom = mbr_change_disk_geom, - .get_part_device = mbr_get_part_device, - .max_free_space_at = mbr_max_part_size, - .get_free_spaces = mbr_get_free_spaces, - .set_part_info = mbr_set_part_info, - .delete_all_partitions = mbr_delete_all, - .delete_partition = mbr_delete_part, - .add_partition = mbr_add_part, - .guess_install_target = mbr_guess_root, - .post_edit_verify = mbr_verify, - .pre_update_verify = mbr_verify_for_update, - .free = mbr_free, - .destroy_part_scheme = mbr_destroy_part_scheme, -}; - -#endif diff --git a/overlay/usr.sbin/sysinst/mbr.h b/overlay/usr.sbin/sysinst/mbr.h deleted file mode 100644 index f7958379c7..0000000000 --- a/overlay/usr.sbin/sysinst/mbr.h +++ /dev/null @@ -1,139 +0,0 @@ -/* $NetBSD: mbr.h,v 1.6 2020/10/12 16:14:32 martin Exp $ */ - -/* - * Copyright 1997, 1988 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -#ifndef _MBR_H -#define _MBR_H - -/* - * mbr.h -- definitions for reading, writing and editing DOS MBRs. - * Use by including from md.h on ports which use MBRs (i386, powerpc, arc) - * naming convention: dlxxxx => NetBSD disklabel, bxxxx => bios - */ - -/* constants and defines */ - -#include - -/* - * XXX I (dsl) haven't the foggiest idea what the MBR extended chain - * looks like if the sector size isn't 512. - */ -#define MBR_SECSIZE 512 - -#define MBR_PUT_LSCYL(c) ((c) & 0xff) -#define MBR_PUT_MSCYLANDSEC(c,s) (((s) & 0x3f) | (((c) >> 2) & 0xc0)) - -#define MBR_DEV_LEN 16 /* for wedge names */ - -typedef struct mbr_info_t mbr_info_t; -struct mbr_info_t { - struct mbr_sector mbr; -#ifdef BOOTSEL - struct mbr_bootsel mbrb; /* writeable for any mbr code */ - uint oflags; -#endif - uint sector; /* where we read this from */ - mbr_info_t *extended; /* next in extended partition list */ - const char *last_mounted[MBR_PART_COUNT]; - uint fs_type[MBR_PART_COUNT], fs_sub_type[MBR_PART_COUNT]; -#ifdef BOOTSEL - /* only in first item... */ - uint bootsec; /* start sector of bootmenu default */ -#endif - /* for temporary access */ - char wedge[MBR_PART_COUNT][MBR_DEV_LEN]; -}; - -#ifdef BOOTSEL -extern struct mbr_bootsel *mbs; - - /* sync with src/sbin/fdisk/fdisk.c */ -#define DEFAULT_BOOTDIR "/usr/mdec" -#define DEFAULT_BOOTCODE "mbr" -#define DEFAULT_BOOTSELCODE "mbr_bootsel" -#define DEFAULT_BOOTEXTCODE "mbr_ext" - -/* Scan values for the various keys we use, as returned by the BIOS */ -#define SCAN_ENTER 0x1c -#define SCAN_F1 0x3b -#define SCAN_1 0x2 - -#endif /* BOOTSEL */ - -/* from mbr.c */ -void set_fdisk_geom(void); /* edit incore BIOS geometry */ -void disp_cur_geom(void); -int check_geom(void); /* primitive geometry sanity-check */ - -void disp_cur_part(struct mbr_partition *, int, int); -int partsoverlap(struct mbr_partition *, int, int); - -/* from mbr.c */ - -int guess_biosgeom_from_parts(struct disk_partitions*, int *, int *, int *); -/* same return values as edit_outer_parts() */ -int set_bios_geom_with_mbr_guess(struct disk_partitions*); -void set_bios_geom(struct disk_partitions *, int *cyl, int *head, int *sec); -int otherpart(int); -int ourpart(int); -void edit_ptn_bounds(void); -#ifdef BOOTSEL -void disp_bootsel(void); -void edit_bootsel_entry(int); -void edit_bootsel_timeout(void); -void edit_bootsel_default_ptn(int); -void edit_bootsel_default_disk(int); -void configure_bootsel(void); -#endif - -/* - * MBR specific: check if the chosen partitioning will work - * and perform any MD queries/fixup. - * With quiet = true, try to avoid user interaction and - * never return 1. - * - * Return value: - * 0 -> abort - * 1 -> re-edit - * 2 -> continue installation -*/ -int md_check_mbr(struct disk_partitions*, mbr_info_t*, bool quiet); - -/* - * Called early during updates (before md_pre_update), - * returns true if partitions have been modified. - */ -bool md_mbr_update_check(struct disk_partitions*, mbr_info_t*); - -#endif diff --git a/overlay/usr.sbin/sysinst/menus.entropy b/overlay/usr.sbin/sysinst/menus.entropy deleted file mode 100644 index 25c78a3aa7..0000000000 --- a/overlay/usr.sbin/sysinst/menus.entropy +++ /dev/null @@ -1,133 +0,0 @@ -/* $NetBSD: menus.entropy,v 1.3 2023/12/17 18:46:42 martin Exp $ */ - -/*- - * Copyright (c) 2003 The NetBSD Foundation, Inc. - * All rights reserved. - * - * This code is derived from software contributed to The NetBSD Foundation - * by David Laight. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ - -/* Menu system definitions -- entropy setup */ - -/* arg is an int*, returning a magic value for the selected menu option */ -menu not_enough_entropy, title MSG_not_enough_entropy, y=-1, no box, clear, - exit, exitstring MSG_continue_without_entropy; - option MSG_entropy_add_manually, exit, - action { *((int*)arg) = 1; }; - option MSG_entropy_download_seed, exit, - action { *((int*)arg) = 2; }; - option MSG_entropy_download_raw, exit, - action { *((int*)arg) = 3; }; - option MSG_entropy_retry, exit, - action { *((int*)arg) = 4; }; - - -/* arg is an int*, returning a magic value for the selected menu option */ -menu entropy_select_file, title MSG_entropy_select_file, y=-5, box, - exit, exitstring MSG_cancel; - option MSG_entropy_add_download_http, exit, - action { *((int*)arg) = 1; }; - option MSG_entropy_add_download_ftp, exit, - action { *((int*)arg) = 2; }; - option MSG_entropy_add_nfs, exit, - action { *((int*)arg) = 3; }; - option MSG_entropy_add_local, exit, - action { *((int*)arg) = 4; }; - - -/* arg is an int*, set to SET_RETRY when the menu is aborted */ -menu entropy_nfssource, y=-5, x=0, w=70, no box, no clear, - exitstring MSG_load_entropy; - option {src_legend(menu, MSG_Host, nfs_host);}, - action { src_prompt(MSG_Host, nfs_host, sizeof nfs_host); }; - option {src_legend(menu, MSG_Base_dir, nfs_dir);}, - action { src_prompt(MSG_Base_dir, nfs_dir, sizeof nfs_dir); }; - option {src_legend(menu, MSG_entropy_file, entropy_file);}, - action { src_prompt(MSG_set_entropy_file, entropy_file, sizeof entropy_file); }; - option MSG_cancel, exit, - action { *((int*)arg) = SET_RETRY; }; - - -/* arg is an arg_rv*, pointing to a struct ftpinfo and a return value */ -menu entropy_ftpsource, y=-4, x=0, w=70, no box, no clear, - exitstring MSG_download_entropy; - option {src_legend(menu, MSG_Host, - ((struct ftpinfo*)((arg_rv*)arg)->arg)->xfer_host[ - XFER_HOST(((struct ftpinfo*) - ((arg_rv*)arg)->arg)->xfer)]);}, - action { struct ftpinfo *fpi = (struct ftpinfo*)((arg_rv*)arg)->arg; - src_prompt(MSG_Host, - fpi->xfer_host[XFER_HOST(fpi->xfer)], - sizeof fpi->xfer_host[XFER_HOST(fpi->xfer)]); }; - option {src_legend(menu, MSG_entropy_path_and_file, entropy_file);}, - action { src_prompt(MSG_entropy_path_and_file, - entropy_file, sizeof entropy_file); }; - option {src_legend(menu, MSG_User, - ((struct ftpinfo*)((arg_rv*)arg)->arg)->user);}, - action { struct ftpinfo *fpi = (struct ftpinfo*)((arg_rv*)arg)->arg; - src_prompt(MSG_User, fpi->user, sizeof fpi->user); - fpi->pass[0] = 0; - }; - option {src_legend(menu, MSG_Password, - strcmp(((struct ftpinfo*)((arg_rv*)arg)->arg)->user, - "ftp") == 0 || - ((struct ftpinfo*)((arg_rv*)arg)->arg)->pass[0] == 0 - ? ((struct ftpinfo*)((arg_rv*)arg)->arg)->pass - : msg_string(MSG_hidden));}, - action { struct ftpinfo *fpi = (struct ftpinfo*)((arg_rv*)arg)->arg; - if (strcmp(fpi->user, "ftp") == 0) - src_prompt(MSG_email, fpi->pass, sizeof fpi->pass); - else { - msg_prompt_noecho(MSG_Password, "", - fpi->pass, sizeof fpi->pass); - } - }; - option {src_legend(menu, MSG_Proxy, - ((struct ftpinfo*)((arg_rv*)arg)->arg)->proxy);}, - action { struct ftpinfo *fpi = (struct ftpinfo*)((arg_rv*)arg)->arg; - src_prompt(MSG_Proxy, fpi->proxy, sizeof fpi->proxy); - if (strcmp(fpi->proxy, "") == 0) { - unsetenv("ftp_proxy"); - unsetenv("http_proxy"); - } else { - setenv("ftp_proxy", fpi->proxy, 1); - setenv("http_proxy", fpi->proxy, 1); - } - }; - option MSG_cancel, exit, action { ((arg_rv*)arg)->rv = SET_RETRY; }; - - -/* arg is an int*, set to SET_RETRY when the menu is aborted */ -menu entropy_localfs, y=-4, x=0, w=70, no box, no clear, - exitstring MSG_load_entropy; - display action { msg_display(MSG_entropy_localfs); }; - option {src_legend(menu, MSG_Device, localfs_dev);}, - action { src_prompt(MSG_dev, localfs_dev, sizeof localfs_dev);}; - option {src_legend(menu, MSG_File_system, localfs_fs);}, - action { src_prompt(MSG_filesys, localfs_fs, sizeof localfs_fs); }; - option {src_legend(menu, MSG_entropy_path_and_file, entropy_file);}, - action { src_prompt(MSG_entropy_path_and_file, entropy_file, sizeof entropy_file);}; - option MSG_cancel, exit, action { *((int*)arg) = SET_RETRY; }; - diff --git a/overlay/usr.sbin/sysinst/menus.mi b/overlay/usr.sbin/sysinst/menus.mi deleted file mode 100644 index ba8abb9fc8..0000000000 --- a/overlay/usr.sbin/sysinst/menus.mi +++ /dev/null @@ -1,729 +0,0 @@ -/* $NetBSD: menus.mi,v 1.34 2026/07/12 20:07:45 martin Exp $ */ - -/*- - * Copyright (c) 2003 The NetBSD Foundation, Inc. - * All rights reserved. - * - * This code is derived from software contributed to The NetBSD Foundation - * by David Laight. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ - -/* - * Menu system definitions -- machine and language independent - * - * Some menus may be called directly in the code rather than via the - * menu system. - * - * This file must be first in the sed command line. - * - */ - -{ -#include -#include -#include -#include "defs.h" -#include "md.h" -#include "msg_defs.h" -#include "menu_defs.h" - -static menudesc menu_def[]; - -static void -expand_option_text(menudesc *menu, void *arg, int sel) -{ - arg_replace *ar = arg; - struct menu_ent *opt = &menu->opts[sel]; - - if (menu->opts[sel].opt_exp_name) - return; /* has already been expanded */ - - opt->opt_exp_name = - str_arg_subst(MSG_XLAT(opt->opt_name), ar->argc, ar->argv); -} - -void -expand_all_option_texts(menudesc *menu, void *arg) -{ - arg_replace *ar = arg; - const char *title; - int i; - - if (menu->title != NULL && menu->exp_title == NULL) { - title = MSG_XLAT(menu->title); - if (needs_expanding(title, ar->argc)) { - menu->exp_title = str_arg_subst(title, - ar->argc, ar->argv); - } - } - for (i = 0; i < menu->numopts; i++) { - const char *t = MSG_XLAT(menu->opts[i].opt_name); - - if (t == NULL) continue; - - if (needs_expanding(t, ar->argc)) - expand_option_text(menu, arg, i); - } -} - -/* - * Re-create the menu window with heigh/width updated to current state. - */ -void -resize_menu_height(menudesc *m) -{ - - if (m->mw == NULL) - return; - - wclear(m->mw); - if (m->sv_mw) { - overwrite(m->sv_mw, m->mw); - delwin(m->sv_mw); - m->sv_mw = NULL; - } - wnoutrefresh(m->mw); - delwin(m->mw); - m->mw = NULL; -} - -static void -src_legend(menudesc *menu, const char *legend, const char *text) -{ - wprintw(menu->mw, "%-35s %.50s", MSG_XLAT(legend), MSG_XLAT(text)); -} - -static void -src_prompt(const char *prompt, char *buf, size_t size) -{ - msg_prompt_win(prompt, -1, 12, 0, 0, buf, buf, size); -} - -static void -remove_sub_menu(int menuID) -{ - - for (size_t i = 0; i < DYN_MENU_START; i++) { - for (int j = 0; j < menu_def[i].numopts; j++) { - if ((menu_def[i].opts[j].opt_flags & OPT_SUB) - && menu_def[i].opts[j].opt_menu == menuID) { - - for (int k = j + 1; k < menu_def[i].numopts; - k++) { - menu_def[i].opts[k-1] = - menu_def[i].opts[k]; - } - menu_def[i].numopts--; - return; - - } - } - } -} - -#ifndef NO_PARTMAN -static void -remove_menu_option(int menuID, const char *option) -{ - - for (int j = 0; j < menu_def[menuID].numopts; j++) { - if (menu_def[menuID].opts[j].opt_name == option) { - for (int k = j + 1; k < menu_def[menuID].numopts; - k++) { - menu_def[menuID].opts[k-1] = - menu_def[menuID].opts[k]; - } - menu_def[menuID].numopts--; - return; - - } - } -} -#endif - -void -remove_color_options() -{ - /* - * Current terminal type does not support colors, so remove all - * menu entries (actually that is: Utils/Color Scheme) that do not - * make any sense in this case. - */ - remove_sub_menu(MENU_colors); -} - -#ifndef NO_PARTMAN -void -remove_raid_options() -{ - /* - * No raidframe available, remove the following menu entries: - */ - remove_menu_option(MENU_pmdiskentry, MSG_fmtasraid); - remove_menu_option(MENU_pmpartentry, MSG_fmtasraid); -} - -void -remove_lvm_options() -{ - /* - * No LVM available, remove the following menu entries: - */ - remove_menu_option(MENU_pmdiskentry, MSG_fmtaslvm); - remove_menu_option(MENU_pmpartentry, MSG_fmtaslvm); -} - -void -remove_cgd_options() -{ - /* - * No CGD available, remove the following menu entries: - */ - remove_menu_option(MENU_pmdiskentry, MSG_encrypt); - remove_menu_option(MENU_pmpartentry, MSG_encrypt); -} -#endif - -} - -default y=12, no exit, scrollable; - -allow dynamic menus; -allow dynamic messages; -allow expand; - -error action { - fprintf (stderr, "Could not initialize menu system, please check " - "your terminal type.\n"); - exit(4); -}; - -/* - * Called with arg = struct single_part_fs_edit* - */ -menu mountoptions, title MSG_toggle, y=5, x=30, exitstring MSG_unchanged; - /* - * XXX - enable / disable options depending on FS type in - * display action - */ - option "log", exit, action - { struct single_part_fs_edit *edit = arg; - edit->pset->infos[edit->index].mountflags ^= PUIMNT_LOG; }; - option "async", exit, action - { struct single_part_fs_edit *edit = arg; - edit->pset->infos[edit->index].mountflags ^= PUIMNT_ASYNC; }; - option "noatime", exit, action - { struct single_part_fs_edit *edit = arg; - edit->pset->infos[edit->index].mountflags ^= PUIMNT_NOATIME; }; - option "nodev", exit, action - { struct single_part_fs_edit *edit = arg; - edit->pset->infos[edit->index].mountflags ^= PUIMNT_NODEV; }; - option "nodevmtime", exit, action - { struct single_part_fs_edit *edit = arg; - edit->pset->infos[edit->index].mountflags ^= PUIMNT_NODEVMTIME; }; - option "noexec", exit, action - { struct single_part_fs_edit *edit = arg; - edit->pset->infos[edit->index].mountflags ^= PUIMNT_NOEXEC; }; - option "nosuid", exit, action - { struct single_part_fs_edit *edit = arg; - edit->pset->infos[edit->index].mountflags ^= PUIMNT_NOSUID; }; - option "noauto", exit, action - { struct single_part_fs_edit *edit = arg; - edit->pset->infos[edit->index].mountflags ^= PUIMNT_NOAUTO; }; - -menu netbsd, title MSG_NetBSD_VERSION_Install_System, y=-1, - exit, exitstring MSG_Exit_Install_System; - display action { toplevel(); }; - option MSG_Install_NetBSD_to_hard_disk, - action { do_install(); }; - option MSG_Upgrade_NetBSD_on_a_hard_disk, - action { do_upgrade(); }; - option MSG_Re_install_sets_or_install_additional_sets, - action { do_reinstall_sets(); }; - option MSG_Reboot_the_computer, exit, - action (endwin) { system("/sbin/reboot -q"); }; - option MSG_Utility_menu, sub menu utility; - option MSG_Config_menu, action { do_configmenu(NULL); }; - -menu utility, title MSG_NetBSD_VERSION_Utilities, exit, - exitstring MSG_exit_menu_generic; - display action { toplevel(); }; - option MSG_Run_bin_sh, - action (endwin) { system("/bin/sh -i -E"); }; - option MSG_Set_timezone, - action { set_timezone(); }; - option MSG_Configure_network, - action { - extern int network_up; - network_up = 0; - config_network(1); - }; - option MSG_Partition_a_disk, - action { -#ifndef NO_PARTMAN - partman_go = 1; - partman(NULL); -#endif - }; - option MSG_Logging_functions, action { do_logging(); }; - option MSG_Color_scheme, sub menu colors; - option MSG_Halt_the_system, exit, - action (endwin) { system("/sbin/halt -q"); }; - -menu colors, title MSG_Color_scheme, exit, - exitstring MSG_exit_menu_generic; - option MSG_White_on_black, action { do_coloring(COLOR_WHITE,COLOR_BLACK); }; - option MSG_Black_on_white, action { do_coloring(COLOR_BLACK,COLOR_WHITE); }; - option MSG_White_on_blue, action { do_coloring(COLOR_WHITE,COLOR_BLUE); }; - option MSG_Green_on_black, action { do_coloring(COLOR_GREEN,COLOR_BLACK); }; - - -menu yesno, y=-10; - display action { arg_rv *p = arg; - menu->title = p->arg ? p->arg : MSG_yes_or_no; }; - option MSG_Yes, exit, action { ((arg_rv*)arg)->rv = 1; }; - option MSG_No, exit, action { ((arg_rv*)arg)->rv = 0; }; - -menu noyes, y=-10; - display action { arg_rv *p = arg; - menu->title = p->arg ? p->arg : MSG_yes_or_no; }; - option MSG_No, exit, action { ((arg_rv*)arg)->rv = 0; }; - option MSG_Yes, exit, action { ((arg_rv*)arg)->rv = 1; }; - -menu ok, no shortcut, y=-10; - display action { menu->title = arg; }; - option MSG_Hit_enter_to_continue, exit; - -/* Makronix: the welcome screen, shown once when sysinst starts. */ -menu welcome, no shortcut, y=-10; - option MSG_welcome_ok, exit; - -menu sizechoice, sub menu, y=0, title MSG_Choose_your_size_specifier; - display action { - if (sizemult == pm->current_cylsize) - menu->cursel = 2; - else if (sizemult == 1) - menu->cursel = 3; - else if (sizemult == (GIG/pm->sectorsize)) - menu->cursel = 0; - else - menu->cursel = 1; }; - option MSG_Gigabytes, exit, action - { set_sizemult(GIG, pm->sectorsize); }; - option MSG_Megabytes, exit, action - { set_sizemult(MEG, pm->sectorsize); }; - option MSG_Cylinders, exit, action - { set_sizemult(pm->current_cylsize*pm->sectorsize, pm->sectorsize); }; - option MSG_Sectors, exit, action - { set_sizemult(pm->sectorsize, pm->sectorsize); }; - -menu ptnsize_replace_existing_partition, sub menu, y=0, - title MSG_ptnsize_replace_existing; - display action { menu->cursel = 1; }; - option MSG_Yes, exit, action { *((int*)arg) = 1; }; - option MSG_cancel, exit, action { *((int*)arg) = 0; }; - -menu distmedium, title MSG_Select_medium, y=-5; - display action { - /* - * In some installers we can not use https early, - * so disable the menu item. - * Later, after installing the base sets, - * we an use it in a target chroot, so - * enable it again. - */ - char *env_opt = getenv("FTPSSLNOVERIFY"); - bool disable = env_opt && strcmp(env_opt, "1") == 0; - - for (int i = 0; i < menu->numopts; i++) { - if (menu->opts[i].opt_name != MSG_https) - continue; - if (disable) - menu->opts[i].opt_flags |= OPT_IGNORE; - else - menu->opts[i].opt_flags &= ~OPT_IGNORE; - } - }; - option MSG_cdrom, exit, action { *(int *)arg = get_via_cdrom(); }; - option MSG_https, exit, action { *(int *)arg = get_via_ftp(XFER_HTTPS); }; - option MSG_http, exit, action { *(int *)arg = get_via_ftp(XFER_HTTP); }; - option MSG_ftp, exit, action { *(int *)arg = get_via_ftp(XFER_FTP); }; - option MSG_nfs, exit, action { *(int *)arg = get_via_nfs(); }; - option MSG_floppy, exit, action { *(int *)arg = get_via_floppy(); }; - option MSG_local_fs, exit, action { *(int *)arg = get_via_localfs(); }; - option MSG_local_dir, exit, action { *(int *)arg = get_via_localdir();}; - option MSG_Skip_set, exit, action { *(int *)arg = SET_SKIP; }; - option MSG_Skip_group,exit, action { *(int *)arg = SET_SKIP_GROUP; }; - option MSG_Abandon, exit, action { *(int *)arg = SET_ABANDON; }; - -/* - * Makronix: the first question of an installation. Pattern: menu distset - * below -- one action per option, `no default exit' with the abandon string. - * The caller initialises *arg to -1; 1 is "simple", 0 is "advanced". - */ -menu installmode, title MSG_installmode_title, exit, - no default exit, exitstring MSG_Abandon; - display action { msg_display(MSG_installmode); }; - option MSG_installmode_simple, exit, action { *(int *)arg = 1; }; - option MSG_installmode_advanced, exit, action { *(int *)arg = 0; }; - -/* - * Makronix: a set is not on this CD. The installer runs from RAM, so the CD - * can be changed; arg is an int *, set to 0 (the CD is in, look again) or 1 - * (skip this set). - */ -menu nextcd, title MSG_nextcd_title, no exit; - option MSG_nextcd_continue, exit, action { *(int *)arg = 0; }; - option MSG_nextcd_skip, exit, action { *(int *)arg = 1; }; - -menu distset, title MSG_Select_your_distribution, exit, - no default exit, exitstring MSG_Abandon; - display action { msg_display (MSG_distset); }; - option MSG_Full_installation, exit, action { *(int *)arg = 1; init_set_status(0); }; - option MSG_Full_installation_nox, exit, action { *(int *)arg = 1; init_set_status(SFLAG_NOX); }; - option MSG_Minimal_installation, exit, action { *(int *)arg = 1; init_set_status(SFLAG_MINIMAL); }; - option MSG_Custom_installation, exit, action { *(int *)arg = 1; init_set_status(SFLAG_MINIMAL); customise_sets(); }; - -menu ftpsource, y=-4, x=0, w=70, no box, no clear, - exitstring MSG_Get_Distribution; - display action { - msg_display_subst(MSG_ftpsource, 2, "." SETS_TAR_SUFF, - url_proto((uintptr_t)((arg_rv*)arg)->arg)); - }; - option {src_legend(menu, MSG_Host, ftp.xfer_host[ - XFER_HOST((uintptr_t)((arg_rv*)arg)->arg)]);}, - action { src_prompt(MSG_Host, ftp.xfer_host[ - XFER_HOST((uintptr_t)((arg_rv*)arg)->arg)], - sizeof ftp.xfer_host[XFER_HOST( - (uintptr_t)((arg_rv*)arg)->arg)]); }; - option {src_legend(menu, MSG_Base_dir, ftp.dir);}, - action { src_prompt(MSG_Base_dir, ftp.dir, sizeof ftp.dir); }; - option {src_legend(menu, MSG_Set_dir_bin, set_dir_bin);}, - action { src_prompt(MSG_Set_dir_bin, set_dir_bin, sizeof set_dir_bin); }; - option {src_legend(menu, MSG_Set_dir_src, set_dir_src);}, - action { src_prompt(MSG_Set_dir_src, set_dir_src, sizeof set_dir_src); }; - option {src_legend(menu, MSG_Dist_postfix, dist_postfix);}, - action { src_prompt(MSG_Dist_postfix, dist_postfix, sizeof dist_postfix); }; - option {src_legend(menu, MSG_User, ftp.user);}, - action { src_prompt(MSG_User, ftp.user, sizeof ftp.user); - ftp.pass[0] = 0; - }; - option {src_legend(menu, MSG_Password, - strcmp(ftp.user, "ftp") == 0 || ftp.pass[0] == 0 - ? ftp.pass : msg_string(MSG_hidden));}, - action { if (strcmp(ftp.user, "ftp") == 0) - src_prompt(MSG_email, ftp.pass, sizeof ftp.pass); - else { - msg_prompt_noecho(MSG_Password, "", - ftp.pass, sizeof ftp.pass); - } - }; - option {src_legend(menu, MSG_Proxy, ftp.proxy);}, - action { src_prompt(MSG_Proxy, ftp.proxy, sizeof ftp.proxy); - if (strcmp(ftp.proxy, "") == 0) { - unsetenv("ftp_proxy"); - unsetenv("http_proxy"); - } else { - setenv("ftp_proxy", ftp.proxy, 1); - setenv("http_proxy", ftp.proxy, 1); - } - }; - option {src_legend(menu, MSG_Xfer_dir, xfer_dir);}, - action { src_prompt(MSG_Xfer_dir, xfer_dir, sizeof xfer_dir); }; - option {src_legend(menu, MSG_delete_xfer_file, - clean_xfer_dir ? MSG_Yes : MSG_No);}, - action {clean_xfer_dir = ask_yesno(MSG_delete_xfer_file); }; - option MSG_Configure_network, - action { - extern int network_up; - network_up = 0; - config_network(1); - }; - option MSG_exit_menu_generic, exit, action { ((arg_rv*)arg)->rv = SET_RETRY; }; - - -menu nfssource, y=-4, x=0, w=70, no box, no clear, - exitstring MSG_Get_Distribution; - display action { const char suff[] = "." SETS_TAR_SUFF; - msg_display_subst(MSG_nfssource, 1, &suff); }; - option {src_legend(menu, MSG_Host, nfs_host);}, - action { src_prompt(MSG_Host, nfs_host, sizeof nfs_host); }; - option {src_legend(menu, MSG_Base_dir, nfs_dir);}, - action { src_prompt(MSG_Base_dir, nfs_dir, sizeof nfs_dir); }; - option {src_legend(menu, MSG_Set_dir_bin, set_dir_bin);}, - action { src_prompt(MSG_Set_dir_bin, set_dir_bin, sizeof set_dir_bin); }; - option {src_legend(menu, MSG_Set_dir_src, set_dir_src);}, - action { src_prompt(MSG_Set_dir_src, set_dir_src, sizeof set_dir_src); }; - option {src_legend(menu, MSG_Dist_postfix, dist_postfix);}, - action { src_prompt(MSG_Dist_postfix, dist_postfix, sizeof dist_postfix); }; - option MSG_Configure_network, - action { - extern int network_up; - network_up = 0; - config_network(1); - }; - option MSG_exit_menu_generic, exit, action { *((int*)arg) = SET_RETRY; }; - -menu fdremount, title MSG_What_do_you_want_to_do; - option MSG_Try_again, exit, action { *(int *)arg = SET_CONTINUE; }; - option MSG_Set_finished, exit, action { *(int *)arg = SET_OK; }; - option MSG_Abort_fetch, exit, action { *(int *)arg = SET_RETRY; }; - -menu fdok, title MSG_What_do_you_want_to_do; - option MSG_OK, exit, action { *(int *)arg = SET_CONTINUE; }; - option MSG_Set_finished, exit, action { *(int *)arg = SET_OK; }; - option MSG_Abort_fetch, exit, action { *(int *)arg = SET_RETRY; }; - -menu fd_type, title MSG_fd_type, y=16; - option "msdos", exit, action { fd_type = "msdos"; }; - option "ffs", exit, action { fd_type = "ffs"; }; -.if ADOS_FLOPPY - option "ados", exit, action { fd_type = "ados"; }; -.endif - -menu floppysource, y=-4, x=0, w=70, no box, no clear, exitstring MSG_Continue; - display action { msg_display(MSG_floppysource); }; - option {src_legend(menu, MSG_Device, fd_dev);}, - action { src_prompt(MSG_dev, fd_dev, sizeof fd_dev); }; - option {src_legend(menu, MSG_fd_type, fd_type);}, sub menu fd_type; - option {src_legend(menu, MSG_Xfer_dir, xfer_dir);}, - action { src_prompt(MSG_Xfer_dir, xfer_dir, sizeof xfer_dir); }; - option {src_legend(menu, MSG_delete_xfer_file, - clean_xfer_dir ? MSG_Yes : MSG_No);}, - action {clean_xfer_dir = ask_yesno(MSG_delete_xfer_file); }; - option MSG_exit_menu_generic, exit, action { *((int*)arg) = SET_RETRY; }; - -menu cdromsource, y=-4, x=0, w=70, no box, no clear, exitstring MSG_Continue; - display action { const char suff[] = "." SETS_TAR_SUFF; - msg_display_add_subst(MSG_cdromsource, 1, &suff); }; - option {src_legend(menu, MSG_Device, cdrom_dev);}, - action { src_prompt(MSG_dev, cdrom_dev, sizeof cdrom_dev); }; - option {src_legend(menu, MSG_Set_dir_bin, set_dir_bin);}, - action { src_prompt(MSG_Set_dir_bin, set_dir_bin, sizeof set_dir_bin); }; - option {src_legend(menu, MSG_Set_dir_src, set_dir_src);}, - action { src_prompt(MSG_Set_dir_src, set_dir_src, sizeof set_dir_src); }; - option {src_legend(menu, MSG_Dist_postfix, dist_postfix);}, - action { src_prompt(MSG_Dist_postfix, dist_postfix, sizeof dist_postfix); }; - option MSG_abort_install, exit, action { *((int*)arg) = SET_ABANDON; }; - option MSG_source_sel_retry, exit, action { *((int*)arg) = SET_RETRY; }; - -menu localfssource, y=-4, x=0, w=70, no box, no clear, exitstring MSG_Continue; - display action { const char suff[] = "." SETS_TAR_SUFF; - msg_display_subst(MSG_localfssource, 1, &suff); }; - option {src_legend(menu, MSG_Device, localfs_dev);}, - action { src_prompt(MSG_dev, localfs_dev, sizeof localfs_dev);}; - option {src_legend(menu, MSG_File_system, localfs_fs);}, - action { src_prompt(MSG_filesys, localfs_fs, sizeof localfs_fs); }; - option {src_legend(menu, MSG_Base_dir, localfs_dir);}, - action { src_prompt(MSG_Base_dir, localfs_dir, sizeof localfs_dir);}; - option {src_legend(menu, MSG_Set_dir_bin, set_dir_bin);}, - action { src_prompt(MSG_Set_dir_bin, set_dir_bin, sizeof set_dir_bin); }; - option {src_legend(menu, MSG_Set_dir_src, set_dir_src);}, - action { src_prompt(MSG_Set_dir_src, set_dir_src, sizeof set_dir_src); }; - option {src_legend(menu, MSG_Dist_postfix, dist_postfix);}, - action { src_prompt(MSG_Dist_postfix, dist_postfix, sizeof dist_postfix); }; - option MSG_exit_menu_generic, exit, action { *((int*)arg) = SET_RETRY; }; - -menu localdirsource, y=-4, x=0, w=70, no box, no clear, exitstring MSG_Continue; - display action { const char suff[] = "." SETS_TAR_SUFF; - msg_display_subst(MSG_localdir, 1, &suff); }; - option {src_legend(menu, MSG_Base_dir, localfs_dir);}, - action { src_prompt(MSG_Base_dir, localfs_dir, 60); }; - option {src_legend(menu, MSG_Set_dir_bin, set_dir_bin);}, - action { src_prompt(MSG_Set_dir_bin, set_dir_bin, 60); }; - option {src_legend(menu, MSG_Set_dir_src, set_dir_src);}, - action { src_prompt(MSG_Set_dir_src, set_dir_src, 60); }; - option {src_legend(menu, MSG_Dist_postfix, dist_postfix);}, - action { src_prompt(MSG_Dist_postfix, dist_postfix, 60); }; - option MSG_exit_menu_generic, exit, action { *((int*)arg) = SET_RETRY; }; - -menu namesrv6, title MSG_Select_DNS_server; - option "google-public-dns-a.google.com (IPv4)", exit, action - { -#ifdef INET6 - strlcpy(net_namesvr, "8.8.8.8", - sizeof(net_namesvr)); - *((int*)arg) = 1; -#else - *((int*)arg) = 0; -#endif - }; - option "google-public-dns-b.google.com (IPv4)", exit, action - { -#ifdef INET6 - strlcpy(net_namesvr, "8.8.4.4", - sizeof(net_namesvr)); - *((int*)arg) = 1; -#else - *((int*)arg) = 0; -#endif - }; - option "google-public-dns-a.google.com (IPv6)", exit, action - { -#ifdef INET6 - strlcpy(net_namesvr, "2001:4860:4860::8888", - sizeof(net_namesvr)); - *((int*)arg) = 1; -#else - *((int*)arg) = 0; -#endif - }; - option "google-public-dns-b.google.com (IPv6)", exit, action - { -#ifdef INET6 - strlcpy(net_namesvr, "2001:4860:4860::8844", - sizeof(net_namesvr)); - *((int*)arg) = 1; -#else - *((int*)arg) = 0; -#endif - }; - option MSG_other, exit, action - { *((int*)arg) = 0; }; - -menu rootsh, title MSG_Root_shell, no clear; - option "/bin/sh", exit, action {*(const char **)arg = "/bin/sh";}; - option "/bin/ksh", exit, action {*(const char **)arg = "/bin/ksh";}; - option "/bin/csh", exit, action {*(const char **)arg = "/bin/csh";}; - -menu zeroconf, title "Zeroconf", no clear; - option "run mdnsd only", exit, action {*(const char **)arg = "mdnsd";}; - option "run mdnsd and resolve local names", exit, action {*(const char **) arg = "mdnsd+nsswitch";}; - option "do not run mdnsd", exit, action {*(const char **)arg = "No";}; - -menu binpkg, y=-4, x=0, w=70, no box, no clear, - exitstring MSG_Install_pkgin; - display action { msg_display(MSG_pkgpath); }; - option {src_legend(menu, MSG_Host, - pkg.xfer_host[XFER_HOST(pkg.xfer)]);}, - action { src_prompt(MSG_Host, - pkg.xfer_host[XFER_HOST(pkg.xfer)], - sizeof pkg.xfer_host[XFER_HOST(pkg.xfer)]); }; - option {src_legend(menu, MSG_Base_dir, pkg.dir);}, - action { src_prompt(MSG_Base_dir, pkg.dir, sizeof pkg.dir); }; - option {src_legend(menu, MSG_Pkg_dir, pkg_dir);}, - action { src_prompt(MSG_Pkg_dir, pkg_dir, sizeof pkg_dir); }; - option {src_legend(menu, MSG_User, pkg.user);}, - action { src_prompt(MSG_User, pkg.user, sizeof pkg.user); - pkg.pass[0] = 0; - }; - option {src_legend(menu, MSG_Password, - strcmp(pkg.user, "ftp") == 0 || pkg.pass[0] == 0 - ? pkg.pass : msg_string(MSG_hidden));}, - action { if (strcmp(pkg.user, "ftp") == 0) - src_prompt(MSG_email, pkg.pass, sizeof pkg.pass); - else { - msg_prompt_noecho(MSG_Password, "", - pkg.pass, sizeof pkg.pass); - } - }; - option {src_legend(menu, MSG_Proxy, pkg.proxy);}, - action { src_prompt(MSG_Proxy, pkg.proxy, sizeof pkg.proxy); - if (strcmp(pkg.proxy, "") == 0) { - unsetenv("ftp_proxy"); - unsetenv("http_proxy"); - } else { - setenv("ftp_proxy", pkg.proxy, 1); - setenv("http_proxy", pkg.proxy, 1); - } - }; - option {src_legend(menu, "Additional packages", (char*)(((arg_rv*)arg)->arg)); }, /*TODO*/ - action { src_prompt("Additional packages", (char*)(((arg_rv*)arg)->arg), - sizeof(char) * STRSIZE); }; - option MSG_Configure_network, - action { - extern int network_up; - network_up = 0; - config_network(1); - mnt_net_config(); - }; - option {src_legend(menu, MSG_transfer_method, url_proto(pkg.xfer));}, - action { pkg.xfer = (pkg.xfer+1) % (XFER_MAX+1); }; - option MSG_quit_pkgs_install, exit, action { ((arg_rv*)arg)->rv = SET_SKIP; }; - -menu pkgsrc, y=-4, x=0, w=70, no box, no clear, - exit, exitstring MSG_Install_pkgsrc; - display action { msg_display(MSG_pkgsrc); }; - option {src_legend(menu, MSG_Host, pkgsrc.xfer_host[ - XFER_HOST(pkgsrc.xfer)]);}, - action { src_prompt(MSG_Host, - pkgsrc.xfer_host[XFER_HOST(pkgsrc.xfer)], - sizeof pkgsrc.xfer_host[XFER_HOST(pkgsrc.xfer)]); }; - option {src_legend(menu, MSG_Pkgsrc_dir, pkgsrc_dir);}, - action { src_prompt(MSG_Pkgsrc_dir, pkgsrc_dir, sizeof pkgsrc_dir); }; - option {src_legend(menu, MSG_User, pkgsrc.user);}, - action { src_prompt(MSG_User, pkgsrc.user, sizeof pkgsrc.user); - pkgsrc.pass[0] = 0; - }; - option {src_legend(menu, MSG_Password, - strcmp(pkgsrc.user, "ftp") == 0 || pkgsrc.pass[0] == 0 - ? pkgsrc.pass : msg_string(MSG_hidden));}, - action { if (strcmp(pkgsrc.user, "ftp") == 0) - src_prompt(MSG_email, pkgsrc.pass, sizeof pkgsrc.pass); - else { - msg_prompt_noecho(MSG_Password, "", - pkgsrc.pass, sizeof pkgsrc.pass); - } - }; - option {src_legend(menu, MSG_Proxy, pkgsrc.proxy);}, - action { src_prompt(MSG_Proxy, pkgsrc.proxy, sizeof pkgsrc.proxy); - if (strcmp(pkgsrc.proxy, "") == 0) { - unsetenv("ftp_proxy"); - unsetenv("http_proxy"); - } else { - setenv("ftp_proxy", pkgsrc.proxy, 1); - setenv("http_proxy", pkgsrc.proxy, 1); - } - }; - option {src_legend(menu, MSG_Xfer_dir, xfer_dir);}, - action { src_prompt(MSG_Xfer_dir, xfer_dir, sizeof xfer_dir); }; - option {src_legend(menu, MSG_delete_xfer_file, - clean_xfer_dir ? MSG_Yes : MSG_No);}, - action {clean_xfer_dir = ask_yesno(MSG_delete_xfer_file); }; - option {src_legend(menu, MSG_transfer_method, url_proto(pkgsrc.xfer));}, - action { pkgsrc.xfer = (pkgsrc.xfer+1) % (XFER_MAX+1); }; - option MSG_quit_pkgsrc, exit, action { *((int*)arg) = SET_SKIP;}; - -menu usersh, title MSG_User_shell, no clear; - option "/bin/sh", exit, action { ushell = "/bin/sh";}; - option "/bin/ksh", exit, action { ushell = "/bin/ksh";}; - option "/bin/csh", exit, action { ushell = "/bin/csh";}; - -.if HAVE_DISKSIZE_CHECKS -menu convertscheme, title MSG_cvtscheme_hdr; - option MSG_cvtscheme_keep, exit, action { *(int*)arg = 0; }; - option MSG_cvtscheme_delete, exit, action { *(int*)arg = 1; }; - option MSG_cvtscheme_convert, exit, action { *(int*)arg = 2; }; - option MSG_cvtscheme_abort, exit, action { *(int*)arg = 3; }; -.endif - - -menu reedit, title MSG_reeditpart, y=-10; - expand action { expand_all_option_texts(menu, arg); }; - option MSG_reedit_partitions, exit, - action {((arg_rep_int*)arg)->rv = 1;}; - option MSG_use_partitions_anyway, exit, - action {((arg_rep_int*)arg)->rv = 2;}; - option MSG_abort_installation, exit, - action {((arg_rep_int*)arg)->rv = 0;}; diff --git a/overlay/usr.sbin/sysinst/menus.pm b/overlay/usr.sbin/sysinst/menus.pm deleted file mode 100644 index 0674b03d7a..0000000000 --- a/overlay/usr.sbin/sysinst/menus.pm +++ /dev/null @@ -1,182 +0,0 @@ -/* $NetBSD: menus.pm,v 1.3 2020/01/09 13:22:30 martin Exp $ */ -/* NetBSD: menus.mi,v 1.14 2018/09/11 08:05:18 martin Exp */ - -/*- - * Copyright (c) 2003 The NetBSD Foundation, Inc. - * All rights reserved. - * - * This code is derived from software contributed to The NetBSD Foundation - * by David Laight. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ - -/* Menu system definitions -- extended partitioning */ - -/* arg is a struct part_entry* */ -menu pmdiskentry, x=50, y=5, exit, default exit; - display action { pmdiskentry_enable(menu, arg); }; - option MSG_edit_parts, exit, action { pm_edit_partitions(arg); }; - option MSG_switch_parts, exit, action { - struct pm_devs *my_pm = pm_from_pe(arg); - const char *err; - - if (!convert_scheme(my_pm, false, &err)) - err_msg_win(err); - else - pm_partusage(my_pm, -1, 1); - }; - option MSG_fmtasraid, exit, action - { - pm_whole_disk(arg, SY_NEWRAID); - }; - option MSG_fmtaslvm, exit, action - { - part_id new_part; - - new_part = pm_whole_disk(arg, SY_NEWLVM); - if (new_part != NO_PART) - pm_set_lvmpv(pm_from_pe(arg), new_part, true); - }; - option MSG_encrypt, exit, action - { - part_id new_part; - new_part = pm_whole_disk(arg, SY_NEWCGD); - if (new_part != NO_PART) - pm_cgd_edit_new(pm_from_pe(arg), new_part); - }; - option MSG_erase, next menu shred_modes; - option MSG_undo, exit, action { - /* label_read(); */ pm->unsaved = 0; - pm_partusage(pm, -1, 1); - }; - option MSG_unconfig, exit, action { - if (pm_unconfigure(pm) == 0) - pm_partusage(pm, -1, 1); - }; - -/* arg is a struct part_entry* */ -menu pmpartentry, x=50, y=5, exit, default exit; - option MSG_edit, exit, action - { - struct part_entry *cur_pe = arg; - pm->unsaved = 1; - pm_editpart(cur_pe->id); - pm_partusage(pm, cur_pe->id, 1); - }; - option MSG_fmtasraid, exit, action { - if (pm->no_part) { - hit_enter_to_continue(NULL, MSG_notsupported); - return -1; - } - struct part_entry *cur_pe = arg; - pm->unsaved = 1; - pm_partusage(pm, cur_pe->id, 1); - pm_setfstype(pm, cur_pe->id, FS_RAID, 0); - }; - option MSG_fmtaslvm, exit, action { - if (pm->no_part) { - hit_enter_to_continue(NULL, MSG_notsupported); - return -1; - } - struct part_entry *cur_pe = arg; - pm->unsaved = 1; - pm_partusage(pm, cur_pe->id, 1); - pm_setfstype(pm, cur_pe->id, FS_BSDFFS, 2); - pm_set_lvmpv(pm, cur_pe->id, true); - }; - option MSG_encrypt, exit, action { - if (pm->no_part) { - hit_enter_to_continue(NULL, MSG_notsupported); - return -1; - } - struct part_entry *cur_pe = arg; - pm->unsaved = 1; - pm_partusage(pm, cur_pe->id, 1); - pm_setfstype(pm, cur_pe->id, FS_CGD, 0); - pm_cgd_edit_old(cur_pe); - }; - option MSG_erase, next menu shred_modes; - option MSG_doumount, exit, action { - struct part_entry *cur_pe = arg; - pm_umount(pm, cur_pe->id); - }; - option MSG_Delete_partition, exit, action { - struct part_entry *cur_pe = arg; - pm->unsaved = 1; - pm_partusage(pm, cur_pe->id, 1); - if (pm->no_part) - pm_unconfigure(pm); - else - pm_setfstype(pm, cur_pe->id, FS_UNUSED, 0); - }; - -/* arg is a struct part_entry* */ -menu shred_modes, x=50, y=5, exit, default exit; - option MSG_fillzeros, exit, - action { pm_shred(arg, SHRED_ZEROS); }; - option MSG_fillrandom, exit, - action { pm_shred(arg, SHRED_RANDOM); }; - -/* arg is a int pointer for the requested raid level */ -menu raidlevel; - option MSG_raid0, exit, action { *(int *)arg = 0; }; - option MSG_raid1, exit, action { *(int *)arg = 1; }; - option MSG_raid4, exit, action { *(int *)arg = 4; }; - option MSG_raid5, exit, action { *(int *)arg = 5; }; - -/* arg is a const char ** set to the selected encryption type */ -menu cgd_enctype; - option "aes-xts", exit, action { *(const char**)arg = "aes-xts"; }; - option "aes-cbc", exit, action { *(const char**)arg = "aes-cbc"; }; - option "3des-cbc", exit, action { *(const char**)arg = "3des-cbc"; }; - option "blowfish-cbc", exit, action - { *(const char**)arg = "blowfish-cbc"; }; - -/* arg is a const char ** set to the requested iv type */ -menu cgd_ivtype; - option "encblkno1", exit, action { *(const char**)arg = "encblkno1"; }; - option "encblkno8", exit, action { *(const char**)arg = "encblkno8"; }; - -/* arg is const char ** set to the key gen type */ -menu cgd_keygentype; - option "pkcs5_pbkdf2/sha1", exit, action - { *(const char**)arg = "pkcs5_pbkdf2/sha1"; }; - option "pkcs5_pbkdf2", exit, action - { *(const char**)arg = "pkcs5_pbkdf2"; }; - option "storedkey", exit, action - { *(const char**)arg = "storedkey"; }; - option "randomkey", exit, action - { *(const char**)arg = "randomkey"; }; - option "urandomkey", exit, action - { *(const char**)arg = "urandomkey"; }; - option "shell_cmd", exit, action - { *(const char**)arg = "shell_cmd"; }; - -/* art is a const char ** set to the requested verification type */ -menu cgd_verifytype; - option "none", exit, action { *(const char**)arg = "none"; }; - option "disklabel", exit, action { *(const char**)arg = "disklabel"; }; - option "MBR", exit, action { *(const char**)arg = "mbr"; }; - option "GPT", exit, action { *(const char**)arg = "gpt"; }; - option "ffs", exit, action { *(const char**)arg = "ffs"; }; - option "re-enter", exit, action { *(const char**)arg = "re-enter"; }; diff --git a/overlay/usr.sbin/sysinst/msg.entropy.de b/overlay/usr.sbin/sysinst/msg.entropy.de deleted file mode 100644 index 06a3b50666..0000000000 --- a/overlay/usr.sbin/sysinst/msg.entropy.de +++ /dev/null @@ -1,130 +0,0 @@ -/* $NetBSD: msg.entropy.de,v 1.5 2022/04/21 17:30:15 martin Exp $ */ - -/* - * Copyright (c) 2020 The NetBSD Foundation, Inc. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ - -message Configure_entropy {Entropie konfigurieren} - -message continue_without_entropy {Jetzt nicht - weiter!} - -message not_enough_entropy -{Dieses System verfügt momentan nicht über genug Entropie um kryptografisch -starke Zufallszahlen zu generieren. - -Falls Sie diese Installation produktiv verwenden möchten und z.B. -ssh host keys generieren werden, empfehlen wir dringend die -Entropie-Konfiguration zu vervollständigen! - -Sie können Zufallszahlen von einem anderen Computer verwenden oder -manuell zufällige Zeichen eingeben. - -Falls Sie einen USB-Zufallsgenerator haben, verbinden Sie diesen -jetzt und wählen dann die Option "Erneut testen".} - -message entropy_add_manually {Zufallsdaten manuell eingeben} -message entropy_download_raw {Rohe binäre Zufallsdaten laden} -message entropy_download_seed {NetBSD-Entropie-Datei laden} -message entropy_retry {Erneut testen} - -message entropy_enter_manual1 -{Geben Sie bitte zufällige Zeichen ein, -in denen genug Entropie enthalten sein sollte, die 256 Münzwürfen, -100 Würfen mit einem sechsseitigen Würfel oder 64 zufälligen hexadezimalen -Zeichen entspricht.} - -message entropy_enter_manual2 -{Falls Sie Daten von einem anderen System per Kopieren & Einfügen in dieses -Installationsprogramm übertragen können, können Sie die Ausgabe des -folgenden Befehls (auf einem System, dessen Entropie Sie vertrauen) -verwenden:} - -message entropy_enter_manual3 -{Sie können eine Zeile mit beliebiger Länge eingeben. Wenn die -Eingabe nicht mindestens 256 zufällige Bits enthält, ist -das installierte System eventuell nicht sicher.} - -message entropy_select_file -{Wählen Sie, auf welche Art Sie die Zufallsdaten auf diesen Computer -übertragen wollen:} - -message entropy_add_download_ftp -{Download per ftp} - -message entropy_add_download_http -{Download per http} - -message entropy_add_nfs -{Von einer NFS-Freigabe laden} - -message download_entropy -{Download starten} - -message entropy_add_local -{Von einem lokalen Dateisystem laden (z.B. USB)} - -message entropy_file -{Pfad/Datei} - -message load_entropy -{Zufallsdatei laden} - -message set_entropy_file -{Pfad der Zufallsdatei} - -/* Called with: Example - * $0 = content of file NetBSD entropy seed file - */ -message entropy_via_nfs -{Wählen Sie Server, Freigabe und Dateipfad, von dem die $0 geladen werden kann.} - -/* Called with: Example - * $0 = content of file NetBSD entropy seed file - */ -message entropy_via_download -{Da derzeit auf diesem System nicht genug Entropie vorhanden ist, sind alle -kryptographischen Operation durch Replay-Attacken angreifbar. -Verwenden Sie nur lokale vertrauenswürdige Netzwerke.} - -message entropy_data -{Binärdatei mit Zufallsdaten} - -message entropy_data_hdr -{Auf einem System mit kryptographisch starkem Zufallszahlengenerator -können Sie zufällige Binärdaten z.B. so erzeugen:} - -message entropy_seed -{NetBSD-Entropie-Datei} - -message entropy_seed_hdr -{Auf einem NetBSD-System mit kryptographisch starkem Zufallszahlengenerator -können Sie einen Entropie-Schnappschuss folgendermaßen erstellen:} - -message entropy_path_and_file -{Pfad und Dateiname} - -message entropy_localfs -{Geben Sie das noch nicht gemountete lokale Gerät und dessen entsprechendes -Verzeichnis an, in dem die Zufallsdatei zu finden ist.} diff --git a/overlay/usr.sbin/sysinst/msg.entropy.en b/overlay/usr.sbin/sysinst/msg.entropy.en deleted file mode 100644 index c441d56568..0000000000 --- a/overlay/usr.sbin/sysinst/msg.entropy.en +++ /dev/null @@ -1,129 +0,0 @@ -/* $NetBSD: msg.entropy.en,v 1.4 2022/04/21 17:30:15 martin Exp $ */ - -/* - * Copyright (c) 2020 The NetBSD Foundation, Inc. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ - -message Configure_entropy {Set up entropy} - -message continue_without_entropy {Not now, continue!} - -message not_enough_entropy -{This system seems to lack a cryptographically strong pseudo random -number generator. There is not enough entropy available to create secure -keys (e.g. ssh host keys). - -If you plan to use this installation for production work and will -for example have ssh host keys generated, we strongly advise to complete -the entropy setup now! - -You may use random data generated on another computer and load it -here, or you could enter random characters manually. - -If you have a USB random number device, connect it now and select -the "Re-test" option.} - -message entropy_add_manually {Manually input random characters} -message entropy_download_raw {Load raw binary random data} -message entropy_download_seed {Import a NetBSD entropy file} -message entropy_retry {Re-test} - -message entropy_enter_manual1 -{Enter one line of random characters.} - -message entropy_enter_manual2 -{They should contain at last 256 bits of randomness, as in 256 coin -tosses, 100 throws of a 6-sided die, 64 random hexadecimal digits, or -(if you are able to copy & paste output from another machine into this -installer) the output from running the following command on another -machine whose randomness you trust:} - -message entropy_enter_manual3 -{A line of any length and content will be accepted and assumed to -contain at least 256 bits of randomness. If it actually contains -less, the installed system may not be secure.} - -message entropy_select_file -{Please select how you want to transfer the random data file -to this machine:} - -message entropy_add_download_ftp -{Download via ftp} - -message entropy_add_download_http -{Download via http} - -message download_entropy -{Start download} - -message entropy_add_nfs -{Load from a NFS share} - -message entropy_add_local -{Load from a local file system (e.g. a USB device)} - -message entropy_file -{Path/file} - -message load_entropy -{Load random data} - -message set_entropy_file -{Random data file path} - -/* Called with: Example - * $0 = content of file NetBSD entropy seed file - */ -message entropy_via_nfs -{Select a server, a share and the file path to load the $0.} - -/* Called with: Example - * $0 = content of file NetBSD entropy seed file - */ -message entropy_via_download -{Since not enough entropy is available on this system, all crytographic -operations are suspect to replay attacks. -Please only use trustworthy local networks.} - -message entropy_data -{random data binary file} - -message entropy_data_hdr -{On a system with cryptographically strong pseudo random number generator -you can create a file with random binary data like this:} - -message entropy_seed -{NetBSD entropy seed file} - -message entropy_seed_hdr -{On a NetBSD system with cryptographically strong pseudo random number -generator you can create an entropy snapshot like this:} - -message entropy_path_and_file -{Path and filename} - -message entropy_localfs -{Enter the unmounted local device and directory on that device where -the random data is located.} diff --git a/overlay/usr.sbin/sysinst/msg.entropy.es b/overlay/usr.sbin/sysinst/msg.entropy.es deleted file mode 100644 index 85012cbbe5..0000000000 --- a/overlay/usr.sbin/sysinst/msg.entropy.es +++ /dev/null @@ -1,129 +0,0 @@ -/* $NetBSD: msg.entropy.es,v 1.5 2022/04/21 17:30:15 martin Exp $ */ - -/* - * Copyright (c) 2020 The NetBSD Foundation, Inc. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ - -message Configure_entropy {Set up entropy} - -message continue_without_entropy {Not now, continue!} - -message not_enough_entropy -{This system seems to lack a cryptographically strong pseudo random -number generator. There is not enough entropy available to create secure -keys (e.g. ssh host keys). - -If you plan to use this installation for production work and will -for example have ssh host keys generated, we strongly advise to complete -the entropy setup now! - -You may use random data generated on another computer and load it -here, or you could enter random characters manually. - -If you have a USB random number device, connect it now and select -the "Re-test" option.} - -message entropy_add_manually {Manually input random characters} -message entropy_download_raw {Load raw binary random data} -message entropy_download_seed {Import a NetBSD entropy file} -message entropy_retry {Re-test} - -message entropy_enter_manual1 -{Enter one line of random characters.} - -message entropy_enter_manual2 -{They should contain at last 256 bits of randomness, as in 256 coin -tosses, 100 throws of a 6-sided die, 64 random hexadecimal digits, or -(if you are able to copy & paste output from another machine into this -installer) the output from running the following command on another -machine whose randomness you trust:} - -message entropy_enter_manual3 -{A line of any length and content will be accepted and assumed to -contain at least 256 bits of randomness. If it actually contains -less, the installed system may not be secure.} - -message entropy_select_file -{Please select how you want to transfer the random data file -to this machine:} - -message entropy_add_download_ftp -{Download via ftp} - -message entropy_add_download_http -{Download via http} - -message download_entropy -{Start download} - -message entropy_add_nfs -{Load from a NFS share} - -message entropy_add_local -{Load from a local file system (e.g. a USB device)} - -message entropy_file -{Path/file} - -message load_entropy -{Load random data} - -message set_entropy_file -{Random data file path} - -/* Called with: Example - * $0 = content of file NetBSD entropy seed file - */ -message entropy_via_nfs -{Select a server, a share and the file path to load the $0.} - -/* Called with: Example - * $0 = content of file NetBSD entropy seed file - */ -message entropy_via_download -{Since not enough entropy is available on this system, all crytographic -operations are suspect to replay attacks. -Please only use trustworthy local networks.} - -message entropy_data -{random data binary file} - -message entropy_data_hdr -{On a system with cryptographically strong pseudo random number generator -you can create a file with random binary data like this:} - -message entropy_seed -{NetBSD entropy seed file} - -message entropy_seed_hdr -{On a NetBSD system with cryptographically strong pseudo random number -generator you can create an entropy snapshot like this:} - -message entropy_path_and_file -{Path and filename} - -message entropy_localfs -{Enter the unmounted local device and directory on that device where -the random data is located.} diff --git a/overlay/usr.sbin/sysinst/msg.entropy.fr b/overlay/usr.sbin/sysinst/msg.entropy.fr deleted file mode 100644 index 958ff63e5d..0000000000 --- a/overlay/usr.sbin/sysinst/msg.entropy.fr +++ /dev/null @@ -1,129 +0,0 @@ -/* $NetBSD: msg.entropy.fr,v 1.5 2022/04/21 17:30:15 martin Exp $ */ - -/* - * Copyright (c) 2020 The NetBSD Foundation, Inc. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ - -message Configure_entropy {Set up entropy} - -message continue_without_entropy {Not now, continue!} - -message not_enough_entropy -{This system seems to lack a cryptographically strong pseudo random -number generator. There is not enough entropy available to create secure -keys (e.g. ssh host keys). - -If you plan to use this installation for production work and will -for example have ssh host keys generated, we strongly advise to complete -the entropy setup now! - -You may use random data generated on another computer and load it -here, or you could enter random characters manually. - -If you have a USB random number device, connect it now and select -the "Re-test" option.} - -message entropy_add_manually {Manually input random characters} -message entropy_download_raw {Load raw binary random data} -message entropy_download_seed {Import a NetBSD entropy file} -message entropy_retry {Re-test} - -message entropy_enter_manual1 -{Enter one line of random characters.} - -message entropy_enter_manual2 -{They should contain at last 256 bits of randomness, as in 256 coin -tosses, 100 throws of a 6-sided die, 64 random hexadecimal digits, or -(if you are able to copy & paste output from another machine into this -installer) the output from running the following command on another -machine whose randomness you trust:} - -message entropy_enter_manual3 -{A line of any length and content will be accepted and assumed to -contain at least 256 bits of randomness. If it actually contains -less, the installed system may not be secure.} - -message entropy_select_file -{Please select how you want to transfer the random data file -to this machine:} - -message entropy_add_download_ftp -{Download via ftp} - -message entropy_add_download_http -{Download via http} - -message download_entropy -{Start download} - -message entropy_add_nfs -{Load from a NFS share} - -message entropy_add_local -{Load from a local file system (e.g. a USB device)} - -message entropy_file -{Path/file} - -message load_entropy -{Load random data} - -message set_entropy_file -{Random data file path} - -/* Called with: Example - * $0 = content of file NetBSD entropy seed file - */ -message entropy_via_nfs -{Select a server, a share and the file path to load the $0.} - -/* Called with: Example - * $0 = content of file NetBSD entropy seed file - */ -message entropy_via_download -{Since not enough entropy is available on this system, all crytographic -operations are suspect to replay attacks. -Please only use trustworthy local networks.} - -message entropy_data -{random data binary file} - -message entropy_data_hdr -{On a system with cryptographically strong pseudo random number generator -you can create a file with random binary data like this:} - -message entropy_seed -{NetBSD entropy seed file} - -message entropy_seed_hdr -{On a NetBSD system with cryptographically strong pseudo random number -generator you can create an entropy snapshot like this:} - -message entropy_path_and_file -{Path and filename} - -message entropy_localfs -{Enter the unmounted local device and directory on that device where -the random data is located.} diff --git a/overlay/usr.sbin/sysinst/msg.entropy.pl b/overlay/usr.sbin/sysinst/msg.entropy.pl deleted file mode 100644 index 3f503684d5..0000000000 --- a/overlay/usr.sbin/sysinst/msg.entropy.pl +++ /dev/null @@ -1,129 +0,0 @@ -/* $NetBSD: msg.entropy.pl,v 1.5 2022/04/21 17:30:15 martin Exp $ */ - -/* - * Copyright (c) 2020 The NetBSD Foundation, Inc. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ - -message Configure_entropy {Set up entropy} - -message continue_without_entropy {Not now, continue!} - -message not_enough_entropy -{This system seems to lack a cryptographically strong pseudo random -number generator. There is not enough entropy available to create secure -keys (e.g. ssh host keys). - -If you plan to use this installation for production work and will -for example have ssh host keys generated, we strongly advise to complete -the entropy setup now! - -You may use random data generated on another computer and load it -here, or you could enter random characters manually. - -If you have a USB random number device, connect it now and select -the "Re-test" option.} - -message entropy_add_manually {Manually input random characters} -message entropy_download_raw {Load raw binary random data} -message entropy_download_seed {Import a NetBSD entropy file} -message entropy_retry {Re-test} - -message entropy_enter_manual1 -{Enter one line of random characters.} - -message entropy_enter_manual2 -{They should contain at last 256 bits of randomness, as in 256 coin -tosses, 100 throws of a 6-sided die, 64 random hexadecimal digits, or -(if you are able to copy & paste output from another machine into this -installer) the output from running the following command on another -machine whose randomness you trust:} - -message entropy_enter_manual3 -{A line of any length and content will be accepted and assumed to -contain at least 256 bits of randomness. If it actually contains -less, the installed system may not be secure.} - -message entropy_select_file -{Please select how you want to transfer the random data file -to this machine:} - -message entropy_add_download_ftp -{Download via ftp} - -message entropy_add_download_http -{Download via http} - -message download_entropy -{Start download} - -message entropy_add_nfs -{Load from a NFS share} - -message entropy_add_local -{Load from a local file system (e.g. a USB device)} - -message entropy_file -{Path/file} - -message load_entropy -{Load random data} - -message set_entropy_file -{Random data file path} - -/* Called with: Example - * $0 = content of file NetBSD entropy seed file - */ -message entropy_via_nfs -{Select a server, a share and the file path to load the $0.} - -/* Called with: Example - * $0 = content of file NetBSD entropy seed file - */ -message entropy_via_download -{Since not enough entropy is available on this system, all crytographic -operations are suspect to replay attacks. -Please only use trustworthy local networks.} - -message entropy_data -{random data binary file} - -message entropy_data_hdr -{On a system with cryptographically strong pseudo random number generator -you can create a file with random binary data like this:} - -message entropy_seed -{NetBSD entropy seed file} - -message entropy_seed_hdr -{On a NetBSD system with cryptographically strong pseudo random number -generator you can create an entropy snapshot like this:} - -message entropy_path_and_file -{Path and filename} - -message entropy_localfs -{Enter the unmounted local device and directory on that device where -the random data is located.} diff --git a/overlay/usr.sbin/sysinst/msg.entropy.pt b/overlay/usr.sbin/sysinst/msg.entropy.pt deleted file mode 100644 index ac9f826464..0000000000 --- a/overlay/usr.sbin/sysinst/msg.entropy.pt +++ /dev/null @@ -1,130 +0,0 @@ -/* $NetBSD: msg.entropy.pt,v 1.4 2022/04/21 17:30:15 martin Exp $ */ - -/* - * Copyright (c) 2020 The NetBSD Foundation, Inc. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ - -message Configure_entropy {Configurar entropia} - -message continue_without_entropy {Agora não, continuar!} - -message not_enough_entropy -{Este sistema parece não ter um gerador de números pseudoaleatórios -criptograficamente forte. Não há entropia suficiente disponível para criar -chaves seguras (por exemplo, chaves de host ssh). - -Se você pretende usar esta instalação em produção e, por exemplo, terá -chaves de host ssh geradas, recomendamos fortemente concluir a configuração -de entropia agora! - -Você pode usar dados aleatórios gerados em outro computador e carregá-los -aqui, ou digitar caracteres aleatórios manualmente. - -Se você tiver um dispositivo USB gerador de números aleatórios, conecte-o -agora e selecione a opção "Testar de novo".} - -message entropy_add_manually {Digitar caracteres aleatórios} -message entropy_download_raw {Carregar dados aleatórios binários} -message entropy_download_seed {Importar um arquivo de entropia NetBSD} -message entropy_retry {Testar de novo} - -message entropy_enter_manual1 -{Digite uma linha de caracteres aleatórios.} - -message entropy_enter_manual2 -{Ela deve conter pelo menos 256 bits de aleatoriedade, como 256 lançamentos -de moeda, 100 lançamentos de um dado de 6 lados, 64 dígitos hexadecimais -aleatórios ou (se você puder copiar e colar a saída de outra máquina neste -instalador) a saída do comando a seguir, executado em outra máquina cuja -aleatoriedade você considere confiável:} - -message entropy_enter_manual3 -{Uma linha de qualquer tamanho e conteúdo será aceita e presumida como -contendo pelo menos 256 bits de aleatoriedade. Se na verdade ela contiver -menos, o sistema instalado pode não ser seguro.} - -message entropy_select_file -{Selecione como você quer transferir o arquivo de dados aleatórios -para esta máquina:} - -message entropy_add_download_ftp -{Baixar via ftp} - -message entropy_add_download_http -{Baixar via http} - -message download_entropy -{Iniciar download} - -message entropy_add_nfs -{Carregar de um compartilhamento NFS} - -message entropy_add_local -{Carregar de um sistema de arquivos local (p. ex., um dispositivo USB)} - -message entropy_file -{Caminho/arquivo} - -message load_entropy -{Carregar dados aleatórios} - -message set_entropy_file -{Caminho do arquivo de dados aleatórios} - -/* Called with: Example - * $0 = content of file NetBSD entropy seed file - */ -message entropy_via_nfs -{Selecione um servidor, um compartilhamento e o caminho do arquivo para -carregar $0.} - -/* Called with: Example - * $0 = content of file NetBSD entropy seed file - */ -message entropy_via_download -{Como não há entropia suficiente neste sistema, todas as operações -criptográficas estão sujeitas a ataques de repetição. -Use apenas redes locais confiáveis.} - -message entropy_data -{arquivo binário de dados aleatórios} - -message entropy_data_hdr -{Em um sistema com gerador de números pseudoaleatórios criptograficamente -forte, você pode criar um arquivo de dados binários aleatórios assim:} - -message entropy_seed -{arquivo de entropia NetBSD} - -message entropy_seed_hdr -{Em um sistema NetBSD com gerador de números pseudoaleatórios -criptograficamente forte, você pode criar um instantâneo de entropia assim:} - -message entropy_path_and_file -{Caminho e nome do arquivo} - -message entropy_localfs -{Informe o dispositivo local desmontado e o diretório nesse dispositivo -onde estão os dados aleatórios.} diff --git a/overlay/usr.sbin/sysinst/msg.mbr.de b/overlay/usr.sbin/sysinst/msg.mbr.de deleted file mode 100644 index 5680aaa8d2..0000000000 --- a/overlay/usr.sbin/sysinst/msg.mbr.de +++ /dev/null @@ -1,142 +0,0 @@ -/* $NetBSD: msg.mbr.de,v 1.4 2019/06/12 06:20:17 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MBR Message catalog -- German, i386 version */ - -/* NB: Lines ending in spaces force line breaks */ - -message mbr_part_header_1 {Typ} -message mbr_part_header_2 {Ordner} -.if BOOTSEL -message mbr_part_header_3 {Bootmenü} -.endif - -message noactivepart -{Sie haben keine Partition als aktive Startpartition markiert. -Das System wird nicht von dieser Festplatte starten können.} - -message fixactivepart -{ -Soll die Makronix-Partition der Festplatte als aktiv markiert werden?} - -message setbiosgeom -{ -Geben Sie die Geometrie der Festplatte ein. -Bitte geben Sie die Anzahl Sektoren je Spur (maximal 63) -und die Anzahl der Köpfe (maximal 256) an, die das BIOS dazu verwendet, -auf die Festplatte zuzugreifen. Die Zahl der Zylinder wird dann automatisch -aus der Festplattengröße berechnet. - -} - -message nobiosgeom -{Sysinst konnte die BIOS-Geometrie der Festplatte nicht ermitteln. -Die physische Geometrie beträgt %d Zylinder, %d Sektoren und %d Köpfe.\n} - -message biosguess -{Den auf der Festplatte befindlichen Informationen zufolge beträgt die BIOS- -Geometrie schätzungsweise %d Zylinder, %d Sektoren und %d Köpfe\n} - -message realgeom -{Reale Geometrie: %d Zyl, %d Köpfe, %d Sektoren (rein informativ; zum Vergleich)\n} - -message biosgeom -{BIOS-Geometrie: %d Zyl, %d Köpfe, %d Sektoren\n} - -message ptn_active -{Aktiv} -.if BOOTSEL -message bootmenu -{Bootmenü} -message boot_dflt -{Standardboot} -.endif - -message mbr_get_ptn_id {Partitionstyp (0..255)} -message Only_one_extended_ptn {Es ist nur eine erweiterte Partition möglich.} - -message mbr_flags {as} -message mbr_flag_desc -.if BOOTSEL -{, (A)ktive Startpartition, (S)tandardauswahl} -.else -{, (A)ktive Startpartition} -.endif - -/* Called with: Example - * $0 = device name wd0 - * $1 = outer partitioning name Master Boot Record (MBR) - * $2 = short version of $1 MBR - */ -message dofdisk -{$0: schreibe die $2 Partitionstabelle ... -} - -message wmbrfail -{Schreiben des MBR fehlgeschlagen. Sysinst kann nicht fortfahren.} - -message mbr_inside_ext -{Die Partition muss innerhalb der Extended Partition beginnen.} - -message mbr_ext_nofit -{Die Extended Partition muss alle darin enthaltenen Partition umfassen} - -message mbr_ext_not_empty -{Die Extended Partition kann nur gelöscht werden, wenn sie leer ist!} - -message mbr_no_free_primary_have_ext -{Die partition liegt nicht in der Extended Partition -und im primären Bootblock ist kein Platz} - -message mbr_no_free_primary_no_ext -{Kein Platz im primären Bootblock. -Sie können eine Partition entfernen und eine Extended Partition für -den restlichen freien Platz erstellen, dann die gelöschte Partition -wieder innerhalb der Extended Partition einfügen} - -.if 0 -.if BOOTSEL -message Set_timeout_value -{Setzen des Timeout-Wertes} - -message bootseltimeout -{Timeout (Countdown) für das Bootmenü: %d\n} - -.endif -.endif - -message parttype_mbr {Master Boot Record (MBR)} -message parttype_mbr_short {MBR} - -message mbr_type_invalid {Ungültiger Partitionstyp (0 .. 255)} diff --git a/overlay/usr.sbin/sysinst/msg.mbr.en b/overlay/usr.sbin/sysinst/msg.mbr.en deleted file mode 100644 index 1d8e92e282..0000000000 --- a/overlay/usr.sbin/sysinst/msg.mbr.en +++ /dev/null @@ -1,140 +0,0 @@ -/* $NetBSD: msg.mbr.en,v 1.4 2019/06/12 06:20:17 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MBR Message catalog -- English, i386 version */ - -/* NB: Lines ending in spaces force line breaks */ - -message mbr_part_header_1 {Kind} -message mbr_part_header_2 {Mount} -.if BOOTSEL -message mbr_part_header_3 {Bootmenu} -.endif - -message noactivepart -{You have not marked a partition active. This may cause your system to not -start up properly.} - -message fixactivepart -{ -Should the Makronix partition of the disk be marked active?} - -message setbiosgeom -{ -You will be prompted for the geometry. -Please enter the number of sectors per track (maximum 63) -and number of heads (maximum 256) that the BIOS uses to access the disk. -The number of cylinders will be calculated from the disk size. - -} - -message nobiosgeom -{Sysinst could not automatically determine the BIOS geometry of the disk. -The physical geometry is %d cylinders %d sectors %d heads\n} - -message biosguess -{Using the information already on the disk, my best guess for the BIOS -geometry is %d cylinders %d sectors %d heads\n} - -message realgeom -{real geom: %d cyl, %d heads, %d sec (NB: for comparison only)\n} - -message biosgeom -{BIOS geom: %d cyl, %d heads, %d sec\n} - -message ptn_active -{active} -.if BOOTSEL -message bootmenu -{bootmenu} -message boot_dflt -{default} -.endif - -message mbr_get_ptn_id {Partition kind (0..255)} -message Only_one_extended_ptn {There can only be one extended partition} - -message mbr_flags {ad} -message mbr_flag_desc -.if BOOTSEL -{, (a)ctive, (d)efault boot} -.else -{, (a)ctive} -.endif - -/* Called with: Example - * $0 = device name wd0 - * $1 = outer partitioning name Master Boot Record (MBR) - * $2 = short version of $1 MBR - */ -message dofdisk -{Writing the $2 partition table to $0... -} - -message wmbrfail -{Rewrite of MBR failed. I can't continue.} - -message mbr_inside_ext -{The partition needs to start within the Extended Partition} - -message mbr_ext_nofit -{The Extended Partition must be able to hold all contained partitions} - -message mbr_ext_not_empty -{Can not delete a non-empty extended partition!} - -message mbr_no_free_primary_have_ext -{This partition is not inside the extended partition -and there is no free slot in the primary boot record} - -message mbr_no_free_primary_no_ext -{No space in the primary boot block. -You may consider deleting one partition, creating an extended partition -and then re-adding the deleted one} - -.if 0 -.if BOOTSEL -message Set_timeout_value -{Set timeout value} - -message bootseltimeout -{Boot menu timeout: %d\n} - -.endif -.endif - -message parttype_mbr {Master Boot Record (MBR)} -message parttype_mbr_short {MBR} - -message mbr_type_invalid {Invalid partition type (0 .. 255)} diff --git a/overlay/usr.sbin/sysinst/msg.mbr.es b/overlay/usr.sbin/sysinst/msg.mbr.es deleted file mode 100644 index da4af12e2d..0000000000 --- a/overlay/usr.sbin/sysinst/msg.mbr.es +++ /dev/null @@ -1,140 +0,0 @@ -/* $NetBSD: msg.mbr.es,v 1.4 2019/06/12 06:20:17 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MBR Message catalog -- Spanish, i386 version */ - -/* NB: Lines ending in spaces force line breaks */ - -message mbr_part_header_1 {Tipo} -message mbr_part_header_2 {Mount} -.if BOOTSEL -message mbr_part_header_3 {Bootmenu} -.endif - -message noactivepart -{No ha marcado ninguna partición como activa. Esto podría provocar que su -sistema no arrancase correctamente.} - -message fixactivepart -{ -¿Debe marcarse como activa la partición Makronix del disco?} - -message setbiosgeom -{ -Se le va a preguntar por la geometría. -Por favor, introduzca el número de sectores por pista (máximo 63) -y el número de cabezas (máximo 256) que usa el BIOS para acceder al disco. -El número de cilindros se calculará a partir del tamaño del disco. - -} - -message nobiosgeom -{sysinst no ha podido determinar automáticamente la geometría BIOS del disco. -La geometría física es de %d cilindros %d sectores %d cabezas\n} - -message biosguess -{Usando la información ya en disco, mi mejor estimación para la geometría -de la BIOS es de %d cilindros %d sectores %d cabezas\n} - -message realgeom -{geom real: %d cil, %d cabezas, %d sec (NB: solo para comparación)\n} - -message biosgeom -{geom BIOS: %d cil, %d cabez, %d sec\n} - -message ptn_active -{activa} -.if BOOTSEL -message bootmenu -{bootmenu} -message boot_dflt -{predef.} -.endif - -message mbr_get_ptn_id {Tipo de partición (0..255)} -message Only_one_extended_ptn {Solamente puede haber una partición extendida} - -message mbr_flags {ap} -message mbr_flag_desc -.if BOOTSEL -{, Partición (a)ctiva, bootselect (p)redefinido} -.else -{, Partición (a)ctiva} -.endif - -/* Called with: Example - * $0 = device name wd0 - * $1 = outer partitioning name Master Boot Record (MBR) - * $2 = short version of $1 MBR - */ -message dofdisk -{Configurando la tabla de particiones $2 ... -} - -message wmbrfail -{Reescritura de MBR fallida. No se puede continuar.} - -message mbr_inside_ext -{The partition needs to start within the Extended Partition} - -message mbr_ext_nofit -{The Extended Partition must be able to hold all contained partitions} - -message mbr_ext_not_empty -{Can not delete a non-empty extended partition!} - -message mbr_no_free_primary_have_ext -{This partition is not inside the extended partition -and there is no free slot in the primary boot record} - -message mbr_no_free_primary_no_ext -{No space in the primary boot block. -You may consider deleting one partition, creating an extended partition -and then re-adding the deleted one} - -.if 0 -.if BOOTSEL -message Set_timeout_value -{Elija el tiempo de espera} - -message bootseltimeout -{Tiempo de espera del menú: %d\n} - -.endif -.endif - -message parttype_mbr {Master Boot Record (MBR)} -message parttype_mbr_short {MBR} - -message mbr_type_invalid {Invalid partition type (0 .. 255)} diff --git a/overlay/usr.sbin/sysinst/msg.mbr.fr b/overlay/usr.sbin/sysinst/msg.mbr.fr deleted file mode 100644 index 983da36d1f..0000000000 --- a/overlay/usr.sbin/sysinst/msg.mbr.fr +++ /dev/null @@ -1,139 +0,0 @@ -/* $NetBSD: msg.mbr.fr,v 1.6 2019/06/12 06:20:17 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MD Message catalog -- french, i386 version */ - -message mbr_part_header_1 {Type} -message mbr_part_header_2 {Mount} -.if BOOTSEL -message mbr_part_header_3 {Menu} -.endif - -message noactivepart -{Vous n'avez pas choisi de partition active. -Cela peut empêcher votre système de démarrer correctement.} - -message fixactivepart -{ -Dois-je marquer la partition Makronix comme active ?} - -message setbiosgeom -{ -La géométrie du disque doit être précisée. -Veuillez entrer le nombre de secteurs par piste (maximum 63) et le nombre de -têtes (maximum 256) que le BIOS utilise pour accéder au disque. -Le nombre de cylindres sera déduit de la taille du disque. - -} - -message nobiosgeom -{Sysinst n'a pas pu déterminer automatiquement la géométrie utilisée par le -BIOS pour votre disque. -La géométrie physique est %d cylindres %d secteurs %d têtes\n} - -message biosguess -{En utilisant les informations déjà présentes sur le disque, il semble que -la géométrie utilisée par le BIOS soit de %d cylindres, %d secteurs et %d têtes\n} - -message realgeom -{ géom réelle : %d cylindres, %d têtes, %d secteurs (pour information)\n} - -message biosgeom -{ géom fdisk : %d cylindres, %d têtes, %d secteurs \n} - -message ptn_active -{active} -.if BOOTSEL -message bootmenu -{menu de démarrage} -message boot_dflt -{défaut} -.endif - -message mbr_get_ptn_id {Type de partition (0..255)} -message Only_one_extended_ptn {Il ne peut y avoir qu'une seule partition étendue} - -message mbr_flags {ad} -message mbr_flag_desc -.if BOOTSEL -{, (Ac)tive partition, bootselect (d)efault} -.else -{, (A)ctive partition} -.endif - -/* Called with: Example - * $0 = device name wd0 - * $1 = outer partitioning name Master Boot Record (MBR) - * $2 = short version of $1 MBR - */ -message dofdisk -{Configuration de la table de partition $2... -} - -message wmbrfail -{L'écriture du MBR a échoué. Nous ne pouvons continuer.} - -message mbr_inside_ext -{The partition needs to start within the Extended Partition} - -message mbr_ext_nofit -{The Extended Partition must be able to hold all contained partitions} - -message mbr_ext_not_empty -{Can not delete a non-empty extended partition!} - -message mbr_no_free_primary_have_ext -{This partition is not inside the extended partition -and there is no free slot in the primary boot record} - -message mbr_no_free_primary_no_ext -{No space in the primary boot block. -You may consider deleting one partition, creating an extended partition -and then re-adding the deleted one} - -.if 0 -.if BOOTSEL -message Set_timeout_value -{Modifier le temps d'attente} - -message bootseltimeout -{Temps d'attente : %d\n} - -.endif -.endif - -message parttype_mbr {Master Boot Record (MBR)} -message parttype_mbr_short {MBR} - -message mbr_type_invalid {Invalid partition type (0 .. 255)} diff --git a/overlay/usr.sbin/sysinst/msg.mbr.pl b/overlay/usr.sbin/sysinst/msg.mbr.pl deleted file mode 100644 index cea4466950..0000000000 --- a/overlay/usr.sbin/sysinst/msg.mbr.pl +++ /dev/null @@ -1,139 +0,0 @@ -/* $NetBSD: msg.mbr.pl,v 1.4 2019/06/12 06:20:18 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MBR Message catalog -- Polish, i386 version */ - -message mbr_part_header_1 {Rodzaj} -message mbr_part_header_2 {Mount} -.if BOOTSEL -message mbr_part_header_3 {Wpis menu} -.endif - -message noactivepart -{Nie zaznaczyles aktywnej partycji. Moze to spowodowac, ze twoj system nie -uruchomi sie prawidlowo.} - -message fixactivepart -{ -Czy partycja Makronix ma zostac zaznaczona jako aktywna?} - -message setbiosgeom -{ -Zostaniesz poproszony o podanie geometrii dysku: -Podaj ilosc sektorow na sciezce (maksimum 63) oraz -ilosc glowic (maksimum 256) ktore BIOS ustalil jako -wlasciwe parametry dysku. -Ilosc cylindrow zostanie obliczona automatycznie na -podstawie podanych danych i rozmiaru dysku. -} - -message nobiosgeom -{Sysinst nie mogl automatycznie rozpoznac geometrii dysku z BIOS. -Fizyczna geometria to %d cylindrow %d sektorow %d glowic\n} - -message biosguess -{Uzywajac informacji z dysku, najlepsze parametry geometrii dysku z BIOS to -%d cylindrow %d sektorow %d glowic\n} - -message realgeom -{praw. geo: %d cyl, %d glowic, %d sek (tylko dla porownania)\n} - -message biosgeom -{BIOS geom: %d cyl, %d glowic, %d sek\n} - -message ptn_active -{aktywna} -.if BOOTSEL -message bootmenu -{w menu startowym} -message boot_dflt -{domyslna} -.endif - -message mbr_get_ptn_id {Typ partycji (0..255)} -message Only_one_extended_ptn {Moze byc tylko jedna partycja typu rozszerzonego} - -message mbr_flags {ad} -message mbr_flag_desc -.if BOOTSEL -{, (A)ctive partition, bootselect (d)efault} -.else -{, (A)ctive partition} -.endif - -/* Called with: Example - * $0 = device name wd0 - * $1 = outer partitioning name Master Boot Record (MBR) - * $2 = short version of $1 MBR - */ -message dofdisk -{Konfigurowanie DOSowej tablicy partycji ... -} - -message wmbrfail -{Nadpisanie MBR nie powiodlo sie. Nie moge kontynuowac.} - -message mbr_inside_ext -{The partition needs to start within the Extended Partition} - -message mbr_ext_nofit -{The Extended Partition must be able to hold all contained partitions} - -message mbr_ext_not_empty -{Can not delete a non-empty extended partition!} - -message mbr_no_free_primary_have_ext -{This partition is not inside the extended partition -and there is no free slot in the primary boot record} - -message mbr_no_free_primary_no_ext -{No space in the primary boot block. -You may consider deleting one partition, creating an extended partition -and then re-adding the deleted one} - -.if 0 -.if BOOTSEL -message Set_timeout_value -{Ustaw opoznienie} - -message bootseltimeout -{Opoznienie bootmenu: %d\n} - -.endif -.endif - -message parttype_mbr {Master Boot Record (MBR)} -message parttype_mbr_short {MBR} - -message mbr_type_invalid {Invalid partition type (0 .. 255)} diff --git a/overlay/usr.sbin/sysinst/msg.mbr.pt b/overlay/usr.sbin/sysinst/msg.mbr.pt deleted file mode 100644 index 1e3f75098b..0000000000 --- a/overlay/usr.sbin/sysinst/msg.mbr.pt +++ /dev/null @@ -1,140 +0,0 @@ -/* $NetBSD: msg.mbr.pt,v 1.4 2019/06/12 06:20:17 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MBR Message catalog -- English, i386 version */ - -/* NB: Lines ending in spaces force line breaks */ - -message mbr_part_header_1 {Tipo} -message mbr_part_header_2 {Montagem} -.if BOOTSEL -message mbr_part_header_3 {Menu de boot} -.endif - -message noactivepart -{Você não marcou nenhuma partição como ativa. Isso pode impedir que o sistema -inicie corretamente.} - -message fixactivepart -{ -A partição Makronix do disco deve ser marcada como ativa?} - -message setbiosgeom -{ -Você será solicitado a informar a geometria. -Digite o número de setores por trilha (máximo 63) -e o número de cabeças (máximo 256) que a BIOS usa para acessar o disco. -O número de cilindros será calculado a partir do tamanho do disco. - -} - -message nobiosgeom -{O sysinst não conseguiu determinar automaticamente a geometria BIOS do disco. -A geometria física é %d cilindros %d setores %d cabeças\n} - -message biosguess -{Com base nas informações já existentes no disco, meu melhor palpite para a -geometria BIOS é %d cilindros %d setores %d cabeças\n} - -message realgeom -{geom. real: %d cil, %d cab, %d set (NB: apenas para comparação)\n} - -message biosgeom -{geom. BIOS: %d cil, %d cab, %d set\n} - -message ptn_active -{ativa} -.if BOOTSEL -message bootmenu -{menu de boot} -message boot_dflt -{padrão} -.endif - -message mbr_get_ptn_id {Tipo de partição (0..255)} -message Only_one_extended_ptn {Só pode haver uma partição estendida} - -message mbr_flags {ad} -message mbr_flag_desc -.if BOOTSEL -{, (a)tiva, boot (d)efault} -.else -{, (a)tiva} -.endif - -/* Called with: Example - * $0 = device name wd0 - * $1 = outer partitioning name Master Boot Record (MBR) - * $2 = short version of $1 MBR - */ -message dofdisk -{Gravando a tabela de partições $2 em $0... -} - -message wmbrfail -{Falha ao regravar o MBR. Não é possível continuar.} - -message mbr_inside_ext -{A partição precisa começar dentro da partição estendida} - -message mbr_ext_nofit -{A partição estendida deve comportar todas as partições nela contidas} - -message mbr_ext_not_empty -{Não é possível excluir uma partição estendida que não está vazia!} - -message mbr_no_free_primary_have_ext -{Esta partição não está dentro da partição estendida -e não há entrada livre no registro de boot primário} - -message mbr_no_free_primary_no_ext -{Não há espaço no bloco de boot primário. -Considere excluir uma partição, criar uma partição estendida -e então adicionar novamente a partição excluída} - -.if 0 -.if BOOTSEL -message Set_timeout_value -{Definir tempo limite} - -message bootseltimeout -{Tempo limite do menu de boot: %d\n} - -.endif -.endif - -message parttype_mbr {Master Boot Record (MBR)} -message parttype_mbr_short {MBR} - -message mbr_type_invalid {Tipo de partição inválido (0 .. 255)} diff --git a/overlay/usr.sbin/sysinst/msg.mi.de b/overlay/usr.sbin/sysinst/msg.mi.de deleted file mode 100644 index 2819ebc2a0..0000000000 --- a/overlay/usr.sbin/sysinst/msg.mi.de +++ /dev/null @@ -1,1787 +0,0 @@ -/* $NetBSD: msg.mi.de,v 1.60 2026/07/12 20:07:45 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MI Message catalog -- German, machine independent */ - -/* NB: Lines ending in spaces force line breaks */ - -/* - * Use only ASCII characters in this message - it is displayed before the - * locale is set up! - */ -message sysinst_message_language -{Installation auf Deutsch} - -message sysinst_message_locale -{de_DE.ISO8859-15} - -message out_of_memory {Nicht genug Speicher!} -message Yes {Ja} -message No {Nein} -message All {Alle(s)} -message Some {Einige} -message None {Kein(e)} -message none {kein(e)} -message OK {OK} -message ok {ok} -message On {An} -message Off {Aus} -message unchanged {unverändert} -message Delete {Löschen?} -message install -{installieren} - -message reinstall -{Sets erneut installieren für} - -message upgrade -{Aktualisierung} - -message hello -{Willkommen bei Sysinst, dem Installationsprogramm von Makronix @@MXVERSION@@. -Dieses Programm hilft Ihnen, Makronix auf eine Festplatte zu installieren -oder aber eine bereits bestehende Installation von Makronix zu aktualisieren. -In den folgenden Menüs können Sie mit den Buchstaben (a, b, c, ...) -die verschiedenen Menüeinträge wählen oder durch Drücken von Strg-N/Strg-P -die Markierung auf- oder abbewegen. Die Cursor- und Bildlauftasten -(Seite vor/zurück) sollten ebenfalls funktionieren. -Mit der Eingabetaste bestätigen Sie die gegenwärtige Auswahl. -} - -message thanks -{Danke, dass Sie Makronix benutzen! -} - -message installusure -{Sie haben sich dazu entschieden Makronix auf Ihre Festplatte zu installieren. -Dieser Vorgang verändert Informationen auf Ihrer Festplatte. Zu diesem -Zeitpunkt sollten Sie sicherheitshalber eine vollständige Datensicherung -gemacht haben! Die Installation durchläuft die folgenden Schritte: - a) Partitionieren Ihrer Festplatte - b) Erstellen eines neuen BSD Dateisystems - c) Laden und Installieren der Distribution (Kernel+Basissystem) - d) Grundlegendes Konfigurieren des Systems - -(Nachdem Sie Angaben zur Partitionierung Ihrer Festplatte gemacht haben - -aber noch bevor die Festplatte verändert wird - erhalten Sie die Möglichkeit -die Installation abzubrechen.) - -Wollen Sie fortfahren? -} - -message upgradeusure -{Sie möchten das auf der Festplatte befindliche Makronix-System aktualisieren. -Zu diesem Zeitpunkt sollten Sie bereits eine vollständige -Datensicherung durchgeführt haben! Wollen Sie Makronix wirklich aktualisieren? -(Dies ist die letzte Warnung, bevor Ihre Festplatte(n) modifiziert werden.) -} - -message reinstallusure -{Im folgenden werden die Makronix Distributionssets (Kernel + Basissystem) -auf eine vorbereitete Festplatte ausgepackt. Dieser Vorgang lädt und entpackt -die Sets auf eine im Vorfeld partitionierte und bootfähige Festplatte. -Es werden weder Festplatten gelabelt, Bootblöcke aktualisiert noch bestehende -Konfigurationen gesichert. - -Beenden Sie jetzt und wählen Sie dann 'Installation' oder 'Aktualisierung', -falls Ihre Festplatte nicht entsprechend vorbereitet ist oder Sie das System -neu installieren oder aber ein bestehendes aktualisieren möchten! - -Wollen Sie die Makronix-Distributionssets wirklich erneut installieren? -(Dies ist die letzte Warnung, bevor die Inhalte Ihres Dateisystems -überschrieben werden!) -} - -message mount_failed -{Versuch, %s zu mounten ist fehlgeschlagen. Fortfahren? -} - -message nodisk -{Keine für Makronix nutzbaren Festplatten gefunden. -Zurück zum Hauptmenü... -} - -message onedisk -{Es wurde nur eine Festplatte, %s, gefunden. Wahrscheinlich möchten Sie -Makronix daher darauf %s. -} - -message ask_disk -{Auf welcher Festplatte möchten Sie Makronix %s? - - wd: SATA, ATA oder IDE - - sd: SCSI oder USB-Speicher - - ld: NVMe (z.B. M.2-Karte), SD/MMC-Karte oder virtueller Speicher -} - -message Available_disks -{Verfügbare Festplatten} - -message Available_wedges {Vordefinierte "wedges"} - -message heads -{Köpfe} - -message sectors -{Sektoren} - -message mountpoint -{Mountpoint (oder '-')} - -message cylname -{Zyl} - -message secname -{Sek} - -message megname -{MB} - -message gigname -{GB} - -/* Called with: Example - * $0 = device name wd0 - * $1 = partitioning scheme name Guid Partition Table - * $2 = short version of $1 GPT - * $3 = disk size for Makronix 3TB - * $4 = full install size min. 127M - * $5 = install with X min. 427M - */ -message layout_prologue_none -{Sie können die Größe der Makronix-Partitionen neu definieren oder -aber die Standard-Partitionen verwenden.} - -/* Called with: Example - * $0 = device name wd0 - * $1 = partitioning scheme name Guid Partition Table - * $2 = short version of $1 GPT - * $3 = disk size for Makronix 3TB - * $4 = full install size min. 127M - * $5 = install with X min. 427M - */ -message layout_prologue_existing -{Falls Sie die bestehenden Partitionen nicht mehr weiterverwenden möchten, -können Sie die Größe der Makronix-Partitionen neu definieren oder aber -alle verwerfen und die Standard-Partitionsgrößen verwenden.} - -/* Called with: Example - * $0 = device name wd0 - * $1 = partitioning scheme name Guid Partition Table - * $2 = short version of $1 GPT - * $3 = disk size for Makronix 3TB - * $4 = full install size min. 127M - * $5 = install with X min. 427M - */ -message layout_main -{ - -Sie haben gleich die Möglichkeit, alle Details der Partitionen zu -verändern. - -Der Makronix-Teil Ihrer Festplatte ($0) ist $3 groß. - -Eine volle Installation benötigt mindestens $4 und -$5 Megabyte bei Installation der X-Windows Komponenten.} - -message Choose_your_size_specifier -{Wenn Sie Mega- oder Gigabytes wählen, werden effektive -Partitionsgrößen festgesetzt, die nahe Ihrer Größenangabe liegen. -Bei modernen Festplatten spielen Zylindergrößen keine Rolle. -Bei älteren Festplatten dagegen ist es am effizientesten, sich -Partitionsgrößen auszusuchen, die exakt ein Vielfaches der -aktuellen Zylindergröße ausmachen. -Bei der Auswahl mit Sektoren können Sie die Partitionsgröße -exakt definieren. - -Wählen Sie die Einheit} - -message ptnsizes -{Sie können jetzt die Größen der Systempartitionen verändern. Standardmäßig -wird der gesamte Speicherplatz der Rootpartition zugeordnet. Wenn Sie -möchten, können Sie separate Partitionen definieren, z.B. /usr (zusätzliche -Systemdateien), /var (Log- bzw. Protokolldateien und anderes) oder /home -(Verzeichnis für die persönlichen Dateien der Anwender). - -Verbleibender freier Speicherplatz wird der mit '+' markierten Partition -hinzugefügt.} - -/* Called with: Example - * $0 = list of marker explanations '=' existing, '@' external - */ -message ptnsizes_markers {Andere Markierungen: $0 Partition.} -message ptnsizes_mark_existing {'=' bestehende} -message ptnsizes_mark_external {'@' externe} - -message ptnheaders_size {Größe} -message ptnheaders_filesystem {Dateisystem} - -message askfsmount -{Mount-Verzeichnis (leer lassen, um abzubrechen)?} - -message askfssize -{Größe für %s in %s?} - -message askunits -{Größeneinheit (Sektoren/Zylinder/MB/GB)} - -message NetBSD_partition_cant_change -{Makronix-Partition} - -message Whole_disk_cant_change -{Ganze Festplatte} - -message Boot_partition_cant_change -{Boot-Partition} - -message add_another_ptn -{Hinzufügen einer benutzerdefinierten Partition} - -/* Called with: Example - * $0 = free space 1.4 - * $1 = size unit GB -*/ -message fssizesok -{Weiter. Freier Speicherplatz: $0 $1.} - -/* Called with: Example - * $0 = missing space 1.4 - * $1 = size unit GB -*/ -message fssizesbad -{Abbrechen. Nicht genug Platz, es fehlen $0 $1!} - -message startoutsidedisk -{Der Startwert, den Sie angegeben haben, liegt jenseits des Endes der -Festplatte. -} - -message endoutsidedisk -{Mit diesem Wert liegt das Ende der Partition jenseits des Endes der -Festplatte. -Die Größe Ihrer Partition wurde verringert.} - -.if HAVE_DISKSIZE_CHECKS -/* Called with: Example - * $0 = device name wd0 - * $1 = partitioning scheme name Master Boot Record (MBR) - * $2 = short version of $1 MBR - * $3 = disk size 3TB - * $4 = size limit 2TB - */ -message toobigdisklabel -{ -Diese Platte ($0) ist zu groß ($3) für eine $2-Partitionstabelle (max. $4). -Sie können daher nur den Anfang der Festplatte verwenden. -} - -message cvtscheme_hdr {Möchten Sie die aktuelle Partitionierung} -message cvtscheme_keep {beibehalten (nur einen Teil benutzen)} -message cvtscheme_delete {löschen (alle Daten gehen verloren!)} -message cvtscheme_convert {in ein anderes Schema konvertieren} -message cvtscheme_abort {abbrechen} -message cvtscheme_error -{Nicht alle Partitionen konnten übernommen werden} -.endif - -/* Called with: Example - * $0 = device name wd0 - * $1 = partitioning scheme name BSD disklabel - * $2 = short version of $1 disklabel - * $3 = optional install flag (I)nstall, - * $4 = additional flags description (B)ootable - * $5 = total size 2TB - * $6 = free size 244MB - */ -message fspart -{Nachfolgend sehen Sie Ihre $2-Partitionen für $0. -Dies ist die letzte Chance, diese zu ändern. - -Flags: $3(F)ormatieren$4. Gesamtgröße: $5, frei: $6} - -message ptnheaders_start {Start} -message ptnheaders_end {Ende} -message ptnheaders_fstype {Typ} - - -message partition_sizes_ok -{Partitionsgrößen OK} - -message edfspart -{Die aktuellen Werte für diese Partition werden -unten angezeigt. - -Wählen Sie das Feld, das Sie ändern möchten:} - -message ptn_newfs {Formatieren (newfs)} -message ptn_mount {Mount} -message ptn_mount_options {Mountoptionen} -message ptn_mountpt {Verzeichnis} - -message toggle -{Wählen Sie} - -message restore -{Ursprüngliche Werte wiederherstellen} - -message Select_the_type -{Wählen Sie den Dateisystemtyp aus} - -message other_types -{Andere Dateisystemtypen} - -/* Called with: Example - * $0 = valid partition shortcuts a-e - * $1 = maximum allowed 4292098047 - * $2 = size unit MB - */ -message label_size_head -{Spezielle Werte, die für die Größenangaben eingegeben werden können: - -1: bis zum Ende / Maximum} - -/* Called with: Example - * $0 = valid partition shortcuts a-e - * $1 = maximum allowed 4292098047 - * $2 = size unit MB - */ -message label_size_part_hint -{ $0: bis zur angegebenen Partition} - -/* Called with: Example - * $0 = valid partition shortcuts a-e - * $1 = maximum allowed 4292098047 - * $2 = size unit MB - */ -message label_size_tail {Größe (maximal $1 $2)} - -/* Called with: Example - * $0 = valid partition shortcuts a-e - * $1 = valid free space shortcuts f-h - * $2 = size unit MB - */ -message label_offset_head -{Spezielle Werte, die für den Start angegeben werden können: - -1: Am Anfang / Minimum beginnen} - -/* Called with: Example - * $0 = valid partition shortcuts a-e - * $1 = valid free space shortcuts f-h - * $2 = size unit MB - */ -message label_offset_part_hint -{ $0: direkt hinter der angegebenen Partition starten} - -/* Called with: Example - * $0 = valid partition shortcuts a-e - * $1 = valid free space shortcuts f-h - * $2 = size unit MB - */ -message label_offset_space_hint -{ $1: am Anfang des angegebenen freien Bereiches starten} - -/* Called with: Example - * $0 = valid partition shortcuts a-e - * $1 = valid free space shortcuts f-h - * $2 = size unit MB - */ -message label_offset_tail {Start ($2)} - -message invalid_sector_number -{Ungültiger Wert} - -message packname -{Bitte geben Sie Ihrer Makronix-Festplatte einen Namen} - -message lastchance -{Makronix wird nun auf die Festplatte (%s) installiert. Noch wurde nichts -geschrieben. Dies ist Ihre letzte Chance, diesen Vorgang abzubrechen. - -Möchten Sie fortfahren? - -} - -message disksetupdone -{Der erste Teil der Installation ist nun abgeschlossen. -Sysinst hat das von Ihnen gewählte Ziellaufwerk partitioniert und -auf allen von Ihnen gewählten Partitionen ein Dateisystem initialisiert -und geprüft. -} - -message disksetupdoneupdate -{Der erste Teil des Ablaufs ist nun abgeschlossen. -Sysinst hat das von Ihnen gewählte Ziellaufwerk partitioniert und -und alle gewählten Dateisysteme auf Fehler überprüft. -} - -message openfail -{%s konnte nicht geöffnet werden, die Fehlermeldung lautet: %s. -} - -/* Called with: Example - * $0 = device name /dev/wd0a - * $1 = mount path /usr - */ -message mountfail -{Das Gerät $0 konnte nicht auf $1 gemountet werden. -} - -message extractcomplete -{Das Extrahieren der ausgewählten Sets für Makronix @@MXVERSION@@ ist abgeschlossen. -Das System ist damit bereit, von der ausgewählten Partition zu starten. Um die -Installation zu vervollständigen, gibt Ihnen Sysinst die Möglichkeit, eine -grundlegende Konfiguration vorzunehmen. -} - -message instcomplete -{Die Installation von Makronix @@MXVERSION@@ ist jetzt abgeschlossen. Das System -sollte von der Festplatte starten können. Beachten Sie die INSTALL-Anleitung, -um sich über die weitere Konfiguration zu informieren. -Auch die afterboot(8) Manpage ist weiterzuempfehlen; Sie enthält eine Liste -mit Punkten, die nach dem ersten vollständigen Start geprüft werden sollten. - -Zumindest aber sollten Sie die /etc/rc.conf entsprechend Ihren Bedürfnissen -konfigurieren. Werfen Sie einen Blick in /etc/defaults/rc.conf rein, wo Sie -die Vorgaben für diese Datei finden. -} - -message upgrcomplete -{Die Installation von Makronix @@MXVERSION@@ ist jetzt abgeschlossen. Sie müssen -nun die Anweisungen im INSTALL-Dokument beachten, damit Ihr System - -entsprechend Ihrer Situation - neu konfiguriert werden kann. -Lesen Sie (erneut) die afterboot(8) Manpage, da diese seit Ihrer letzten -Aktualisierung bzw. Installation zusätzliche Angaben enthalten kann. - -Sie sollten wenigstens rc.conf ändern; dort gilt es rc_configured=NO auf -rc_configured=YES umzustellen, da das System sonst nur bis zum Single User -Modus (Einbenutzermodus) startet. -} - - -message unpackcomplete -{Das Entpacken der zusätzlichen Releasesets von Makronix @@MXVERSION@@ ist nun -beendet. -Sie sollten nun die Anweisungen im INSTALL-Dokument beachten, um -Ihr System Ihrer Konfiguration entsprechend einzurichten. Die afterboot(8) -Manpage kann ebenfalls nützlich sein. - -Zumindest müssen Sie die Datei rc.conf editieren, so daß die gewünschten -Dienste gestartet werden. Vergessen Sie nicht, rc_configured=NO auf -rc_configured=YES umzustellen. -} - -message distmedium -{Ihre Festplatte ist nun bereit für die Installation der Kernel- und -Distributionspakete. Wie im INSTALL-Dokument beschrieben, haben Sie nun -mehrere Optionen. -Für FTP oder NFS müssen Sie mit einem Netzwerk verbunden sein und -Zugriff auf die entsprechenden Server haben. - -Insgesamt %d Pakete ausgewählt, %d installiert. Nächstes Set: %s. - -} - -message distset -{Die Makronix-Distribution ist in verschiedene Pakete (Sets) aufgeteilt. -Es gibt einige grundlegende Pakete, die auf jeden Fall benötigt werden, -sowie optionale. -Es bleibt Ihnen überlassen, ein Basissystem (Minimale Installation) oder -alle Pakete (volle Installation) zu installieren bzw. einen benutzer- -definierten Satz auszuwählen. -} - -/* Called with: Example - * $0 = sets suffix .tgz - * $1 = URL protocol used ftp - */ -message ftpsource -{Dies sind die Daten zum Aufbau einer $1-Verbindung. -Falls der Benutzer "ftp" ist, benötigen Sie kein Passwort. - -} - -message email -{E-Mail-Adresse} - -message dev -{Laufwerk} - -/* Called with: Example - * $0 = sets suffix .tgz - */ -message nfssource -{Geben Sie den NFS-Server samt Verzeichnis an, auf dem die Distribution zu -finden ist. -(Das Verzeichnis muss $0-Dateien enthalten und über NFS mountbar sein.) - -} - -message floppysource -{Geben Sie das Diskettenlaufwerk und das Transfer-Verzeichnis auf dem -Zieldateisystem an. Das Installationspaket muss direkt im obersten -Verzeichnis der Diskette liegen. - -} - -/* Called with: Example - * $0 = sets suffix .tgz - */ -message cdromsource -{Geben Sie das CD-Laufwerk und das entsprechende Verzeichnis an, in dem -die Distribution zu finden ist. -(Das Verzeichnis muss $0-Dateien enthalten.) - -} - -message No_cd_found -{Kein CD Laufwerk enthält eine CD mit den Distributions-Dateien! -Geben Sie die korrekten Daten manuell ein, oder legen Sie eine CD -ein und versuchen Sie es erneut. -} - -message abort_install -{Installation abbrechen} - -message source_sel_retry -{Zurück zur Quellauswahl} - -message Available_cds -{Verfügbare CDs} - -message ask_cd -{Es wurden mehrere CDs gefunden. Bitte wählen Sie die Installations-CD aus.} - -message cd_path_not_found -{Die Installationsdateien wurden auf der ausgewählten CD nicht gefunden. Bitte -prüfen Sie den Gerätenamen und Pfad der Installationsdateien.} - -/* Called with: Example - * $0 = sets suffix .tgz - */ -message localfssource -{Geben Sie das noch nicht gemountete lokale Gerät und dessen entsprechendes -Verzeichnis an, in dem die Distribution zu finden ist. -(Das Verzeichnis muss $0-Dateien enthalten.) - -} - -/* Called with: Example - * $0 = sets suffix .tgz - */ -message localdir -{Geben Sie das Verzeichnis des bereits gemounteten lokalen Geräts an, in dem -die Distribution zu finden ist. -(Das Verzeichnis muss $0-Dateien enthalten.) - -} - -message filesys -{Dateisystem} - -message nonet -{Makronix hat keinen bekannten Netzwerkadapter gefunden. -Zurück zum vorigen Menü. -} - -message netup -{Die folgenden Netzwerkadapter sind verfügbar: %s -Hat einer davon Zugriff auf die benötigten Server?} - -message asknetdev -{Welchen Netzwerkadapter möchten Sie benutzen?} - -message netdevs -{Verfügbare Schnittstellen} - -message netinfo -{Um das Netzwerk nutzen zu können, werden folgende Angaben benötigt: - -} - -message net_domain -{DNS-Domain} - -message net_host -{Hostname} - -message net_ip -{IPv4-Adresse} - -message net_srv_ip -{IPv4-Adressse des Servers} - -message net_mask -{IPv4-Netzmaske} - -message net_namesrv -{IPv4-Nameserver} - -message net_defroute -{IPv4-Gateway} - -message net_media -{Art der Netzwerkverbindung (für Automatik leer lassen)} - -message net_ssid -{WLAN-SSID?} - -message net_passphrase -{WLAN-Passwort?} - -message netok -{Nachfolgend sehen Sie die aktuellen Netzwerkeinstellungen. - -DNS-Domain: %s -Hostname: %s -Nameserver: %s -Netzwerkadapter: %s -Verbindungstyp: %s -IP-Adresse: %s -Netzmaske: %s -IPv4-Gateway: %s -} - -message netok_slip -{Sie haben die folgenden Daten gewählt. Sind diese Daten OK? - -DNS-Domain: %s -Hostname: %s -Nameserver: %s -Netzwerkadapter: %s -Verbindungstyp: %s -IP-Adresse: %s -IP-Adresse des Servers: %s -Netzmaske: %s -IPv4-Gateway: %s -} - -message netokv6 -{ -IPv6-Autokonfiguration: %s -} - -message netok_ok -{Sind diese OK?} - -message slattach { -Flags für slattach -} - -message wait_network -{ -Bitte warten Sie, während die Netzwerkgeräte initialisiert werden. -} - -message resolv -{/etc/resolv.conf konnte nicht erstellt werden. Installation abgebrochen. -} - -/* Called with: Example - * $0 = target prefix /target/etc - * $1 = error message No such file or directory - */ -message realdir -{Fehler beim Wechseln in das Verzeichnis $0: $1 -Installation abgebrochen.} - -message delete_xfer_file -{Nach der Installation löschen} - -/* Called with: Example - * $0 = set name base - */ -message notarfile -{Das Release-Paket $0 existiert nicht.} - -.if HAVE_DVD_IMAGE -/* Called with: Example - * $0 = set name base - */ -message opt_set_not_found -{Das Paket "$0" ist optional und auf diesem Medium -nicht vorhanden. - -Das ist kein Problem und die Installation wird forgesetzt. -Das Paket kann nachträglich installiert werden, z.B. durch -download via https von der NetBSD CDN. - -Optionale Pakete sind: - debug/debug32 mit debug Informationen - base32 mit Unterstützung um 32bit Applikationen auf 64bit Architekturen zu verwenden - test mit automatischen Testprogrammen - manhtml mit Anleitung im html Format - -Für einige Architekturen stehen unterschiedliche ISO Dateien für CD und DVD Laufwerke -zur verfügung, auf der DVD Version sind alle Installations-Pakete enthalten. -} -.endif - -message endtarok -{Alle Distributionspakete wurden erfolgreich entpackt.} - -message endtar -{Beim Entpacken der Distributionspakete sind Probleme aufgetreten. -Ihre Installation ist daher unvollständig. - -Sie haben %d Distributionssets ausgewählt. %d davon wurden nicht -gefunden und %d wegen eines Fehlers übersprungen. -Von %d zu entpackenden Paketen sind %d erfolgreich und %d -mit Fehler entpackt worden. - -Bitte prüfen Sie die Bezugsquellen Ihrer Distribution und installieren -Sie gegebenfalls die Pakete erneut.} - -message abort_inst {Installation abgebrochen.} -message abort_part {Partitionierung abgebrochen.} - -message abortinst -{Die Distribution konnte nicht geladen werden. Sie müssen manuell fortfahren. -Installation abgebrochen. -} - -message abortupgr -{Die Distribution konnte nicht geladen werden. Sie müssen manuell fortfahren. -Aktualisierung abgebrochen. -} - -message abortunpack -{Das Entpacken der zusätzlichen Pakete ist fehlgeschlagen. Sie müssen -entweder manuell fortfahren oder eine andere Bezugsquelle für die Release- -Pakete angeben und es erneut versuchen. -} - -message createfstab -{Unüberwindliches Problem! Die Datei /mnt/etc/fstab konnte nicht erstellt -werden. Der Vorgang wird abgebrochen. -} - - -message noetcfstab -{Hilfe! Die Datei /etc/fstab konnte im Ziellaufwerk %s nicht gefunden -werden. Die Aktualisierung wird abgebrochen. -} - -message badetcfstab -{Hilfe! Es besteht eine fehlerhafte /etc/fstab im Ziellaufwerk %s. Die -Aktualisierung wird abgebrochen. -} - -message X_oldexists -{Der alte X-Server %s/bin/X kann nicht als %s/bin/X.old -gesichert werden, da eine Datei mit diesem Namen bereits existiert. -Bitte korrigieren Sie dies, bevor Sie fortfahren. - -Eine Möglichkeit ist es, im Extras-Menü eine Shell zu starten, -wodurch Sie %s/bin/X.old überprüfen können. Gehört diese Datei zu -einer früheren Aktualisierung, so können Sie diese mit rm -f -%s/bin/x.old löschen und danach die Aktualisierung neu starten. -Gehört die Datei %s/bin/X.old aber zu einer aktuellen, -abgebrochenen Aktualisierung, so können Sie die Datei %s/bin/X mit -mv %s/bin/X.old %s/bin/X wieder herstellen und die -unvollständige Aktualisierung fortsetzen. %0s%0s%0s - -Aktualisierung wird abgebrochen.} - -message netnotup -{Beim Testen des Netzwerks ist ein Problem aufgetreten. Entweder Ihr -Gateway oder Ihr Nameserver hat nicht auf "ping" reagiert. Möchten Sie Ihre -Netzwerkkonfiguration überarbeiten? - -("Nein" ermöglicht Ihnen die Fortsetzung oder den Abbruch der Installation.) -} - -message netnotup_continueanyway -{Möchten Sie die Installation dennoch fortsetzen? Sie können sich auch -später um das Netzwerk kümmern. ("Nein" bricht die Installation ab.) -} - -message makedev -{Erstelle Gerätedateien in /dev ... -} - -/* Called with: Example - * $0 = device name /dev/rwd0a - * $1 = file system type ffs - * $2 = error return code form fsck 8 - */ -message badfs -{Das Dateisystem auf $0 scheint kein $1-Dateisystem zu sein, -die Prüfung des Dateisystems (fsck) ist fehlgeschlagen (Fehler $2). - -Die Aktualisierung trotzdem fortsetzen? -} - -message rootmissing -{Das Zielverzeichnis %s existiert nicht. -} - -message badroot -{Das neu installierte root-Dateisystem scheint unvollständig zu sein. -Sind Sie sicher, dass Sie alle benötigten Sets installiert haben? -} - -message fd_type -{Floppy Dateisystem-Typ} - -message fdnotfound -{Datei konnte nicht gefunden werden. -} - -message fdremount -{Die Diskette konnte nicht gemountet werden. -} - -message fdmount -{Bitte legen Sie die Diskette mit der Datei "%s.%s" ein. - -Falls das Paket keine weiteren Disketten enthält, wählen Sie -"Paket fertig", um das Paket zu installieren. Wählen Sie -"Holen abbrechen", um zur Auswahl des Installationsmediums -zurückzukehren. -} - -.if 0 -message fdmount -{Bitte legen Sie die Diskette ein, auf der sich die Datei "%s.%s" befindet. } - -message fdnotfound -{Die Datei "%s.%s" wurde nicht gefunden. Bitte legen Sie die entsprechende -Diskette ein. -Wenn dies die letzte Diskette des Paketes war, wählen Sie "Paket fertig", -um zum nächsten Paket überzugehen - falls ein weiteres Paket folgt.} - -message fdremount -{Die Diskette konnte nicht gemountet werden. - -Sie sollten: - -Erneut probieren, die Diskette mit der Datei "%s.%s" einzulegen. - -Keine weiteren Disketten für dieses Paket laden, und stattdessen mit dem -nächsten Paket fortfahren - falls ein weiteres existiert. - -Keine weiteren Pakete mehr vom dem Diskettenlaufwerk laden und die Installation -abbrechen. -} -.endif - -message mntnetconfig -{Möchten Sie die aktuellen Netzwerkeinstellungen für den allgemeinen -Gebrauch in /etc speichern?} - -message cur_distsets -{Die folgenden Distributionspakete werden verwendet: - -} - -message cur_distsets_header -{ Distributionspaket Ausgewählt - ---------------------------------- ---------- -} - -message set_base -{Basispaket} - -message set_base32 -{Basispaket f?r 32-Bit-Kompatibilit?t} - -message set_base64 -{Basispaket f?r 64-Bit-Kompatibilit?t} - -message set_system -{Systemkonfiguration (/etc)} - -message set_compiler -{Compiler} - -message set_dtb -{Gerätebaum-Hardwarebeschreibungen} - -message set_games -{Spiele} - -message set_gpufw -{Graphics driver firmware} - -message set_makronix -{Fremdsoftware unter /usr/pkg} - -message set_man_pages -{Handbuchseiten (man pages)} - -message set_man_pages_html -{Handbuchseiten (man pages) in HTML} - -message set_misc -{Verschiedenes} - -message set_modules -{Kernel-Module} - -message set_rescue -{Wiederherstellungs-Werkzeuge} - -message set_tests -{Testprogramme} - -message set_text_tools -{Textverarbeitung} - -message set_X11 -{X11-Sets} - -message set_X11_base -{X11 Basis und Clients} - -message set_X11_etc -{X11 Konfiguration} - -message set_X11_fonts -{X11 Schriftarten} - -message set_X11_servers -{X11 Server} - -message set_X11_prog -{X11 Programmierung} - -message set_source -{Quelltexte und Debug-Info} - -message set_syssrc -{Kernel-Quelltexte} - -message set_src -{Basissystem-Quelltexte} - -message set_sharesrc -{Share-Quelltexte} - -message set_gnusrc -{GNU-Quelltexte} - -message set_xsrc -{X11-Quelltexte} - -message set_debug -{Debug-Information} - -message set_debug32 -{Debug-Information (32-Bit)} - -message set_debug64 -{Debug-Information (64-Bit)} - -message set_xdebug -{X11 Debug-Information} - -message select_all -{Alle oben angezeigten Pakete auswählen} - -message select_none -{Kein Paket wählen} - -message install_selected_sets -{Ausgewählte Pakete installieren} - -message tarerror -{Beim Extrahieren der Datei %s ist ein Fehler aufgetreten. Das bedeutet, dass -nicht alle Dateien korrekt extrahiert wurden und Ihr System somit nicht -vollständig sein wird. - -Möchten Sie mit dem Extrahieren der Pakete fortfahren?} - -/* Called with: Example - * $0 = partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message must_be_one_root -{Für eine der Partitionen muss als Mountverzeichnis '/' festgelegt werden.} - -/* Called with: Example - * $0 = first partition description 70 - 90 MB, MSDOS - * $1 = second partition description 80 - 1500 MB, 4.2BSD - */ -message partitions_overlap -{Die Partitionen $0 und $1 überlappen sich.} - -message No_Bootcode -{Kein Bootcode für die Rootpartition vorhanden} - -message cannot_ufs2_root -{Leider existiert für diese Maschine kein Bootloader für FFSv2 Dateisysteme, -daher kann das Root-Dateisystem nicht im FFSv2 Format angelegt werden.} - -message edit_partitions_again -{ - -Sie können entweder die Partitionstabelle noch einmal editieren oder aber zum -Hauptmenü zurückkehren. - -Wollen Sie die Partitionstabelle erneut editieren?} - -/* Called with: Example - * $0 = missing file /some/path - */ -message config_open_error -{Konnte Konfigurationsdatei $0 nicht öffnen.} - -message choose_timezone -{Bitte wählen Sie die für Sie passende Zeitzone aus der folgenden Liste aus. -Drücken Sie die Eingabetaste, um einen Eintrag anzuwählen. Betätigen Sie danach -die Taste 'x' gefolgt von der Eingabetaste, um das Menü zu verlassen. - - Vorgabe: %s - Ausgewählt: %s - Lokale Zeit: %s %s -} - -message tz_back -{ Zurück zum Zeitzonenmenü.} - -message swapactive -{Das Laufwerk, das Sie ausgewählt haben, verfügt über eine Swappartition, die -gegenwärtig auch benutzt wird. -Da Sie dabei sind, dieses Laufwerk erneut zu partitionieren, wird diese -Swappartition jetzt deaktiviert, weshalb eventuell Speicherprobleme auftreten -können. Sollte solch ein Fehler auftreten, starten Sie bitte Ihr System neu und -probieren es erneut.} - -message swapdelfailed -{Beim Versuch, die Swappartition des Laufwerks, das Sie für die Installation -von Makronix ausgewählt haben, zu deaktivieren, ist ein Fehler -aufgetreten. Bitte starten Sie das System neu.} - -message rootpw -{Das Rootpasswort für das neu installierte System wurde noch nicht gesetzt -und ist somit leer. Möchten Sie jetzt ein Rootpasswort für das System setzen?} - -message force_rootpw -{Das Rootpasswort für das neu installierte System wurde noch nicht gesetzt. -Geben Sie es jetzt ein. - -Falls Sie kein Rootpasswort setzen möchten, geben Sie ein leeres -Passwort ein.} - -message rootsh -{Sie können jetzt die Standardshell für Benutzer "root" auswählen. -Die Vorgabe dafür ist /bin/sh, aber vielleicht bevorzugen Sie eine andere -Shell.} - -message no_root_fs -{ -Für kein Dateisystem ist '/' als Mountverzeichnis gewählt. Sie müssen ein -Dateisystem als '/' konfigurieren. - -Drücken Sie die Eingabetaste um fortzufahren. -} - -message Pick_an_option {Wählen Sie eine an- oder abzuschaltende Option.} -message Scripting {Skripting} -message Logging {Logging} - -message Status { Status: } -message Command {Kommando: } -message Running {ausführen} -message Finished {fertig} -message Command_failed {fehlgeschlagen} -message Command_ended_on_signal {abgebrochen} - -message NetBSD_VERSION_Install_System {Makronix @@MXVERSION@@ Installationsprogramm} -message Exit_Install_System {Installationsprogramm beenden} -message Install_NetBSD_to_hard_disk {Makronix auf die Festplatte installieren} -message Upgrade_NetBSD_on_a_hard_disk {Aktualisierung einer bestehenden Makronix-Installation} -message Re_install_sets_or_install_additional_sets {Erneute Installation oder zusätzliche Pakete installieren} -message Reboot_the_computer {Computer neu starten} -message Utility_menu {Extras} -message Config_menu {Konfigurationsmenü} -message exit_utility_menu {Zurück zum Hauptmenü} -message exit_menu_generic {Zurück} -message NetBSD_VERSION_Utilities {Makronix @@MXVERSION@@ Extras} -message Run_bin_sh {Ausführen von /bin/sh} -message Set_timezone {Setzen der Zeitzone} -message Configure_network {Netzwerkkonfiguration} -message Partition_a_disk {Partitionieren eines Laufwerks} -message Logging_functions {Protokollierungsfunktionen (Logging)} -message Halt_the_system {System herunterfahren} -message yes_or_no {Ja oder Nein?} -message Hit_enter_to_continue {Drücken Sie die Eingabetaste um fortzufahren.} -message Choose_your_installation {Wählen Sie Ihre Installation} - -/* Called with: Example - * $0 = partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message Keep_existing_partitions -{Aktuelle $1-Partitionen verwenden} - -/* Called with: Example - * $0 = partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message Set_Sizes {Größen der Makronix-Partitionen festlegen} - -/* Called with: Example - * $0 = partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message Use_Default_Parts {Standard-Partitionsgößen verwenden} - -/* Called with: Example - * $0 = partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message Use_Empty_Parts {Partitionen frei definieren} - -/* Called with: Example - * $0 = current partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message Use_Different_Part_Scheme -{Alles löschen, anders partitionieren (statt $1)} - -message Gigabytes {Gigabyte} -message Megabytes {Megabyte} -message Bytes {Byte} -message Cylinders {Zylinder} -message Sectors {Sektoren} -message Select_medium {Medium auswählen} -message ftp {FTP} -message http {HTTP} -message https {HTTPS} -message nfs {NFS} -.if HAVE_INSTALL_IMAGE -message cdrom {CD-ROM / DVD / Medium mit Abbilddatei} -.else -message cdrom {CD-ROM / DVD} -.endif -message floppy {Diskette} -message local_fs {Ungemountetes Dateisysytem} -message local_dir {Lokales Verzeichnis} -message Select_your_distribution {Wählen Sie Ihre Pakete} -message Full_installation {Volle Installation} -message Full_installation_nox {Grundinstallation ohne X11} -message Minimal_installation {Minimale Installation} -message Custom_installation {Benutzerdefinierte Installation} -message hidden {** versteckt **} -message Host {Host} -message Base_dir {Basispfad} -message Set_dir_bin {Binärpaket-Verzeichnis} -message Set_dir_src {Quelltext-Verzeichnis} -message Dist_postfix {Dateierweiterung} -message Xfer_dir {Zwischenspeicher} -message transfer_method {Download via} -message User {Benutzer} -message Password {Passwort} -message Proxy {Proxy} -message Get_Distribution {Distribution herunterladen} -message Continue {Weiter} -message Prompt_Continue {Möchten Sie fortfahren?} -message What_do_you_want_to_do {Was möchten Sie tun?} -message Try_again {Versuchen Sie es erneut} -message Set_finished {Paket fertig} -message Skip_set {Paket überspringen} -message Skip_group {Paketgruppe überspringen} -message Abandon {Installation abbrechen} -message Abort_fetch {Holen abbrechen} -message Device {Gerät} -message File_system {Dateisystem} -message Select_DNS_server { Auswählen eines DNS Servers} -message other {andere } -message Perform_autoconfiguration {Automatische Konfiguration durchführen?} -message Root_shell {Root-Shell} -message User_shell {User-Shell} -message Color_scheme {Farbschema} -message White_on_black {Weiß auf schwarz} -message Black_on_white {Schwarz auf weiß} -message White_on_blue {Weiß auf Blau} -message Green_on_black {Grün auf schwarz} - -.if AOUT2ELF -message aoutfail -{Das Verzeichnis, in das die alten a.out-Bibliotheken gesichert -werden sollten, konnte nicht erstellt werden. Bitte starten Sie -die Aktualisierung erneut und stellen Sie sicher, dass alle Dateisysteme -gemountet sind.} - -message emulbackup -{Eins der Verzeichnisse /emul/aout oder /emul war ein symbolischer -Link, der auf ein nicht-gemountetes Dateisystem verwies. Der Link wurde -mit einer '.old' Erweiterung versehen. Sobald Ihr aktualisiertes -System gestartet ist, müssen Sie das neu erstellte /emul/aout mit dem alten -Verzeichnis abgleichen. -} -.endif - -message oldsendmail -{Sendmail ist nicht länger integrierter Bestandteil von Makronix. -Der Standard-MTA ist nun Postfix. Ihr System benutzt derzeit -eine Konfiguration in /etc/mailer.conf, die auf das nicht mehr -vorhandene Sendmail-Programm verweist. -Möchten Sie /etc/mailer.conf automatisch auf eine Version für -Postfix umstellen? Falls Sie "Nein" wählen, müssen Sie anschließend -manuell /etc/mailer.conf korrigieren, um funktionierende Mailauslieferung -zu gewährleisten.} - -message license -{Um den Netzwerkadapter %s zu benutzen, müssen Sie der Lizenz in -der Datei %s zustimmen. -Um den Lizenztext zu lesen, geben Sie ^Z ein, schauen den Inhalt -der Datei an und kehren mit dem Befehl "fg" zu sysinst zurück.} - -message binpkg -{Um Binärpakete zu installieren, muss erst eine Netzwerkverbindung konfiguriert -werden, über die die Pakete heruntergeladen werden. Nach einem ersten Start in -das installierte System können Sie mit dem Befehl 'pkgin' zusätzliche Pakete -installieren oder entfernen.} - -message pkgpath -{Zur Konfiguration von pkgin muss zuerst das Repository konfiguriert werden. -Welches Protokoll, welcher Host, welches Verzeichnis und welcher User/Passwort -sollen zum Herunterladen verwendet werden? Wenn der User auf "ftp" gesetzt wird, -dann wird kein Passwort benötigt. - -} -message rcconf_backup_failed {rc.conf-Backup fehlgeschlagen. Trotzdem fortfahren?} -message rcconf_backup_succeeded {rc.conf-Backup nach %s gespeichert.} -message rcconf_restore_failed {rc.conf-Restore ist fehlgeschlagen.} -message rcconf_delete_failed {Löschen des alten %s-Eintrages ist fehlgeschlagen.} -message Pkg_dir {Paketverzeichnis} -message configure_prior {Bestehende Installation konfigurieren} -message configure {Konfigurieren} -message change {Ändern} -message password_set {Passwort gesetzt} -message YES {JA} -message NO {NEIN} -message DONE {ERLEDIGT} -message abandoned {Abgebrochen} -message empty {***LEER***} -message timezone {Zeitzone} -message change_rootpw {root-Passwort setzen} -message enable_binpkg {Installation von Binärpaketen vorbereiten} -message enable_sshd {sshd (Secure Shell daemon) aktivieren} -message enable_ntpd {ntpd aktivieren} -message run_ntpdate {ntpdate beim Starten ausführen} -message enable_mdnsd {Multicast DNS aktivieren} -message enable_xdm {xdm (X Display Manager) aktivieren} -message enable_cgd {cgd aktivieren (kryptografische Laufwerkskonfiguration)} -message enable_lvm {lvm (Logical Volume Manager) aktivieren} -message enable_raid {raidframe aktivieren} -message add_a_user {Benutzer hinzufügen} -message configmenu {Zusätzliche Einstellungen konfigurieren.} -message doneconfig {Konfiguration abgeschlossen.} -message Install_pkgin {pkgin installieren und Datenbank initialisieren} -message binpkg_installed -{Das System kann nun Binärpakete mittels pkgin installieren. Um ein Paket zu -installieren, führen Sie den folgenden Befehl in einer root-Shell aus: - -pkgin install - -Weitere Informationen finden Sie in der pkgin(1)-Manpage.} -message Install_pkgsrc {pkgsrc herunterladen und entpacken} -message pkgsrc -{Welches Protokoll, welcher Host, welches Verzeichnis und welcher User/Passwort -sollen zum Herunterladen von pkgsrc verwendet werden? Wenn der User auf "ftp" -gesetzt wird, dann wird kein Passwort benötigt. - -} -message Pkgsrc_dir {pkgsrc-Verzeichnis} -message get_pkgsrc {pkgsrc herunterladen und extrahieren} -message retry_pkgsrc_network -{Netzwerkkonfiguration fehlgeschlagen. Noch einmal versuchen?} -message quit_pkgsrc {Ohne Installation von pkgsrc beenden.} -message quit_pkgs_install {Installation von Binärpaketen beenden.} -message pkgin_failed -{Die Installation von pkgin ist fehlgeschlagen, evtl. weil keine Binärpakete -vorhanden sind. Bitte den Pfad der Pakete überprüfen und noch einmal versuchen.} -message failed {Fehlgeschlagen} -message askfsmountadv {Mountpoint oder 'raid' oder 'cgd' oder 'lvm'?} -message partman {Erweiterte Partitionierung (Software-RAID, ...)} -message editpart {Partitionen bearbeiten} -message selectwedge {Bereits existierende "wedges" dk(4)} - -message fremove {ENTFERNEN} -message remove {Entfernen} -message add {Hinzufügen} -message auto {auto} - -message removepartswarn {Sie löschen alle existierenden Partitionen auf der Festplatte!} -message saveprompt {Speichern Sie die Änderungen vor dem Abschluss?} -message cantsave {Änderungen können nicht gespeichert werden.} -message noroot {Fortsetzen unmöglich, da keine Root-Partition definiert ist\n} - -message addusername {Benutzername (maximal 8 Zeichen)} -message addusertowheel {Diesen Benutzer der Gruppe 'wheel' hinzufügen? -So können Sie 'su' verwenden, um Superuser zu werden.} - -message Delete_partition -{Partition löschen} - -message No_filesystem_newfs -{Die ausgewählte Zielpartition scheint kein gültiges Dateisystem zu enthalten. -Möchten Sie ein neues erstellen (die Partition formatieren)?} - -message swap_display {Auslagerungspartition} - -/* Called with: Example - * $0 = parent device name sd0 - * $1 = swap partition name my_swap - */ -message Auto_add_swap_part -{Eine Auslagerungspartition (mit Namen $1) -scheint bereits auf der Festplatte $0 zu existieren. -Möchten Sie diese benutzen?} - -message parttype_disklabel {BSD disklabel} -message parttype_disklabel_short {disklabel} -/* - * This is used on architectures with MBR above disklabel when there is - * no MBR on a disk. - */ -message parttype_only_disklabel {disklabel (nur Makronix)} - -message select_part_scheme -{Dieses Gerät wurde anscheinend noch nicht partitioniert. -Bitte wählen Sie ein Partitionierungsverfahren.} - -message select_other_partscheme -{Bitte wählen Sie ein anderes Partitionierungsverfahren.} - -message select_part_limit -{Einige Verfahren können nur den Anfang einer großen Festplatte verwalten, -die Größenbegrenzung ist unten angegeben.} - -/* Called with: Example - * $0 = device name ld0 - * $1 = size 3 TB - */ -message part_limit_disksize -{Dieses Gerät ($0) ist $1 groß.} - -message size_limit {Max:} - -message addpart {Neue Partition hinzufügen} -message nopart { (noch keine Partition definiert)} -message custom_type {Unbekannt} - -message cancel {Abbrechen} - -message out_of_range {Ungültiger Wert} -message invalid_guid {Ungültige GUID} - -message reedit_partitions {Erneut bearbeiten} -message abort_installation {Installation abbrechen} - -message dl_get_custom_fstype {Dateisystem-Typcode (bis 255)} - -message dl_type_invalid {Ungültiger Dateisystem-Typcode (0 bis 255)} - -message err_too_many_partitions {Zu viele Partitionen} - -/* Called with: Example - * $0 = mount point /home - */ -message mp_already_exists {$0 ist bereits vorhanden!} - -message ptnsize_replace_existing -{Diese Partition besteht bereits. -Um die Größe zu ändern, müssen Sie die Partition löschen und später neu -erstellen. Alle vorhandenen Daten gehen dabei verloren! - -Möchten Sie die Partition löschen?} - -message part_not_deletable {Diese Partition kann nicht gelöscht werden} - -message ptn_type {Typ} -message ptn_start {Start} -message ptn_size {Größe} -message ptn_end {Ende} - -message ptn_bsize {Blockgröße} -message ptn_fsize {Fragmentgröße} -message ptn_isize {Durchschnittliche Dateigröße} - -/* Called with: Example - * $0 = avg file size in byte 1200 - */ -message ptn_isize_bytes {$0 Bytes (zur Inode-Bestimmung)} -message ptn_isize_dflt {4 Fragmente} - -message Select_file_system_block_size -{Wählen Sie die Blockgröße des Dateisystems aus} - -message Select_file_system_fragment_size -{Wählen Sie die Fragmentgröße des Dateisystems aus} - -message ptn_isize_prompt -{Durchschnittliche Dateigröße (in Bytes)} - -message Invalid_numeric {Ungültige Zahl!} -message Too_large {Zu groß!} -message No_free_space {Kein freier Speicherplatz.} - -/* Called with: Example - * $0 = start of free space 500 - * $1 = end of free space 599 - * $2 = size of free space 100 - * $3 = unit in use MB - */ -message free_space_line {Speicherplatz bei $0..$1 $3 (Größe $2 $3)\n} - -message fs_type_ffsv2 {FFSv2} -message fs_type_ffsv2ea {FFSv2ea} -message fs_type_ffs {FFS} -message fs_type_efi_sp {EFI Systempartition} -message fs_type_ext2old {Linux Ext2 (alt)} -message other_fs_type {Anderer Typ} - -message editpack {Namen der Festplatte festlegen} -message edit_disk_pack_hdr -{Der Name der Festplatte kann frei definiert werden. -Er dient der Unterscheidung verschiedener Festplatten durch den Anwender. -Er wird aber auch benutzt, wenn automatisch dk(4) "wedges" für -Partitionen dieser Platte erzeugt werden. - -Geben Sie den Namen ein} - -/* Called with: Example - * $0 = outer partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message reeditpart -{Wollen Sie die $1-Partitionen erneut bearbeiten?} - - -/* Called with: Example - * $0 = device name wd0 - * $1 = outer partitioning name Master Boot Record (MBR) - * $2 = inner partitioning name BSD disklabel - * $3 = short version of $1 MBR - * $4 = short version of $2 disklabel - * $5 = size needed for Makronix 250M - * $6 = size needed to build Makronix 15G - */ -message fullpart -{Makronix wird auf die Festplatte $0 installiert. - -Makronix benötigt eine eigene Partition im $1. Diese Partition -wird später durch das $2 weiter aufgeteilt. -Makronix kann auch auf Dateisysteme in anderen $3-Partitionen zugreifen. - -'Die ganze Festplatte nutzen' löscht alle vorhandenen $3-Partitionen. -Um auch andere Betriebssysteme zu nutzen, erstellen Sie eine -$3-Partition. - -Etwa $5 reichen für eine Basisinstallation, aber Sie sollten -zusätzlichen Platz für Erweiterungen und Benutzerdateien einrechnen. -Reservieren Sie mindestens $6, wenn Sie Makronix selbst compilieren möchten.} - -message Select_your_choice -{Wie möchten Sie verfahren?} - -/* Called with: Example - * $0 = partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message Use_only_part_of_the_disk -{$1-Partitionstabelle bearbeiten} - -message Use_the_entire_disk -{Die ganze Festplatte nutzen} - -/* Called with: Example - * $0 = device name wd0 - * $1 = total disk size 3000 GB - * $2 = unallocated space 1.2 GB - */ -message part_header -{ Gesamtkapazität von $0: $1 - noch verfügbar: $2} -message part_header_col_start {Start} -message part_header_col_size {Größe} -message part_header_col_flag {Flag} - -message Partition_table_ok -{Partitionstabelle OK} - -message Dont_change -{Nicht verändern} -message Other_kind -{Anderer Partitionstyp} - -message install_flag {I} -message newfs_flag {F} - -/* Called with: Example - * $0 = outer partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message nobsdpart -{Keine Makronix-Partition im $1} - -message multbsdpart -{Es befinden sich mehrere Makronix-Partitionen im $1. -Sie sollten das Flag 'hier installieren' auf die Partition setzen, die Sie nutzen -wollen.} - -message ovrwrite -{Ihre Festplatte verfügt gegenwärtig über eine Nicht-Makronix-Partition. -Möchten Sie diese Partition wirklich mit Makronix überschreiben? -} - -message Partition_OK -{Partition OK} - -/* Called with: Example - * $0 = device name wd0 - * $1 = outer partitioning name Master Boot Record (MBR) - * $2 = short version of $1 MBR - * $3 = other flag options d = bootselect default, a = active - */ -message editparttable -{Hier sehen Sie die aktuellen $2-Partitionen auf $0. -Flag: hier (I)nstallieren$3. -Wählen Sie die Partition, die Sie verändern möchten: - -} - -message ptn_install {Installation} -message ptn_instflag_desc {(I)nstalllieren, } - -message clone_flag {C} -message clone_flag_desc {, (C) für Klonen} - -.if HAVE_GPT -message parttype_gpt {Guid Partition Table (GPT)} -message parttype_gpt_short {GPT} -.endif - -message ptn_label {Label} -message ptn_uuid {UUID} -message ptn_gpt_type {GPT-Typ} -message ptn_boot {Start} - -/* Called with: Example - * $0 = outer partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message use_partitions_anyway -{Diese Partitionierung dennoch verwenden} - -.if HAVE_GPT -message gpt_flags {S} -message gpt_flag_desc {, (S)tart} -.endif - -/* Called with: Example - * $0 = file system type FFSv2 - */ -message size_ptn_not_mounted {(Sonstige: $0)} - -message running_system {aktuelles System} - -.if HAVE_CLONES -message clone_from_elsewhere {Externe Partition(en) duplizieren} -message select_foreign_part {Wählen Sie eine Quellpartition:} -message select_source_hdr -{Zur Zeit ausgwählte Quellpartitionen:} -message clone_with_data {Auch die Inhalte duplizieren} -message select_source_add {Weitere Partition hinzufügen} -message clone_target_end {Als letzte hinzufügen} -message clone_target_hdr -{Einfügen der duplizierten Partitionen vor:} -message clone_target_disp {duplizierte Partition(en)} -message clone_src_done -{Quellauswahl OK, weiter mit der Zielauswahl} -.endif - -message network_ok -{Ihr Netzwerk scheint bereits zu funktionieren. -Möchten Sie die Konfiguration überspringen -und die bisherigen Einstellungen verwenden?} - -message todr_old -{Die Uhr scheint falsch zu gehen!} - -message setdatetime -{Datum und Uhrzeit einstellen} - -message time_ok -{Datum und Uhrzeit wie eingestellt übernehmen} - - -/* Called with: Example - * $0 = header message The clock is off! - * $1 = current date/time string Sun, 12 Apr 2026 21:04:50 - */ -message date_and_time_hdr -{$0 - -Bitte geben sie das aktuelle Datum und Uhrzeit ein. - -Eingestellte Zeit: $1 - - -} - -message year {Jahr} -message month {Monat (1-12)} -message day {Tag (1-31)} -message hour {Stunde (0-23)} -message minute {Minute (0-59)} - -.if HAVE_GPT -message resize_gpt -{Die Festplatte ist größer als der GPT angibt, soll das korrigiert werden?} -.endif - -/* Makronix: the first question of an installation (menu installmode) */ -message installmode_title {Art der Installation} -message installmode_simple {Einfach (empfohlen)} -message installmode_advanced {Erweitert} -message installmode -{Makronix kann auf zwei Arten installiert werden. - -Einfach: Sie wählen die Platte. Makronix partitioniert sie, -installiert alles und fragt nicht mehr nach Aufteilung oder Sets. -Alle Daten auf der gewählten Platte werden gelöscht. - -Erweitert: Sie wählen Partitionierung und Sets selbst. -} - -message cgdroot_ask -{Möchten Sie die Platte verschlüsseln? - -Das System wird in ein verschlüsseltes Volume (cgd) installiert. Bei jedem -Start des Rechners geben Sie eine Passphrase ein. Eine kleine unverschlüsselte -Partition enthält den Bootloader und den Kernel. Ohne Passphrase sind Ihre -Daten nicht lesbar; wenn Sie sie vergessen, sind die Daten verloren. - -Platte verschlüsseln? -} -message cgdroot_passphrase -{Die Platte wird jetzt partitioniert und verschlüsselt. - -Sie werden zweimal nach einer Passphrase gefragt. Merken Sie sie sich: sie wird -bei jedem Start gebraucht, und ohne sie gibt es keinen Weg zu den Daten. -} -message cgdroot_failed -{Das Einrichten der verschlüsselten Platte ist fehlgeschlagen. Siehe die -Ausgabe oben und das Protokoll. -} -message cgdroot_nokmod -{Das Boot-Modul cgdroot.kmod fehlt auf dem Installationsmedium -(installation/miniroot/cgdroot.kmod). Ohne es lässt sich das verschlüsselte -System nicht bootfähig machen. -} - -message welcome_ok {OK} -message welcome -{Willkommen zur Installation von Makronix %s - -Makronix ist NetBSD, gezielt geformt: Das NetBSD-System bleibt darunter -erhalten, dazu kommen der CDE-Desktop als Standard, ein gebrauchsfertiger -Satz Pakete und ein Installer, der die ganze Platte verschlüsseln kann. -Alles wird von der DVD oder nacheinander von den CDs installiert. - -Danke, dass Sie sich für Makronix entschieden haben. - -Mit OK geht es weiter. -} - -message set_msrc -{Makronix-Quellen (pkgsrc, Patches, Werkzeuge, Distfiles)} - -message nextcd_title {Nächste CD} -message nextcd_continue {Weiter (die CD liegt im Laufwerk)} -message nextcd_skip {Dieses Set überspringen} -message nextcd -{Das Set %s ist nicht auf dieser CD. - -Nehmen Sie diese CD aus dem Laufwerk und legen Sie die nächste CD der -Makronix-Installation (CD 2) ein. Wählen Sie dann Weiter. -} - -message setup_intro -{Fast fertig. - -Ein paar Fragen richten Ihren Computer ein: den Namen, das Netzwerk, das -Passwort des Administrators und Ihr eigenes Konto. Die grafische Anmeldung -(CDE) startet beim Hochfahren. -} -message setup_hostname {Name dieses Computers (Buchstaben, Ziffern, Bindestriche): } -message setup_hostname_invalid -{Der Name ist ungültig. Verwenden Sie Buchstaben, Ziffern und Bindestriche -und beginnen Sie mit einem Buchstaben oder einer Ziffer. -} -message setup_dhcp {Netzwerk automatisch einrichten (DHCP)?} -message setup_rootpw {Passwort des Administrators (root): } -message setup_userpw {Passwort für Ihr Konto: } -message setup_pw_again {Passwort noch einmal eingeben: } -message setup_pw_mismatch {Die Passwörter sind nicht gleich. Bitte noch einmal.} -message setup_pw_empty {Ein leeres Passwort wird nicht angenommen.} -message setup_fullname {Ihr vollständiger Name: } -message setup_username {Anmeldename (Kleinbuchstaben und Ziffern): } -message setup_user_invalid -{Der Anmeldename ist ungültig: er muss mit einem Kleinbuchstaben beginnen, -darf Kleinbuchstaben, Ziffern, - und _ enthalten und höchstens 31 Zeichen -lang sein. -} -message setup_failed {Passwort oder Konto konnten nicht eingerichtet werden. Siehe Protokoll.} -message setup_done -{Der Computer ist eingerichtet. - -Beim Hochfahren startet er mit Netzwerk (DHCP), Uhr (ntpd) und dem -CDE-Anmeldebildschirm. Melden Sie sich als %s an. -} - -message extras_ask -{Zusatzprogramme installieren? - -Firefox (Webbrowser), Thunderbird (E-Mail), QEMU (virtuelle Maschinen), -PulseAudio (Ton) und CUPS (Drucken) -liegen auf den letzten CDs der Makronix-Installation und auf der DVD. -Sie brauchen etwa 3 GB auf der Platte.} -message extras_nextcd -{Die Zusatzprogramme sind nicht auf dieser CD. - -Nimm diese CD aus dem Laufwerk und leg die CD mit den Zusatzprogrammen -(CD %d) ein, dann wähle Weiter.} -message extras_missing -{Die Zusatzprogramme sind nicht auf diesem Medium und werden nicht -installiert. - -Sie können später mit pkg_add installiert werden.} -message extras_failed -{Die Installation der Zusatzprogramme ist fehlgeschlagen. Siehe Protokoll. - -Sie können später mit pkg_add installiert werden.} - diff --git a/overlay/usr.sbin/sysinst/msg.mi.en b/overlay/usr.sbin/sysinst/msg.mi.en deleted file mode 100644 index b46f272996..0000000000 --- a/overlay/usr.sbin/sysinst/msg.mi.en +++ /dev/null @@ -1,1722 +0,0 @@ -/* $NetBSD: msg.mi.en,v 1.62 2026/07/12 20:07:45 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MI Message catalog -- english, machine independent */ - -message sysinst_message_language -{Installation messages in English} - -message sysinst_message_locale -{en_US.ISO8859-1} - -message out_of_memory {Out of memory!} -message Yes {Yes} -message No {No} -message All {All} -message Some {Some} -message None {None} -message none {none} -message OK {OK} -message ok {ok} -message On {On} -message Off {Off} -message unchanged {unchanged} -message Delete {Delete?} - -message install -{install} - -message reinstall -{reinstall sets for} - -message upgrade -{upgrade} - -message hello -{Makronix @@MXVERSION@@ @@MXNAME@@ (@@MACHINE@@) - -This menu-driven tool is designed to help you install Makronix to a hard -disk, or upgrade an existing Makronix system, with a minimum of work. -In the following menus type the reference letter (a, b, c, ...) to -select an item, or type CTRL+N/CTRL+P to select the next/previous item. -The arrow keys and Page-up/Page-down may also work. -Activate the current selection from the menu by typing the enter key. -} - -message thanks -{Thank you for using Makronix! -} - -message installusure -{You have chosen to install Makronix on your hard disk. This will change -information on your hard disk. You should have made a full backup -before this procedure! This procedure will do the following things: - a) Partition your disk - b) Create new BSD file systems - c) Load and install distribution sets - d) Some initial system configuration - -(After you enter the partition information but before your disk is -changed, you will have the opportunity to quit this procedure.) - -Shall we continue? -} - -message upgradeusure -{Ok, let's upgrade Makronix on your hard disk. As always, this will -change information on your hard disk. You should have made a full backup -before this procedure! Do you really want to upgrade Makronix? -(This is your last warning before this procedure starts modifying your -disks.) -} - -message reinstallusure -{Ok, let's unpack the Makronix distribution sets to a bootable hard disk. -This procedure just fetches and unpacks sets onto a pre-partitioned -bootable disk. It does not label disks, upgrade bootblocks, or save -any existing configuration info. (Quit and choose `install' or -`upgrade' if you want those options.) You should have already done an -`install' or `upgrade' before starting this procedure! - -Do you really want to reinstall Makronix distribution sets? -(This is your last warning before this procedure starts modifying your -disks.) -} - -message mount_failed -{Mounting %s failed. Continue? -} - -message nodisk -{I can not find any hard disks for use by Makronix. You will be -returned to the original menu. -} - -message onedisk -{I found only one disk, %s. -Therefore I assume you want to %s Makronix on it. -} - -message ask_disk -{On which disk do you want to %s Makronix? -The most common disk types are: - - wd: SATA, ATA, or IDE - - sd: SCSI or removable USB disk - - ld: NVMe (e.g. M.2 card), SD/MMC card, or virtual disk -} - -message Available_disks -{Available disks} - -message Available_wedges {Existing "wedges"} - -message heads -{heads} - -message sectors -{sectors} - -message mountpoint -{mount point (or '-')} - -message cylname -{cyl} - -message secname -{sec} - -message megname -{MB} - -message gigname -{GB} - -/* Called with: Example - * $0 = device name wd0 - * $1 = partitioning scheme name Guid Partition Table - * $2 = short version of $1 GPT - * $3 = disk size for Makronix 3TB - * $4 = full install size min. 127M - * $5 = install with X min. 427M - */ -message layout_prologue_none -{You can use a simple editor to set the sizes of the Makronix partitions, -or apply the default partition sizes and contents.} - -/* Called with: Example - * $0 = device name wd0 - * $1 = partitioning scheme name Guid Partition Table - * $2 = short version of $1 GPT - * $3 = disk size for Makronix 3TB - * $4 = full install size min. 127M - * $5 = install with X min. 427M - */ - -message layout_prologue_existing -{If you do not want to use the existing partitions, you can -use a simple editor to set the sizes of the Makronix partitions, -or remove existing ones and apply the default partition sizes.} - -/* Called with: Example - * $0 = device name wd0 - * $1 = partitioning scheme name Guid Partition Table - * $2 = short version of $1 GPT - * $3 = disk size for Makronix 3TB - * $4 = full install size min. 127M - * $5 = install with X min. 427M - */ -message layout_main -{ - -You will then be given the opportunity to change any of the partition -details. - -The Makronix (or free) part of your disk ($0) is $3. - -A full installation requires at least $4 without X and -at least $5 if the X sets are included.} - -message Choose_your_size_specifier -{Choosing mega- or gigabytes will give partition sizes close -to your choice, but aligned to cylinder boundaries. -Choosing sectors will allow you to more accurately specify -the sizes. On most disks, there is little to gain from -cylinder alignment. On very old disks, it is most efficient -to choose partition sizes that are exact multiples of your actual -cylinder size. - -Choose your size specifier} - -message ptnsizes -{You can now change the sizes for the system partitions. The default is -to allocate all the space to the root file system. However, you may wish -to have separate /usr (additional system files), /var (log files etc) -or /home (users' home directories) file systems. - -Free space will be added to the partition marked with a '+'.} - -/* Called with: Example - * $0 = list of marker explanations '=' existining, '@' external - */ -message ptnsizes_markers {Other markers: $0 partition.} -message ptnsizes_mark_existing {'=' existing} -message ptnsizes_mark_external {'@' external} - -message ptnheaders_size {Size} -message ptnheaders_filesystem {Filesystem} - -message askfsmount -{Mount point (empty to cancel)?} - -message askfssize -{Size for %s in %s?} - -message askunits -{Change input units (sectors/cylinders/MB/GB)} - -message NetBSD_partition_cant_change -{Makronix partition} - -message Whole_disk_cant_change -{Whole disk} - -message Boot_partition_cant_change -{Boot partition} - -message add_another_ptn -{Add a user defined partition} - -/* Called with: Example - * $0 = free space 1.4 - * $1 = size unit GB - */ -message fssizesok -{Go on. Free space $0 $1.} - -/* Called with: Example - * $0 = missing space 1.4 - * $1 = size unit GB - */ -message fssizesbad -{Abort. Not enough space, $0 $1 missing!} - -message startoutsidedisk -{The start value you specified is beyond the end of the disk. -} - -message endoutsidedisk -{With this value, the partition end is beyond the end of the disk. -Your partition size has been truncated.} - -.if HAVE_DISKSIZE_CHECKS -/* Called with: Example - * $0 = device name wd0 - * $1 = partitioning scheme name Master Boot Record (MBR) - * $2 = short version of $1 MBR - * $3 = disk size 3TB - * $4 = size limit 2TB - */ -message toobigdisklabel -{ -This disk ($0) is too large ($3) for a $2 partition table (max $4), -hence only the start of the disk is usable. -} - -message cvtscheme_hdr {What would you like to do to the existing partitions?} -message cvtscheme_keep {keep (use only part of disk)} -message cvtscheme_delete {delete (all data will be lost!)} -message cvtscheme_convert {convert to another partitioning method} -message cvtscheme_abort {abort} -message cvtscheme_error -{Could not convert all partitions} -.endif - -/* Called with: Example - * $0 = device name wd0 - * $1 = partitioning scheme name BSD disklabel - * $2 = short version of $1 disklabel - * $3 = optional install flag (I)nstall, - * $4 = additional flags description (B)ootable - * $5 = total size 2TB - * $6 = free size 244MB - */ -message fspart -{We now have your $2 partitions for $0 below. -This is your last chance to change them. - -Flags: $3(N)ewfs$4. Total size: $5, free: $6} - -message ptnheaders_start {Start} -message ptnheaders_end {End} -message ptnheaders_fstype {FS type} - -message partition_sizes_ok -{Partition sizes ok} - -message edfspart -{The current values for this partition are -displayed below. - -Select the field you wish to change:} - -message ptn_newfs {newfs} -message ptn_mount {mount} -message ptn_mount_options {mount options} -message ptn_mountpt {mount point} - -message toggle -{Toggle} - -message restore -{Restore original values} - -message Select_the_type -{Select the type} - -message other_types -{other types} - -/* Called with: Example - * $0 = valid partition shortcuts a-e - * $1 = maximum allowed 4292098047 - * $2 = size unit MB - */ -message label_size_head -{Special values that can be entered for the size value: - -1: use until the end} - -/* Called with: Example - * $0 = valid partition shortcuts a-e - * $1 = maximum allowed 4292098047 - * $2 = size unit MB - */ -message label_size_part_hint -{ $0: use until the given partition} - - -/* Called with: Example - * $0 = valid partition shortcuts a-e - * $1 = maximum allowed 4292098047 - * $2 = size unit MB - */ -message label_size_tail {Size (max $1 $2)} - -/* Called with: Example - * $0 = valid partition shortcuts a-e - * $1 = valid free space shortcuts f-h - * $2 = size unit MB - */ -message label_offset_head -{Special values that can be entered for the offset value: - -1: start at the beginning} - -/* Called with: Example - * $0 = valid partition shortcuts a-e - * $1 = valid free space shortcuts f-h - * $2 = size unit MB - */ -message label_offset_part_hint -{ $0: start at the end of given partition} - -/* Called with: Example - * $0 = valid partition shortcuts a-e - * $1 = valid free space shortcuts f-h - * $2 = size unit MB - */ -message label_offset_space_hint -{ $1: start at the beginning of given free space} - -/* Called with: Example - * $0 = valid partition shortcuts a-e - * $1 = valid free space shortcuts f-h - * $2 = size unit MB - */ -message label_offset_tail {Start ($2)} - -message invalid_sector_number -{Badly formed number} - -message packname -{Please enter a name for your Makronix disk} - -message lastchance -{Ok, we are now ready to install Makronix on your hard disk (%s). Nothing has been -written yet. This is your last chance to quit this process before anything -gets changed. - -Shall we continue? -} - -message disksetupdone -{Ok, the first part of the procedure is finished. Sysinst has -written a disklabel to the target disk, and newfs'ed and fsck'ed -the new partitions you specified for the target disk. -} - -message disksetupdoneupdate -{Ok, the first part of the procedure is finished. Sysinst has -written a disklabel to the target disk, and fsck'ed the new -partitions you specified for the target disk. -} - -message openfail -{Could not open %s, error message was: %s. -} - -/* Called with: Example - * $0 = device name /dev/wd0a - * $1 = mount path /usr - */ -message mountfail -{mount of device $0 on $1 failed. -} - -message extractcomplete -{The extraction of the selected sets for Makronix @@MXVERSION@@ is complete. -The system is now able to boot from the selected hard disk. To complete -the installation, sysinst will give you the opportunity to configure -some essential things first. -} - -message instcomplete -{The installation of Makronix @@MXVERSION@@ is now complete. The system -should boot from hard disk. Follow the instructions in the INSTALL -document about final configuration of your system. We also recommend -reading the afterboot(8) manpage; it contains a list of things to be -checked after the first complete boot. - -At a minimum, you should edit /etc/rc.conf to match your needs. See -/etc/defaults/rc.conf for the default values. -} - -message upgrcomplete -{The upgrade to Makronix @@MXVERSION@@ is now complete. You will -now need to follow the instructions in the INSTALL document as to -what you need to do to get your system reconfigured for your situation. -Remember to (re)read the afterboot(8) manpage as it may contain new -items since your last upgrade. -} - - -message unpackcomplete -{Unpacking additional release sets of Makronix @@MXVERSION@@ is now complete. -You will now need to follow the instructions in the INSTALL document -to get your system reconfigured for your situation. -The afterboot(8) manpage can also be of some help. - -If you unpacked the etc set, you will need to edit /etc/rc.conf to get a -multi-user system. At a minimum, you will need to change rc_configured=NO -to rc_configured=YES. -} - -message distmedium -{Your disk is now ready for installing the kernel and the distribution -sets. As noted in your INSTALL notes, you have several options. For -ftp or nfs, you must be connected to a network with access to the proper -machines. - -Sets selected %d, processed %d, Next set %s. - -} - -message distset -{The Makronix distribution is broken into a collection of distribution -sets. There are some basic sets that are needed by all installations -and there are some other sets that are optional. You may choose to install -a core set (Minimal installation), all of them (Full installation), or a custom -group of sets (Custom installation). -} - -/* Called with: Example - * $0 = sets suffix .tgz - * $1 = URL protocol used ftp - */ -message ftpsource -{The following are the $1 site, directory, user, and password that -will be used. If "user" is "ftp", then the password is not needed. - -} - -message email -{e-mail address} - -message dev -{device} - -/* Called with: Example - * $0 = sets suffix .tgz - */ -message nfssource -{Enter the nfs host and server directory where the distribution is located. -Remember, the directory should contain the $0 files and -must be nfs mountable. - -} - -message floppysource -{Enter the floppy device to be used and transfer directory on the target -file system. The set files must be in the root directory of the floppies. - -} - -/* Called with: Example - * $0 = sets suffix .tgz - */ -message cdromsource -{Enter the CDROM device to be used and directory on the CDROM where -the distribution is located. -Remember, the directory should contain the $0 files. - -} - -message No_cd_found -{Could not locate a CD medium in any drive with the distribution sets! -Enter the correct data manually, or insert a disk and retry. -} - -message abort_install -{Cancel installation} - -message source_sel_retry -{Back to source selection & retry} - -message Available_cds -{Available CDs } - -message ask_cd -{Multiple CDs found. Please select the one containing the install CD.} - -message cd_path_not_found -{The installation sets have not been found at the default location on this -CD. Please check the device and path name.} - -/* Called with: Example - * $0 = sets suffix .tgz - */ -message localfssource -{Enter the unmounted local device and directory on that device where -the distribution is located. -Remember, the directory should contain the $0 files. - -} - -/* Called with: Example - * $0 = sets suffix .tgz - */ -message localdir -{Enter the already-mounted local directory where the distribution is located. -Remember, the directory should contain the $0 files. - -} - -message filesys -{file system} - -message nonet -{I can not find any network interfaces for use by Makronix. You will be -returned to the previous menu. -} - -message netup -{The following network interfaces are active: %s -Does one of them connect to the required server?} - -message asknetdev -{Which network device would you like to use?} - -message netdevs -{Available interfaces} - -message netinfo -{To be able to use the network, we need answers to the following: - -} - -message net_domain -{Your DNS domain} - -message net_host -{Your host name} - -message net_ip -{Your IPv4 address} - -message net_srv_ip -{Server IPv4 address} - -message net_mask -{IPv4 Netmask} - -message net_namesrv -{Your name server} - -message net_defroute -{IPv4 gateway} - -message net_media -{Network media type (empty to autoconfigure)} - -message net_ssid -{Wi-Fi SSID?} - -message net_passphrase -{Wi-Fi passphrase?} - -message netok -{The following are the values you entered. - -DNS Domain: %s -Host Name: %s -Nameserver: %s -Primary Interface: %s -Media type: %s -Host IP: %s -Netmask: %s -IPv4 Gateway: %s -} - -message netok_slip -{The following are the values you entered. Are they OK? - -DNS Domain: %s -Host Name: %s -Nameserver: %s -Primary Interface: %s -Media type: %s -Host IP: %s -Server IP: %s -Netmask: %s -IPv4 Gateway: %s -} - -message netokv6 -{IPv6 autoconf: %s -} - -message netok_ok -{Are they OK?} - -message wait_network -{ -Waiting while network interface comes up. -} - -message resolv -{Could not create /etc/resolv.conf. Install aborted. -} - -/* Called with: Example - * $0 = target prefix /target - * $1 = error message No such file or directory - */ -message realdir -{Could not change to directory $0: $1. -Install aborted.} - -message delete_xfer_file -{Delete after install} - -/* Called with: Example - * $0 = set name base - */ -message notarfile -{Release set $0 does not exist.} - -.if HAVE_DVD_IMAGE -/* Called with: Example - * $0 = set name base - */ -message opt_set_not_found -{The set "$0" is optional and not included on this -distribution medium. - -This is not critical and installation will continue. -You can add this set later, e.g. by downloading it via -https from the NetBSD CDN. - -Optional sets are: - debug/debug32 containing debug information - base32 containing support for running 32bit code on 64bit architectures - test containing automatic test programs - manhtml containing man pages in html format - -Some architectures offer different CD vs. DVD ISO images, the DVD images -are complete and contain all sets. -} -.endif - -message endtarok -{All selected distribution sets unpacked successfully.} - -message endtar -{There were problems unpacking distribution sets. -Your installation is incomplete. - -You selected %d distribution sets. %d sets couldn't be found -and %d were skipped after an error occurred. Of the %d -that were attempted, %d unpacked without errors and %d with errors. - -Please recheck your distribution source and consider reinstalling sets -from the main menu.} - -message abort_inst {Install aborted.} -message abort_part {Partitioning aborted.} - -message abortinst -{The distribution was not successfully loaded. You will need to proceed -by hand. Installation aborted. -} - -message abortupgr -{The distribution was not successfully loaded. You will need to proceed -by hand. Upgrade aborted. -} - -message abortunpack -{Unpacking additional sets was not successful. You will need to -proceed by hand, or choose a different source for release sets and try -again. -} - -message createfstab -{There is a big problem! Can not create /mnt/etc/fstab. Bailing out! -} - - -message noetcfstab -{Help! No /etc/fstab in target disk %s. Aborting upgrade. -} - -message badetcfstab -{Help! Can't parse /etc/fstab in target disk %s. Aborting upgrade. -} - -message X_oldexists -{I cannot save %s/bin/X as %s/bin/X.old, because the -target disk already has an %s/bin/X.old. Please fix this before -continuing. - -One way is to start a shell from the Utilities menu, examine the -target %s/bin/X and %s/bin/X.old. If -%s/bin/X.old is from a completed upgrade, you can rm -f -%s/bin/X.old and restart. Or if %s/bin/X.old is from -a recent, incomplete upgrade, you can rm -f %s/bin/X and mv -%s/bin/X.old to %s/bin/X - -Aborting upgrade.} - -message netnotup -{There was a problem in setting up the network. Either your gateway -or your nameserver was not reachable by a ping. Do you want to -configure your network again? ("No" allows you to continue anyway -or abort the install process.) -} - -message netnotup_continueanyway -{Would you like to continue the install process anyway, and assume -that the network is working? ("No" aborts the install process.) -} - -message makedev -{Making device nodes ... -} - -/* Called with: Example - * $0 = device name /dev/rwd0a - * $1 = file system type ffs - * $2 = error return code form fsck 8 - */ -message badfs -{It appears that $0 is not a $1 file system or the fsck was -not successful. Try mounting it anyway? (Error number $2.) -} - -message rootmissing -{ target root is missing %s. -} - -message badroot -{The completed new root file system failed a basic sanity check. -Are you sure you installed all the required sets? -} - -message fd_type -{Floppy file system type} - -message fdnotfound -{Could not find the file on the floppy. -} - -message fdremount -{The floppy was not mounted successfully. -} - -message fdmount -{Please load the floppy containing the file named "%s.%s". - -If the set has no more disks, select "Set finished" to install the set. -Select "Abort fetch" to return to the install media selection menu. -} - -message mntnetconfig -{Is the network information you entered accurate for this machine -in regular operation and do you want it installed in /etc? } - -message cur_distsets -{The following is the list of distribution sets that will be used. - -} - -message cur_distsets_header -{ Distribution set Selected - ---------------------------------- -------- -} - -message set_base -{Base} - -message set_base32 -{Base 32-bit compatibility libraries} - -message set_base64 -{Base 64-bit compatibility libraries} - -message set_system -{Configuration files (/etc)} - -message set_compiler -{Compiler tools} - -message set_dtb -{Devicetree hardware descriptions} - -message set_games -{Games} - -message set_gpufw -{Graphics driver firmware} - -message set_makronix -{Third-party userland under /usr/pkg} - -message set_man_pages -{Manual pages} - -message set_man_pages_html -{Manual pages (HTML)} - -message set_misc -{Miscellaneous} - -message set_modules -{Kernel modules} - -message set_rescue -{Recovery tools} - -message set_tests -{Test programs} - -message set_text_tools -{Text processing tools} - -message set_X11 -{X11 sets} - -message set_X11_base -{X11 base and clients} - -message set_X11_etc -{X11 configuration} - -message set_X11_fonts -{X11 fonts} - -message set_X11_servers -{X11 servers} - -message set_X11_prog -{X11 programming} - -message set_source -{Source and debug sets} - -message set_syssrc -{Kernel sources} - -message set_src -{Base sources} - -message set_sharesrc -{Share sources} - -message set_gnusrc -{GNU sources} - -message set_xsrc -{X11 sources} - -message set_debug -{Debug symbols} - -message set_debug32 -{Debug symbols (32-bit)} - -message set_debug64 -{Debug symbols (64-bit)} - -message set_xdebug -{X11 debug symbols} - -message select_all -{Select all the above sets} - -message select_none -{Deselect all the above sets} - -message install_selected_sets -{Install selected sets} - -message tarerror -{There was an error in extracting the file %s. That means -some files were not extracted correctly and your system will not be -complete. - -Continue extracting sets?} - -/* Called with: Example - * $0 = partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message must_be_one_root -{There must be a single partition marked to be mounted on '/'.} - -/* Called with: Example - * $0 = first partition description 70 - 90 MB, MSDOS - * $1 = second partition description 80 - 1500 MB, 4.2BSD - */ -message partitions_overlap -{partitions $0 and $1 overlap.} - -message No_Bootcode -{No bootcode for specified FS type of root partition} - -message cannot_ufs2_root -{Sorry, the root file system can't be FFSv2 due to lack of bootloader support -on this port.} - -message edit_partitions_again -{ - -You can either edit the partition table by hand, or give up and return -to the main menu. - -Edit the partition table again?} - -/* Called with: Example - * $0 = missing file /some/path - */ -message config_open_error -{Could not open config file $0} - -message choose_timezone -{Please choose the timezone that fits you best from the list below. -Press RETURN to select an entry. -Press 'x' followed by RETURN to quit the timezone selection. - - Default: %s - Selected: %s - Local time: %s %s -} - -message tz_back -{ Back to main timezone list} - -message swapactive -{The disk that you selected has a swap partition that may currently be -in use if your system is low on memory. Because you are going to -repartition this disk, this swap partition will be disabled now. Please -beware that this might lead to out of swap errors. Should you get such -an error, please restart the system and try again.} - -message swapdelfailed -{Sysinst failed to deactivate the swap partition on the disk that you -chose for installation. Please reboot and try again.} - -message rootpw -{The root password of the newly installed system has not yet been initialized, -and is thus empty. Do you want to set a root password for the system now?} - -message force_rootpw -{The root password of the newly installed system has not yet been -initialized. - -If you do not want to set a password, enter an empty line.} - -message rootsh -{You can now select which shell to use for the root user. The default is -/bin/sh, but you may prefer another one.} - -message no_root_fs -{ -There is no defined root file system. You need to define at least -one mount point with "/". - -Press to continue. -} - -message slattach { -Enter slattach flags -} - -message Pick_an_option {Pick an option to turn on or off.} -message Scripting {Scripting} -message Logging {Logging} - -message Status { Status: } -message Command {Command: } -message Running {Running} -message Finished {Finished} -message Command_failed {Command failed} -message Command_ended_on_signal {Command ended on signal} - -message NetBSD_VERSION_Install_System {Makronix @@MXVERSION@@ Install System} -message Exit_Install_System {Exit Install System} -message Install_NetBSD_to_hard_disk {Install Makronix to hard disk} -message Upgrade_NetBSD_on_a_hard_disk {Upgrade Makronix on a hard disk} -message Re_install_sets_or_install_additional_sets {Re-install sets or install additional sets} -message Reboot_the_computer {Reboot the computer} -message Utility_menu {Utility menu} -message Config_menu {Config menu} -message exit_utility_menu {Back to main menu} -message exit_menu_generic {Exit} -message NetBSD_VERSION_Utilities {Makronix @@MXVERSION@@ Utilities} -message Run_bin_sh {Run /bin/sh} -message Set_timezone {Set timezone} -message Configure_network {Configure network} -message Partition_a_disk {Partition a disk} -message Logging_functions {Logging functions} -message Halt_the_system {Halt the system} -message yes_or_no {Yes or no?} -message Hit_enter_to_continue {Hit enter to continue} -message Choose_your_installation {Choose your installation} - -/* Called with: Example - * $0 = partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message Keep_existing_partitions -{Use existing $1 partitions} - -/* Called with: Example - * $0 = partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message Set_Sizes {Set sizes of Makronix partitions} - -/* Called with: Example - * $0 = partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message Use_Default_Parts {Use default partition sizes} - -/* Called with: Example - * $0 = partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message Use_Empty_Parts {Manually define partitions} - -/* Called with: Example - * $0 = current partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message Use_Different_Part_Scheme -{Delete everything, use different partitions (not $1)} - -message Gigabytes {Gigabytes} -message Megabytes {Megabytes} -message Bytes {Bytes} -message Cylinders {Cylinders} -message Sectors {Sectors} -message Select_medium {Install from} -message ftp {FTP} -message http {HTTP} -message https {HTTPS} -message nfs {NFS} -.if HAVE_INSTALL_IMAGE -message cdrom {CD-ROM / DVD / install image media} -.else -message cdrom {CD-ROM / DVD} -.endif -message floppy {Floppy} -message local_fs {Unmounted fs} -message local_dir {Local directory} -message Select_your_distribution {Select your distribution} -message Full_installation {Full installation} -message Full_installation_nox {Installation without X11} -message Minimal_installation {Minimal installation} -message Custom_installation {Custom installation} -message hidden {** hidden **} -message Host {Host} -message Base_dir {Base directory} -message Set_dir_bin {Binary set directory} -message Set_dir_src {Source set directory} -message Dist_postfix {File extension} -message Xfer_dir {Transfer directory} -message transfer_method {Download via} -message User {User} -message Password {Password} -message Proxy {Proxy} -message Get_Distribution {Get Distribution} -message Continue {Continue} -message Prompt_Continue {Continue?} -message What_do_you_want_to_do {What do you want to do?} -message Try_again {Try again} -message Set_finished {Set finished} -message Skip_set {Skip set} -message Skip_group {Skip set group} -message Abandon {Abandon installation} -message Abort_fetch {Abort fetch} -message Device {Device} -message File_system {File system} -message Select_DNS_server { Select DNS server} -message other {other } -message Perform_autoconfiguration {Perform autoconfiguration?} -message Root_shell {Root shell} -message User_shell {User shell} -message Color_scheme {Color scheme} -message White_on_black {White on black} -message Black_on_white {Black on white} -message White_on_blue {White on blue} -message Green_on_black {Green on black} - -.if AOUT2ELF -message aoutfail -{The directory where the old a.out shared libraries should be moved to could -not be created. Please try the upgrade procedure again and make sure you -have mounted all file systems.} - -message emulbackup -{Either the /emul/aout or /emul directory on your system was a symbolic link -pointing to an unmounted file system. It has been given a '.old' extension. -Once you bring your upgraded system back up, you may need to take care -of merging the newly created /emul/aout directory with the old one. -} -.endif - -message oldsendmail -{Sendmail is no longer in this release of Makronix, default MTA is -postfix. The file /etc/mailer.conf still chooses the removed -sendmail. Do you want to upgrade /etc/mailer.conf automatically for -postfix? If you choose "No" you will have to update /etc/mailer.conf -yourself to ensure proper email delivery.} - -message license -{To use the network interface %s, you must agree to the license in -file %s. To view this file now, you can type ^Z, look at the contents of -the file and then type "fg" to resume.} - -message binpkg -{To configure the binary package system, please choose the network location -to fetch packages from. Once your system comes up, you can use 'pkgin' -to install additional packages, or remove packages.} - -message pkgpath -{Enabling binary packages with pkgin requires setting up the repository. -The following are the host, directory, user, and password that -will be used. If "user" is "ftp", then the password is not needed. - -} -message rcconf_backup_failed {Making backup of rc.conf failed. Continue?} -message rcconf_backup_succeeded {rc.conf backup saved to %s.} -message rcconf_restore_failed {Restoring backup rc.conf failed.} -message rcconf_delete_failed {Deleting old %s entry failed.} -message Pkg_dir {Package directory} -message configure_prior {configure a prior installation of} -message configure {configure} -message change {change} -message password_set {password set} -message YES {YES} -message NO {NO} -message DONE {DONE} -message abandoned {Abandoned} -message empty {***EMPTY***} -message timezone {Timezone} -message change_rootpw {Change root password} -message enable_binpkg {Enable installation of binary packages} -message enable_sshd {Enable sshd (Secure Shell daemon)} -message enable_ntpd {Enable ntpd to sync time over network} -message run_ntpdate {Run ntpdate to set time over network at boot} -message enable_mdnsd {Enable multicast DNS support} -message enable_xdm {Enable xdm (X Display Manager)} -message enable_cgd {Enable cgd (cryptographic disk configuration)} -message enable_lvm {Enable lvm (Logical Volume Manager)} -message enable_raid {Enable raidframe} -message add_a_user {Add a user} -message configmenu {Configure the additional items as needed.} -message doneconfig {Finished configuring} -message Install_pkgin {Install pkgin and update package summary} -message binpkg_installed -{Your system is now configured to use pkgin to install binary packages. To -install a package, run: - -pkgin install - -from a root shell. Read the pkgin(1) manual page for further information.} -message Install_pkgsrc {Fetch and unpack pkgsrc} -message pkgsrc -{Installing pkgsrc requires unpacking an archive retrieved over the network. -The following are the host, directory, user, and password that -will be used. If "user" is "ftp", then the password is not needed. - -} -message Pkgsrc_dir {pkgsrc directory} -message get_pkgsrc {Fetch and unpack pkgsrc} -message retry_pkgsrc_network {Network configuration failed. Retry?} -message quit_pkgsrc {Quit without installing pkgsrc} -message quit_pkgs_install {Quit installing binary pkgs} -message pkgin_failed -{Installation of pkgin failed, possibly because no binary packages -exist. Please check the package path and try again.} -message failed {Failed} - -message askfsmountadv {Mountpoint (or 'raid', 'cgd', 'lvm')?} -message partman {Extended partitioning (software RAID, etc...)} -message editpart {Edit partitions} -message selectwedge {Preconfigured "wedges" dk(4)} - -message fremove {REMOVE} -message remove {Remove} -message add {Add} -message auto {auto} - -message removepartswarn {This removes all partitions on the disk!} -message saveprompt {Save changes before finishing?} -message cantsave {Changes cannot be saved.} -message noroot {No root partition defined. Cannot continue\n} - -message addusername {Username to add (maximum 8 characters)} -message addusertowheel {Do you wish to add this user to group wheel? -This will allow them to use 'su' to become the superuser.} - -message Delete_partition -{Delete partition} - -message No_filesystem_newfs -{The selected partition does not seem to have a valid file system. -Do you want to newfs (format) it?} - -message swap_display {swap} - -/* Called with: Example - * $0 = parent device name sd0 - * $1 = swap partition name my_swap - */ -message Auto_add_swap_part -{A swap partition (named $1) -seems to exist on $0. -Do you want to use that?} - -message parttype_disklabel {BSD disklabel} -message parttype_disklabel_short {disklabel} -/* - * This is used on architectures with MBR above disklabel when there is - * no MBR on a disk. - */ -message parttype_only_disklabel {disklabel (Makronix only)} - -message select_part_scheme -{The disk seems not to have been partitioned before. Please select -a partitioning scheme from the available options below. } - -message select_other_partscheme -{Please select a different partitioning scheme from the available -options below. } - -message select_part_limit -{Some schemes have size limits and can only be used for the start -of huge disks. The limit is displayed below.} - -/* Called with: Example - * $0 = device name ld0 - * $1 = size 3 TB - */ -message part_limit_disksize -{This device ($0) is $1 big.} - -message size_limit {Max:} - -message addpart {Add a partition} -message nopart { (no partition defined)} -message custom_type {Unknown} - -message dl_type_invalid {Invalid file system type code (0 .. 255)} - -message cancel {Cancel} - -message out_of_range {Invalid value} -message invalid_guid {Invalid GUID} - -message reedit_partitions {Re-edit} -message abort_installation {Abort installation} - -message dl_get_custom_fstype {File system type code (upto 255)} - -message err_too_many_partitions {Too many partitions} - -/* Called with: Example - * $0 = mount point /home - */ -message mp_already_exists {$0 already defined!} - -message ptnsize_replace_existing -{This is an already existing partition. -To change its size, the partition will need to be deleted and later -recreated. All data in this partition will be lost. - -Would you like to delete this partition and continue?} - -message part_not_deletable {Non-deletable system partition} - -message ptn_type {type} -message ptn_start {start} -message ptn_size {size} -message ptn_end {end} - -message ptn_bsize {block size} -message ptn_fsize {fragment size} -message ptn_isize {avg file size} - -/* Called with: Example - * $0 = avg file size in byte 1200 - */ -message ptn_isize_bytes {$0 bytes (for number of inodes)} -message ptn_isize_dflt {4 fragments} - -message Select_file_system_block_size -{Select file system block size} - -message Select_file_system_fragment_size -{Select file system fragment size} - -message ptn_isize_prompt -{average file size (bytes)} - -message No_free_space {No free space} -message Invalid_numeric {Invalid numeric!} -message Too_large {Too large!} - -/* Called with: Example - * $0 = start of free space 500 - * $1 = end of free space 599 - * $2 = size of free space 100 - * $3 = unit in use MB - */ -message free_space_line {Space at $0..$1 $3 (size $2 $3)\n} - -message fs_type_ffsv2 {FFSv2} -message fs_type_ffsv2ea {FFSv2ea} -message fs_type_ffs {FFS} -message fs_type_efi_sp {EFI system partition} -message fs_type_ext2old {Linux Ext2 (old)} -message other_fs_type {Other type} - -message editpack {Edit name of the disk} -message edit_disk_pack_hdr -{The name of the disk is arbitrary. -It is useful for distinguishing between multiple disks. -It may also be used when auto-creating dk(4) "wedges" for this disk. - -Enter disk name} - - -/* Called with: Example - * $0 = outer partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message reeditpart -{Do you want to re-edit the $1 partitions?} - - -/* Called with: Example - * $0 = device name wd0 - * $1 = outer partitioning name Master Boot Record (MBR) - * $2 = inner partitioning name BSD disklabel - * $3 = short version of $1 MBR - * $4 = short version of $2 disklabel - * $5 = size needed for Makronix 250M - * $6 = size needed to build Makronix 15G - */ -message fullpart -{We are now going to install Makronix on the disk $0. - -Makronix requires a single partition in the disk's $1 -partition table, this is split further by the $2. -Makronix can also access file systems in other $3 partitions. - -If you select 'Use the entire disk' then the previous contents of the -disk will be overwritten and a single $3 partition used to cover the -entire disk. -If you want to install more than one operating system then edit the -$3 partition table and create a partition for Makronix. - -About $5 is enough for a basic installation, but you should allow -extra for additional software and user files. -Allow at least $6 if you want to build Makronix itself.} - -message Select_your_choice -{What would you like to do?} - -/* Called with: Example - * $0 = partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message Use_only_part_of_the_disk -{Edit the $1 partition table} - -/* Called with: Example - * $0 = partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message Use_the_entire_disk -{Use the entire disk} - -/* Called with: Example - * $0 = device name wd0 - * $1 = total disk size 3000 GB - * $2 = unallocated space 1.2 GB - */ -message part_header -{ Total size of $0 is $1, available: $2} -message part_header_col_start {Start} -message part_header_col_size {Size} -message part_header_col_flag {Flag} - -message Partition_table_ok -{Partition table OK} - -message Dont_change -{Don't change} -message Other_kind -{Other} - -/* Called with: Example - * $0 = outer partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message nobsdpart -{There is no Makronix partition in the $1.} - -/* Called with: Example - * $0 = outer partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message multbsdpart -{There are multiple Makronix partitions in the $1. -You should set the 'install' flag on the one you want to use.} - -message ovrwrite -{Your disk currently has a non-Makronix partition. Do you really want to -overwrite that partition with Makronix? -} - -message Partition_OK -{Partition OK} - -/* Called with: Example - * $0 = device name wd0 - * $1 = outer partitioning name Master Boot Record (MBR) - * $2 = short version of $1 MBR - * $3 = other flag options d = bootselect default, a = active - */ -message editparttable -{The Current $2 partition table of $0 is shown below. -Flags: (I)nstall here$3. -Select the partition you wish to change: - -} - -message install_flag {I} -message newfs_flag {N} - -message clone_flag {C} -message clone_flag_desc {, (C)lone} - -message ptn_install {install} -message ptn_instflag_desc {(I)nstall, } - -.if HAVE_GPT -message parttype_gpt {Guid Partition Table (GPT)} -message parttype_gpt_short {GPT} -.endif - -message ptn_label {Label} -message ptn_uuid {UUID} -message ptn_gpt_type {GPT Type} -message ptn_boot {Boot} - -/* Called with: Example - * $0 = outer partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message use_partitions_anyway -{Use this partitions anyway} - -.if HAVE_GPT -message gpt_flags {B} -message gpt_flag_desc {, (B)ootable} -.endif - -/* Called with: Example - * $0 = file system type FFSv2 - */ -message size_ptn_not_mounted {(Other: $0)} - -message running_system {current system} - -.if HAVE_CLONES -message clone_from_elsewhere {Clone external partition(s)} -message select_foreign_part -{Please select an external source partition:} -message select_source_hdr -{Your currently selected source partitions are:} -message clone_with_data {Clone with data} -message select_source_add {Add another partition} -message clone_target_end {Add at end} -message clone_target_hdr -{Insert cloned partitions before:} -message clone_target_disp {cloned partition(s)} -message clone_src_done -{Source selection OK, proceed to target selection} -.endif - -message network_ok -{Your network seems to work fine. -Should we skip the configuration -and just use the network as-is?} - -message todr_old -{The clock seems to be off!} - -message setdatetime -{Set date and time} - -message time_ok -{Save date and time as selected} - -/* Called with: Example - * $0 = header message The clock is off! - * $1 = current date/time string Sun, 12 Apr 2026 21:04:50 - */ -message date_and_time_hdr -{$0 - -Please enter the date and time. - -Current selection: $1 - - -} - -message year {Year} -message month {Month (1-12)} -message day {Day (1-31)} -message hour {Hour (0-23)} -message minute {Minute (0-59)} - -.if HAVE_GPT -message resize_gpt -{The disk size is larger than the GPT shows, fix this?} -.endif - -/* Makronix: the first question of an installation (menu installmode) */ -message installmode_title {Select the installation mode} -message installmode_simple {Simple (recommended)} -message installmode_advanced {Advanced} -message installmode -{Makronix can be installed in two ways. - -Simple: you choose the disk. Makronix partitions it, installs -everything and asks nothing more about the layout or the sets. -All data on the chosen disk is erased. - -Advanced: you choose the partitioning and the sets yourself. -} - -message cgdroot_ask -{Do you want to encrypt the disk? - -The system is installed into an encrypted volume (cgd). You enter a -passphrase every time the computer starts. A small unencrypted partition -holds the boot loader and the kernel. Whoever has no passphrase can not -read your data; if you forget it, the data is lost. - -Encrypt the disk? -} -message cgdroot_passphrase -{The disk is now partitioned and encrypted. - -You are asked for a passphrase twice. Remember it: it is needed at every -boot, and there is no way to recover the data without it. -} -message cgdroot_failed -{Setting up the encrypted disk failed. See the output above and the log. -} -message cgdroot_nokmod -{The boot module cgdroot.kmod was not found on the installation medium -(installation/miniroot/cgdroot.kmod). The encrypted system can not be made -bootable without it. -} - -message welcome_ok {OK} -message welcome -{Welcome to the Makronix %s installation - -Makronix is NetBSD, shaped on purpose: the NetBSD system stays underneath, -and on top come the CDE desktop as the default, a ready-to-use set of -packages, and an installer that can encrypt the whole disk. Everything is -installed from the DVD or from the CDs, one after the other. - -Thank you for choosing Makronix. - -Press OK to continue. -} - -message set_msrc -{Makronix sources (pkgsrc, patches, tools, distfiles)} - -message nextcd_title {Next CD} -message nextcd_continue {Continue (the CD is in)} -message nextcd_skip {Skip this set} -message nextcd -{The set %s is not on this CD. - -Take this CD out of the drive and put in the next CD of the Makronix -installation (CD 2), then choose Continue. -} - -message setup_intro -{Almost done. - -A few questions set up your computer: its name, the network, the -password of the administrator and your own account. The graphical login -(CDE) starts when the computer boots. -} -message setup_hostname {Name of this computer (letters, digits, hyphens): } -message setup_hostname_invalid -{The name is not valid. Use letters, digits and hyphens, and start with a -letter or digit. -} -message setup_dhcp {Configure the network automatically (DHCP)?} -message setup_rootpw {Password for the administrator (root): } -message setup_userpw {Password for your account: } -message setup_pw_again {Type the password again: } -message setup_pw_mismatch {The passwords are not the same. Try again.} -message setup_pw_empty {An empty password is not accepted.} -message setup_fullname {Your full name: } -message setup_username {Login name (lower case letters and digits): } -message setup_user_invalid -{The login name is not valid: it must start with a lower case letter, may -contain lower case letters, digits, - and _, and may have at most 31 -characters. -} -message setup_failed {Setting up the password or the account failed. See the log.} -message setup_done -{The computer is set up. - -At boot it starts with the network (DHCP), the clock (ntpd) and the CDE -login screen. Log in as %s. -} - -message extras_ask -{Install the extra programs? - -Firefox (web browser), Thunderbird (mail), QEMU (virtual machines), -PulseAudio (sound) and CUPS (printing) are -on the last CDs of the Makronix installation and on the DVD. They -need about 3 GB on the disk.} -message extras_nextcd -{The extra programs are not on this CD. - -Take this CD out of the drive and put in the CD with the extra programs -(CD %d), then choose Continue.} -message extras_missing -{The extra programs are not on this medium and are not installed. - -They can be installed later with pkg_add.} -message extras_failed -{Installing the extra programs failed. See the log. - -They can be installed later with pkg_add.} - diff --git a/overlay/usr.sbin/sysinst/msg.mi.es b/overlay/usr.sbin/sysinst/msg.mi.es deleted file mode 100644 index d87d2e5dfa..0000000000 --- a/overlay/usr.sbin/sysinst/msg.mi.es +++ /dev/null @@ -1,1763 +0,0 @@ -/* $NetBSD: msg.mi.es,v 1.52 2026/07/12 20:07:45 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MI Message catalog -- spanish, machine independent */ - -/* - * We can not use non ascii characters in this message - it is displayed - * before the locale is set up! - */ -message sysinst_message_language -{Mensajes de instalacion en castellano} - -message sysinst_message_locale -{es_ES.ISO8859-15} - -message out_of_memory {Out of memory!} -message Yes {Sí} -message No {No} -message All {Todo} -message Some {Algunos} -message None {Ninguno} -message none {ninguno} -message OK {OK} -message ok {ok} -message On {Activado} -message Off {Desactivado} -message unchanged {sin cambios} -message Delete {¿Borrar?} - -message install -{instalar} - -message reinstall -{reinstalar conjuntos para} - -message upgrade -{actualizar} - -message hello -{Bienvenido a sysinst, la herramienta de instalación de Makronix @@MXVERSION@@. -Esta herramienta guiada por menús está diseñada para ayudarle a instalar -Makronix en un disco duro, o actualizar un sistema Makronix existente con -un trabajo mínimo. -En los siguientes menús teclee la letra de referencia (a, b, c, ...) para -seleccionar una opción, o teclee CTRL+N/CTRL+P para seleccionar la opción -siguiente/anterior. -Las teclas de cursor y AvPág/RePág puede que también funcionen. -Active la selección actual desde el menú pulsando la tecla Intro. -} - -message thanks -{¡Gracias por usar Makronix! -} - -message installusure -{Ha escogido instalar Makronix en su disco duro. Esto cambiará información -de su disco duro. ¡Debería haber hecho una copia de seguridad completa -antes de este procedimiento! Este procedimiento realizará las siguientes -operaciones: - a) Particionar su disco - b) Crear nuevos sistemas de ficheros BSD - c) Cargar e instalar los conjuntos de distribución - d) Algunas configuraciones iniciales del sistema - -(Después de introducir la información de las particiones pero antes de que -su disco sea cambiado, tendrá la oportunidad de salir del programa.) - -¿Desea continuar? -} - -message upgradeusure -{Se va a actualizar Makronix en su disco duro. Sin embargo, esto -cambiará información de su disco duro. ¡Debería hacer una copia de seguridad -completa antes de este procedimiento! ¿Realmente desea actualizar Makronix? -(Éste es su último aviso antes de que el programa empiece a modificar -sus discos.) -} - -message reinstallusure -{Se va a desempaquetar los conjuntos de distribución de Makronix -a un disco duro marcado como arrancable. Este procedimiento solamente -descarga y desempaqueta los conjuntos en un disco arrancable preparticionado. -No pone nombre a los discos, ni actualiza los bloques de arranque, ni guarda -ninguna información de configuración. (Salga y escoja `instalar' o -`actualizar' si quiere esas opciones.) ¡Ya debería haber hecho un -`instalar' o `actualizar' antes de iniciar este procedimiento! - -¿Realmente quiere reinstalar los conjuntos de la distribución Makronix? -(Éste es su último aviso antes de que el programa empiece a modificar -sus discos.) -} - -message mount_failed -{No se ha podido montar %s. ¿Desea continuar? -} - -message nodisk -{No se ha podido encontrar ningún disco duro para ser usado por Makronix. -Se le volverá a llevar al menú original. -} - -message onedisk -{Solamente se ha encontrado un disco, %s. -Por tanto se entiende que quiere %s Makronix en él. -} - -message ask_disk -{¿En cuál disco quiere %s Makronix? } - -message Available_disks -{Discos disponibles} - -message Available_wedges {Existing "wedges"} - -message heads -{cabezas} - -message sectors -{sectores} - -message mountpoint -{punto de montaje (o '-')} - -message cylname -{cil} - -message secname -{sec} - -message megname -{MB} - -message gigname -{GB} - -/* Called with: Example - * $0 = device name wd0 - * $1 = partitioning scheme name Guid Partition Table - * $2 = short version of $1 GPT - * $3 = disk size for Makronix 3TB - * $4 = full install size min. 127M - * $5 = install with X min. 427M - */ -message layout_prologue_none -{You can use a simple editor to set the sizes of the Makronix partitions, -or apply the default partition sizes and contents.} - -/* Called with: Example - * $0 = device name wd0 - * $1 = partitioning scheme name Guid Partition Table - * $2 = short version of $1 GPT - * $3 = disk size for Makronix 3TB - * $4 = full install size min. 127M - * $5 = install with X min. 427M - */ - -message layout_prologue_existing -{If you do not want to use the existing partitions, you can -use a simple editor to set the sizes of the Makronix partitions, -or remove existing ones and apply the default partition sizes.} - -/* Called with: Example - * $0 = device name wd0 - * $1 = partitioning scheme name Guid Partition Table - * $2 = short version of $1 GPT - * $3 = disk size for Makronix 3TB - * $4 = full install size min. 127M - * $5 = install with X min. 427M - */ -message layout_main -{ -You will then be given the opportunity to change any of the partition -details. - -The Makronix (or free) part of your disk ($0) is $3. - -A full installation requires at least $4 without X and -at least $5 if the X sets are included.} - -message Choose_your_size_specifier -{Seleccionar mega/gigabytes producirá tamaños de partición cercanos a su -elección, pero alineados a los limites de los cilindros. -Seleccionar sectores le permitirá especificar los tamaños de manera -más precisa. En discos ZBR modernos, el tamaño real del cilindro varía -a lo largo del disco y no hay mucha ventaja real en el alineamiento de -cilindros. En discos más viejos, lo más eficiente es seleccionar -tamaños de partición que sean multiples exactos del tamaño real del -cilindro. - -Escoja su especificador de tamaño} - -message ptnsizes -{Ahora puede cambiar los tamaños de las particiones del sistema. Por -omisión se asigna todo el espacio al sistema de archivos raíz, sin embargo -usted podría querer separar /usr (ficheros de sistema adicionales), /var -(ficheros de registro, etc) o /home (directorios de usuario). - -El espacio libre sobrante será añadido a la partición marcada con «+».} - -/* Called with: Example - * $0 = list of marker explanations '=' existining, '@' external - */ -message ptnsizes_markers {Other markers: $0 partition.} -message ptnsizes_mark_existing {«=» existing} -message ptnsizes_mark_external {«@» external} - -message ptnheaders_size {Size} -message ptnheaders_filesystem {Sistema de archivos} - -message askfsmount -{¿Punto de montaje?} - -message askfssize -{¿Tamaño de %s en %s?} - -message askunits -{Cambiar las unidades de entrada (sectores/cilindros/MB/GB)} - -message NetBSD_partition_cant_change -{Partición Makronix} - -message Whole_disk_cant_change -{Todo el disco} - -message Boot_partition_cant_change -{Partición de arranque} - -message add_another_ptn -{Añadir una partición definida por el usuario} - -/* Called with: Example - * $0 = free space 1.4 - * $1 = size unit GB - */ -message fssizesok -{Go on. Free space $0 $1.} - -/* Called with: Example - * $0 = missing space 1.4 - * $1 = size unit GB - */ -message fssizesbad -{Abort. Not enough space, $0 $1 missing!} - -message startoutsidedisk -{El valor del comienzo que ha especificado está mas allá del final del disco. -} - -message endoutsidedisk -{Con este valor, el final de la partición está mas allá del final del disco. -El tamaño de la partición se ha truncado.} - -.if HAVE_DISKSIZE_CHECKS -/* Called with: Example - * $0 = device name wd0 - * $1 = partitioning scheme name Master Boot Record (MBR) - * $2 = short version of $1 MBR - * $3 = disk size 3TB - * $4 = size limit 2TB - */ -message toobigdisklabel -{ -This disk ($0) is too large ($3) for a $2 partition table (max $4), -hence only the start of the disk is usable. -} - -message cvtscheme_hdr {What would you like to do to the existing partitions?} -message cvtscheme_keep {keep (use only part of disk)} -message cvtscheme_delete {delete (all data will be lost!)} -message cvtscheme_convert {convert to another partitioning method} -message cvtscheme_abort {abort} -message cvtscheme_error -{Could not convert all partitions} -.endif - -/* Called with: Example - * $0 = device name wd0 - * $1 = partitioning scheme name BSD disklabel - * $2 = short version of $1 disklabel - * $3 = optional install flag (I)nstall, - * $4 = additional flags description (B)ootable - * $5 = total size 2TB - * $6 = free size 244MB - */ -message fspart -{Sus particiones están ahora así. -Ésta es su última oportunidad para cambiarlas. - -Flags: $3(N)ewfs$4. Total: $5, free: $6} - -message ptnheaders_start {Inicio} -message ptnheaders_end {Fin} -message ptnheaders_fstype {Tipo FS} - -message partition_sizes_ok -{Tamaños de partición ok} - -message edfspart -{Los valores actuales de la particion son. - -Seleccione el campo que desee cambiar:} - -message ptn_newfs {newfs} -message ptn_mount {montar} -message ptn_mount_options {opc montaje} -message ptn_mountpt {punto montaje} - -message toggle -{Conmutar} - -message restore -{Restaurar los valores originales} - -message Select_the_type -{Seleccione el tipo} - -message other_types -{otros tipos} - -/* Called with: Example - * $0 = valid partition shortcuts a-e - * $1 = maximum allowed 4292098047 - * $2 = size unit MB - */ -message label_size_head -{Valores especiales que se pueden introducir para el valor del tamaño: - -1: usar hasta el final del disco} - -/* Called with: Example - * $0 = valid partition shortcuts a-e - * $1 = maximum allowed 4292098047 - * $2 = size unit MB - */ -message label_size_part_hint -{ $0: terminar esta partición donde empieza la partición X} - -/* Called with: Example - * $0 = valid partition shortcuts a-e - * $1 = maximum allowed 4292098047 - * $2 = size unit MB - */ -message label_size_tail -{Tamaño (max $1 $2)} - -/* Called with: Example - * $0 = valid partition shortcuts a-e - * $1 = valid free space shortcuts f-h - * $2 = size unit MB - */ -message label_offset_head -{Valores especiales que se pueden introducir para el valor del desplazamiento: - -1: empezar al principio del disco} - -/* Called with: Example - * $0 = valid partition shortcuts a-e - * $1 = valid free space shortcuts f-h - * $2 = size unit MB - */ -message label_offset_part_hint -{ $0: empezar al final de la partición anterior} - -/* Called with: Example - * $0 = valid partition shortcuts a-e - * $1 = valid free space shortcuts f-h - * $2 = size unit MB - */ -message label_offset_space_hint -{ $1: start at the beginning of given free space} - -/* Called with: Example - * $0 = valid partition shortcuts a-e - * $1 = valid free space shortcuts f-h - * $2 = size unit MB - */ -message label_offset_tail {inicio ($2)} - -message invalid_sector_number -{Número mal formado} - -message packname -{Por favor entroduzca un nombre para el disco Makronix} - -message lastchance -{Bien, todo está preparado para instalar Makronix en su disco duro (%s). -Todavía no se ha escrito nada. Ésta es su última oportunidad para salir -del proceso antes de que se cambie nada. - -¿Desea continuar? -} - -message disksetupdone -{De acuerdo, la primera parte del procedimiento ha terminado. -Sysinst ha escrito una etiqueta en el disco objetivo, y ha -formateado y comprobado las nuevas particiones que ha indicado -para el disco objetivo. -} - -message disksetupdoneupdate -{De acuerdo, la primera parte del procedimiento ha terminado. -Sysinst ha escrito una etiqueta en el disco objetivo, y -comprobdo las nuevas particiones que ha indicado para el disco objetivo. -} - -message openfail -{No se ha podido abrir %s, el mensaje de error ha sido: %s. -} - -/* Called with: Example - * $0 = device name /dev/wd0a - * $1 = mount path /usr - */ -message mountfail -{el montaje del dispositivo $0 en $1 ha fallado. -} - -message extractcomplete -{La extracción de los conjuntos seleccionados para Makronix @@MXVERSION@@ ha -finalizado. El sistema es ahora capaz de arrancar desde el disco duro -seleccionado. Para completar la instalación, sysinst le dará la -oportunidad de configurar antes algunos aspectos esenciales. -} - -message instcomplete -{La instalación de Makronix @@MXVERSION@@ ha finalizado. El sistema debería -arrancar desde el disco duro. Siga las instrucciones del documento -INSTALL sobre la configuración final del sistema. La pagina de manual -de afterboot(8) es otra lectura recomendada; contiene una lista de -cosas a comprobar despúes del primer arranque completo. - -Como mínimo, debe editar /etc/rc.conf para que cumpla sus necesidades. -Vea en /etc/defaults/rc.conf los valores predefinidos. -} - -message upgrcomplete -{Actualización a Makronix @@MXVERSION@@ completada. Ahora tendrá que -seguir las instrucciones del documento INSTALL para hacer lo que -necesite para conseguir tener el sistema configurado para su -situación. -Recuerde (re)leer la página de manual de afterboot(8), ya que puede -contener nuevos apartados desde su ultima actualización. - -Como mínimo, debe editar rc.conf para su entorno local y cambiar -rc_configured=NO a rc_configured=YES o los reinicios se detendrán en -single-user, y copie de nuevo los ficheros de contraseñas (teniendo en -cuenta las nuevas cuentas de sistema que se hayan podido crear para esta -versión) si estuviera usando ficheros de contraseñas locales. -} - - -message unpackcomplete -{Finalizado el desempaquetamiento de conjuntos adicionales de Makronix @@MXVERSION@@. -Ahora necesitará seguir las instrucciones del documento INSTALL para -tener su sistema reconfigurado para su situación. -La página de manual de afterboot(8) también puede serle de ayuda. - -Como mínimo, debe editar rc.conf para su entorno local, y cambiar -rd_configure=NO a rc_configured=YES, o los reinicios se detendrán -en modo de usuario único. -} - -message distmedium -{Su disco está ahora preparado para la instalación el nucleo y los conjuntos -de la distribución. Como se apunta en las notas INSTALL, tiene diversas -opciones. Para ftp o nfs, tiene que estar conectado a una red con acceso -a las maquinas apropiadas. - -Conjuntos seleccionados: %d, procesados: %d. Siguiente conjunto: %s. - -} - -message distset -{La distribución Makronix está dividida en una colección de conjuntos de -distribución. Hay algunos conjuntos básicos que son necesarios para todas -las instalaciones, y otros conjuntos que no son necesarios para todas las -instalaciones. Puede escoger para instalar sólo los conjuntos esenciales -(instalación mínima); instalar todos ellos (Instalación completa) o -seleccionar de entre los conjuntos de distribución opcionales. -} - -/* Called with: Example - * $0 = sets suffix .tgz - * $1 = URL protocol used ftp - */ -message ftpsource -{Lo siguiente son el sitio $1, directorio, usuario y contraseña que se -usarán. Si «usuario» es «ftp», no se necesita contraseña.. - -} - -message email -{dirección de correo electrónico} - -message dev -{dispositivo} - -/* Called with: Example - * $0 = sets suffix .tgz - */ -message nfssource -{Introduzca el servidor nfs y el directorio del servidor donde se encuentre -la distribución. Recuerde: el directorio debe contener los archivos $0 y -debe ser montable por nfs. - -} - -message floppysource -{Introduzca el dispositivo de disquete a usar y el directorio destino de la -transferencia en el sistema de archivos. Los archivos del conjunto han de estar -en el directorio raíz de los disquetes. - -} - -/* Called with: Example - * $0 = sets suffix .tgz - */ -message cdromsource -{Introduzca el dispositivo de CDROM a usar y el directorio del CDROM -donde se encuentre la distribución. -Recuerde, el directorio debe contener los archivos $0. - -} - -message No_cd_found -{Could not locate a CD medium in any drive with the distribution sets! -Enter the correct data manually, or insert a disk and retry. -} - -message abort_install -{Cancel installation} - -message source_sel_retry -{Back to source selection & retry} - -message Available_cds -{Available CDs} - -message ask_cd -{Multiple CDs found, please select the one containing the install CD.} - -message cd_path_not_found -{The installation sets have not been found at the default location on this -CD. Please check device and path name.} - -/* Called with: Example - * $0 = sets suffix .tgz - */ -message localfssource -{Introduzca el dispositivo local desmontado y el directorio de ese -dispositivo donde se encuentre la distribución. -Recuerde, el directorio debe contener los archivos $0. - -} - -/* Called with: Example - * $0 = sets suffix .tgz - */ -message localdir -{Introduzca el directorio local ya montado donde se encuentre la distribución. -Recuerde, el directorio debe contener los archivos $0. - -} - -message filesys -{sistema de archivos} - -message nonet -{No se ha podido encontrar ninguna interfaz de red para ser usada por Makronix. -Se le devolverá al menú anterior. -} - -message netup -{Las siguientes interfaces están activas: %s -¿Conecta alguna de ellas al servidor requerido?} - -message asknetdev -{¿Cuál interfaces usar?} - -message netdevs -{Interfaces disponibles} - -message netinfo -{Para poder usar la red, necesita responder lo siguiente: - -} - -message net_domain -{Su dominio DNS} - -message net_host -{Su nombre de máquina} - -message net_ip -{Su número IPv4} - -message net_srv_ip -{Número servidor IPv4} - -message net_mask -{Máscara de red IPv4} - -message net_namesrv -{Servidor de nombres IPv4} - -message net_defroute -{Pasarela IPv4} - -message net_media -{Tipo de medio de la red} - -message net_ssid -{Wi-Fi SSID?} - -message net_passphrase -{Wi-Fi passphrase?} - -message netok -{Ha introducido los siguientes valores. - -Dominio DNS: %s -Nombre de máquina: %s -Serv de nombres: %s -Interfaz primaria: %s -Tipo de medio: %s -IP de la máquina: %s -Máscara de red: %s -Pasarela IPv4: %s -} - -message netok_slip -{Ha introducido los siguientes valores. ¿Son correctos? - -Dominio DNS: %s -Nombre de la máquina: %s -Serv de nombres: %s -Interfaz primaria: %s -Tipo de medio: %s -IP de la máquina: %s -IP del servidor: %s -Máscara de red: %s -Pasarela IPv4: %s -} - -message netokv6 -{IPv6 autoconf: %s -} - -message netok_ok -{¿Son correctos?} - -message wait_network -{ -Espere mientras las interfaces de red se levantan. -} - -message resolv -{No se ha podido crear /etc/resolv.conf. Instalación interrumpida. -} - -/* Called with: Example - * $0 = target prefix /target - * $1 = error message No such file or directory - */ -message realdir -{No se ha podido cambiar el directorio a $0: $1 -Instalación interrumpida.} - -message delete_xfer_file -{A eliminar después de la instalación} - -/* Called with: Example - * $0 = set name base - */ -message notarfile -{El conjunto $0 no existe.} - -.if HAVE_DVD_IMAGE -/* Called with: Example - * $0 = set name base - */ -message opt_set_not_found -{The set "$0" is optional and not included on this -distribution medium. - -This is not critical and installation will continue. -You can add this set later, e.g. by downloading it via -https from the NetBSD CDN. - -Optional sets are: - debug/debug32 containing debug information - base32 containing support for running 32bit code on 64bit architectures - test containing automatic test programs - manhtml containing man pages in html format - -Some architectures offer different CD vs. DVD ISO images, the DVD images -are complete and contain all sets. -} -.endif - -message endtarok -{Todos los conjuntos de distribución han sido desempaquetados -correctamente.} - -message endtar -{Ha habido problemas al desempaquetar los conjuntos de la distribución. -Su instalación está incompleta. - -Ha seleccionado %d conjuntos de distribución. %d conjuntos no han sido -encontrados, y %d han sido omitidos después de que ocurriera un -error. De los %d que se han intentado, %d se han desempaquetado -sin errores y %d con errores. - -Por favor, compruebe de nuevo su fuente de distribución y considere el -reinstalar los conjuntos desde el menú principal.} - -message abort_inst {Instalación interrumpida.} -message abort_part {Partitioning aborted.} - -message abortinst -{La distribución no ha sido cargada correctamente. Necesitará proceder -a mano. Instalación interrumpida. -} - -message abortupgr -{La distribución no ha sido correctamente cargada. Necesitará proceder -a mano. Instalación interrumpida. -} - -message abortunpack -{El desempaquetamiento de los conjuntos adicionales no ha sido satisfactorio. -Necesitará proceder a mano, o escoger una fuente diferente para los conjuntos -de esta distribución y volver a intentarlo. -} - -message createfstab -{¡Hay un gran problema! No se puede crear /mnt/etc/fstab. Desistiendo. -} - - -message noetcfstab -{¡Ayuda! No hay /etc/fstab del disco objetivo %s. -Interrumpiendo la actualización. -} - -message badetcfstab -{¡Ayuda! No se puede analizar /etc/fstab en el disco objetivo %s. -Interrumpiendo la actualización. -} - -message X_oldexists -{No se puede guardar %s/bin/X como %s/bin/X.old, porque el -disco objetivo ya tiene un %s/bin/X.old. Por favor, arregle esto -antes de continuar. - -Una manera es iniciando una shell desde el menú Utilidades, y examinar -el objetivo %s/bin/X y %s/bin/X.old. Si -%s/bin/X.old es de una actualización completada, puede rm -f -%s/bin/X.old y reiniciar. O si %s/bin/X.old es de -una actualizacion reciente e incompleta, puede rm -f %s/bin/X -y mv %s/bin/X.old a %s/bin/X. - -Interrumpiendo la actualización.} - -message netnotup -{Ha habido un problema configurando la red. O su pasarela o su servidor -de nombres no son alcanzables por un ping. ¿Quiere configurar la red -de nuevo? («No» le permite continuar de todos modos o interrumpir el -proceso de instalación.) -} - -message netnotup_continueanyway -{¿Le gustaría continuar el proceso de instalación de todos modos, y -suponer que la red está funcionando? («No» interrumpe el proceso de -instalación.) -} - -message makedev -{Creando nodos de dispositivo ... -} - -/* Called with: Example - * $0 = device name /dev/rwd0a - * $1 = file system type ffs - * $2 = error return code form fsck 8 - */ -message badfs -{Parece ser que $0 no es un sistema de archivos $1 o bien el -fsck ha fallado. ¿Desea montarlo de todos modos? (Código de error: -$2.) -} - -message rootmissing -{ el directorio raíz objetivo no existe %s. -} - -message badroot -{El nuevo sistema de archivos raíz no ha pasado la comprobación básica. - ¿Está seguro de que ha instalado todos los conjuntos requeridos? - -} - -message fd_type -{Tipo de sistema de archivos del disquete} - -message fdnotfound -{No se ha encontrado el fichero en el disco. -} - -message fdremount -{El disquete no ha sido montado correctamente. -} - -message fdmount -{Por favor, inserte el disquete que contiene el fichero «%s.%s». - -Si el conjunto no está en más discos, seleccione "Conjunto finalizado" -para instalarlo. Seleccione "Abortar lectura" para regresar al menú -de selección de medios de instalación. -} - -message mntnetconfig -{La información de red que ha introducido, ¿es la adecuada para el -funcionamiento normal de esta máquina y desea instalarla en /etc? } - -message cur_distsets -{Ésta es la lista de conjuntos de distribución que se usará. - -} - -message cur_distsets_header -{ Conjunto de distribución Selecc. - ---------------------------------- -------- -} - -message set_base -{Base} - -message set_base32 -{Base de compatibilidad de 32 bits} - -message set_base64 -{Base de compatibilidad de 64 bits} - -message set_system -{Sistema (/etc)} - -message set_compiler -{Herramientas del compilador} - -message set_dtb -{Devicetree hardware descriptions} - -message set_games -{Juegos} - -message set_gpufw -{Graphics driver firmware} - -message set_makronix -{Software de terceros en /usr/pkg} - -message set_man_pages -{Paginas de manual} - -message set_man_pages_html -{Paginas de manual en HTML} - -message set_misc -{Varios} - -message set_modules -{Kernel Modules} - -message set_rescue -{Recovery tools} - -message set_tests -{Programas de prueba} - -message set_text_tools -{Herramientas de procesamiento de textos} - -message set_X11 -{Conjuntos de X11} - -message set_X11_base -{X11 base y clientes} - -message set_X11_etc -{Configuración de X11} - -message set_X11_fonts -{Tipos de letra de X11} - -message set_X11_servers -{Servidores X11} - -message set_X11_prog -{Programación de X11} - -message set_source -{Source and debug sets} - -message set_syssrc -{Kernel sources} - -message set_src -{Base sources} - -message set_sharesrc -{Share sources} - -message set_gnusrc -{GNU sources} - -message set_xsrc -{X11 sources} - -message set_debug -{Debug symbols} - -message set_debug32 -{Debug symbols (32-bit)} - -message set_debug64 -{Debug symbols (64-bit)} - -message set_xdebug -{X11 debug symbols} - -message select_all -{Seleccionar todos los conjuntos anteriores} - -message select_none -{No seleccionar ninguno de los conjuntos anteriores} - -message install_selected_sets -{Instalar los conjuntos seleccionados} - -message tarerror -{Ha habido un error al extraer el fichero %s. Esto significa -que algunos ficheros no han sido extraidos correctamente y su sistema -no estará completo. - -¿Continuar extrayendo conjuntos?} - -/* Called with: Example - * $0 = partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message must_be_one_root -{Debe haber una sola partición marcada para ser montada en «/».} - -/* Called with: Example - * $0 = first partition description 70 - 90 MB, MSDOS - * $1 = second partition description 80 - 1500 MB, 4.2BSD - */ -message partitions_overlap -{las particiones $0 y $1 se solapan.} - -message No_Bootcode -{No hay código de arranque para la partición root} - -message cannot_ufs2_root -{Sorry, the root file system can't be FFSv2 due to lack of bootloader support -on this port.} - -message edit_partitions_again -{ - -Puede editar la tabla de particiones a mano, o dejarlo y retornar al -menú principal. - -¿Editar la tabla de particiones de nuevo?} - -/* Called with: Example - * $0 = missing file /some/path - */ -message config_open_error -{No se ha podido abrir el fichero de configuración $0} - -message choose_timezone -{Por favor, escoja de la siguiente lista la zona horaria que le convenga. -Presione RETURN para seleccionar una entrada. -Presione «x» seguido de RETURN para salir de la selección de la -zona horaria. - - Predefinida: %s - Seleccionada: %s - Hora local: %s %s -} - -message tz_back -{ Volver a la lista principal de zonas horarias} - -message swapactive -{El disco que ha seleccionado tiene una partición de intercambio (swap) que -puede que esté en uso actualmente si su sistema tiene poca memoria. Como -se dispone a reparticionar este disco, esta partición swap será desactivada -ahora. Se advierte de que esto puede conducir a problemas de swap. -Si obtuviera algun error, reinicie el sistema e inténtelo de nuevo.} - -message swapdelfailed -{Sysinst ha fallado en la desactivación de la partición swap del disco que -ha escogido para la instalación. Por favor, reinicie e inténtelo de nuevo.} - -message rootpw -{La contraseña de root del nuevo sistema instalado no ha sido asignada todavía, -y por tanto está vacía. ¿Quiere establecer ahora una contraseña de root para -el sistema?} - -message force_rootpw -{The root password of the newly installed system has not yet been -initialized. - -If you do not want to set a password, enter an empty line.} - -message rootsh -{Ahora puede seleccionar que shell quiere usar para el usuario root. Por -omisión es /bin/sh, pero podría preferir otra.} - -message no_root_fs -{ -No hay un sistema de archivos raíz definido. Necesitará al menos un punto -de montaje con «/». - -Presione para continuar. -} - -message slattach { -Introduzca los parámetros de slattach -} - -message Pick_an_option {Seleccione una opción para activar/desactivar.} -message Scripting {Scripting} -message Logging {Logging} - -message Status { Estado: } -message Command {Orden: } -message Running {Ejecutando} -message Finished {Acabado } -message Command_failed {Orden fallida} -message Command_ended_on_signal {Orden terminada en señal} - -message NetBSD_VERSION_Install_System {Sistema de instalación de Makronix @@MXVERSION@@} -message Exit_Install_System {Salir del sistema de instalación} -message Install_NetBSD_to_hard_disk {Instalar Makronix en el disco duro} -message Upgrade_NetBSD_on_a_hard_disk {Actualizar Makronix en un disco duro} -message Re_install_sets_or_install_additional_sets {Reinstalar conjuntos o instalar conjuntos adicionales} -message Reboot_the_computer {Reiniciar la computadora} -message Utility_menu {Menú de utilidades} -message Config_menu {Menu de configuración} -message exit_menu_generic {atrás} -message exit_utility_menu {Exit} -message NetBSD_VERSION_Utilities {Utilidades de Makronix @@MXVERSION@@} -message Run_bin_sh {Ejecutar /bin/sh} -message Set_timezone {Establecer la zona horaria} -message Configure_network {Configurar la red} -message Partition_a_disk {Particionar un disco} -message Logging_functions {Funciones de registro} -message Halt_the_system {Detener el sistema} -message yes_or_no {¿sí o no?} -message Hit_enter_to_continue {Presione intro para continuar} -message Choose_your_installation {Seleccione su instalación} - -/* Called with: Example - * $0 = partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message Keep_existing_partitions -{Use existing $1 partitions} - -/* Called with: Example - * $0 = partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message Set_Sizes {Establecer los tamaños de las particiones Makronix} - -/* Called with: Example - * $0 = partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message Use_Default_Parts {Use default partition sizes} - -/* Called with: Example - * $0 = partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message Use_Empty_Parts {Manually define partitions} - -/* Called with: Example - * $0 = current partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message Use_Different_Part_Scheme -{Delete everything, use different partitions (not $1)} - -message Gigabytes {Gigabytes} -message Megabytes {Megabytes} -message Bytes {Bytes} -message Cylinders {Cilindros} -message Sectors {Sectores} -message Select_medium {Seleccione el medio} -message ftp {FTP} -message http {HTTP} -message https {HTTPS} -message nfs {NFS} -.if HAVE_INSTALL_IMAGE -message cdrom {CD-ROM / DVD / install image media} /* XXX translation */ -.else -message cdrom {CD-ROM / DVD} -.endif -message floppy {Disquete} -message local_fs {Sistema de archivos desmontado} -message local_dir {Directorio Local} -message Select_your_distribution {Seleccione su distribución} -message Full_installation {Instalación completa} -message Full_installation_nox {Instalación sin X11} -message Minimal_installation {Instalación mínima} -message Custom_installation {Instalación personalizada} -message hidden {** oculto **} -message Host {Máquina} -message Base_dir {Directorio base} -message Set_dir_src {Directorio de conjuntos binary} /* fix XLAT */ -message Set_dir_bin {Directorio de conjuntos source} /* fix XLAT */ -message Dist_postfix {Extensión de archivo} -message Xfer_dir {Directorio a transferir a} -message transfer_method {Download via} -message User {Usuario} -message Password {Contraseña} -message Proxy {Proxy} -message Get_Distribution {Obtener la distribución} -message Continue {Continuar} -message Prompt_Continue {¿Continuar?} -message What_do_you_want_to_do {¿Qué desea hacer?} -message Try_again {Reintentar} -message Set_finished {Conjunto finalizado} -message Skip_set {Omitir conjunto} -message Skip_group {Omitir grupo de conjuntos} -message Abandon {Abandonar instalación} -message Abort_fetch {Abortar lectura} -message Device {Dispositivo} -message File_system {Sistema de archivos} -message Select_DNS_server { Seleccione servidor DNS} -message other {otro } -message Perform_autoconfiguration {¿Realizar autoconfiguración ?} -message Root_shell {Shell de root} -message Color_scheme {Combinación de colores} -message White_on_black {Blanco sobre negro} -message Black_on_white {Negro sobre blanco} -message White_on_blue {Blanco sobre azul} -message Green_on_black {Verde sobre negro} -message User_shell {Shell de user} - -.if AOUT2ELF -message aoutfail -{No se ha podido crear el directorio al que deberían moverse las bibliotecas -compartidas a.out antiguas. Por favor, intente el proceso de actualización -de nuevo y asegúrese de que ha montado todos los sistemas de ficheros.} - -message emulbackup -{El directorio /emul/aout o /emul de su sistema era un enlace simbólico que -apuntaba a un sistema de archivos desmontado. Se le ha dado la extension -'.old'. Cuando vuelva a arrancar su sistema actualizado, puede que necesite -preocuparse de fundir el directorio /emul/aout nuevamente creado con el viejo. -} -.endif - -.if xxxx -Si no está preparado para completar la -instalación en este momento, puede seleccionar «ninguno» y será retornado -al menú principal. Cuando más adelante esté preparado, deberá seleccionar -«actualizar» desde el menú principal para completar la instalación. - -message cdrombadmount -{No se ha podido montar el CDROM /dev/%s.} - -message localfsbadmount -{No se ha podido montar %s en el dispositivo local %s.} -.endif - -message oldsendmail -{Sendmail ya no está disponible en esta versión de Makronix; el MTA por defecto -es ahora postfix. El fichero /etc/mailer.conf aún está configurado para usar -el sendmail eliminado. ¿Desea actualizar el fichero /etc/mailer.conf -automáticamente para que apunte a postfix? Si escoge "No" tendrá que -actualizar /etc/mailer.conf usted mismo para asegurarse de que los mensajes -de correo electrónico se envíen correctamente.} - -message license -{Para usar la interfaz de red %s, debe de aceptar la licencia en el archivo %s. -Para ver este archivo ahora, pulse ^Z, mire el contendido del archivo, y luego -teclee "fg" para continuar la instalación.} - -message binpkg -{Para configurar el sistema de paquetes binários, por favor escoja el -sitio de red desde el cual descargar los paquetes. Una vez el sistema -arranque, puede usar 'pkgin' para instalar paquetes adicionales, o -eliminar paquetes ya instalados.} - -message pkgpath -{Las siguientes entradas representan el protocolo, la máquina, el -directorio, el usuario y la contraseña que se usarán. Si el "usuario" -es "ftp", entonces la contraseña es opcional. - -} -message rcconf_backup_failed -{Error al intentar hacer una cópia de seguridad de rc.conf. ¿Desea continuar?} -message rcconf_backup_succeeded -{La cópia de seguridad de rc.conf se ha guardado en %s.} -message rcconf_restore_failed -{La recuperación de rc.conf desde su cópia de seguridad ha fallado.} -message rcconf_delete_failed {La eliminación del viejo %s ha fallado.} -message Pkg_dir {Directorio del paquete} -message configure_prior {configure a prior installation of} -message configure {Configurar} -message change {Cambiar} -message password_set {Contraseña configurada} -message YES {SI} -message NO {NO} -message DONE {HECHO} -message abandoned {Abandonado} -message empty {***VACÍO***} -message timezone {Zona horaria} -message change_rootpw {Cambiar la contraseña de root} -message enable_binpkg {Activar la instalación de paquetes binarios} -message enable_sshd {Activar sshd} -message enable_ntpd {Activar ntpd} -message run_ntpdate {Ejecutar ntpdate durante el arranque} -message enable_mdnsd {Activar mdnsd} -message enable_xdm {Enable xdm} -message enable_cgd {Enable cgd} -message enable_lvm {Enable lvm} -message enable_raid {Enable raidframe} -message add_a_user {Add a user} -message configmenu {Configurar elementos adicionales bajo demanda.} -message doneconfig {Terminar configuración} -message Install_pkgin {Instalar pkgin y actualizar la lista de paquetes} -message binpkg_installed -{El sistema se ha configurado para usar pkgin para instalar paquetes -binarios. Para instalar un paquete, ejecute: - -pkgin install - -desde una línea de comandos de root. Lea la página de manual pkgin(1) -para más detalles.} -message Install_pkgsrc {Descargar y desempaquetar pkgsrc} -message pkgsrc -{La instalación de pkgsrc necesita desempaquetar un archivo descargado -desde la red. -Las siguientes entradas corresponden a la máquina, directorio, usuario -y contraseña a usar para la conexión. Si "usuario" es "ftp", entonces -la contraseña es opcional. - -} -message Pkgsrc_dir {Directorio de pkgsrc} -message get_pkgsrc -{Descargar y desempaquetar pkgsrc} -message retry_pkgsrc_network -{La configuración de la red ha fallado. ¿Reintentar?} -message quit_pkgsrc {Salir sin instalar pkgsrc} -message quit_pkgs_install {Salir sin instalar bin pkg} -message pkgin_failed -{La instalación de pkgin ha fallado, posiblemente porque no existen -paquetes binarios. Por favor verifique el camino a los paquetes y -reinténtelo de nuevo.} -message failed {Error} - -message askfsmountadv {Punto de montaje o 'raid' o 'CGD' o 'lvm'?} -message partman {Partición extendida} -message editpart {Editar particiones} -message selectwedge {Preconfigured "wedges" dk(4)} - -message fremove {QUITAR} -message remove {Quitar} -message add {Añadir} -message auto {auto} - -message removepartswarn {Esta eliminar todas las particiones en el disco!} -message saveprompt {Guarde los cambios antes de terminar?} -message cantsave {Los cambios no se pueden guardar.} -message noroot {No hay una partición raíz definida, no puede continuar \n} - -message addusername {8 character username to add} -message addusertowheel {Do you wish to add this user to group wheel?} -message Delete_partition -{Borrar partición} - -message No_filesystem_newfs -{The selected partition does not seem to have a valid file system. -Do you want to newfs (format) it?} - -message swap_display {swap} - -/* Called with: Example - * $0 = parent device name sd0 - * $1 = swap partition name my_swap - */ -message Auto_add_swap_part -{A swap partition (named $1) -seems to exist on $0. -Do you want to use that?} - -message parttype_disklabel {BSD disklabel} -message parttype_disklabel_short {disklabel} -/* - * This is used on architectures with MBR above disklabel when there is - * no MBR on a disk. - */ -message parttype_only_disklabel {disklabel (Makronix only)} - -message select_part_scheme -{The disk seems not to have been partitioned before. Please select -a partitioning scheme from the available options below. } - -message select_other_partscheme -{Please select a different partitioning scheme from the available -options below. } - -message select_part_limit -{Some schemes have size limits and can only be used for the start -of huge disks. The limit is displayed below.} - -/* Called with: Example - * $0 = device name ld0 - * $1 = size 3 TB - */ -message part_limit_disksize -{This device ($0) is $1 big.} - -message size_limit {Max:} - -message addpart {Add a partition} -message nopart { (no partition defined)} -message custom_type {Unknown} - -message dl_type_invalid {Invalid file system type code (0 .. 255)} - -message cancel {Cancel} - -message out_of_range {Invalid value} -message invalid_guid {Invalid GUID} - -message reedit_partitions {Re-edit} -message abort_installation {Abort installation} - -message dl_get_custom_fstype {File system type code (upto 255)} - -message err_too_many_partitions {Too many partitions} - -/* Called with: Example - * $0 = mount point /home - */ -message mp_already_exists {$0 already defined!} - -message ptnsize_replace_existing -{This is an already existing partition. -To change its size, the partition will need to be deleted and later -recreated. All data in this partition will be lost. - -Would you like to delete this partition and continue?} - -message part_not_deletable {Non-deletable system partition} - -message ptn_type {tipo} -message ptn_start {inicio} -message ptn_size {tamaño} -message ptn_end {fin} - -message ptn_bsize {tamaño bloque} -message ptn_fsize {tamaño frag} -message ptn_isize {tam prom archi} - -/* Called with: Example - * $0 = avg file size in byte 1200 - */ -message ptn_isize_bytes {$0 bytes (para número de inodos)} -message ptn_isize_dflt {4 fragmentos} - -message Select_file_system_block_size -{Seleccione el tamaño de bloque del sistema de archivos} - -message Select_file_system_fragment_size -{Seleccione el tamaño de fragmento del sistema de archivos} - -message ptn_isize_prompt -{tamaño promedio del fichero (bytes)} - -message No_free_space {Sin espacio libre} -message Invalid_numeric {Número no válido!} -message Too_large {Demasiado grande!} - -/* Called with: Example - * $0 = start of free space 500 - * $1 = end of free space 599 - * $2 = size of free space 100 - * $3 = unit in use MB - */ -message free_space_line {Espacio en $0..$1 $3 (tamaño $2 $3)\n} - -message fs_type_ffsv2 {FFSv2} -message fs_type_ffsv2ea {FFSv2ea} -message fs_type_ffs {FFS} -message fs_type_efi_sp {EFI system partition} -message fs_type_ext2old {Linux Ext2 (old)} -message other_fs_type {Other type} - -message editpack {Edit name of the disk} -message edit_disk_pack_hdr -{The name of the disk is arbitrary. -It is useful for distinguishing between multiple disks. -It may also be used when auto-creating dk(4) "wedges" for this disk. - -Enter disk name} - -/* Called with: Example - * $0 = outer partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message reeditpart -{¿Quiere reeditar la tabla de particiones $1} - - -/* Called with: Example - * $0 = device name wd0 - * $1 = outer partitioning name Master Boot Record (MBR) - * $2 = inner partitioning name BSD disklabel - * $3 = short version of $1 MBR - * $4 = short version of $2 disklabel - * $5 = size needed for Makronix 250M - * $6 = size needed to build Makronix 15G - */ -message fullpart -{Se va a instalar Makronix en el disco $0. - -Makronix requiere una sola partición en la tabla de particiones $1 del disco, -que es subsiguientemente dividida por el $2. -Makronix también puede acceder a sistemas de ficheros de otras particiones $3. - -Si selecciona 'Usar todo el disco', se sobreescribirá el contenido anterior -del disco, y se usará una sola partición $3 para cubrir todo el disco. -Si desea instalar más de un sistema operativo, edite la tabla de particiones -$3 y cree una partición para Makronix. - -Para una instalación básica bastan unos pocos $5, pero deberá -dejar espacio extra para programas adicionales y los ficheros de usuario. -Proporcione al menos $6 si quiere construir el propio Makronix.} - -message Select_your_choice -{¿Que le gustaría hacer?} - -/* Called with: Example - * $0 = partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message Use_only_part_of_the_disk -{Editar la tabla de particiones $1} - -/* Called with: Example - * $0 = partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message Use_the_entire_disk -{Usar todo el disco} - -/* Called with: Example - * $0 = device name wd0 - * $1 = total disk size 3000 GB - * $2 = unallocated space 1.2 GB - */ -message part_header -{ Tamaño total del disco $0: $1 - libre: $2} -message part_header_col_start {Inicio} -message part_header_col_size {Tamaño} -message part_header_col_flag {Opc} - -message Partition_table_ok -{Tabla de particiones OK} - -message Dont_change -{No cambiar} -message Other_kind -{Otra} - -/* Called with: Example - * $0 = outer partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message nobsdpart -{No hay ninguna partición Makronix en la tabla de particiones $1.} - -/* Called with: Example - * $0 = outer partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message multbsdpart -{Hay varias particiones Makronix en la tabla de particiones $1. -Debería marcar la opción "instalar" en la que quiera usar. } - -message ovrwrite -{Su disco tiene actualmente una partición que no es de Makronix. ¿Realmente -quiere sobreescribir dicha partición con Makronix? -} - -message Partition_OK -{Partición OK} - -/* Called with: Example - * $0 = device name wd0 - * $1 = outer partitioning name Master Boot Record (MBR) - * $2 = short version of $1 MBR - * $3 = other flag options d = bootselect default, a = active - */ -message editparttable -{Se muestra a continuación la tabla de particiones $2 actual. -Opcn: I => Instalar aquí$3. -Seleccione la partición que desee editar: - -} - -message install_flag {I} -message newfs_flag {N} - -message ptn_install {instalar} -message ptn_instflag_desc {(I)nstalar, } - -message clone_flag {C} -message clone_flag_desc {, (C)lone} - -.if HAVE_GPT -message parttype_gpt {Guid Partition Table (GPT)} -message parttype_gpt_short {GPT} -.endif - -message ptn_label {Label} -message ptn_uuid {UUID} -message ptn_gpt_type {GPT Type} -message ptn_boot {Boot} - -/* Called with: Example - * $0 = outer partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message use_partitions_anyway -{Use this partitions anyway} - -.if HAVE_GPT -message gpt_flags {B} -message gpt_flag_desc {, (B)ootable} -.endif - -/* Called with: Example - * $0 = file system type FFSv2 - */ -message size_ptn_not_mounted {(Other: $0)} - -message running_system {current system} - -.if HAVE_CLONES -message clone_from_elsewhere {Clone external partition(s)} -message select_foreign_part -{Please select an external source partition:} -message select_source_hdr -{Your currently selected source partitions are:} -message clone_with_data {Clone with data} -message select_source_add {Add another partition} -message clone_target_end {Add at end} -message clone_target_hdr -{Insert cloned partitions before:} -message clone_target_disp {cloned partition(s)} -message clone_src_done -{Source selection OK, proceed to target selection} -.endif - -message network_ok -{Your network seems to work fine. -Should we skip the configuration -and just use the network as-is?} - -message todr_old -{The clock seems to be off!} - -message setdatetime -{Set date and time} - -message time_ok -{Save date and time as selected} - -/* Called with: Example - * $0 = header message The clock is off! - * $1 = current date/time string Sun, 12 Apr 2026 21:04:50 - */ -message date_and_time_hdr -{$0 - -Please enter the date and time. - -Current selection: $1 - - -} - -message year {Year} -message month {Month (1-12)} -message day {Day (1-31)} -message hour {Hour (0-23)} -message minute {Minute (0-59)} - -.if HAVE_GPT -message resize_gpt -{The disk size is larger than the GPT shows, fix this?} -.endif - -/* Makronix: the first question of an installation (menu installmode) */ -message installmode_title {Tipo de instalación} -message installmode_simple {Sencilla (recomendada)} -message installmode_advanced {Avanzada} -message installmode -{Makronix se puede instalar de dos maneras. - -Sencilla: usted elige el disco. Makronix lo particiona, instala -todo y ya no pregunta por la distribución ni por los sets. -Se borran todos los datos del disco elegido. - -Avanzada: usted elige el particionado y los sets. -} - -message cgdroot_ask -{¿Desea cifrar el disco? - -El sistema se instala en un volumen cifrado (cgd). Se introduce una -contraseña cada vez que arranca el equipo. Una pequeña partición sin cifrar -contiene el cargador de arranque y el núcleo. Sin la contraseña los datos no -se pueden leer; si la olvida, los datos se pierden. - -¿Cifrar el disco? -} -message cgdroot_passphrase -{El disco se particiona y se cifra ahora. - -Se le pedirá dos veces una contraseña. Recuérdela: se necesita en cada -arranque y sin ella no hay forma de recuperar los datos. -} -message cgdroot_failed -{Ha fallado la configuración del disco cifrado. Vea la salida anterior y el -registro. -} -message cgdroot_nokmod -{No se encontró el módulo de arranque cgdroot.kmod en el medio de instalación -(installation/miniroot/cgdroot.kmod). Sin él el sistema cifrado no puede -arrancar. -} - -message welcome_ok {OK} -message welcome -{Bienvenido a la instalación de Makronix %s - -Makronix es NetBSD, moldeado a propósito: conserva debajo el sistema -Makronix y añade el escritorio CDE por defecto, un conjunto de paquetes -listo para usar y un instalador que puede cifrar todo el disco. Todo se -instala desde el DVD o, uno tras otro, desde los CD. - -Gracias por elegir Makronix. - -Pulse OK para continuar. -} - -message set_msrc -{Fuentes de Makronix (pkgsrc, parches, herramientas, distfiles)} - -message nextcd_title {Siguiente CD} -message nextcd_continue {Continuar (el CD está puesto)} -message nextcd_skip {Omitir este conjunto} -message nextcd -{El conjunto %s no está en este CD. - -Saque este CD de la unidad y ponga el siguiente CD de la instalación de -Makronix (CD 2). Después elija Continuar. -} - -message setup_intro -{Casi listo. - -Unas preguntas configuran su equipo: el nombre, la red, la contraseña del -administrador y su propia cuenta. El inicio de sesión gráfico (CDE) -arranca con el equipo. -} -message setup_hostname {Nombre de este equipo (letras, dígitos, guiones): } -message setup_hostname_invalid -{El nombre no es válido. Use letras, dígitos y guiones, y empiece con una -letra o un dígito. -} -message setup_dhcp {¿Configurar la red automáticamente (DHCP)?} -message setup_rootpw {Contraseña del administrador (root): } -message setup_userpw {Contraseña de su cuenta: } -message setup_pw_again {Escriba la contraseña otra vez: } -message setup_pw_mismatch {Las contraseñas no coinciden. Inténtelo de nuevo.} -message setup_pw_empty {No se acepta una contraseña vacía.} -message setup_fullname {Su nombre completo: } -message setup_username {Nombre de usuario (minúsculas y dígitos): } -message setup_user_invalid -{El nombre de usuario no es válido: debe empezar con una minúscula, puede -contener minúsculas, dígitos, - y _, y tener como máximo 31 caracteres. -} -message setup_failed {No se pudo configurar la contraseña o la cuenta. Vea el registro.} -message setup_done -{El equipo está configurado. - -Al arrancar inicia con la red (DHCP), el reloj (ntpd) y la pantalla de inicio -de sesión de CDE. Inicie sesión como %s. -} - -message extras_ask -{¿Instalar los programas adicionales? - -Firefox (navegador), Thunderbird (correo), QEMU (máquinas virtuales), -PulseAudio (sonido) y CUPS (impresión) -están en los últimos CD de la instalación de Makronix y en el DVD. -Necesitan unos 3 GB en el disco.} -message extras_nextcd -{Los programas adicionales no están en este CD. - -Saque este CD de la unidad y ponga el CD con los programas adicionales -(CD %d); luego elija Continuar.} -message extras_missing -{Los programas adicionales no están en este medio y no se instalan. - -Se pueden instalar más tarde con pkg_add.} -message extras_failed -{La instalación de los programas adicionales falló. Vea el registro. - -Se pueden instalar más tarde con pkg_add.} - diff --git a/overlay/usr.sbin/sysinst/msg.mi.fr b/overlay/usr.sbin/sysinst/msg.mi.fr deleted file mode 100644 index 9a1ad32aad..0000000000 --- a/overlay/usr.sbin/sysinst/msg.mi.fr +++ /dev/null @@ -1,1796 +0,0 @@ -/* $NetBSD: msg.mi.fr,v 1.55 2026/07/12 20:07:45 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MI Message catalog -- french, machine independent */ - -/* - * We can not use non ascii characters in this message - it is displayed - * before the locale is set up! - */ -message sysinst_message_language -{Messages d'installation en français} - -message sysinst_message_locale -{fr_FR.ISO8859-15} - -message out_of_memory {Out of memory!} -message Yes {Oui} -message No {Non} -message All {Tous} -message Some {Une partie} -message None {Aucun} -message none {aucun} -message OK {OK} -message ok {ok} -message unchanged {non-modifié} -message On {On} -message Off {Off} -message Delete {Supprimer ?} - -message install -{installer} - -message reinstall -{réinstaller des composants de} - -message upgrade -{mise à jour} - -message hello -{Bienvenue dans Sysinst, l'outil d'installation de Makronix @@MXVERSION@@. -Cet utilitaire a été conçu pour vous aider à installer ou mettre à jour -Makronix sur votre disque dur avec un minimum de travail. -Dans les menus suivants, vous pourrez changer de sélection, soit en tapant la -lettre en référence (a, b, c, d, ...) soit en utilisant les touches -flèches du clavier. -La sélection courante est activée en appuyant sur la touche Entrée. -} - -message thanks -{Merci d'utiliser Makronix ! -} - -message installusure -{Vous avez choisi d'installer Makronix sur votre disque dur. Ceci va changer les -informations contenues sur ce dernier. Vous devriez faire une sauvegarde -complète de son contenu avant de poursuivre cette installation. Cette -procédure va effectuer les actions suivantes : - a) Partitionner votre disque dur. - b) Créer de nouveaux systèmes de fichiers BSD. - c) Installer les différents composants. - -(Une fois le partitionnement configuré, le système d'installation vous -demandera de confirmer avant d'appliquer toute modification sur votre -disque dur.) - -Souhaitez-vous continuer ? -} - -message upgradeusure -{Mise à jour de Makronix sur votre disque dur. -Cela implique des modifications aux informations contenues -sur votre disque dur. -Vous devriez faire une sauvegarde complète de celui-ci avant de -continuer la procédure de mise à jour. -Voulez-vous vraiment mettre à jour Makronix ? -(Ceci est le dernier avertissement avant que cette -procédure ne modifie votre disque.) -} - -message reinstallusure -{Les composants de Makronix seront maintenant decompressés sur un disque dur -démarrable. Cette procédure va rapatrier et décompresser les composants -sur un disque démarrable déjà partitionnné. Elle n'inscrit pas de "label" sur -le disque, n'installe pas de nouveaux secteurs d'amorçage et ne modifie -pas les fichiers de configuration existants. (Quittez et choisissez `installer' -ou `mettre à jour' si vous désirez ces options.) -Vous devriez déjà avoir fait une installation ou une mise à jour avant de -démarrer cette procédure ! - -Voulez-vous réellement réinstaller les composants Makronix ? -(Ceci est le dernier avertissement avant que cette procédure ne commence à -modifier vos disques.) -} - -message mount_failed -{Le montage du système de fichiers %s a échoué. Continuer ? -} - -message nodisk -{Aucun disque utilisable par Makronix n'a été trouvé. -Retour au menu précédent. -} - -message onedisk -{Un seul disque a été trouvé : %s. Nous supposons que vous souhaitez -%s Makronix sur ce dernier. -} - -message ask_disk -{Sur quel disque voulez-vous %s Makronix ?} - -message Available_disks -{Disques disponibles :} - -message Available_wedges {Existing "wedges"} - -message heads -{têtes} - -message sectors -{secteurs} - -message mountpoint -{point de montage (ou '-')} - -message cylname -{cyl} - -message secname -{sec} - -message megname -{Mo} - -message gigname -{Go} - -/* Called with: Example - * $0 = device name wd0 - * $1 = partitioning scheme name Guid Partition Table - * $2 = short version of $1 GPT - * $3 = disk size for Makronix 3TB - * $4 = full install size min. 127M - * $5 = install with X min. 427M - */ -message layout_prologue_none -{You can use a simple editor to set the sizes of the Makronix partitions, -or apply the default partition sizes and contents.} - -/* Called with: Example - * $0 = device name wd0 - * $1 = partitioning scheme name Guid Partition Table - * $2 = short version of $1 GPT - * $3 = disk size for Makronix 3TB - * $4 = full install size min. 127M - * $5 = install with X min. 427M - */ - -message layout_prologue_existing -{If you do not want to use the existing partitions, you can -use a simple editor to set the sizes of the Makronix partitions, -or remove existing ones and apply the default partition sizes.} - -/* Called with: Example - * $0 = device name wd0 - * $1 = partitioning scheme name Guid Partition Table - * $2 = short version of $1 GPT - * $3 = disk size for Makronix 3TB - * $4 = full install size min. 127M - * $5 = install with X min. 427M - */ -message layout_main -{ -You will then be given the opportunity to change any of the partition -details. - -The Makronix (or free) part of your disk ($0) is $3. - -A full installation requires at least $4 without X and -at least $5 if the X sets are included.} - -message Choose_your_size_specifier -{Si vous choisissez "Mégaoctets" ou "Gigaoctets", la taille -sera le plus proche de votre choix possible, arrondi au -cylindre-près. Si vous choisissez "Secteurs", vous pourrez -choisir précisément les tailles. -Sur les disques modernes, la taille réelle des cylindres est variable -et il y a peu d'intérêt à aligner les partitions sur les cylindres. -Pour les disques plus anciens, il est recommandé de choisir des tailles -de partitions arrondies au cylindre-près, pour plus de performance. - -Choisissez l'unité d'espace disque désirée} - -message ptnsizes -{Vous pouvez désormais modifier la taille des partitions système. -Par défaut, tout l'espace sera alloué à la partition racine principale, -mais vous pouvez sous-diviser celle-ci en plusieurs -systèmes de fichiers. Exemples : /usr (fichiers système additionnels), -/var (fichiers des journaux, etc.) -et /home (regroupant les répertoires utilisateurs). - -L'espace libre restant sera ajouté à la partition marquée par un '+'.} - -/* Called with: Example - * $0 = list of marker explanations '=' existining, '@' external - */ -message ptnsizes_markers {Other markers: $0 partition.} -message ptnsizes_mark_existing {'=' existing} -message ptnsizes_mark_external {'@' external} - -message ptnheaders_size {Taille} -message ptnheaders_filesystem {Système de fichiers} - -message askfsmount -{Point de montage ?} - -message askfssize -{Taille pour %s en %s ?} - -message askunits -{Changer d'unité (secteurs/cylindres/Mo/Go)} - -message NetBSD_partition_cant_change -{Partition de Makronix} - -message Whole_disk_cant_change -{Totalité du disque} - -message Boot_partition_cant_change -{Partition de démarrage} - -message add_another_ptn -{Ajouter manuellement une nouvelle partition} - -/* Called with: Example - * $0 = free space 1.4 - * $1 = size unit GB - */ -message fssizesok -{Valider. Espace libre $0 $1.} - -/* Called with: Example - * $0 = missing space 1.4 - * $1 = size unit GB - */ -message fssizesbad -{Abort. Not enough space, $0 $1 missing!} - -message startoutsidedisk -{La valeur que vous avez spécifiée dépasse les limites du disque. -} - -message endoutsidedisk -{Avec cette valeur, la fin de la partition excède la limite du disque. -La taille de la partition a été tronquée.} - -.if HAVE_DISKSIZE_CHECKS -/* Called with: Example - * $0 = device name wd0 - * $1 = partitioning scheme name Master Boot Record (MBR) - * $2 = short version of $1 MBR - * $3 = disk size 3TB - * $4 = size limit 2TB - */ -message toobigdisklabel -{ -This disk ($0) is too large ($3) for a $2 partition table (max $4), -hence only the start of the disk is usable. -} - -message cvtscheme_hdr {What would you like to do to the existing partitions?} -message cvtscheme_keep {keep (use only part of disk)} -message cvtscheme_delete {delete (all data will be lost!)} -message cvtscheme_convert {convert to another partitioning method} -message cvtscheme_abort {abort} -message cvtscheme_error -{Could not convert all partitions} -.endif - -/* Called with: Example - * $0 = device name wd0 - * $1 = partitioning scheme name BSD disklabel - * $2 = short version of $1 disklabel - * $3 = optional install flag (I)nstall, - * $4 = additional flags description (B)ootable - * $5 = total size 2TB - * $6 = free size 244MB - */ -message fspart -{Vos partitions sont les suivantes: - -Flags: $3(N)ewfs$4. Total: $5, free: $6} - -message ptnheaders_start {Début} -message ptnheaders_end {Fin} -message ptnheaders_fstype {Type} - -message partition_sizes_ok -{Taille et options des partitions valides} - -message edfspart -{Vous devez d'abord préciser le type de système -de fichiers (FS), puis les autres valeurs. - -Les valeurs actuelles pour la partition sont:} - -message ptn_newfs {formatage} -message ptn_mount {montage} -message ptn_mount_options {options de montage} -message ptn_mountpt {Pt de montage} - -message toggle -{Basculer} - -message restore -{Restaurer les valeurs initiales} - -message Select_the_type -{Sélection du type de système de fichiers} - -message other_types -{autres types} - -/* Called with: Example - * $0 = valid partition shortcuts a-e - * $1 = maximum allowed 4292098047 - * $2 = size unit MB - */ -message label_size_head -{Valeurs spéciales pouvant être utilisées pour définir la taille de la partition : - -1 : Utiliser jusqu'à la fin du disque} - -/* Called with: Example - * $0 = valid partition shortcuts a-e - * $1 = maximum allowed 4292098047 - * $2 = size unit MB - */ -message label_size_part_hint -{ $0 : Terminer cette partition où la partition X débute} - -/* Called with: Example - * $0 = valid partition shortcuts a-e - * $1 = maximum allowed 4292098047 - * $2 = size unit MB - */ -message label_size_tail {Taille (max $1 $2)} - -/* Called with: Example - * $0 = valid partition shortcuts a-e - * $1 = valid free space shortcuts f-h - * $3 = size unit MB - */ -message label_offset_head -{Valeurs spéciales pouvant être utilisées pour définir le début de la partition : - -1 : Commencer au début du disque} - -/* Called with: Example - * $0 = valid partition shortcuts a-e - * $1 = valid free space shortcuts f-h - * $3 = size unit MB - */ -message label_offset_part_hint -{ $0 : Commencer à la suite de la partition précédente} - -/* Called with: Example - * $0 = valid partition shortcuts a-e - * $1 = valid free space shortcuts f-h - * $3 = size unit MB - */ -message label_offset_space_hint -{ $1: start at the beginning of given free space} - -/* Called with: Example - * $0 = valid partition shortcuts a-e - * $1 = valid free space shortcuts f-h - * $3 = size unit MB - */ -message label_offset_tail {Début ($2)} - -message invalid_sector_number -{nombre invalide} - -message packname -{Veuillez donner un nom à votre disque.} - -message lastchance -{Nous sommes prêts à installer Makronix sur votre disque (%s). -Aucune modification n'a été effectuée pour l'instant. -Ceci est votre dernière opportunité pour quitter cette -procédure en laissant votre disque intact. - -Souhaitez-vous vraiment continuer ? -} - -message disksetupdone -{La première partie de la procédure est terminée. -Sysinst a écrit vos nouvelles partitions sur votre disque, -puis a procédé à la vérification de leur intégrité (via fsck). -} - -message disksetupdoneupdate -{La première partie de la procédure est terminée. -Sysinst a écrit vos nouvelles partitions sur votre disque, -puis a procédé à la vérification de leur intégrité (via fsck). -} - -message openfail -{Impossible d'ouvrir %s. Message d'erreur obtenu : %s. -} - -/* Called with: Example - * $0 = device name /dev/wd0a - * $1 = mount path /usr - */ -message mountfail -{Le montage de $0 sur $1 a échoué. -} - -message extractcomplete -{L'extraction des composants sélectionnés de Makronix @@MXVERSION@@ -est complète. -Le système peut désormais démarrer directement depuis le disque. -Pour compléter l'installation, Sysinst va maintenant vous -permettre d'effectuer quelques réglages essentiels. -} - -message instcomplete -{L'installation de Makronix @@MXVERSION@@ est terminée. L'ordinateur va -redémarrer depuis le disque dur. Veuillez consulter le document -d'installation (INSTALL) pour apprendre à bien configurer votre -système. - -Nous vous recommandons au minimum de configurer le mot de passe -du compte root et de paramétrer /etc/rc.conf selon vos besoins. -Consultez les manuels rc.conf(5), afterboot(8) et security(7) -au besoin. -} - -message unpackcomplete -{La mise à jour de Makronix @@MXVERSION@@ est terminée. -Veuillez consulter le document d'installation (INSTALL) pour apprendre -à bien configurer votre système. - -Vous devez éditer /etc/rc.conf et ajouter la ligne -"RC_CONFIGURED=yes" pour redémarrer en mode multi-utilisateur. -} - -message upgrcomplete -{L'installation des composants supplémentaires de Makronix @@MXVERSION@@ est -terminée. -Veuillez consulter le document d'installation (INSTALL) pour apprendre -à bien configurer votre système. - -Vous devez éditer /etc/rc.conf et ajouter la ligne -"RC_CONFIGURED=yes" pour redémarrer en mode multi-utilisateur. -} - -message distmedium -{Votre disque est maintenant prêt à recevoir le coeur du système -et ses différents composants annexes. Comme indiqué dans le document -d'installation, vous avez plusieurs possibilités. Pour une installation via -NFS ou FTP, vous devez être connecté à un réseau et avoir accès au serveur -requis. - -Composant sélectionné : %d, traité : %d. Prochain composant : %s. - -} - -message distset -{La distribution de Makronix est divisée en plusieurs composants. -Certains sont indispensables. -Trois types d'installations vous sont proposés : complète, minimale ou -personnalisée. -} - -/* Called with: Example - * $0 = sets suffix .tgz - * $1 = URL protocol used ftp - */ -message ftpsource -{Voici la configuration actuelle pour : nom du site ($1), répertoire, nom -d'utilisateur et mot de passe. -Si vous utilisez le mode FTP, le mot de passe n'est pas requis. -Le répertoire contenant les composants doit être défini par -rapport au répertoire de base, et contenir chaque composant sous -la forme de fichiers $0 - -} - -message email -{adresse de courriel} - -message dev -{périphérique} - -message nfssource -{Veuillez indiquer le nom du serveur NFS ainsi que le répertoire contenant -les fichiers d'installation. -Ce répertoire doit être exporté via NFS, et contenir ces fichiers -à sa racine même. - -} - -message floppysource -{Veuillez spécifier le nom du lecteur de disquette à utiliser. -Les fichiers d'installation devront se trouver à la racine -de chaque disquette. - -} - -message cdromsource -{Veuillez spécifier le nom du lecteur CD-ROM à utiliser, -ainsi que le nom du répertoire contenant les fichiers d'installation. -Ils doivent être placés à sa racine, sous la forme de fichiers -tgz. - -} - -message No_cd_found -{Could not locate a CD medium in any drive with the distribution sets! -Enter the correct data manually, or insert a disk and retry. -} - -message abort_install -{Cancel installation} - -message source_sel_retry -{Back to source selection & retry} - -message Available_cds -{CD-ROM disponibles} - -message ask_cd -{Plusieurs CD-ROM ont été trouvés. Sélectionnez celui contenant le système -d'installation de Makronix.} - -message cd_path_not_found -{Les archives d'installation ne peuvent être trouvées à l'emplacement spécifié -sur ce CD-ROM. Assurez-vous que le périphérique et le chemin sont les bons.} - -message localfssource -{Veuillez spécifier le nom du périphérique local (qui ne doit pas -être monté) à utiliser. Ce dernier doit contenir les fichiers -d'installation à sa racine, sous la forme de fichiers tgz. - -} - -message localdir -{Veuillez spécificer le nom du répertoire local (déjà monté) -où se trouvent les fichiers d'installation. Ils doivent se trouver -à la racine du répertoire, sous la forme de fichiers tgz. - -} - -message filesys -{système de fichiers} - -message nonet -{Aucune interface réseau utilisable n'a été trouvée. -Retour au menu précédent. -} - -message netup -{Les interfaces réseau suivantes sont utilisables : %s -Quelle interface souhaitez-vous utiliser ? -} - -message asknetdev -{Quelle interface doit être utilisée ?} - -message netdevs -{Interfaces disponibles} - -message netinfo -{Veuillez répondre aux points suivants afin de pouvoir utiliser -votre interface réseau : - -} - -message net_domain -{Votre nom de domaine} - -message net_host -{Votre nom d'ordinateur} - -message net_ip -{Votre adresse IPv4} - -message net_srv_ip -{Adresse IPv4 du serveur} - -message net_mask -{Votre masque de réseau (IPv4)} - -message net_namesrv -{Adresse IPv4 de votre serveur de noms (DNS)} - -message net_defroute -{Adresse IPv4 de votre passerelle} - -message net_media -{Type de réseau (média)} - -message net_ssid -{Wi-Fi SSID?} - -message net_passphrase -{Wi-Fi passphrase?} - -message netok -{Vous avez spécifié les valeurs suivantes : - -Nom de domaine (DNS) : %s -Nom d'ordinateur : %s -Adresse du serveur de noms : %s -Interface réseau : %s -Type de réseau (média) %s -Adresse IPv4 : %s -Masque de sous-réseau : %s -Adresse IPv4 de la passerelle : %s -} - -message netok_slip -{Vous avez spécifié les valeurs suivantes. Êtes-vous d'accord ? - -Nom de domaine (DNS) : %s -Nom d'ordinateur : %s -Adresse du serveur de noms : %s -Interface réseau : %s -Type de réseau (média) : %s -Adresse IPv4 : %s -Adresse IPv4 du serveur : %s -Masque de sous-réseau : %s -Adresse IPv4 de la passerelle : %s -} - -message netokv6 -{Auto-configuration IPv6 : %s -} - -message netok_ok -{Les valeurs sont-elles correctes ?} - -message slattach { -Entrez les "flags" slattach -} - -message wait_network -{ -Veuillez patienter pendant la configuration de l'interface... -} - -message resolv -{ -Impossible de créer le fichier /etc/resolv.conf -Échec de l'installation. -} - -/* Called with: Example - * $0 = target prefix /target - * $1 = error message No such file or directory - */ -message realdir -{ -Impossible de déplacer le répertoire $0: $1 -Échec de l'installation.} - -message delete_xfer_file -{ -Effacer après l'installation -} - -/* Called with: Example - * $0 = set name base - */ -message notarfile -{Le composant $0 n'existe pas.} - -.if HAVE_DVD_IMAGE -/* Called with: Example - * $0 = set name base - */ -message opt_set_not_found -{The set "$0" is optional and not included on this -distribution medium. - -This is not critical and installation will continue. -You can add this set later, e.g. by downloading it via -https from the NetBSD CDN. - -Optional sets are: - debug/debug32 containing debug information - base32 containing support for running 32bit code on 64bit architectures - test containing automatic test programs - manhtml containing man pages in html format - -Some architectures offer different CD vs. DVD ISO images, the DVD images -are complete and contain all sets. -} -.endif - -message endtarok -{ -Tous les composants sont installés. Veuillez appuyer sur la touche -Entrée pour continuer. -} - -message endtar -{ -L'installation des composants est terminée. Toutefois, un ou plusieurs -problèmes sont survenus au cours de leur extraction. - -Vous avez sélectionné %d composants. %d n'ont pu être installés, -et %d ont été ignorés à la suite d'erreurs. - -Sur les %d composants traités, %d ont pu être installés et -%d ont provoqué une erreur. - -Veuillez vérifier l'intégrité des fichiers d'installation et leur -emplacement, puis essayez à nouveau via une réinstallation de composants, -depuis le menu principal. -} - -message abort_inst {Annulation de l'installation.} -message abort_part {Install aborted.} - -message abortinst -{ -L'instalation des composants de Makronix n'est pas complète. -Vous allez devoir recommencer, ou terminer à la main. -Échec de l'installation. -} - -message abortupgr -{ -La mise à jour des composants de Makronix n'est pas complète. -Vous allez devoir recommencer, ou terminer à la main. -Échec de l'installation. -} - -message abortunpack -{ -L'installation des composants supplémentaires n'est pas complète. -Vous allez devoir recommencer, ou terminer à la main. -Essayez de choisir une source différente pour les fichiers -d'installation. -} - -message createfstab -{ -Impossible de créer /mnt/etc/fstab -Ceci est une erreur majeure : nous ne pouvons continuer. -Échec de l'installation. -} - -message noetcfstab -{ -Le fichier /etc/fstab n'est pas présent sur le disque cible %s -Ceci est une erreur majeure : nous ne pouvons continuer. -Échec de l'installation. -} - -message badetcfstab -{ -Impossible de lire le contenu du fichier /etc/fstab présent sur -le disque cible %s -Ceci est une erreur majeure : nous ne pouvons continuer. -Échec de l'installation. -} - -message X_oldexists -{ -Impossible de sauvegarder %s/bin/X : le disque contient déjà -un fichier %s/bin/X.old et nous devons renommer le fichier actuel -à ce nom. Veuillez supprimer ou renommer le fichier X.old avant de -recommencer. -Vous pouvez démarrer un shell depuis le menu "Utilitaires" afin -de faire cette modification. -Ce fichier provient probablement d'une ancienne mise à jour et -il est possible de le supprimer. S'il provient d'une mise à jour -incomplète, vous pouvez effacer %s/bin/X et renommer -%s/bin/X.old jusqu'à %s/bin/X.%0s%0s%0s%0s%0s%0s - -Arrêt de la mise à jour. -} - - -message netnotup -{ -Un problème est survenu lors de la configuration de votre interface -réseau. Votre serveur de noms ou votre passerelle ne semblent pas -répondre aux pings. -Souhaitez-vous configurer à nouveau les paramètres de votre -connexion réseau ? -(un refus provoquera l'arrêt de la procédure d'installation) -} - -message netnotup_continueanyway -{ -Souhaitez-vous poursuivre malgré tout le processus d'installation -et supposer que le réseau fonctionne correctement ? -(un refus provoquera l'arrêt de la procédure d'installation) -} - -message makedev -{Création des fichiers des périphériques ... -} - -/* Called with: Example - * $0 = device name /dev/rwd0a - * $1 = file system type ffs - * $2 = error return code form fsck 8 - */ -message badfs -{ -$0 ne semble pas être un système de fichiers $1, ou -la vérification de son intégrité par fsck a échoué, code d'erreur $2. - -Souhaitez-vous continuer mise à jour? -} - -message rootmissing -{ -Impossible de trouver la racine du disque cible %s. -} - -message badroot -{ -La vérification de l'intégrité du nouveau système de fichiers a échoué. -Avez-vous bien installé tous les composants indispensables ? -} - -message fd_type -{Système de fichiers de la disquette} - -message fdnotfound -{ -Impossible de trouver un fichier requis sur la disquette. -} - -message fdremount -{ -Impossible de monter la disquette correctement. -} - -message fdmount -{ -Veuillez insérer la disquette contenant le fichier "%s.%s". - -Si le jeu de disquettes ne comprend aucun autre disque, veuillez -choisir "Ensemble terminé" pour mettre un terme à ce traitement. -Sélectionnez "Annuler la récupération" pour revenir au menu -de sélection du média d'installation. -} - -message mntnetconfig -{Souhaitez-vous conserver les réglages réseaux après le redémarrage -du système que nous venons d'installer ? } - -message cur_distsets -{ -Sélectionnez les composants dans la liste ci-dessous : -} - -message cur_distsets_header -{ Composant Installer? ------------------------------------- ---------- -} - -message set_base -{Base} - -message set_base32 -{Base pour la compatibilit? 32 bits} - -message set_base64 -{Base pour la compatibilit? 64 bits} - -message set_system -{Système (/etc)} - -message set_compiler -{Outils de développement} - -message set_dtb -{Devicetree hardware descriptions} - -message set_games -{Jeux} - -message set_gpufw -{Graphics driver firmware} - -message set_makronix -{Logiciels tiers sous /usr/pkg} - -message set_man_pages -{Pages de manuel} - -message set_man_pages_html -{Pages de manuel (HTML)} - -message set_misc -{Divers} - -message set_modules -{Modules du noyau} - -message set_rescue -{Recovery tools} - -message set_tests -{Programmes de test} - -message set_text_tools -{Outils de manipulation de texte} - -message set_X11 -{X11} - -message set_X11_base -{X11 base et clients} - -message set_X11_etc -{X11 configuration} - -message set_X11_fonts -{X11 polices} - -message set_X11_servers -{X11 serveurs} - -message set_X11_prog -{X11 développement} - -message set_source -{Code source et débogage} - -message set_syssrc -{Sources du noyeau} - -message set_src -{Sources de la Base} - -message set_sharesrc -{Sources de partage (Share)} - -message set_gnusrc -{Sources des composants GNU} - -message set_xsrc -{Sources X11} - -message set_debug -{Symboles de débogage} - -message set_debug32 -{Symboles de débogage (32-bit)} - -message set_debug64 -{Symboles de débogage (64-bit)} - -message set_xdebug -{Symboles de débogage X11} - -message select_all -{Sélectionner tous les composants} - -message select_none -{Déselectionner tous les composants} - -message install_selected_sets -{Installer les composants sélectionnés} - - -message tarerror -{ -Une erreur est survenue lors de l'installation du fichier %s. -Certains fichiers n'ayant pu être extraits correctement, -le système n'est pas complet et pourrait ne pas fonctionner -correctement. - -Souhaitez-vous continuer l'installation des composants ? -} - -/* Called with: Example - * $0 = partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message must_be_one_root -{ -Une seule partition peut être montée en tant que racine, dite "/". -} - -/* Called with: Example - * $0 = first partition description 70 - 90 MB, MSDOS - * $1 = second partition description 80 - 1500 MB, 4.2BSD - */ -message partitions_overlap -{Les partitions $0 et $1 s'empiètent l'une sur l'autre.} - -message No_Bootcode -{Pas de programme de démarrage trouvé sur la partition racine} - -message cannot_ufs2_root -{Le système de fichiers de la partition racine ne peut pas être FFSv2 car le -chargeur de démarrage ne le supporte pas.} - -message edit_partitions_again -{ -Vous pouvez éditer la table de partitions à la main, ou abandonner et -retourner au menu principal. - -Souhaitez-vous éditer à nouveau la table de partitions ? -} - -/* Called with: Example - * $0 = missing file /some/path - */ -message config_open_error -{ -Impossible d'ouvrir le fichier de configuration $0. -} - -message choose_timezone -{ -Veuillez sélectionner votre zone horaire dans la liste suivante. -Appuyez sur la touche Entrée pour confirmer votre choix. -Appuyez sur "x" puis sur Entrée pour valider la sélection en cours. - - Par défaut : %s - Sélection actuelle : %s - Heure locale : %s %s -} - -message tz_back -{ Retour à la liste principale des fuseaux horaires} - -message swapactive -{ -Le disque sélectionné dispose d'une partition d'échange (swap) qui -est peut-être en cours d'utilisation, en particulier si votre système -dispose de peu de mémoire. -Le repartitionnement de votre disque requiert la désactivation de cette -partition. Prenez garde ! Cette opération peut entraîner des erreurs. -Si cela survient, vous devrez alors redémarrer et tenter à nouveau. -} - -message swapdelfailed -{ -Sysinst n'a pas pu désactiver la partition d'échange (swap) présente -sur le disque cible pour l'installation. Vous devez redémarrer et tenter -à nouveau. -} - -message rootpw -{ -Aucun mot de passe pour le compte "root" n'a été défini. -Nous vous recommandons de spécifier un mot de passe maintenant. - -Le souhaitez-vous ? -} - -message force_rootpw -{The root password of the newly installed system has not yet been -initialized. - -If you do not want to set a password, enter an empty line.} - -message rootsh -{ -Spécifiez le shell par défaut qui sera utilisé par l'utilisateur "root". -Par défaut, il s'agit de /bin/sh -} - -message no_root_fs -{ -Aucune partition racine n'est actuellement définie. Vous devez au moins -définir le point de montage de cette partition racine, dite "/". - -Appuyez sur la touche Entrée pour continuer. -} - -message Pick_an_option {Choisissez une option à activer/désactiver} -message Scripting {Scripting} -message Logging {Journal} - -message Status {Statut : } -message Command {Commande : } -message Running {En cours d'exécution} -message Finished {Terminée} -message Command_failed {Échec} -message Command_ended_on_signal {Commande terminée par un signal} - -message NetBSD_VERSION_Install_System {Makronix @@MXVERSION@@ Programme d'installation} -message Exit_Install_System {Quitter le programme d'installation} -message Install_NetBSD_to_hard_disk {Installation de Makronix sur disque dur} -message Upgrade_NetBSD_on_a_hard_disk {Mise à jour de Makronix sur disque dur} -message Re_install_sets_or_install_additional_sets {Réinstaller ou installer de nouveaux composants} -message Reboot_the_computer {Redémarrer l'ordinateur} -message Utility_menu {Utilitaires} -message Config_menu {Configuration} -message exit_utility_menu {Quitter} -message exit_menu_generic {Quitter} -message NetBSD_VERSION_Utilities {Utilitaires Makronix @@MXVERSION@@} -message Run_bin_sh {Exécuter /bin/sh} -message Set_timezone {Configurer le fuseau horaire} -message Configure_network {Configurer le réseau} -message Partition_a_disk {Partitionner un disque} -message Logging_functions {Journaux} -message Halt_the_system {Arrêter le système} -message yes_or_no {Oui ou non?} -message Hit_enter_to_continue {Appuyez sur la touche Entrée pour continuer} -message Choose_your_installation {Choisir le type d'installation désiré} - -/* Called with: Example - * $0 = partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message Keep_existing_partitions -{Use existing $1 partitions} - -/* Called with: Example - * $0 = partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message Set_Sizes {Spécifier les tailles des partitions Makronix} - -/* Called with: Example - * $0 = partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message Use_Default_Parts {Use default partition sizes} - -/* Called with: Example - * $0 = partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message Use_Empty_Parts {Manually define partitions} - -/* Called with: Example - * $0 = current partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message Use_Different_Part_Scheme -{Delete everything, use different partitions (not $1)} - -message Gigabytes {Gigaoctets} -message Megabytes {Mégaoctets} -message Bytes {Octets} -message Cylinders {Cylindres} -message Sectors {Secteurs} -message Select_medium {Sélection du média d'installation} -message ftp {FTP} -message http {HTTP} -message https {HTTPS} -message nfs {NFS} -.if HAVE_INSTALL_IMAGE -message cdrom {CD-ROM / DVD / install image media} /* XXX translation */ -.else -message cdrom {CD-ROM / DVD} -.endif -message floppy {Disquette} -message local_fs {Système de fichiers non-monté} -message local_dir {Répertoire local monté} -message Select_your_distribution {Sélection de la distribution} -message Full_installation {Installation complète} -message Full_installation_nox {Installation sans X11} -message Minimal_installation {Installation minimale} -message Custom_installation {Installation personnalisée} -message hidden {** caché **} -message Host {Serveur FTP} -message Base_dir {Répertoire de base} -message Set_dir_bin {Répertoire des composants binaire} -message Set_dir_src {Répertoire des composants source} -message Dist_postfix {Extension de fichier} -message Xfer_dir {Répertoire de transfert} -message transfer_method {Download via} -message User {Utilisateur} -message Password {Mot de passe} -message Proxy {Proxy} -message Get_Distribution {Récupérer la distribution} -message Continue {Continuer} -message Prompt_Continue {Continuer?} -message What_do_you_want_to_do {Que voulez-vous faire ?} -message Try_again {Réessayer} -message Set_finished {Extraction terminée} -message Skip_set {Sauter cet ensemble} -message Skip_group {Sauter ce groupe} -message Abandon {Abandonner l'installation} -message Abort_fetch {Annuler la récupération} -message Device {Périphérique} -message File_system {Système de fichiers} -message Select_DNS_server { Choisissez un serveur de noms :} -message other {autre } -message Perform_autoconfiguration {Configurer automatiquement ?} -message Root_shell {Shell du compte "root"} -message Color_scheme {Jeu de couleurs} -message White_on_black {Blanc sur noir} -message Black_on_white {Noir sur blanc} -message White_on_blue {Blanc sur bleu} -message Green_on_black {Vert sur noir} -message User_shell {Shell du compte "user"} - -.if AOUT2ELF -message aoutfail -{ -Le répertoire où se situent les anciennes librairies a.out doit être -déplacé. Veuillez suivre la procédure de mise à jour et bien -vérifier que tous les systèmes de fichiers sont montés. -} - -message emulbackup -{ -Le répertoire /emul/aout ou /emul est présent sur le disque mais -pointe vers un répertoire non monté. Nous l'avons renommé en lui ajoutant -l'extension ".old". Lorsque vous aurez terminé l'installation ou la mise à jour, -vous devrez fusionner manuellement le nouveau répertoire avec l'ancien -/emul/aout. -} -.endif - -message oldsendmail -{ -Sendmail n'est plus distribué dans cette version de Makronix, le MTA par défaut -étant maintenant postfix. Toutefois, le fichier /etc/mailer.conf est toujours -configuré pour utiliser sendmail. Voulez-vous mettre à jour le fichier -/etc/mailer.conf automatiquement pour utiliser postfix à la place ? Si vous -choisissez "Non", vous devrez mettre à jour /etc/mailer.conf manuellement -afin que vos courriels soient traités correctement. -} - -message license -{Afin d'utiliser l'interface réseau : %s, vous devez accepter la licence -contenue dans le fichier %s. -Pour afficher ce fichier, tapez ^Z (Ctrl-Z). -Après l'avoir lu, tapez "fg" pour continuer.} - -message binpkg -{Afin de configurer le système de paquetages binaires, choisissez -l'emplacement réseau où les paquetages se trouvent. Une fois le système -redémarré, vous pourrez utiliser 'pkgin' pour installer et aménager des -paquetages additionnels.} - -message pkgpath -{Voici les configurations actuelles pour : protocole, serveur, répertoire, -utilisateur et mot de passe qui seront utilisés. Si "utilisateur" est "ftp", -un mot de passe n'est pas requis. - -} -message rcconf_backup_failed {La copie de rc.conf a échoué. Continuer ?} -message rcconf_backup_succeeded {La copie de rc.conf a été sauvegardée jusqu'à %s.} -message rcconf_restore_failed {La restauration de la sauvegarde de rc.conf a échoué.} -message rcconf_delete_failed {La suppression de l'ancien fichier %s a échoué.} -message Pkg_dir {Dossier de paquetages} -message configure_prior {configurer une installation existante de} -message configure {configurer} -message change {changer} -message password_set {Définir le mot de passe} -message YES {OUI} -message NO {NON} -message DONE {TERMINER} -message abandoned {Abandonnée} -message empty {***VIDE***} -message timezone {Fuseau horaire} -message change_rootpw {Changer le mot de passe "root"} -message enable_binpkg {Activer l'installation de paquetages binaires} -message enable_sshd {Activer sshd} -message enable_ntpd {Activer ntpd} -message run_ntpdate {Exécuter ntpdate au démarrage} -message enable_mdnsd {Activer mdnsd} -message enable_xdm {Activer xdm} -message enable_cgd {Activer cgd} -message enable_lvm {Activer lvm} -message enable_raid {Activer raidframe} -message add_a_user {Ajouter un utilisateur} -message configmenu {Configurer les items suivants si nécessaire.} -message doneconfig {Configuration terminée} -message Install_pkgin {Installer pkgin et mettre à jour le sommaire des paquetages} -message binpkg_installed -{Votre système est maintenant configuré pour utiliser pkgin afin d'installer -des paquetages binaires. Pour installer un paquetage, utilisez : - -pkgin install - -à partir d'un shell "root". Consultez le manuel pkgin(1) pour plus de détails.} -message Install_pkgsrc {Obtenir et extraire pkgsrc} -message pkgsrc -{L'installation de pkgsrc nécessite l'extraction d'une archive obtenue -par le réseau. -Voici les configurations actuelles pour : serveur, répertoire, utilisateur et -mot de passe qui seront utilisés. Si "utilisateur" est "ftp", un mot de passe -n'est pas requis. - -} -message Pkgsrc_dir {Répertoire pkgsrc} -message get_pkgsrc -{Obtenir et extraire pkgsrc} -message retry_pkgsrc_network {La configuration du réseau a échoué. Réessayer ?} -message quit_pkgsrc {Quitter sans installer pkgsrc} -message quit_pkgs_install {Quitter sans installer bin pkg} -message pkgin_failed -{L'installation de pkgin a échoué, peut-être parce que son paquetage binaire -n'existe pas. Vérifiez le chemin et essayez à nouveau.} -message failed {Échoué} - - -message askfsmountadv {Point de montage ou de 'raid' ou 'cgd' ou 'lvm'?} -message partman {Partitionnement étendu} -message editpart {Modifier les partitions} -message selectwedge {Preconfigured "wedges" dk(4)} - -message fremove {ENLEVER} -message remove {Supprimer} -message add {Ajouter} -message auto {auto} - -message removepartswarn {Cette supprimer toutes les partitions sur le disque!} -message saveprompt {Enregistrer les modifications avant de terminer?} -message cantsave {Aucune modification ne peut être sauvé.} -message noroot {Aucune partition racine défini, ne peut pas continuer \n continue\n} - -message addusername {Nom d'utilisateur (8 caractères)} -message addusertowheel {Ajouter cet utilisateur au groupe "wheel" ?} -message Delete_partition -{Supprimer la partition} - -message No_filesystem_newfs -{The selected partition does not seem to have a valid file system. -Do you want to newfs (format) it?} - -message swap_display {swap} - -/* Called with: Example - * $0 = parent device name sd0 - * $1 = swap partition name my_swap - */ -message Auto_add_swap_part -{A swap partition (named $1) -seems to exist on $0. -Do you want to use that?} - -message parttype_disklabel {BSD disklabel} -message parttype_disklabel_short {disklabel} -/* - * This is used on architectures with MBR above disklabel when there is - * no MBR on a disk. - */ -message parttype_only_disklabel {disklabel (Makronix only)} - -message select_part_scheme -{The disk seems not to have been partitioned before. Please select -a partitioning scheme from the available options below. } - -message select_other_partscheme -{Please select a different partitioning scheme from the available -options below. } - -message select_part_limit -{Some schemes have size limits and can only be used for the start -of huge disks. The limit is displayed below.} - -/* Called with: Example - * $0 = device name ld0 - * $1 = size 3 TB - */ -message part_limit_disksize -{This device ($0) is $1 big.} - -message size_limit {Max:} - -message addpart {Add a partition} -message nopart { (no partition defined)} -message custom_type {Unknown} - -message dl_type_invalid {Invalid file system type code (0 .. 255)} - -message cancel {Annuler} - -message out_of_range {Invalid value} -message invalid_guid {Invalid GUID} - -message reedit_partitions {Re-edit} -message abort_installation {Abort installation} - -message dl_get_custom_fstype {File system type code (upto 255)} - -message err_too_many_partitions {Too many partitions} - -/* Called with: Example - * $0 = mount point /home - */ -message mp_already_exists {$0 already defined!} - -message ptnsize_replace_existing -{This is an already existing partition. -To change its size, the partition will need to be deleted and later -recreated. All data in this partition will be lost. - -Would you like to delete this partition and continue?} - -message part_not_deletable {Non-deletable system partition} - -message ptn_type {système de fichiers} -message ptn_start {Début} -message ptn_size {taille} -message ptn_end {fin} - -message ptn_bsize {taille de bloc} -message ptn_fsize {taille de fragment} -message ptn_isize {taille moyenne de fichier} - -/* Called with: Example - * $0 = avg file size in byte 1200 - */ -message ptn_isize_bytes {$0 bytes} -message ptn_isize_dflt {4 fragments} - -message Select_file_system_block_size -{Sélectionnez la taille de bloc du système de fichiers} - -message Select_file_system_fragment_size -{Sélectionnez la taille de fragment du système de fichiers} - -message ptn_isize_prompt -{taille moyenne de fichier (octets)} - -message No_free_space {Pas d'espace libre} -message Invalid_numeric {Nombre invalide!} -message Too_large {Trop grand!} - -/* Called with: Example - * $0 = start of free space 500 - * $1 = end of free space 599 - * $2 = size of free space 100 - * $3 = unit in use MB - */ -message free_space_line {Espace à $0..$1 $3 (taille $2 $3)\n} - -message fs_type_ffsv2 {FFSv2} -message fs_type_ffsv2ea {FFSv2ea} -message fs_type_ffs {FFS} -message fs_type_efi_sp {EFI system partition} -message fs_type_ext2old {Linux Ext2 (old)} -message other_fs_type {Other type} - -message editpack {Changer le nom du disque} -message edit_disk_pack_hdr -{The name of the disk is arbitrary. -It is useful for distinguishing between multiple disks. -It may also be used when auto-creating dk(4) "wedges" for this disk. - -Enter disk name} - -/* Called with: Example - * $0 = outer partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message reeditpart -{Voulez-vous éditer de nouveau la table des partitions} - - -/* Called with: Example - * $0 = device name wd0 - * $1 = outer partitioning name Master Boot Record (MBR) - * $2 = inner partitioning name BSD disklabel - * $3 = short version of $1 MBR - * $4 = short version of $2 disklabel - * $5 = size needed for Makronix 250M - * $6 = size needed to build Makronix 15G - */ -message fullpart -{Nous allons maintenant installer Makronix sur votre disque $0. Vous devez -choisir si vous voulez installer Makronix sur la totalité du disque ou seulement -sur une partie de celui-ci. -Une installation sur une partie du disque crée une partition, ou `slice', pour -Makronix dans le secteur de démarrage ($1) de votre -disque. Une installation sur la totalité du disque est `dangereusement -dédiée' : elle réinitialise complètement le $3, ce qui efface tout système -d'exploitation ou données existants sur le disque. Cela rend également -impossible l'installation ultérieure d'un deuxième système d'exploitation, -sauf si vous réinstallez complètement Makronix en utilisant uniquement une -partie du disque.} - -message Select_your_choice -{Faites votre choix} - -/* Called with: Example - * $0 = partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message Use_only_part_of_the_disk -{Utilisation d'une partie du disque} - -message Use_the_entire_disk -{Utilisation de tout le disque} - -/* Called with: Example - * $0 = device name wd0 - * $1 = total disk size 3000 GB - * $2 = unallocated space 1.2 GB - */ -message part_header -{ Taille totale du disque $0: $1 - libre: $2} -message part_header_col_start {Début} -message part_header_col_size {Taille} -message part_header_col_flag {Flg} - -message Partition_table_ok -{Table des partitions OK} - -message Dont_change -{Ne pas modifier} -message Other_kind -{Autre} - -/* Called with: Example - * $0 = outer partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message nobsdpart -{Il n'y a pas actuellement de partition Makronix dans la table de partitions.} - -/* Called with: Example - * $0 = outer partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message multbsdpart -{Il y a plusieurs partitions Makronix dans la table de partitions du secteur de -démarrage. -Positionnez l'indicateur 'installation' sur celle à utiliser.} - -message ovrwrite -{Votre disque a actuellement une partition autre que Makronix. Voulez-vous -vraiment l'écraser par une partition Makronix ? -} - -message Partition_OK -{Partition OK} - -/* Called with: Example - * $0 = device name wd0 - * $1 = outer partitioning name Master Boot Record (MBR) - * $2 = short version of $1 MBR - * $3 = other flag options d = bootselect default, a = active - */ -message editparttable -{Éditez votre table de partitions $2. La table de partitions est : - -} - -message install_flag {I} -message newfs_flag {N} - -message ptn_install {installation} -message ptn_instflag_desc {(I)nstallation, } - -message clone_flag {C} -message clone_flag_desc {, (C)lone} - -.if HAVE_GPT -message parttype_gpt {Guid Partition Table (GPT)} -message parttype_gpt_short {GPT} -.endif - -message ptn_label {Label} -message ptn_uuid {UUID} -message ptn_gpt_type {GPT Type} -message ptn_boot {Boot} - -/* Called with: Example - * $0 = outer partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message use_partitions_anyway -{Use this partitions anyway} - -.if HAVE_GPT -message gpt_flags {B} -message gpt_flag_desc {, (B)ootable} -.endif - -/* Called with: Example - * $0 = file system type FFSv2 - */ -message size_ptn_not_mounted {(Other: $0)} - -message running_system {current system} - -.if HAVE_CLONES -message clone_from_elsewhere {Clone external partition(s)} -message select_foreign_part -{Please select an external source partition:} -message select_source_hdr -{Your currently selected source partitions are:} -message clone_with_data {Clone with data} -message select_source_add {Add another partition} -message clone_target_end {Add at end} -message clone_target_hdr -{Insert cloned partitions before:} -message clone_target_disp {cloned partition(s)} -message clone_src_done -{Source selection OK, proceed to target selection} -.endif - -message network_ok -{Your network seems to work fine. -Should we skip the configuration -and just use the network as-is?} - -message todr_old -{The clock seems to be off!} - -message setdatetime -{Set date and time} - -message time_ok -{Save date and time as selected} - -/* Called with: Example - * $0 = header message The clock is off! - * $1 = current date/time string Sun, 12 Apr 2026 21:04:50 - */ -message date_and_time_hdr -{$0 - -Please enter the date and time. - -Current selection: $1 - - -} - -message year {Year} -message month {Month (1-12)} -message day {Day (1-31)} -message hour {Hour (0-23)} -message minute {Minute (0-59)} - -.if HAVE_GPT -message resize_gpt -{The disk size is larger than the GPT shows, fix this?} -.endif - -/* Makronix: the first question of an installation (menu installmode) */ -message installmode_title {Mode d'installation} -message installmode_simple {Simple (recommandé)} -message installmode_advanced {Avancé} -message installmode -{Makronix peut être installé de deux manières. - -Simple : vous choisissez le disque. Makronix le partitionne, installe -tout et ne pose plus de questions sur la disposition ni sur les sets. -Toutes les données du disque choisi sont effacées. - -Avancé : vous choisissez vous-même le partitionnement et les sets. -} - -message cgdroot_ask -{Voulez-vous chiffrer le disque ? - -Le système est installé dans un volume chiffré (cgd). Une phrase secrète -est demandée à chaque démarrage. Une petite partition non chiffrée -contient le chargeur d'amorçage et le noyau. Sans la phrase secrète les -données sont illisibles ; si vous l'oubliez, elles sont perdues. - -Chiffrer le disque ? -} -message cgdroot_passphrase -{Le disque est maintenant partitionné et chiffré. - -Une phrase secrète vous est demandée deux fois. Retenez-la : elle est -nécessaire à chaque démarrage et sans elle les données sont irrécupérables. -} -message cgdroot_failed -{La configuration du disque chiffré a échoué. Voir la sortie ci-dessus et -le journal. -} -message cgdroot_nokmod -{Le module d'amorçage cgdroot.kmod est absent du support d'installation -(installation/miniroot/cgdroot.kmod). Sans lui le système chiffré ne peut -pas démarrer. -} - -message welcome_ok {OK} -message welcome -{Bienvenue dans l'installation de Makronix %s - -Makronix est NetBSD, façonné à dessein : le système NetBSD reste -dessous, avec en plus le bureau CDE par défaut, un ensemble de paquets -prêt à l'emploi et un installateur capable de chiffrer tout le disque. -Tout s'installe depuis le DVD ou, l'un après l'autre, depuis les CD. - -Merci d'avoir choisi Makronix. - -Appuyez sur OK pour continuer. -} - -message set_msrc -{Sources de Makronix (pkgsrc, correctifs, outils, distfiles)} - -message nextcd_title {CD suivant} -message nextcd_continue {Continuer (le CD est inséré)} -message nextcd_skip {Ignorer cet ensemble} -message nextcd -{L'ensemble %s n'est pas sur ce CD. - -Retirez ce CD du lecteur et insérez le CD suivant de l'installation de -Makronix (CD 2). Choisissez ensuite Continuer. -} - -message setup_intro -{Presque terminé. - -Quelques questions configurent votre ordinateur : son nom, le réseau, le mot -de passe de l'administrateur et votre propre compte. La connexion graphique -(CDE) démarre avec l'ordinateur. -} -message setup_hostname {Nom de cet ordinateur (lettres, chiffres, traits d'union) : } -message setup_hostname_invalid -{Le nom n'est pas valide. Utilisez des lettres, des chiffres et des traits -d'union, et commencez par une lettre ou un chiffre. -} -message setup_dhcp {Configurer le réseau automatiquement (DHCP) ?} -message setup_rootpw {Mot de passe de l'administrateur (root) : } -message setup_userpw {Mot de passe de votre compte : } -message setup_pw_again {Saisissez encore le mot de passe : } -message setup_pw_mismatch {Les mots de passe ne sont pas identiques. Recommencez.} -message setup_pw_empty {Un mot de passe vide n'est pas accepté.} -message setup_fullname {Votre nom complet : } -message setup_username {Identifiant (minuscules et chiffres) : } -message setup_user_invalid -{L'identifiant n'est pas valide : il doit commencer par une minuscule, peut -contenir des minuscules, des chiffres, - et _, et avoir 31 caractères au plus. -} -message setup_failed {Le mot de passe ou le compte n'a pas pu être configuré. Voir le journal.} -message setup_done -{L'ordinateur est configuré. - -Au démarrage il démarre avec le réseau (DHCP), l'horloge (ntpd) et l'écran de -connexion CDE. Connectez-vous en tant que %s. -} - -message extras_ask -{Installer les programmes supplémentaires ? - -Firefox (navigateur), Thunderbird (courrier), QEMU (machines virtuelles), -PulseAudio (son) et CUPS (impression) -sont sur les derniers CD de l'installation de Makronix et sur le DVD. -Ils occupent environ 3 Go sur le disque.} -message extras_nextcd -{Les programmes supplémentaires ne sont pas sur ce CD. - -Retirez ce CD du lecteur et insérez le CD des programmes -supplémentaires (CD %d), puis choisissez Continuer.} -message extras_missing -{Les programmes supplémentaires ne sont pas sur ce support et ne sont -pas installés. - -Ils peuvent l'être plus tard avec pkg_add.} -message extras_failed -{L'installation des programmes supplémentaires a échoué. Voir le journal. - -Ils peuvent être installés plus tard avec pkg_add.} - diff --git a/overlay/usr.sbin/sysinst/msg.mi.pl b/overlay/usr.sbin/sysinst/msg.mi.pl deleted file mode 100644 index ccf9f5c001..0000000000 --- a/overlay/usr.sbin/sysinst/msg.mi.pl +++ /dev/null @@ -1,1702 +0,0 @@ -/* $NetBSD: msg.mi.pl,v 1.58 2026/07/12 20:07:45 martin Exp $ */ -/* Based on english version: */ -/* NetBSD: msg.mi.pl,v 1.36 2004/04/17 18:55:35 atatat Exp */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MI Message catalog -- polish, machine independent */ - -/* - * We can not use non ascii characters in this message - it is displayed - * before the locale is set up! - */ -message sysinst_message_language -{Komunikaty instalacyjne w jezyku polskim} - -message sysinst_message_locale -{pl_PL.ISO8859-2} - -message out_of_memory {Zabraklo pamieci!} -message Yes {Tak} -message No {Nie} -message All {Wszystkie} -message Some {Niektore} -message None {Zadne} -message none {zadne} -message ok {ok} -message OK {OK} -message unchanged {niezmienione} -message On {Wlaczone} -message Off {Wylaczone} -message Delete {Usunac?} - -message install -{zainstaluj} - -message reinstall -{przeinstaluj pakiety dla} - -message upgrade -{zaktualizuj} - -message mount_failed -{Montowanie %s nie powiodlo sie. Kontynuowac? -} - -message hello -{Witaj w sysinst, systemie instalacyjnym Makronix @@MXVERSION@@. -To oparte na menu narzedzie (sysinst) zostalo zaprojektowane w celu -ulatwienia instalacji Makronix na dysku twardym, lub uaktualnienia istniejacego -systemu Makronix przy minimalnym nakladzie pracy. W ponizszych menu, aby wybrac -pozycje wpisz litere (a, b, c, ...). Mozesz tez uzyc CTRL+N/CTRL+P, aby wybrac -nastepna/poprzednia pozycje. Klawisze strzalek i Page-up/Page-down takze moga -dzialac. Aby aktywowac biezacy wybor z menu, nacisnij klawisz Enter. -} - -message thanks -{Dziekujemy za wybranie Makronix! -} - -message installusure -{Zdecydowales sie zainstalowac Makronix na twardym dysku. Spowoduje to zmiane -informacji na twoim dysku. Powinienes zrobic pelny backup danych przed -rozpoczeciem tej procedury! Zostana wykonane nastepujace czynnosci: - a) Podzial dysku twardego - b) Stworzenie nowych systemow plikow BSD - c) Wgranie i zainstalowanie pakietow dystrybucji - -(Po wprowadzeniu informacji o partycjach, ale jeszcze zanim twoj dysk -zostanie zmieniony, bedziesz mial mozliwosc przerwac te procedure.) - -Czy kontynuowac? -} - -message upgradeusure -{Ok, zaktualizujmy Makronix na twoim dysku. Jak zawsze, spowoduje to -zmiane informacji na twoim dysku. Powinienes zrobic pelny backup danych -przed rozpoczeciem! Czy napewno chcesz zaktualizowac Makronix? -(Jest to ostatnie ostrzezenie zanim zacznie sie modyfikacja danych na -twoich dyskach.) -} - -message reinstallusure -{Ok, rozpakujmy pakiety dystrybucyjne Makronix na bootowalny twardy dysk. -Ta procedura tylko sciaga i rozpakowuje pakiety na pre-partycjonowany -bootowalny dysk. Nie nazywa dyskow, aktualizuje bootblokow, lub zapisuje -istniejacej konfiguracji. (Wyjdz i wybierz `instaluj' lub -`aktualizuj' jesli chcesz to zrobic.) Powinienes wykonac `instaluj' lub -`aktualizuj' przed rozpoczeciem tej procedury! - -Czy napewno chcesz przeinstalowac pakiety dystrybucjne Makronix? -(Jest to ostatnie ostrzezenie zanim zacznie sie modyfikacja danych na -twoich dyskach.) -} - -message nodisk -{Nie moge znalezc zadnych twardych dyskow do uzycia z Makronix. Zostaniesz -przeniesiony do menu glownego. -} - -message onedisk -{Znalazlem tylko jeden dysk, %s. Stad przyjmuje, ze chcesz %s -Makronix wlasnie na nim. -} - -message ask_disk -{Na ktorym z nich chcesz %s Makronix? } - -message Available_disks -{Dostepne dyski} - -message Available_wedges {Existing "wedges"} - -message heads -{glowice} - -message sectors -{sektory} - -message mountpoint -{punkt montowania (lub '-')} - -message cylname -{cyl} - -message secname -{sek} - -message megname -{MB} - -message gigname -{GB} - -/* Called with: Example - * $0 = device name wd0 - * $1 = partitioning scheme name Guid Partition Table - * $2 = short version of $1 GPT - * $3 = disk size for Makronix 3TB - * $4 = full install size min. 127M - * $5 = install with X min. 427M - */ -message layout_prologue_none -{Mozesz uzyc prostego edytora aby ustawic rozmiary partycji Makronix, -lub uzyc domyslnych rozmiarow i zawartosci.} - -/* Called with: Example - * $0 = device name wd0 - * $1 = partitioning scheme name Guid Partition Table - * $2 = short version of $1 GPT - * $3 = disk size for Makronix 3TB - * $4 = full install size min. 127M - * $5 = install with X min. 427M - */ - -message layout_prologue_existing -{Jezeli nie chcesz uzywac instniejacych partycji, mozesz uzyc -prostego edytora aby ustawic rozmiary partycji Makronix, lub usunac -istniejace partycje i uzyc domyslnych rozmiarow partycji.} - -/* Called with: Example - * $0 = device name wd0 - * $1 = partitioning scheme name Guid Partition Table - * $2 = short version of $1 GPT - * $3 = disk size for Makronix 3TB - * $4 = full install size min. 127M - * $5 = install with X min. 427M - */ -message layout_main -{ -Bedziesz mial szanse zmienic wlasciwosci partycji. - -Czesc Makronix (lub wolna) twojego dysku ($0) to $3. - -Pelna instalacja wymaga co najmniej $4 bez Xorg, oraz co najmniej $5 -jezeli zainstalujesz z pakietami instalacyjnymi Xorg.} - -message Choose_your_size_specifier -{Wybranie Mega/Gigabajtow nada partycji rozmiar bliski twojemu wyborowi, -ale dopasowany do granic cylindrow. Wybranie sektorow pozwoli ci na -bardziej dokladne okreslenie rozmiarow. Na nowych dyskach ZBR rozmiar -cylindra zmienia sie w zaleznosci od miejsca na dysku, jest wiec -niewielka korzysc z dopasowania cylindrow. Na starszych dyskach -bardziej wydajne jest podawanie rozmiaru dysku, ktore sa -wielokrotnoscia aktualnego rozmiaru cylindra. - -Wybierz specyfikator rozmiaru} - -message ptnsizes -{Mozesz teraz zmienic rozmiary partycji systemowych. Domyslne ustawienia -alokuja cala przestrzen na glowny system plikow, aczkolwiek mozesz zdefiniowac -osobne partycje /usr (dodatkowe pliki systemowe), /var (dane systemowe i logi) -lub /home (katalogi domowe uzytkownikow). - -Wolna przestrzen zostanie dodana do partycji oznaczonej '+'.} - -/* Called with: Example - * $0 = list of marker explanations '=' existining, '@' external - */ -message ptnsizes_markers {Inne znaczniki: partycja $0.} -message ptnsizes_mark_existing {'=' istniejacy} -message ptnsizes_mark_external {'@' zewnetrzny} - -message ptnheaders_size {Rozmiar} -message ptnheaders_filesystem {System plikow} - -message askfsmount -{Punkt montowania?} - -message askfssize -{Rozmiar dla %s w %s?} - -message askunits -{Zmien jednostki wejsciowe (sektory/cylindry/MB/GB)} - -message NetBSD_partition_cant_change -{partycja Makronix} - -message Whole_disk_cant_change -{Caly dysk} - -message Boot_partition_cant_change -{partycja rozruchowa} - -message add_another_ptn -{Dodaj partycje zdefiniowana przez uzytkownika} - -/* Called with: Example - * $0 = free space 1.4 - * $1 = size unit GB - */ -message fssizesok -{Dalej. Wolne miejsce: $0 $1.} - -/* Called with: Example - * $0 = missing space 1.4 - * $1 = size unit GB - */ -message fssizesbad -{Anulowano. Niewystarczajace miejsce, brakuje $0 $1!} - -message startoutsidedisk -{Wartosc poczatkowa ktora podales jest poza koncem dysku.} - -message endoutsidedisk -{Przy tej wartosci, koniec partycji znajduje sie poza koncem dysku. Rozmiar -twojej partycji zostal zmniejszony.} - -.if HAVE_DISKSIZE_CHECKS -message toobigdisklabel -{ -Ten dysk ($0) jest zbyt duzy ($3) na tablice partycji $2 (maks. $4), -wiec tylko poczatek dysku jest mozliwy do uzycia. -} - -message cvtscheme_hdr {Co chcesz zrobic z istniejacymi partycjami?} -message cvtscheme_keep {zostaw (uzyj tylko czesci dysku)} -message cvtscheme_delete {skasuj (wszystkie dane beda utracone!)} -message cvtscheme_convert {uzyj innego typu tablicy partycji} -message cvtscheme_abort {anuluj} -message cvtscheme_error -{Could not convert all partitions} -.endif - -/* Called with: Example - * $0 = device name wd0 - * $1 = partitioning scheme name BSD disklabel - * $2 = short version of $1 disklabel - * $3 = optional install flag (I)nstall, - * $4 = additional flags description (B)ootable - * $5 = total size 2TB - * $6 = free size 244MB - */ -message fspart -{Twoje partycje sa ustawione jako: - -Flags: $3(N)ewfs$4. Total: $5, free: $6} - -message ptnheaders_start {Start} -message ptnheaders_end {Koniec} -message ptnheaders_fstype {Typ SP} - -message partition_sizes_ok -{Rozmiary partycji w porzadku} - -message edfspart -{Powinienes najpierw ustawic rodzaj systemu -plikow (SP). Pozniej inne wartosci. - -Aktualne wartosci dla partycji:} - -message ptn_newfs {newfs} -message ptn_mount {montowanie} -message ptn_mount_options {opcje montowania} -message ptn_mountpt {punkt montowania} - -message toggle -{Przelacz} - -message restore -{Odzyskaj oryginalne wartosci} - -message Select_the_type -{Wybierz typ} - -message other_types -{inne typy} - -/* Called with: Example - * $0 = valid partition shortcuts a-e - * $1 = maximum allowed 4292098047 - * $2 = size unit MB - */ -message label_size_head -{Specjalne wartosci, ktore moga byc podane jako wartosci rozmiaru: - -1: az do konca czesci dysku} - -/* Called with: Example - * $0 = valid partition shortcuts a-e - * $1 = maximum allowed 4292098047 - * $2 = size unit MB - */ -message label_size_part_hint -{ $0: zakoncz ta partycje tam gdzie partycja X sie zaczyna} - -/* Called with: Example - * $0 = valid partition shortcuts a-e - * $1 = maximum allowed 4292098047 - * $2 = size unit MB - */ -message label_size_tail {Rozmiar (max $1 $2)} - -/* Called with: Example - * $0 = valid partition shortcuts a-e - * $1 = valid free space shortcuts f-h - * $2 = size unit MB - */ -message label_offset_head -{Specjalne wartosci, ktore moga byc podane jako wartosci przesuniecia: - -1: zacznij na poczatku czesci dysku Makronix} - -/* Called with: Example - * $0 = valid partition shortcuts a-e - * $1 = valid free space shortcuts f-h - * $2 = size unit MB - */ -message label_offset_part_hint -{ $0: zacznij na koncu partycji X} - -/* Called with: Example - * $0 = valid partition shortcuts a-e - * $1 = valid free space shortcuts f-h - * $2 = size unit MB - */ -message label_offset_space_hint -{ $1: zacznij na poczatku podanego wolnego fragmentu} - -/* Called with: Example - * $0 = valid partition shortcuts a-e - * $1 = valid free space shortcuts f-h - * $2 = size unit MB - */ -message label_offset_tail {Poczatek ($2)} - -message invalid_sector_number -{Nieprawidlowa liczba} - -message packname -{Podaj nazwe dla swojego dysku Makronix} - -message lastchance -{Jestesmy teraz gotowi zainstalowac Makronix na twoim dysku (%s). Nic -nie zostalo jeszcze zapisane. Masz teraz ostatnia szanse na przerwanie tego -procesu poki nic nie zostalo jeszcze zmienione. - -Czy kontynuowac? -} - -message disksetupdone -{Pierwsza czesc procedury zostala zakonczona. Sysinst zapisal -disklabel na dysk doceloway, oraz utworzyl system plikow i sprawdzil -nowe partycje, ktore podales jako docelowe. -} - -message disksetupdoneupdate -{Pierwsza czesc procedury zostala zakonczona. Sysinst zapisal -disklabel na dysk docelowy, oraz sprawdzil nowe partycje, ktore -podales jako docelowe. -} - -message openfail -{Nie moglem otworzyc %s, blad: %s. -} - -/* Called with: Example - * $0 = device name /dev/wd0a - * $1 = mount path /usr - */ -message mountfail -{zamontowanie urzadzenia $0 na $1 nie powiodlo sie. -} - -message extractcomplete -{Rozpakowywanie wybranych pakietow dla Makronix @@MXVERSION@@ zakonczone. -System moze sie teraz uruchomic z wybranego twardego dysku. Aby zakonczyc -instalacje, sysinst da ci mozliwosc skonfigurowania kilku istotnych rzeczy. -} - -message instcomplete -{Instalacja Makronix @@MXVERSION@@ zostala zakonczona. System powinien -uruchomic sie z twardego dysku. Wykonaj polecenia zawarte w pliku -INSTALL o koncowej konfiguracji systemu. - -Powinienes przynajmniej zedytowac /etc/rc.conf aby odpowiadal twoim -potrzebom. Zajrzyj do /etc/defaults/rc.conf aby poznac domyslne wartosci. -} - -message upgrcomplete -{Aktualizacja Makronix @@MXVERSION@@ zostala zakonczona. Bedziesz teraz -musial wykonac polecenia zawarte w pliku INSTALL, aby skonfigurowac system -odpowiadajacy twoim potrzebom. - -Musisz przynajmniej dostosowac rc.conf do swojego lokalnego srodowiska -i zmienic rc_configured=NO na rc_configured=YES, inaczej start systemu -zatrzyma sie na trybie jednego-uzytkownika, oraz skopiowac z powrotem -pliki z haslami (biorac pod uwage nowe konta systemowe ktore mogly -zostac utworzone dla tej wersji), jesli uzywales lokalnych plikow hasel. -} - - -message unpackcomplete -{Rozpakowywanie dodatkowych pakietow Makronix @@MXVERSION@@ zostalo zakonczone. -Musisz teraz wykonac -polecenia zawarte w pliku INSTALL aby przekonfigurowac system do swoich -potrzeb. - -Musisz przynajmniej dostosowac rc.conf do swojego lokalnego srodowiska -i zmienic rc_configured=NO na rc_configured=YES inaczej start systemu -zatrzyma sie na trybie jednego-uzytkownika. -} - -message distmedium -{Twoj dysk jest teraz gotowy na zainstalowanie jadra oraz pakietow -dystrybucyjnych. Jak napisano w pliku INSTALL masz tez kilka opcji. Dla -ftp lub nfs, musisz byc podlaczony do sieci z dostepem do odpowidnich maszyn. - -%d wybranych pakietow, %d zainstalowanych. Nastepnym pakietem jest %s. - -} - -message distset -{Dystrybucja Makronix jest rozbita w kolekcje pakietow dystrybucyjnych. -Czesc z nich to pakiety podstawowe wymagane przez wszystkie instalacje, -a czesc nie jest przez wszystkie wymagana. Mozesz zainstalowac je -wszystkie (Pelna instalacja) lub wybrac z opcjonalnych pakietow. Mozesz -takze zainstalowac tylko podstawowy zestaw (minimalna instalacja), lub -wybrac te, ktore chcesz (Inna instalacja) -} - -/* Called with: Example - * $0 = sets suffix .tgz - * $1 = URL protocol used ftp - */ -message ftpsource -{Ponizej masz site $1, katalog, uzytkownika, oraz haslo gotowe do uzycia. -Jesli "uzytkownik" to "ftp", wtedy haslo nie jest wymagane. - -} - -message email -{adres e-mail} - -message dev -{urzadzenie} - -/* Called with: Example - * $0 = sets suffix .tgz - */ -message nfssource -{Wprowadz hosta NFS oraz katalog gdzie znajduje sie dystrybucja. -Pamietaj, ze katalog musi zawierac pliki $0, oraz musi byc -dostepny przez NFS. - -} - -message floppysource -{Podaj urzadzenie bedace stacja dyskietek oraz katalog pomocniczy -w docelowym systemie plikow. Pliki z pakietami instalacyjnymi musza -znajdowac sie w glownym katalogu dyskietki. - -} - -/* Called with: Example - * $0 = sets suffix .tgz - */ -message cdromsource -{Podaj urzadzenie CDROM oraz katalog na CDROMie, w ktorym znajduje sie -dystrybucja. -Pamietaj, ze katalog musi zawierac pliki $0. - -} - -message No_cd_found -{Could not locate a CD medium in any drive with the distribution sets! -Enter the correct data manually, or insert a disk and retry. -} - -message abort_install -{Cancel installation} - -message source_sel_retry -{Back to source selection & retry} - -message Available_cds -{Dostepne napedy CD} - -message ask_cd -{Znaleziono kilka napedow CD, prosze wybrac ten, ktory zawiera -nosnik instalacyjny.} - -message cd_path_not_found -{Zbiory instalacyjne nie zostaly znalezione w domyslnym polozeniu na tym -CD. Prosze sprawdzic urzadzenie i sciezke.} - -/* Called with: Example - * $0 = sets suffix .tgz - */ -message localfssource -{Podaj niezamontowane lokalne urzadzenie oraz katalog na nim, gdzie -znajduje sie dystrybucja. -Pamietaj, ze katalog musi zawierac pliki $0. - -} - -/* Called with: Example - * $0 = sets suffix .tgz - */ -message localdir -{Podaj aktualnie zamontowany lokalny katalog, gdzie znajduje sie dystrybucja. -Pamietaj, ze katalog musi zawierac pliki $0. - -} - -message filesys -{system plikow} - -message nonet -{Nie znalazlem zadnych interfejsow sieciowych do uzycia z Makronix. -Zostaniesz przeniesiony do glownego menu. -} - -message netup -{Nastepujace interfejsy sieciowe sa aktywne: %s -Czy ktorys z nich jest podlaczony do serwera?} - -message asknetdev -{Ktorego urzadzenia mam uzyc?} - -message netdevs -{Dostepne interfejsy} - -message netinfo -{Aby mozna bylo uzywac sieci, potrzebujemy odpowiedzi na ponizsze pytania: - -} - -message net_domain -{Twoja domena DNS} - -message net_host -{Twoja nazwa hosta} - -message net_ip -{Twoj adres IPv4} - -message net_srv_ip -{Adres IPv4 serwera} - -message net_mask -{Maska podsieci IPv4} - -message net_namesrv -{Serwer nazw IPv4} - -message net_defroute -{bramka IPv4} - -message net_media -{Typ interfejsu sieciowego} - -message net_ssid -{Wi-Fi SSID?} - -message net_passphrase -{Wi-Fi passphrase?} - -message netok -{Ponizej sa wartosci, ktore wprowadziles. - -Domena DNS: %s -Nazwa hosta: %s -Serwer nazw: %s -Podstawowy interfejs: %s -Medium sieciowe: %s -Twoj adres IP: %s -Maska podsieci: %s -Bramka IPv4: %s -} - -message netok_slip -{Ponizej sa wartosci, ktore wprowadziles. Czy sa poprawne? - -Domena DNS: %s -Nazwa hosta: %s -Serwer nazw: %s -Podstawowy interfejs: %s -Medium sieciowe: %s -Twoj adres IP: %s -Adres IP serwera: %s -Maska podsieci: %s -Bramka IPv4: %s -} - -message netokv6 -{Autkonfiguracja IPv6: %s -} - -message netok_ok -{Czy sa poprawne?} - -message slattach { -Podaja parametry dla polecenia 'slattach' -} - -message wait_network -{ -Poczekaj, az interfejs sieciowy zostanie uaktywniony. -} - -message resolv -{Nie moglem utworzyc /etc/resolv.conf. Instalacja przerwana. -} - -/* Called with: Example - * $0 = target prefix /target - * $1 = error message No such file or directory - */ -message realdir -{Nie moglem przejsc do katalogu $0: $1 -Instalacja przerwana.} - -message delete_xfer_file -{Usun po zakonczeniu instalacji} - -/* Called with: Example - * $0 = set name base - */ -message notarfile -{Pakiet $0 nie istnieje.} - -.if HAVE_DVD_IMAGE -/* Called with: Example - * $0 = set name base - */ -message opt_set_not_found -{The set "$0" is optional and not included on this -distribution medium. - -This is not critical and installation will continue. -You can add this set later, e.g. by downloading it via -https from the NetBSD CDN. - -Optional sets are: - debug/debug32 containing debug information - base32 containing support for running 32bit code on 64bit architectures - test containing automatic test programs - manhtml containing man pages in html format - -Some architectures offer different CD vs. DVD ISO images, the DVD images -are complete and contain all sets. -} -.endif - -message endtarok -{Wszystkie wybrane pakiety dystrybucji zostaly rozpakowane.} - -message endtar -{Wystapil blad w trackie rozpakowywania pakietow. -Twoja instalacja jest niekompletna. - -Wybrales %d pakietow dystrybucyjnych. %d pakiety nie zostaly znalezione -i %d zostalo pominietych z powodu bledow. Z %d docelowych, -%d rozpakowalo sie bez bledow i %d z bledami. - -Sprawdz zrodlo swojej dystrybucji i rozwaz reinstalacje pakietow z -glownego menu.} - -message abort_inst {Instalacja zostala przerwana.} -message abort_part {Install aborted.} - -message abortinst -{Dystrybucja nie zostala pomyslnie wgrana. Bedziesz musial zrobic to recznie. -Instalacja zostala przerwana. -} - -message abortupgr -{Dystrybucja nie zostala pomyslnie wgrana. Bedziesz musial zrobic to recznie. -Aktualizacja zostala przerwana. -} - -message abortunpack -{Rozpakowanie dodatkowych pakietow nie udalo sie. Bedziesz musial -to zrobic recznie, albo wybrac inne zrodlo pakietow i sprobowac ponownie. -} - -message createfstab -{Pojawil sie powazny problem! Nie mozna utworzyc /mnt/etc/fstab. Spadamy! -} - - -message noetcfstab -{Pomocy! Na dysku docelowym %s nie ma /etc/fstab. Przerywamy aktualizacje. -} - -message badetcfstab -{Pomocy! Nie moge przeczytac /etc/fstab na dysku %s. Przerywamy aktualizacje. -} - -message X_oldexists -{Nie moge zapisac %s/bin/X jako %s/bin/X.old, poniewaz -na docelowym dysku jest juz %s/bin/X.old. Napraw to przed kontynuacja. - -Jedyny sposob to uruchomic powloke z menu Narzedziowego i sprawdzic -docelowe %s/bin/X oraz %s/bin/X.old. Jesli -%s/bin/X.old pochodzi z zakonczonej aktualizacji, mozesz usunac -%s/bin/X.old i zrobic restart. Albo jesli %s/bin/X.old -pochodzi z aktualnej niekompletnej aktualizacji, mozesz usunac -%s/bin/X i przeniesc %s/bin/X.old na %s/bin/X. - -Przerywamy aktualizacje.} - -message netnotup -{Pojawil sie problem z konfiguracja twojej sieci. Albo twoja bramka -albo serwer nazw nie byl osiagalny przez ping. Czy chcesz skonfigurowac -siec jeszcze raz? (Wybor "Nie" pozwala ci kontynuowac lub przerwac instalacje.) -} - -message netnotup_continueanyway -{Czy chcesz kontynuowac proces instalacji i zalozyc, ze twoja siec dziala? -("Nie" przerywa proces instalacji.) -} - -message makedev -{Tworzenie plikow urzadzen ... -} - -/* Called with: Example - * $0 = device name /dev/rwd0a - * $1 = file system type ffs - * $2 = error return code form fsck 8 - */ -message badfs -{Wyglada na to, ze $0 nie jest systemem plikow $1 lub -fsck dysku nie powiodlo sie. Zamontowac dysk pomimo tego? (Kod -bledu $2.)} - -message rootmissing -{ Nie moge znalezc docelowego / %s. -} - -message badroot -{Utowrzony nowy system plikow nie przeszedl podstawowych testow. - Jestes pewien, ze zainstalowales wszystkie wymagane pakiety? -} - -message fd_type -{System plikow na dyskietce} - -message fdnotfound -{Nie moglem znalezc pliku na dyskietce. -} - -message fdremount -{Dyskietka nie zostala pomyslnie zamontowana. -} - -message fdmount -{Wloz dyskietke zawierajaca plik "%s.%s". - -Jezeli nie masz juz wiecej dyskietek, wybierz "Pakiet kompletny" -aby rozpoczac proces jego instalacji. Wybierz "Przerwij pobieranie" -zeby wybrac inne zrodlo oprogramowania. -} - -message mntnetconfig -{Czy informacje o sieci, ktore podales sa prawidlowe dla tej maszyny -w reguralnej pracy i czy chcesz aby je zapisac w /etc? } - -message cur_distsets -{Ponizej jest lista pakietow dystrybucyjnych, ktore zostana uzyte. - -} - -message cur_distsets_header -{Pakiet dystrybucyjny Uzyc? -------------------------------------------- ----- -} - -message set_base -{Base} - -message set_base32 -{Baza dla kompatybilno?ci 32-bitowej} - -message set_base64 -{Baza dla kompatybilno?ci 32-bitowej} - -message set_system -{System (/etc)} - -message set_compiler -{Narzedzia Kompilacyjne} - -message set_dtb -{Devicetree hardware descriptions} - -message set_games -{Gry} - -message set_gpufw -{Graphics driver firmware} - -message set_makronix -{Oprogramowanie firm trzecich w /usr/pkg} - -message set_man_pages -{Strony Podrecznika} - -message set_man_pages_html -{Strony Podrecznika (HTML)} - -message set_misc -{Inne} - -message set_modules -{Moduly kernela} - -message set_rescue -{Recovery tools} - -message set_tests -{Programy testujace} - -message set_text_tools -{Narzedzia przetw. tekstu} - -message set_X11 -{Pakiety X11} - -message set_X11_base -{X11 base oraz klienci} - -message set_X11_etc -{Konfiguracja X11} - -message set_X11_fonts -{Czcionki X11} - -message set_X11_servers -{Serwery X11} - -message set_X11_prog -{Programowanie X11} - -message set_source -{Pakiety zrodel i debug.} - -message set_syssrc -{Zrodla kernela} - -message set_src -{Zrodla pak. Base} - -message set_sharesrc -{Zrodla Share} - -message set_gnusrc -{Zrodla GNU} - -message set_xsrc -{Zrodla X11} - -message set_debug -{Symbole debugowania} - -message set_debug32 -{Symbole debugowania (32-bit)} - -message set_debug64 -{Symbole debugowania (64-bit)} - -message set_xdebug -{Symbole debugowania X11} - -message select_all -{Wybierz wszystkie powyzsze pakiety} - -message select_none -{Odznacz wszystkie powyzsze pakiety} - -message install_selected_sets -{Zainstaluj wybrane pakiety} - -message tarerror -{Pojawil sie blad w trakcie rozpakowywanie pliku %s. To znaczy, ze -pewne pliki nie zostaly prawidlowo rozpakowane i twoj system -nie bedzie kompletny. - -Kontynuowac rozpakowywanie pakietow?} - -/* Called with: Example - * $0 = partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message must_be_one_root -{Musi byc jedna partycja do zamontowania pod '/'.} - -/* Called with: Example - * $0 = first partition description 70 - 90 MB, MSDOS - * $1 = second partition description 80 - 1500 MB, 4.2BSD - */ -message partitions_overlap -{partycje $0 i $1 pokrywaja sie.} - -message No_Bootcode -{Brak programu rozruchowego dla glownej partycji} - -message cannot_ufs2_root -{Glowny system plikow nie moze byc FFSv2 poniewaz nie ma programu rozruchowego dla -tej platformy.} - -message edit_partitions_again -{ - -Mozesz albo zedytowac tablice partycji recznie, albo poddac sie -i powrocic do glownego menu. - -Edytowac tablice partycji ponownie ?} - -/* Called with: Example - * $0 = missing file /some/path - */ -message config_open_error -{Nie moglem otworzyc pliku konfiguracyjnego $0} - -message choose_timezone -{Wybierz strefe czasowa, ktora najlepiej ci odpowiada z ponizszej listy. -Nacisnij ENTER aby wybrac. -Nacisnij 'x' a potem ENTER aby wyjsc. - - Domyslna: %s - Wybrana: %s - Lokalny czas: %s %s -} - -message tz_back -{Powroc do glownej listy stref} - -message swapactive -{Dysk, ktory wybrales posiada partycje wymiany, ktora moze byc aktualnie -w uzyciu jesli twoj system ma malo pamieci. Poniewaz chcesz zmienic uklad -partycji, partycja wymiany zostanie teraz wylaczona. Moze to spowodowac -pojawienie sie bledow. Jesli zuwazysz takie bledy zrestartuj komputer, -a nastepnie sprobuj jeszcze raz.} - -message swapdelfailed -{Sysinst nie mogl deaktywowac partycji wymiany na dysku, ktory wybrales -do instalacji. Zrestartuj komputer i sprobuj jeszcze raz.} - -message rootpw -{Haslo root'a w nowo zainstalowanym systemie nie zostalo jeszcze ustawione, -i dlatego jest puste. Czy chcesz teraz ustawic haslo dla root'a?} - -message force_rootpw -{The root password of the newly installed system has not yet been -initialized. - -If you do not want to set a password, enter an empty line.} - -message rootsh -{Mozesz teraz wybrac, ktorej powloki ma uzywac uzytkownik root. Domyslnie -jest to /bin/sh, ale moze preferujesz inna.} - -message no_root_fs -{ -Nie zdefiniowano glownego systemu plikow. Musisz zdefiniowac przynajmniej -jeden mountpoint z "/". - -Nacisnij aby kontynuowac. -} - -message Pick_an_option {Wybierz opcje aby je wlaczyc lub wylaczyc.} -message Scripting {Skrypty} -message Logging {Logowanie} - -message Status { Status: } -message Command {Polecenie: } -message Running {Pracuje} -message Finished {Zakonczone} -message Command_failed {Polecenie nie powiodlo sie} -message Command_ended_on_signal {Polecenie zakonczylo sie sygnalem} - -message NetBSD_VERSION_Install_System {System Instalacyjny Makronix @@MXVERSION@@} -message Exit_Install_System {Wyjdz z Systemu Instalacyjnego} -message Install_NetBSD_to_hard_disk {Zainstaluj Makronix na twardym dysku} -message Upgrade_NetBSD_on_a_hard_disk {Zaktualizuj Makronix na twardym dysku} -message Re_install_sets_or_install_additional_sets {Przeinstaluj albo zainstaluj dodatkowe pakiety} -message Reboot_the_computer {Zrestartuj komputer} -message Utility_menu {Menu Narzedziowe} -message Config_menu {Menu konfiguracji} -message exit_menu_generic {Wstecz} -message exit_utility_menu {Exit} -message NetBSD_VERSION_Utilities {Narzedzia Makronix @@MXVERSION@@} -message Run_bin_sh {Uruchom /bin/sh} -message Set_timezone {Ustaw strefe czasowa} -message Configure_network {Skonfiguruj siec} -message Partition_a_disk {Skonfiguruj dysk} -message Logging_functions {Funkcje logowania} -message Halt_the_system {Zatrzymaj system} -message yes_or_no {tak lub nie?} -message Hit_enter_to_continue {Nacisnij enter aby kontynuowac} -message Choose_your_installation {Wybierz swoja instalacje} - -/* Called with: Example - * $0 = partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message Keep_existing_partitions -{Uzyj istniejacych partycji MBR} - -/* Called with: Example - * $0 = partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message Set_Sizes {Ustaw rozmiary partycji Makronix} - -/* Called with: Example - * $0 = partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message Use_Default_Parts {Uzyj domyslnych rozmiarow partycji} - -/* Called with: Example - * $0 = partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message Use_Empty_Parts {Manually define partitions} - -/* Called with: Example - * $0 = current partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message Use_Different_Part_Scheme -{Delete everything, use different partitions (not $1)} - -message Gigabytes {Gigabajty} -message Megabytes {Megabajty} -message Bytes {Bajty} -message Cylinders {Cylindry} -message Sectors {Sektory} -message Select_medium {Wybierz nosnik} -message ftp {FTP} -message http {HTTP} -message https {HTTPS} -message nfs {NFS} -.if HAVE_INSTALL_IMAGE -message cdrom {CD-ROM / DVD / nosnik instalacyjny} -.else -message cdrom {CD-ROM / DVD} -.endif -message floppy {Dyskietka} -message local_fs {Niezamontowany system plikow} -message local_dir {Lokalny katalog} -message Select_your_distribution {Wybierz swoja dystrybucje} -message Full_installation {Pelna instalacja} -message Full_installation_nox {Instalacja bez X11} -message Minimal_installation {Minimalna instalacja} -message Custom_installation {Inna instalacja} -message hidden {** ukryte **} -message Host {Host} -message Base_dir {Katalog} -message Set_dir_src {Katalog pakietow binarych} -message Set_dir_bin {Katalog pkgsrc} -message Dist_postfix {Rozszerzenie pliku} -message Xfer_dir {Katalog z plikami pobranymi} -message transfer_method {Sposob pobierania} -message User {Uzytkownik} -message Password {Haslo} -message Proxy {Proxy} -message Get_Distribution {Sciagnij Dystrybucje} -message Continue {Kontynuuj} -message Prompt_Continue {Kontynuuj?} -message What_do_you_want_to_do {Co chcesz zrobic?} -message Try_again {Sprobowac jeszcze raz} -message Set_finished {Pakiet kompletny} -message Skip_set {Pomin pakiet} -message Skip_group {Pomin grupe pakietow} -message Abandon {Przerwij instalacje} -message Abort_fetch {Przerwij pobieranie} -message Device {Urzadzenie} -message File_system {SystemPlikow} -message Select_DNS_server { Wybierz serwer nazw} -message other {inny } -message Perform_autoconfiguration {Wykonac autkonfiguracje?} -message Root_shell {Powloka root'a} -message Color_scheme {Kolorystyka} -message White_on_black {Bialy na czarnym} -message Black_on_white {Czarny na bia³ym} -message White_on_blue {Bialy na niebieskim} -message Green_on_black {Zielony na czarnym} -message User_shell {Powloka uzytkownika} - -.if AOUT2ELF -message aoutfail -{Docelowy katalog na biblioteki wpsoldzielone a.out nie mogl zostac utworzony -Sproboj jeszcze raz procedury -aktualizacji i upewnij sie, ze zamontowales wszystkie systemy plikow.} - -message emulbackup -{Albo /emul/aout albo /emul w twoim systemie byl symbolicznym linkiem -wskazujacym na niezamontowany system. Zostalo mu dodane rozszerzenie '.old'. -Kiedy juz uruchomisz swoj zaktualizowany system, mozliwe ze bedziesz musial -zajac sie polaczeniem nowo utworzonego /emul/aout ze starym. -} -.endif - -message oldsendmail -{Sendmail nie jest dostepny w tym wydaniu Makronix. Domyslnym MTA jest -postfix. Plik /etc/mailer.conf ciagle wskazuje usuniety program -sendmail. Chcesz automatycznie uaktualnic /etc/mailer.conf dla -postfix? Jesli wybierzesz "Nie", trzeba bedzie recznie zmienic -/etc/mailer.conf, aby dzialalo dostarczanie poczty.} - -message license -{Aby uzywac interfejsu sieciowego %s, musisz zgodzic sie na licencje -zawarta w pliku %s. -Aby obejrzec ten plik, mozesz wpisac ^Z, przejrzec jego zawartosc, -a nastepnie wpisac "fg".} - -message binpkg -{Aby skonfigurowac binarny system pakietow, wybierz lokalizacje siecowa, z -ktorej nalezy pobrac pakiety. Gdy system wstanie, mozesz wykorzystac 'pkgin' do -zainstalowania albo odinstalowania dodatkowych pakietow.} - -message pkgpath -{Ponizej wyszczegolniono protokol, hosta, katalog, nazwe uzytkownika oraz haslo, -ktore beda wykorzystane do nawiazania polaczenia. Haslo nie jest wymagane gdy -nazwa uzytkownika to "ftp". - -} -message rcconf_backup_failed {Stworzenie kopii zapasowej rc.conf nie powiodlo -sie. Kontynuowac?} -message rcconf_backup_succeeded {Kopia zapasowa rc.conf zostala zapisana do %s.} -message rcconf_restore_failed {Przywracania kopii zapasowej rc.conf nie powiodlo -sie.} -message rcconf_delete_failed {Usuwanie starego wpisu %s nie powiodlo sie.} -message Pkg_dir {Katalog z pakietami} -message configure_prior {skonfiguruj przed instalacja} -message configure {skonfiguruj} -message change {zmien} -message password_set {ustawiono haslo} -message YES {TAK} -message NO {NIE} -message DONE {ZAKONCZ} -message abandoned {Porzucony} -message empty {***PUSTE***} -message timezone {Strefa czasowa} -message change_rootpw {Zmien haslo root'a} -message enable_binpkg {Wlacz instalacje pakietow binarnych} -message enable_sshd {Wlacz sshd} -message enable_ntpd {Wlacz ntpd} -message run_ntpdate {uruchom ntpdate podczas startu systemu} -message enable_mdnsd {Wlacz mdnsd} -message enable_xdm {Wlacz xdm} -message enable_cgd {Wlacz cgd} -message enable_lvm {Wlacz lvm} -message enable_raid {Wlacz raidframe} -message add_a_user {Dodaj uzytkownika} -message configmenu {Skonfiguruj dodatkowe elementy w razie potrzeby.} -message doneconfig {Zakoncz konfiguracje} -message Install_pkgin {Zainstaluj pkgin i uaktualnij liste pakietow} -message binpkg_installed -{Skonfigurowales system tak aby wykorzystywal pkgin do instalacji pakietow -binarnych. Aby zainstalowac pakiet, wykonaj: - -pkgin install - -z powloki root'a. Jesli potrzebujesz wiecej informacji przeczytaj strone -podrecznika pkgin(1).} -message Install_pkgsrc {Pobierz i rozpakuj pkgsrc} -message pkgsrc -{Instalacja pkgsrc wymaga rozpakowania archiwum pobranego z sieci. -Ponizej wyszczegolniono protokol, hosta, katalog, nazwe uzytkownika oraz haslo, -ktore beda wykorzystane do nawiazania polaczenia. Haslo nie jest wymagane gdy -nazwa uzytkownika to "ftp". - -} -message Pkgsrc_dir {katalog pkgsrc} -message get_pkgsrc {Pobierz i rozpakuj pkgsrc} -message retry_pkgsrc_network {Konfiguracja sieci nie powiodla sie. Sprobowac -ponownie?} -message quit_pkgsrc {Zakoncz bez zainstalowania pkgsrc} -message quit_pkgs_install {Zakoncz bez zainstalowania bin pkg} -message pkgin_failed -{Instalacja pkgin nie powiodla sie, prawdopodobnie dlatego ze nie znaleziono -pakietow binarnych. -Sprawdz sciezke pakietow i sprobuj ponownie.} -message failed {Nie powiodlo sie} - -message askfsmountadv {Punkt montowania (lub "raid", "cgd" albo "lvm")?} -message partman {Partycje rozszerzone} -message editpart {Edytuj partycje} -message selectwedge {Preconfigured "wedges" dk(4)} - -message fremove {USUN} -message remove {Usun} -message add {Dodaj} -message auto {auto} - -message removepartswarn {To usunie wszystkie partycje na dysku!} -message saveprompt {Zapisac zmiany przed zakonczeniem?} -message cantsave {Zmiany nie moga byc zapisane.} -message noroot {Brak zedfiniowanej partycji /. Nie mozna kontynuowac.\n} - -message addusername {Nazwa nowego uzytkownika (8 zn.)} -message addusertowheel {Chcesz dodac tego uzytkownika do grupy wheel?} -message Delete_partition -{Usun partycje} - -message No_filesystem_newfs -{Na wybranej partycji nie znaleziono systemu plikow. Czy chcesz ja -sformatowac?} - -message swap_display {swap} - -/* Called with: Example - * $0 = parent device name sd0 - * $1 = swap partition name my_swap - */ -message Auto_add_swap_part -{Partycja swap ($1) -istnieje na $0. -Chcesz jej uzyc?} - -message parttype_disklabel {disklabel BSD} -message parttype_disklabel_short {disklabel} -/* - * This is used on architectures with MBR above disklabel when there is - * no MBR on a disk. - */ -message parttype_only_disklabel {disklabel (Makronix only)} - -message select_part_scheme -{Ten dysk nie byl wczesniej partycjonowany. Wybierz typ tablicy -partycji z ponizszych.} - -message select_other_partscheme -{Wybierz inny typ tablicy partycji z ponizszych.} - -message select_part_limit -{Niektore typy tablic moga byc uzywane tylko na poczatkach duzych dyskow. -Ponizej przedstawione sa limity.} - -/* Called with: Example - * $0 = device name ld0 - * $1 = size 3 TB - */ -message part_limit_disksize -{To urzadzenie ($0) ma rozmiar $1.} - -message size_limit {Maks.:} - -message addpart {Dodaj partycje} -message nopart { (brak zdefiniowanej)} -message custom_type {Nieznane} - -message dl_type_invalid {Nieznany typ systemu plikow (0 .. 255)} - -message cancel {Anuluj} - -message out_of_range {Nieprawidlowa wartosc} -message invalid_guid {Nieprawidlowa GUID} - -message reedit_partitions {Edytuj ponownie} -message abort_installation {Anuluj instalacje} - -message dl_get_custom_fstype {ID typu systemu plikow (do 255)} - -message err_too_many_partitions {Zbyt duzo partycji} - -/* Called with: Example - * $0 = mount point /home - */ -message mp_already_exists {$0 juz istnieje!} - -message ptnsize_replace_existing -{Ta partycja juz istnieje. -Aby zmienic jej rozmiar, trzeba ja skasowac i stworzyc ponownie. -Wszystkie dane zostana utracone -Chcesz ja skasowac i kontynuowac?} - -message part_not_deletable {Nieusuwalna partycja systemowa} - -message ptn_type {rodzaj} -message ptn_start {poczatek} -message ptn_size {rozmiar} -message ptn_end {koniec} - -message ptn_bsize {rozmiar bloku} -message ptn_fsize {rozmiar fragmentu} -message ptn_isize {Sredni rozm. pliku} - -/* Called with: Example - * $0 = avg file size in byte 1200 - */ -message ptn_isize_bytes {$0 bajtow} -message ptn_isize_dflt {4 fragmenty} - -message Select_file_system_block_size -{Wybierz rozmiar bloku dla systemu plikow} - -message Select_file_system_fragment_size -{Wybierz rozmiar fragmentu dla systemu plikow} - -message ptn_isize_prompt -{sredni rozmiar pliku (bajty)} - -message No_free_space {Brak wolnego miejsca} -message Invalid_numeric {Nieprawidlowa wartosc!} -message Too_large {Zbyt duza wartosc!} - -/* Called with: Example - * $0 = start of free space 500 - * $1 = end of free space 599 - * $2 = size of free space 100 - * $3 = unit in use MB - */ -message free_space_line {Miejsce od $0..$1 $3 (rozmiar $2 $3)\n} - -message fs_type_ffsv2 {FFSv2} -message fs_type_ffsv2ea {FFSv2ea} -message fs_type_ffs {FFS} -message fs_type_efi_sp {EFI system partition} -message fs_type_ext2old {Linux Ext2 (old)} -message other_fs_type {Inny typ} - -message editpack {Edytuj nazwe dysku} -message edit_disk_pack_hdr -{Nazwa dysku jest dowolna. -Sluzy rozroznieniu roznych dyskow od siebie. -Moze tez sluzyc do tworzenia "wedges" dla tego dysku - -Wprowadz nazwe dysku} - -/* Called with: Example - * $0 = outer partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message reeditpart -{Czy chcesz zmienic tablice partycji ($1)?} - - -/* Called with: Example - * $0 = device name wd0 - * $1 = outer partitioning name Master Boot Record (MBR) - * $2 = inner partitioning name BSD disklabel - * $3 = short version of $1 MBR - * $4 = short version of $2 disklabel - * $5 = size needed for Makronix 250M - * $6 = size needed to build Makronix 15G - */ -message fullpart -{Zainstalujemy teraz Makronix na dysku $0. Mozesz wybrac, czy chcesz -zainstalowac Makronix na calym dysku, czy tylko na jego czesci. - -Instalacja na czesci dysku, tworzy partycje, lub 'plaster', dla Makronix -w tablicy partycji $3 twojego dysku. Instalacja na calym dysku jest -`zdecydowanie polecana': zabiera ona caly $3. Spowoduje to calkowita -utrate danych na dysku. Uniemozliwia ona take pozniejsza instalacje kilku -systemow na tym dysku (chyba, ze nadpiszesz Makronix i przeinstalujesz uzywajac -tylko czesci dysku).} - -message Select_your_choice -{Wybierz} - -/* Called with: Example - * $0 = partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message Use_only_part_of_the_disk -{Uzyj tylko czesci dysku} - -message Use_the_entire_disk -{Uzyj calego dysku} - -/* Called with: Example - * $0 = device name wd0 - * $1 = total disk size 3000 GB - * $2 = unallocated space 1.2 GB - */ -message part_header -{ Calkowity rozmiar dysku $0: $1 - wolna: $2} -message part_header_col_start {Pocz} -message part_header_col_size {Rozm} -message part_header_col_flag {Flg} - -message Partition_table_ok -{Tablica partycji jest poprawna} - -message Dont_change -{Nie zmieniaj} -message Other_kind -{Inny typ} - -/* Called with: Example - * $0 = outer partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message nobsdpart -{Nie ma partycji Makronix w tablicy partycji $1.} - -/* Called with: Example - * $0 = outer partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message multbsdpart -{W tablicy partycji $1 znajduje sie kilka partycji Makronix. -Powinienies oznaczyc jedna z nich jako przeznaczona do instalacji. -} - -message ovrwrite -{Twoj dysk aktualnie posiada partycje nie-Makronix. Czy napewno chcesz ja -nadpisac z Makronix? -} - -message Partition_OK -{Partycje OK} - -/* Called with: Example - * $0 = device name wd0 - * $1 = outer partitioning name Master Boot Record (MBR) - * $2 = short version of $1 MBR - * $3 = other flag options d = bootselect default, a = active - */ -message editparttable -{Edytuj DOSowa tablice partycji. Tablica partycji wyglada tak: - -} - -message install_flag {I} -message newfs_flag {N} - -message ptn_install {do instalacji} -message ptn_instflag_desc {(I)nstalacja, } - -message clone_flag {C} -message clone_flag_desc {, (C)lone} - -.if HAVE_GPT -message parttype_gpt {Guid Partition Table (GPT)} -message parttype_gpt_short {GPT} -.endif - -message ptn_label {Label} -message ptn_uuid {UUID} -message ptn_gpt_type {GPT Type} -message ptn_boot {Boot} - -/* Called with: Example - * $0 = outer partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message use_partitions_anyway -{Use this partitions anyway} - -.if HAVE_GPT -message gpt_flags {R} -message gpt_flag_desc {, (R)ozruchowa} -.endif - -/* Called with: Example - * $0 = file system type FFSv2 - */ -message size_ptn_not_mounted {(Inna: $0)} - -message running_system {current system} - -.if HAVE_CLONES -message clone_from_elsewhere {Clone external partition(s)} -message select_foreign_part -{Please select an external source partition:} -message select_source_hdr -{Your currently selected source partitions are:} -message clone_with_data {Clone with data} -message select_source_add {Add another partition} -message clone_target_end {Add at end} -message clone_target_hdr -{Insert cloned partitions before:} -message clone_target_disp {cloned partition(s)} -message clone_src_done -{Source selection OK, proceed to target selection} -.endif - -message network_ok -{Your network seems to work fine. -Should we skip the configuration -and just use the network as-is?} - -message todr_old -{The clock seems to be off!} - -message setdatetime -{Set date and time} - -message time_ok -{Save date and time as selected} - -/* Called with: Example - * $0 = header message The clock is off! - * $1 = current date/time string Sun, 12 Apr 2026 21:04:50 - */ -message date_and_time_hdr -{$0 - -Please enter the date and time. - -Current selection: $1 - - -} - -message year {Year} -message month {Month (1-12)} -message day {Day (1-31)} -message hour {Hour (0-23)} -message minute {Minute (0-59)} - -.if HAVE_GPT -message resize_gpt -{The disk size is larger than the GPT shows, fix this?} -.endif - -/* Makronix: the first question of an installation (menu installmode) */ -message installmode_title {Rodzaj instalacji} -message installmode_simple {Prosta (zalecana)} -message installmode_advanced {Zaawansowana} -message installmode -{Makronix mozna zainstalowac na dwa sposoby. - -Prosta: wybierasz dysk. Makronix dzieli go na partycje, instaluje -wszystko i nie pyta juz o uklad partycji ani o zestawy. -Wszystkie dane na wybranym dysku zostana skasowane. - -Zaawansowana: partycje i zestawy wybierasz sam. -} - -message cgdroot_ask -{Do you want to encrypt the disk? - -The system is installed into an encrypted volume (cgd). You enter a -passphrase every time the computer starts. A small unencrypted partition -holds the boot loader and the kernel. Whoever has no passphrase can not -read your data; if you forget it, the data is lost. - -Encrypt the disk? -} -message cgdroot_passphrase -{The disk is now partitioned and encrypted. - -You are asked for a passphrase twice. Remember it: it is needed at every -boot, and there is no way to recover the data without it. -} -message cgdroot_failed -{Setting up the encrypted disk failed. See the output above and the log. -} -message cgdroot_nokmod -{The boot module cgdroot.kmod was not found on the installation medium -(installation/miniroot/cgdroot.kmod). The encrypted system can not be made -bootable without it. -} - -message welcome_ok {OK} -message welcome -{Witamy w instalacji Makronix %s - -Makronix to NetBSD ksztaltowany celowo: system NetBSD pozostaje pod -spodem, a na nim domyslnie pulpit CDE, gotowy zestaw pakietow oraz -instalator, ktory potrafi zaszyfrowac caly dysk. Wszystko instaluje sie -z DVD lub kolejno z plyt CD. - -Dziekujemy za wybor Makronix. - -Nacisnij OK, aby kontynuowac. -} - -message set_msrc -{Zrodla Makronix (pkgsrc, latki, narzedzia, distfiles)} - -message nextcd_title {Next CD} -message nextcd_continue {Continue (the CD is in)} -message nextcd_skip {Skip this set} -message nextcd -{The set %s is not on this CD. - -Take this CD out of the drive and put in the next CD of the Makronix -installation (CD 2), then choose Continue. -} - -message setup_intro -{Almost done. - -A few questions set up your computer: its name, the network, the -password of the administrator and your own account. The graphical login -(CDE) starts when the computer boots. -} -message setup_hostname {Name of this computer (letters, digits, hyphens): } -message setup_hostname_invalid -{The name is not valid. Use letters, digits and hyphens, and start with a -letter or digit. -} -message setup_dhcp {Configure the network automatically (DHCP)?} -message setup_rootpw {Password for the administrator (root): } -message setup_userpw {Password for your account: } -message setup_pw_again {Type the password again: } -message setup_pw_mismatch {The passwords are not the same. Try again.} -message setup_pw_empty {An empty password is not accepted.} -message setup_fullname {Your full name: } -message setup_username {Login name (lower case letters and digits): } -message setup_user_invalid -{The login name is not valid: it must start with a lower case letter, may -contain lower case letters, digits, - and _, and may have at most 31 -characters. -} -message setup_failed {Setting up the password or the account failed. See the log.} -message setup_done -{The computer is set up. - -At boot it starts with the network (DHCP), the clock (ntpd) and the CDE -login screen. Log in as %s. -} - -message extras_ask -{Zainstalowaæ dodatkowe programy? - -Firefox (przegl±darka), Thunderbird (poczta), QEMU (maszyny wirtualne), -PulseAudio (d¼wiêk) i CUPS (drukowanie) -s± na ostatnich p³ytach instalacji Makronix i na DVD. -Zajmuj± oko³o 3 GB na dysku.} -message extras_nextcd -{Dodatkowych programów nie ma na tej p³ycie. - -Wyjmij tê p³ytê z napêdu i w³ó¿ p³ytê z dodatkowymi -programami (CD %d), potem wybierz Kontynuuj.} -message extras_missing -{Dodatkowych programów nie ma na tym no¶niku i nie zostan± -zainstalowane. - -Mo¿na je zainstalowaæ pó¼niej przez pkg_add.} -message extras_failed -{Instalacja dodatkowych programów nie powiod³a siê. Zobacz dziennik. - -Mo¿na je zainstalowaæ pó¼niej przez pkg_add.} - diff --git a/overlay/usr.sbin/sysinst/msg.mi.pt b/overlay/usr.sbin/sysinst/msg.mi.pt deleted file mode 100644 index 62c4c9a50f..0000000000 --- a/overlay/usr.sbin/sysinst/msg.mi.pt +++ /dev/null @@ -1,1728 +0,0 @@ -/* $NetBSD: msg.mi.pt,v 1.62 2026/07/12 20:07:45 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* MI Message catalog -- english, machine independent */ - -message sysinst_message_language -{Português (Brasil)} - -message sysinst_message_locale -{pt_BR.ISO8859-1} - -message out_of_memory {Memória esgotada!} -message Yes {Sim} -message No {Não} -message All {Todos} -message Some {Alguns} -message None {Nenhum} -message none {nenhum} -message OK {OK} -message ok {ok} -message On {Ligado} -message Off {Desligado} -message unchanged {inalterado} -message Delete {Excluir?} - -message install -{instalar} - -message reinstall -{reinstalar conjuntos para} - -message upgrade -{atualizar} - -message hello -{Makronix @@MXVERSION@@ @@MXNAME@@ (@@MACHINE@@) - -Esta ferramenta baseada em menus foi feita para ajudá-lo a instalar o Makronix -em um disco rígido, ou atualizar um sistema Makronix existente, com o mínimo -de trabalho. Nos menus a seguir, digite a letra de referência (a, b, c, ...) -para escolher um item, ou digite CTRL+N/CTRL+P para escolher o item -seguinte/anterior. As setas e Page-up/Page-down também podem funcionar. -Ative a seleção atual do menu pressionando a tecla Enter. -} - -message thanks -{Obrigado por usar o Makronix! -} - -message installusure -{Você escolheu instalar o Makronix no seu disco rígido. Isto vai alterar -informações do seu disco rígido. Você deve ter feito um backup completo -antes deste procedimento! Este procedimento fará as seguintes coisas: - a) Particionar o disco - b) Criar novos sistemas de arquivos BSD - c) Carregar e instalar os conjuntos de distribuição - d) Alguma configuração inicial do sistema - -(Depois de informar os dados das partições, mas antes de o disco ser -alterado, você terá a oportunidade de sair deste procedimento.) - -Podemos continuar? -} - -message upgradeusure -{Certo, vamos atualizar o Makronix no seu disco rígido. Como sempre, isto -vai alterar informações do seu disco rígido. Você deve ter feito um backup -completo antes deste procedimento! Você realmente quer atualizar o Makronix? -(Este é o seu último aviso antes que este procedimento comece a modificar -os seus discos.) -} - -message reinstallusure -{Certo, vamos desempacotar os conjuntos de distribuição do Makronix em um -disco rígido inicializável. -Este procedimento apenas obtém e desempacota conjuntos em um disco -inicializável já particionado. Ele não rotula discos, não atualiza blocos -de boot e não salva nenhuma informação de configuração existente. (Saia e -escolha `instalar' ou `atualizar' se quiser essas opções.) Você já deve ter -feito uma `instalação' ou `atualização' antes de iniciar este procedimento! - -Você realmente quer reinstalar os conjuntos de distribuição do Makronix? -(Este é o seu último aviso antes que este procedimento comece a modificar -os seus discos.) -} - -message mount_failed -{Falha ao montar %s. Continuar? -} - -message nodisk -{Não encontro nenhum disco rígido para uso pelo Makronix. Você será -levado de volta ao menu original. -} - -message onedisk -{Encontrei apenas um disco, %s. -Portanto, presumo que você queira %s o Makronix nele. -} - -message ask_disk -{Em qual disco você quer %s o Makronix? -Os tipos de disco mais comuns são: - - wd: SATA, ATA ou IDE - - sd: SCSI ou disco USB removível - - ld: NVMe (p. ex. placa M.2), cartão SD/MMC ou disco virtual -} - -message Available_disks -{Discos disponíveis} - -message Available_wedges {"Wedges" existentes} - -message heads -{cabeças} - -message sectors -{setores} - -message mountpoint -{ponto de montagem (ou '-')} - -message cylname -{cil} - -message secname -{set} - -message megname -{MB} - -message gigname -{GB} - -/* Called with: Example - * $0 = device name wd0 - * $1 = partitioning scheme name Guid Partition Table - * $2 = short version of $1 GPT - * $3 = disk size for Makronix 3TB - * $4 = full install size min. 127M - * $5 = install with X min. 427M - */ -message layout_prologue_none -{Você pode usar um editor simples para definir os tamanhos das partições -do Makronix, ou aplicar os tamanhos e conteúdos padrão das partições.} - -/* Called with: Example - * $0 = device name wd0 - * $1 = partitioning scheme name Guid Partition Table - * $2 = short version of $1 GPT - * $3 = disk size for Makronix 3TB - * $4 = full install size min. 127M - * $5 = install with X min. 427M - */ - -message layout_prologue_existing -{Se você não quiser usar as partições existentes, pode usar um editor -simples para definir os tamanhos das partições do Makronix, ou remover as -existentes e aplicar os tamanhos padrão das partições.} - -/* Called with: Example - * $0 = device name wd0 - * $1 = partitioning scheme name Guid Partition Table - * $2 = short version of $1 GPT - * $3 = disk size for Makronix 3TB - * $4 = full install size min. 127M - * $5 = install with X min. 427M - */ -message layout_main -{ - -Em seguida você terá a oportunidade de alterar qualquer um dos detalhes -das partições. - -A parte do seu disco ($0) destinada ao Makronix (ou livre) é de $3. - -Uma instalação completa requer pelo menos $4 sem X e -pelo menos $5 se os conjuntos do X forem incluídos.} - -message Choose_your_size_specifier -{Escolher mega ou gigabytes dará tamanhos de partição próximos -da sua escolha, mas alinhados aos limites de cilindro. -Escolher setores permitirá especificar os tamanhos com mais precisão. -Na maioria dos discos, há pouco a ganhar com o alinhamento de cilindros. -Em discos muito antigos, é mais eficiente escolher tamanhos de partição -que sejam múltiplos exatos do tamanho real do cilindro. - -Escolha a unidade de tamanho} - -message ptnsizes -{Agora você pode alterar os tamanhos das partições do sistema. O padrão é -alocar todo o espaço ao sistema de arquivos root. Porém, você pode querer -ter sistemas de arquivos separados para /usr (arquivos adicionais do -sistema), /var (arquivos de log etc.) ou /home (diretórios pessoais dos -usuários). - -O espaço livre será adicionado à partição marcada com '+'.} - -/* Called with: Example - * $0 = list of marker explanations '=' existining, '@' external - */ -message ptnsizes_markers {Outras marcas: partição $0.} -message ptnsizes_mark_existing {'=' existente} -message ptnsizes_mark_external {'@' externa} - -message ptnheaders_size {Tamanho} -message ptnheaders_filesystem {Sist. arquivos} - -message askfsmount -{Ponto de montagem (vazio para cancelar)?} - -message askfssize -{Tamanho de %s em %s?} - -message askunits -{Alterar unidades de entrada (setores/cilindros/MB/GB)} - -message NetBSD_partition_cant_change -{Partição Makronix} - -message Whole_disk_cant_change -{Disco inteiro} - -message Boot_partition_cant_change -{Partição de boot} - -message add_another_ptn -{Adicionar uma partição definida pelo usuário} - -/* Called with: Example - * $0 = free space 1.4 - * $1 = size unit GB - */ -message fssizesok -{Prosseguir. Espaço livre $0 $1.} - -/* Called with: Example - * $0 = missing space 1.4 - * $1 = size unit GB - */ -message fssizesbad -{Abortar. Espaço insuficiente, faltam $0 $1!} - -message startoutsidedisk -{O valor inicial informado está além do fim do disco. -} - -message endoutsidedisk -{Com este valor, o fim da partição fica além do fim do disco. -O tamanho da sua partição foi truncado.} - -.if HAVE_DISKSIZE_CHECKS -/* Called with: Example - * $0 = device name wd0 - * $1 = partitioning scheme name Master Boot Record (MBR) - * $2 = short version of $1 MBR - * $3 = disk size 3TB - * $4 = size limit 2TB - */ -message toobigdisklabel -{ -Este disco ($0) é grande demais ($3) para uma tabela de partições $2 -(máx. $4), portanto apenas o início do disco é utilizável. -} - -message cvtscheme_hdr {O que você gostaria de fazer com as partições existentes?} -message cvtscheme_keep {manter (usar só parte do disco)} -message cvtscheme_delete {excluir (todos os dados serão perdidos!)} -message cvtscheme_convert {converter para outro método de particionamento} -message cvtscheme_abort {abandonar} -message cvtscheme_error -{Não foi possível converter todas as partições} -.endif - -/* Called with: Example - * $0 = device name wd0 - * $1 = partitioning scheme name BSD disklabel - * $2 = short version of $1 disklabel - * $3 = optional install flag (I)nstall, - * $4 = additional flags description (B)ootable - * $5 = total size 2TB - * $6 = free size 244MB - */ -message fspart -{Agora temos abaixo as suas partições $2 para $0. -Esta é a sua última chance de alterá-las. - -Opções: $3(N)ewfs$4. Tamanho total: $5, livre: $6} - -message ptnheaders_start {Início} -message ptnheaders_end {Fim} -message ptnheaders_fstype {Tipo SA} - -message partition_sizes_ok -{Tamanhos das partições ok} - -message edfspart -{Os valores atuais desta partição são -mostrados abaixo. - -Escolha o campo que deseja alterar:} - -message ptn_newfs {newfs} -message ptn_mount {montar} -message ptn_mount_options {opções de montagem} -message ptn_mountpt {ponto de montagem} - -message toggle -{Alternar} - -message restore -{Restaurar valores originais} - -message Select_the_type -{Escolha o tipo} - -message other_types -{outros tipos} - -/* Called with: Example - * $0 = valid partition shortcuts a-e - * $1 = maximum allowed 4292098047 - * $2 = size unit MB - */ -message label_size_head -{Valores especiais que podem ser informados para o tamanho: - -1: usar até o fim} - -/* Called with: Example - * $0 = valid partition shortcuts a-e - * $1 = maximum allowed 4292098047 - * $2 = size unit MB - */ -message label_size_part_hint -{ $0: usar até a partição indicada} - - -/* Called with: Example - * $0 = valid partition shortcuts a-e - * $1 = maximum allowed 4292098047 - * $2 = size unit MB - */ -message label_size_tail {Tamanho (máx. $1 $2)} - -/* Called with: Example - * $0 = valid partition shortcuts a-e - * $1 = valid free space shortcuts f-h - * $2 = size unit MB - */ -message label_offset_head -{Valores especiais que podem ser informados para o deslocamento: - -1: começar no início} - -/* Called with: Example - * $0 = valid partition shortcuts a-e - * $1 = valid free space shortcuts f-h - * $2 = size unit MB - */ -message label_offset_part_hint -{ $0: começar no fim da partição indicada} - -/* Called with: Example - * $0 = valid partition shortcuts a-e - * $1 = valid free space shortcuts f-h - * $2 = size unit MB - */ -message label_offset_space_hint -{ $1: começar no início do espaço livre indicado} - -/* Called with: Example - * $0 = valid partition shortcuts a-e - * $1 = valid free space shortcuts f-h - * $2 = size unit MB - */ -message label_offset_tail {Início ($2)} - -message invalid_sector_number -{Número malformado} - -message packname -{Informe um nome para o seu disco Makronix} - -message lastchance -{Certo, agora estamos prontos para instalar o Makronix no seu disco rígido (%s). -Nada foi gravado ainda. Esta é a sua última chance de sair deste processo -antes que qualquer coisa seja alterada. - -Podemos continuar? -} - -message disksetupdone -{Certo, a primeira parte do procedimento terminou. O Sysinst gravou -um disklabel no disco de destino, e executou newfs e fsck nas novas -partições que você especificou para o disco de destino. -} - -message disksetupdoneupdate -{Certo, a primeira parte do procedimento terminou. O Sysinst gravou -um disklabel no disco de destino, e executou fsck nas novas -partições que você especificou para o disco de destino. -} - -message openfail -{Não foi possível abrir %s, a mensagem de erro foi: %s. -} - -/* Called with: Example - * $0 = device name /dev/wd0a - * $1 = mount path /usr - */ -message mountfail -{A montagem do dispositivo $0 em $1 falhou. -} - -message extractcomplete -{A extração dos conjuntos selecionados do Makronix @@MXVERSION@@ foi concluída. -O sistema já pode inicializar a partir do disco rígido selecionado. Para -concluir a instalação, o sysinst dará a você a oportunidade de configurar -antes algumas coisas essenciais. -} - -message instcomplete -{A instalação do Makronix @@MXVERSION@@ está concluída. O sistema -deve inicializar a partir do disco rígido. Siga as instruções do documento -INSTALL sobre a configuração final do seu sistema. Recomendamos também -ler a página de manual afterboot(8); ela contém uma lista de itens a -verificar após a primeira inicialização completa. - -No mínimo, você deve editar /etc/rc.conf conforme suas necessidades. Veja -/etc/defaults/rc.conf para os valores padrão. -} - -message upgrcomplete -{A atualização para o Makronix @@MXVERSION@@ está concluída. Agora você -precisa seguir as instruções do documento INSTALL sobre o que fazer para -reconfigurar o sistema para a sua situação. -Lembre-se de (re)ler a página de manual afterboot(8), pois ela pode conter -itens novos desde a sua última atualização. -} - - -message unpackcomplete -{O desempacotamento de conjuntos adicionais do Makronix @@MXVERSION@@ está concluído. -Agora você precisa seguir as instruções do documento INSTALL -para reconfigurar o sistema para a sua situação. -A página de manual afterboot(8) também pode ajudar. - -Se você desempacotou o conjunto etc, precisará editar /etc/rc.conf para obter -um sistema multiusuário. No mínimo, será preciso mudar rc_configured=NO -para rc_configured=YES. -} - -message distmedium -{Seu disco está pronto para a instalação do kernel e dos conjuntos de -distribuição. Como indicado nas notas do INSTALL, há várias opções. Para -ftp ou nfs, você deve estar conectado a uma rede com acesso às máquinas -corretas. - -Conjuntos selecionados %d, processados %d, próximo conjunto %s. - -} - -message distset -{A distribuição do Makronix é dividida em uma coleção de conjuntos de -distribuição. Alguns conjuntos básicos são necessários em todas as -instalações e outros são opcionais. Você pode escolher instalar um -conjunto essencial (instalação mínima), todos eles (instalação completa) -ou um grupo personalizado de conjuntos (instalação personalizada). -} - -/* Called with: Example - * $0 = sets suffix .tgz - * $1 = URL protocol used ftp - */ -message ftpsource -{A seguir estão o site $1, o diretório, o usuário e a senha que -serão usados. Se o "usuário" for "ftp", a senha não é necessária. - -} - -message email -{endereço de e-mail} - -message dev -{dispositivo} - -/* Called with: Example - * $0 = sets suffix .tgz - */ -message nfssource -{Informe o host nfs e o diretório do servidor onde está a distribuição. -Lembre-se: o diretório deve conter os arquivos $0 e -deve poder ser montado via nfs. - -} - -message floppysource -{Informe o dispositivo de disquete a usar e o diretório de transferência no -sistema de arquivos de destino. Os arquivos dos conjuntos devem estar no -diretório raiz dos disquetes. - -} - -/* Called with: Example - * $0 = sets suffix .tgz - */ -message cdromsource -{Informe o dispositivo de CDROM a usar e o diretório do CDROM onde -está a distribuição. -Lembre-se: o diretório deve conter os arquivos $0. - -} - -message No_cd_found -{Não foi encontrada nenhuma mídia de CD com os conjuntos de distribuição! -Informe os dados corretos manualmente, ou insira um disco e tente de novo. -} - -message abort_install -{Cancelar instalação} - -message source_sel_retry -{Voltar à seleção da origem e tentar de novo} - -message Available_cds -{CDs disponíveis } - -message ask_cd -{Vários CDs encontrados. Selecione o que contém o CD de instalação.} - -message cd_path_not_found -{Os conjuntos de instalação não foram encontrados no local padrão deste -CD. Verifique o dispositivo e o nome do caminho.} - -/* Called with: Example - * $0 = sets suffix .tgz - */ -message localfssource -{Informe o dispositivo local desmontado e o diretório nele onde -está a distribuição. -Lembre-se: o diretório deve conter os arquivos $0. - -} - -/* Called with: Example - * $0 = sets suffix .tgz - */ -message localdir -{Informe o diretório local já montado onde está a distribuição. -Lembre-se: o diretório deve conter os arquivos $0. - -} - -message filesys -{sistema de arquivos} - -message nonet -{Não encontrei nenhuma interface de rede utilizável pelo Makronix. Você -voltará ao menu anterior. -} - -message netup -{As seguintes interfaces de rede estão ativas: %s -Alguma delas se conecta ao servidor necessário?} - -message asknetdev -{Qual dispositivo de rede você quer usar?} - -message netdevs -{Interfaces disponíveis} - -message netinfo -{Para poder usar a rede, precisamos das respostas a seguir: - -} - -message net_domain -{Seu domínio DNS} - -message net_host -{Nome do seu host} - -message net_ip -{Seu endereço IPv4} - -message net_srv_ip -{Endereço IPv4 do servidor} - -message net_mask -{Máscara de rede IPv4} - -message net_namesrv -{Seu servidor de nomes} - -message net_defroute -{Gateway IPv4} - -message net_media -{Tipo de mídia de rede (vazio para autoconfigurar)} - -message net_ssid -{SSID do Wi-Fi?} - -message net_passphrase -{Senha do Wi-Fi?} - -message netok -{Estes são os valores que você informou. - -Domínio DNS: %s -Nome do host: %s -Servidor de nomes: %s -Interface primária: %s -Tipo de mídia: %s -IP do host: %s -Máscara de rede: %s -Gateway IPv4: %s -} - -message netok_slip -{Estes são os valores que você informou. Estão corretos? - -Domínio DNS: %s -Nome do host: %s -Servidor de nomes: %s -Interface primária: %s -Tipo de mídia: %s -IP do host: %s -IP do servidor: %s -Máscara de rede: %s -Gateway IPv4: %s -} - -message netokv6 -{Autoconf IPv6: %s -} - -message netok_ok -{Estão corretos?} - -message wait_network -{ -Aguardando a interface de rede ficar ativa. -} - -message resolv -{Não foi possível criar /etc/resolv.conf. Instalação abandonada. -} - -/* Called with: Example - * $0 = target prefix /target - * $1 = error message No such file or directory - */ -message realdir -{Não foi possível mudar para o diretório $0: $1. -Instalação abandonada.} - -message delete_xfer_file -{Apagar após a instalação} - -/* Called with: Example - * $0 = set name base - */ -message notarfile -{O conjunto $0 não existe.} - -.if HAVE_DVD_IMAGE -/* Called with: Example - * $0 = set name base - */ -message opt_set_not_found -{O conjunto "$0" é opcional e não está incluído nesta -mídia de distribuição. - -Isso não é crítico e a instalação continuará. -Você pode adicionar este conjunto depois, p. ex. baixando-o via -https da CDN do NetBSD. - -Os conjuntos opcionais são: - debug/debug32 com informações de depuração - base32 com suporte a código de 32 bits em arquiteturas de 64 bits - test com programas de teste automáticos - manhtml com páginas de manual em formato html - -Algumas arquiteturas oferecem imagens ISO diferentes de CD e DVD; as imagens -de DVD são completas e contêm todos os conjuntos. -} -.endif - -message endtarok -{Todos os conjuntos de distribuição selecionados foram desempacotados.} - -message endtar -{Houve problemas ao desempacotar os conjuntos de distribuição. -Sua instalação está incompleta. - -Você selecionou %d conjuntos de distribuição. %d conjuntos não puderam -ser encontrados e %d foram ignorados após a ocorrência de um erro. Dos %d -que foram tentados, %d foram desempacotados sem erros e %d com erros. - -Verifique novamente a origem da distribuição e considere reinstalar -conjuntos a partir do menu principal.} - -message abort_inst {Instalação abandonada.} -message abort_part {Particionamento abandonado.} - -message abortinst -{A distribuição não foi carregada com sucesso. Você precisará continuar -manualmente. Instalação abandonada. -} - -message abortupgr -{A distribuição não foi carregada com sucesso. Você precisará continuar -manualmente. Atualização abandonada. -} - -message abortunpack -{O desempacotamento dos conjuntos adicionais não teve sucesso. Você precisará -continuar manualmente, ou escolher outra origem para os conjuntos e tentar -de novo. -} - -message createfstab -{Há um grande problema! Não é possível criar /mnt/etc/fstab. Desistindo! -} - - -message noetcfstab -{Socorro! Não há /etc/fstab no disco de destino %s. Atualização abandonada. -} - -message badetcfstab -{Socorro! Não consigo interpretar /etc/fstab no disco de destino %s. -Atualização abandonada. -} - -message X_oldexists -{Não consigo salvar %s/bin/X como %s/bin/X.old, porque o -disco de destino já tem um %s/bin/X.old. Corrija isso antes de -continuar. - -Uma forma é abrir um shell pelo menu Utilitários e examinar -%s/bin/X e %s/bin/X.old no destino. Se -%s/bin/X.old vier de uma atualização concluída, você pode usar rm -f -%s/bin/X.old e reiniciar. Ou, se %s/bin/X.old vier de -uma atualização recente e incompleta, você pode usar rm -f %s/bin/X e mv -%s/bin/X.old %s/bin/X - -Atualização abandonada.} - -message netnotup -{Houve um problema ao configurar a rede. Seu gateway -ou seu servidor de nomes não respondeu a um ping. Quer -configurar a rede novamente? ("Não" permite continuar mesmo assim -ou abandonar o processo de instalação.) -} - -message netnotup_continueanyway -{Quer continuar o processo de instalação mesmo assim, supondo -que a rede esteja funcionando? ("Não" abandona o processo de instalação.) -} - -message makedev -{Criando nós de dispositivos ... -} - -/* Called with: Example - * $0 = device name /dev/rwd0a - * $1 = file system type ffs - * $2 = error return code form fsck 8 - */ -message badfs -{Parece que $0 não é um sistema de arquivos $1 ou o fsck não -teve sucesso. Tentar montá-lo mesmo assim? (Erro número $2.) -} - -message rootmissing -{ falta %s na raiz de destino. -} - -message badroot -{O novo sistema de arquivos root concluído falhou numa verificação básica -de sanidade. Tem certeza de que instalou todos os conjuntos necessários? -} - -message fd_type -{Tipo de sistema de arquivos do disquete} - -message fdnotfound -{Não foi possível encontrar o arquivo no disquete. -} - -message fdremount -{O disquete não foi montado com sucesso. -} - -message fdmount -{Insira o disquete que contém o arquivo chamado "%s.%s". - -Se o conjunto não tiver mais discos, selecione "Conjunto concluído" para -instalá-lo. Selecione "Abandonar busca" para voltar ao menu de seleção -da mídia de instalação. -} - -message mntnetconfig -{As informações de rede que você informou estão corretas para esta máquina -em operação normal, e você quer instalá-las em /etc? } - -message cur_distsets -{Esta é a lista de conjuntos de distribuição que serão usados. - -} - -message cur_distsets_header -{ Conjunto de distribuição Selecion. - ---------------------------------- -------- -} - -message set_base -{Base} - -message set_base32 -{Bibliotecas de compatibilidade de 32 bits} - -message set_base64 -{Bibliotecas de compatibilidade de 64 bits} - -message set_system -{Arquivos de configuração (/etc)} - -message set_compiler -{Ferramentas de compilação} - -message set_dtb -{Descrições de hardware Devicetree} - -message set_games -{Jogos} - -message set_gpufw -{Firmware dos drivers gráficos} - -message set_makronix -{Programas de terceiros em /usr/pkg} - -message set_man_pages -{Páginas de manual} - -message set_man_pages_html -{Páginas de manual (HTML)} - -message set_misc -{Diversos} - -message set_modules -{Módulos do kernel} - -message set_rescue -{Ferramentas de recuperação} - -message set_tests -{Programas de teste} - -message set_text_tools -{Ferramentas de processamento de texto} - -message set_X11 -{Conjuntos do X11} - -message set_X11_base -{Base do X11 e clientes} - -message set_X11_etc -{Configuração do X11} - -message set_X11_fonts -{Fontes do X11} - -message set_X11_servers -{Servidores X11} - -message set_X11_prog -{Programação X11} - -message set_source -{Conjuntos de fontes e depuração} - -message set_syssrc -{Fontes do kernel} - -message set_src -{Fontes da base} - -message set_sharesrc -{Fontes do share} - -message set_gnusrc -{Fontes do GNU} - -message set_xsrc -{Fontes do X11} - -message set_debug -{Símbolos de depuração} - -message set_debug32 -{Símbolos de depuração (32 bits)} - -message set_debug64 -{Símbolos de depuração (64 bits)} - -message set_xdebug -{Símbolos de depuração do X11} - -message select_all -{Selecionar todos os conjuntos acima} - -message select_none -{Desmarcar todos os conjuntos acima} - -message install_selected_sets -{Instalar os conjuntos selecionados} - -message tarerror -{Ocorreu um erro ao extrair o arquivo %s. Isso significa que -alguns arquivos não foram extraídos corretamente e o sistema não -ficará completo. - -Continuar extraindo os conjuntos?} - -/* Called with: Example - * $0 = partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message must_be_one_root -{Deve haver uma única partição marcada para ser montada em '/'.} - -/* Called with: Example - * $0 = first partition description 70 - 90 MB, MSDOS - * $1 = second partition description 80 - 1500 MB, 4.2BSD - */ -message partitions_overlap -{as partições $0 e $1 se sobrepõem.} - -message No_Bootcode -{Sem código de boot para o tipo de sistema de arquivos da partição root} - -message cannot_ufs2_root -{Desculpe, o sistema de arquivos root não pode ser FFSv2 por falta de suporte -do carregador de inicialização nesta plataforma.} - -message edit_partitions_again -{ - -Você pode editar a tabela de partições manualmente ou desistir e voltar -ao menu principal. - -Editar a tabela de partições novamente?} - -/* Called with: Example - * $0 = missing file /some/path - */ -message config_open_error -{Não foi possível abrir o arquivo de configuração $0} - -message choose_timezone -{Escolha na lista abaixo o fuso horário que melhor se aplica a você. -Pressione Enter para selecionar uma entrada. -Pressione 'x' seguido de Enter para sair da seleção de fuso horário. - - Padrão: %s - Selecionado: %s - Hora local: %s %s -} - -message tz_back -{ Voltar à lista principal de fusos horários} - -message swapactive -{O disco que você selecionou tem uma partição swap que pode estar em uso -caso o sistema esteja com pouca memória. Como você vai reparticionar -este disco, esta partição swap será desativada agora. Esteja ciente de -que isso pode causar erros de falta de swap. Se isso ocorrer, reinicie -o sistema e tente novamente.} - -message swapdelfailed -{O sysinst não conseguiu desativar a partição swap do disco que você -escolheu para a instalação. Reinicie o sistema e tente novamente.} - -message rootpw -{A senha do root do sistema recém-instalado ainda não foi definida -e, portanto, está vazia. Deseja definir uma senha de root agora?} - -message force_rootpw -{A senha do root do sistema recém-instalado ainda não foi -definida. - -Se não quiser definir uma senha, digite uma linha vazia.} - -message rootsh -{Agora você pode escolher o shell do usuário root. O padrão é -/bin/sh, mas você pode preferir outro.} - -message no_root_fs -{ -Não há sistema de arquivos root definido. Você precisa definir pelo -menos um ponto de montagem "/". - -Pressione para continuar. -} - -message slattach { -Informe as opções do slattach -} - -message Pick_an_option {Escolha uma opção para ativar ou desativar.} -message Scripting {Scripts} -message Logging {Registro} - -message Status { Status: } -message Command {Comando: } -message Running {Executando} -message Finished {Concluído} -message Command_failed {O comando falhou} -message Command_ended_on_signal {O comando terminou por sinal} - -message NetBSD_VERSION_Install_System {Sistema de instalação do Makronix @@MXVERSION@@} -message Exit_Install_System {Sair do sistema de instalação} -message Install_NetBSD_to_hard_disk {Instalar o Makronix no disco rígido} -message Upgrade_NetBSD_on_a_hard_disk {Atualizar o Makronix em um disco rígido} -message Re_install_sets_or_install_additional_sets {Reinstalar ou instalar conjuntos adicionais} -message Reboot_the_computer {Reiniciar o computador} -message Utility_menu {Menu de utilitários} -message Config_menu {Menu de configuração} -message exit_utility_menu {Voltar ao menu principal} -message exit_menu_generic {Sair} -message NetBSD_VERSION_Utilities {Utilitários do Makronix @@MXVERSION@@} -message Run_bin_sh {Executar /bin/sh} -message Set_timezone {Definir fuso horário} -message Configure_network {Configurar rede} -message Partition_a_disk {Particionar um disco} -message Logging_functions {Funções de registro} -message Halt_the_system {Parar o sistema} -message yes_or_no {Sim ou não?} -message Hit_enter_to_continue {Pressione Enter para continuar} -message Choose_your_installation {Escolha sua instalação} - -/* Called with: Example - * $0 = partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message Keep_existing_partitions -{Usar as partições $1 existentes} - -/* Called with: Example - * $0 = partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message Set_Sizes {Definir tamanhos das partições do Makronix} - -/* Called with: Example - * $0 = partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message Use_Default_Parts {Usar tamanhos de partição padrão} - -/* Called with: Example - * $0 = partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message Use_Empty_Parts {Definir partições manualmente} - -/* Called with: Example - * $0 = current partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message Use_Different_Part_Scheme -{Apagar tudo, usar outras partições (não $1)} - -message Gigabytes {Gigabytes} -message Megabytes {Megabytes} -message Bytes {Bytes} -message Cylinders {Cilindros} -message Sectors {Setores} -message Select_medium {Instalar a partir de} -message ftp {FTP} -message http {HTTP} -message https {HTTPS} -message nfs {NFS} -.if HAVE_INSTALL_IMAGE -message cdrom {CD-ROM / DVD / mídia de imagem de instalação} -.else -message cdrom {CD-ROM / DVD} -.endif -message floppy {Disquete} -message local_fs {Sist. arq. desmontado} -message local_dir {Diretório local} -message Select_your_distribution {Selecione sua distribuição} -message Full_installation {Instalação completa} -message Full_installation_nox {Instalação sem X11} -message Minimal_installation {Instalação mínima} -message Custom_installation {Instalação personalizada} -message hidden {** oculto **} -message Host {Host} -message Base_dir {Diretório base} -message Set_dir_bin {Diretório dos conjuntos binários} -message Set_dir_src {Diretório dos conjuntos de fontes} -message Dist_postfix {Extensão do arquivo} -message Xfer_dir {Diretório de transferência} -message transfer_method {Baixar via} -message User {Usuário} -message Password {Senha} -message Proxy {Proxy} -message Get_Distribution {Obter distribuição} -message Continue {Continuar} -message Prompt_Continue {Continuar?} -message What_do_you_want_to_do {O que você deseja fazer?} -message Try_again {Tentar novamente} -message Set_finished {Conjunto concluído} -message Skip_set {Pular conjunto} -message Skip_group {Pular grupo de conjuntos} -message Abandon {Abandonar a instalação} -message Abort_fetch {Cancelar a obtenção} -message Device {Dispositivo} -message File_system {Sistema de arquivos} -message Select_DNS_server { Selecionar servidor DNS} -message other {outro } -message Perform_autoconfiguration {Executar a autoconfiguração?} -message Root_shell {Shell do root} -message User_shell {Shell do usuário} -message Color_scheme {Esquema de cores} -message White_on_black {Branco sobre preto} -message Black_on_white {Preto sobre branco} -message White_on_blue {Branco sobre azul} -message Green_on_black {Verde sobre preto} - -.if AOUT2ELF -message aoutfail -{Não foi possível criar o diretório para onde as antigas bibliotecas -compartilhadas a.out deveriam ser movidas. Tente o procedimento de -atualização novamente e verifique se todos os sistemas de arquivos -estão montados.} - -message emulbackup -{O diretório /emul/aout ou /emul do seu sistema era um link simbólico -apontando para um sistema de arquivos desmontado. Ele recebeu a extensão -'.old'. Quando o sistema atualizado estiver de volta, talvez seja preciso -mesclar o diretório /emul/aout recém-criado com o antigo. -} -.endif - -message oldsendmail -{O Sendmail não faz mais parte desta versão do Makronix; o MTA padrão é o -postfix. O arquivo /etc/mailer.conf ainda escolhe o sendmail removido. -Deseja atualizar /etc/mailer.conf automaticamente para o postfix? Se -escolher "Não", você terá de atualizar /etc/mailer.conf manualmente para -garantir a entrega correta de e-mails.} - -message license -{Para usar a interface de rede %s, você deve concordar com a licença no -arquivo %s. Para ver este arquivo agora, digite ^Z, leia o conteúdo -do arquivo e depois digite "fg" para continuar.} - -message binpkg -{Para configurar o sistema de pacotes binários, escolha o local na rede -de onde os pacotes serão obtidos. Quando o sistema estiver no ar, você -poderá usar o 'pkgin' para instalar ou remover pacotes.} - -message pkgpath -{Ativar pacotes binários com o pkgin exige configurar o repositório. -A seguir estão o host, o diretório, o usuário e a senha que -serão usados. Se "usuário" for "ftp", a senha não é necessária. - -} -message rcconf_backup_failed {Falha ao fazer o backup do rc.conf. Continuar?} -message rcconf_backup_succeeded {Backup do rc.conf salvo em %s.} -message rcconf_restore_failed {Falha ao restaurar o backup do rc.conf.} -message rcconf_delete_failed {Falha ao apagar a entrada antiga %s.} -message Pkg_dir {Diretório de pacotes} -message configure_prior {configurar uma instalação anterior de} -message configure {configurar} -message change {alterar} -message password_set {senha definida} -message YES {SIM} -message NO {NÃO} -message DONE {FEITO} -message abandoned {Abandonado} -message empty {***VAZIO***} -message timezone {Fuso horário} -message change_rootpw {Alterar senha do root} -message enable_binpkg {Ativar a instalação de pacotes binários} -message enable_sshd {Ativar sshd (daemon Secure Shell)} -message enable_ntpd {Ativar ntpd para sincronizar a hora pela rede} -message run_ntpdate {Executar ntpdate no boot para acertar a hora pela rede} -message enable_mdnsd {Ativar suporte a DNS multicast} -message enable_xdm {Ativar xdm (X Display Manager)} -message enable_cgd {Ativar cgd (configuração de disco criptografado)} -message enable_lvm {Ativar lvm (Logical Volume Manager)} -message enable_raid {Ativar raidframe} -message add_a_user {Adicionar um usuário} -message configmenu {Configure os itens adicionais conforme necessário.} -message doneconfig {Configuração concluída} -message Install_pkgin {Instalar o pkgin e atualizar o resumo de pacotes} -message binpkg_installed -{Seu sistema agora está configurado para usar o pkgin para instalar pacotes -binários. Para instalar um pacote, execute: - -pkgin install - -em um shell de root. Leia a página de manual pkgin(1) para mais informações.} -message Install_pkgsrc {Obter e desempacotar o pkgsrc} -message pkgsrc -{Instalar o pkgsrc exige desempacotar um arquivo obtido pela rede. -A seguir estão o host, o diretório, o usuário e a senha que -serão usados. Se "usuário" for "ftp", a senha não é necessária. - -} -message Pkgsrc_dir {Diretório do pkgsrc} -message get_pkgsrc {Obter e desempacotar o pkgsrc} -message retry_pkgsrc_network {A configuração da rede falhou. Tentar novamente?} -message quit_pkgsrc {Sair sem instalar o pkgsrc} -message quit_pkgs_install {Sair da instalação de pacotes binários} -message pkgin_failed -{A instalação do pkgin falhou, possivelmente porque não existem pacotes -binários. Verifique o caminho dos pacotes e tente novamente.} -message failed {Falhou} - -message askfsmountadv {Ponto de montagem (ou 'raid', 'cgd', 'lvm')?} -message partman {Particionamento avançado (RAID por software, etc...)} -message editpart {Editar partições} -message selectwedge {"Wedges" dk(4) pré-configuradas} - -message fremove {REMOVER} -message remove {Remover} -message add {Adicionar} -message auto {auto} - -message removepartswarn {Isto remove todas as partições do disco!} -message saveprompt {Salvar as alterações antes de terminar?} -message cantsave {Não foi possível salvar as alterações.} -message noroot {Nenhuma partição root definida. Não é possível continuar\n} - -message addusername {Nome do usuário a adicionar (máximo de 8 caracteres)} -message addusertowheel {Deseja adicionar este usuário ao grupo wheel? -Isso permitirá que ele use 'su' para se tornar o superusuário.} - -message Delete_partition -{Apagar partição} - -message No_filesystem_newfs -{A partição selecionada parece não ter um sistema de arquivos válido. -Deseja executar newfs (formatar) nela?} - -message swap_display {swap} - -/* Called with: Example - * $0 = parent device name sd0 - * $1 = swap partition name my_swap - */ -message Auto_add_swap_part -{Parece existir uma partição swap (chamada $1) -em $0. -Deseja usá-la?} - -message parttype_disklabel {BSD disklabel} -message parttype_disklabel_short {disklabel} -/* - * This is used on architectures with MBR above disklabel when there is - * no MBR on a disk. - */ -message parttype_only_disklabel {disklabel (somente Makronix)} - -message select_part_scheme -{O disco parece não ter sido particionado antes. Selecione um esquema -de particionamento entre as opções disponíveis abaixo. } - -message select_other_partscheme -{Selecione um esquema de particionamento diferente entre as opções -disponíveis abaixo. } - -message select_part_limit -{Alguns esquemas têm limites de tamanho e só podem ser usados no início -de discos enormes. O limite é exibido abaixo.} - -/* Called with: Example - * $0 = device name ld0 - * $1 = size 3 TB - */ -message part_limit_disksize -{Este dispositivo ($0) tem $1.} - -message size_limit {Máx.:} - -message addpart {Adicionar uma partição} -message nopart { (nenhuma partição definida)} -message custom_type {Desconhecido} - -message dl_type_invalid {Código de tipo de sistema de arquivos inválido (0 .. 255)} - -message cancel {Cancelar} - -message out_of_range {Valor inválido} -message invalid_guid {GUID inválido} - -message reedit_partitions {Editar de novo} -message abort_installation {Abandonar a instalação} - -message dl_get_custom_fstype {Código do tipo de sistema de arquivos (até 255)} - -message err_too_many_partitions {Partições demais} - -/* Called with: Example - * $0 = mount point /home - */ -message mp_already_exists {$0 já definido!} - -message ptnsize_replace_existing -{Esta é uma partição já existente. -Para mudar o seu tamanho, a partição precisará ser excluída e depois -recriada. Todos os dados desta partição serão perdidos. - -Deseja excluir esta partição e continuar?} - -message part_not_deletable {Partição de sistema não excluível} - -message ptn_type {tipo} -message ptn_start {início} -message ptn_size {tamanho} -message ptn_end {fim} - -message ptn_bsize {tam. do bloco} -message ptn_fsize {tam. do fragmento} -message ptn_isize {tam. médio arq.} - -/* Called with: Example - * $0 = avg file size in byte 1200 - */ -message ptn_isize_bytes {$0 bytes (para o número de inodes)} -message ptn_isize_dflt {4 fragmentos} - -message Select_file_system_block_size -{Selecione o tamanho do bloco do sistema de arquivos} - -message Select_file_system_fragment_size -{Selecione o tamanho do fragmento do sistema de arquivos} - -message ptn_isize_prompt -{tamanho médio de arquivo (bytes)} - -message No_free_space {Sem espaço livre} -message Invalid_numeric {Número inválido!} -message Too_large {Grande demais!} - -/* Called with: Example - * $0 = start of free space 500 - * $1 = end of free space 599 - * $2 = size of free space 100 - * $3 = unit in use MB - */ -message free_space_line {Espaço em $0..$1 $3 (tamanho $2 $3)\n} - -message fs_type_ffsv2 {FFSv2} -message fs_type_ffsv2ea {FFSv2ea} -message fs_type_ffs {FFS} -message fs_type_efi_sp {Partição de sistema EFI} -message fs_type_ext2old {Linux Ext2 (antigo)} -message other_fs_type {Outro tipo} - -message editpack {Editar o nome do disco} -message edit_disk_pack_hdr -{O nome do disco é arbitrário. -É útil para distinguir entre vários discos. -Também pode ser usado ao criar automaticamente "wedges" dk(4) para este disco. - -Informe o nome do disco} - - -/* Called with: Example - * $0 = outer partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message reeditpart -{Deseja editar de novo as partições $1?} - - -/* Called with: Example - * $0 = device name wd0 - * $1 = outer partitioning name Master Boot Record (MBR) - * $2 = inner partitioning name BSD disklabel - * $3 = short version of $1 MBR - * $4 = short version of $2 disklabel - * $5 = size needed for Makronix 250M - * $6 = size needed to build Makronix 15G - */ -message fullpart -{Vamos agora instalar o Makronix no disco $0. - -O Makronix exige uma única partição na tabela de partições $1 do disco, -que é subdividida pelo $2. -O Makronix também pode acessar sistemas de arquivos em outras partições $3. - -Se você selecionar 'Usar o disco inteiro', o conteúdo anterior do -disco será sobrescrito e uma única partição $3 cobrirá o disco -inteiro. -Se você quer instalar mais de um sistema operacional, edite a -tabela de partições $3 e crie uma partição para o Makronix. - -Cerca de $5 bastam para uma instalação básica, mas reserve -mais espaço para programas adicionais e arquivos de usuários. -Reserve pelo menos $6 se quiser compilar o próprio Makronix.} - -message Select_your_choice -{O que você gostaria de fazer?} - -/* Called with: Example - * $0 = partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message Use_only_part_of_the_disk -{Editar a tabela de partições $1} - -/* Called with: Example - * $0 = partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message Use_the_entire_disk -{Usar o disco inteiro} - -/* Called with: Example - * $0 = device name wd0 - * $1 = total disk size 3000 GB - * $2 = unallocated space 1.2 GB - */ -message part_header -{ Tamanho total de $0: $1, disponível: $2} -message part_header_col_start {Início} -message part_header_col_size {Tamanho} -message part_header_col_flag {Flag} - -message Partition_table_ok -{Tabela de partições OK} - -message Dont_change -{Não alterar} -message Other_kind -{Outro} - -/* Called with: Example - * $0 = outer partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message nobsdpart -{Não há partição Makronix no $1.} - -/* Called with: Example - * $0 = outer partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message multbsdpart -{Há várias partições Makronix no $1. -Marque a flag 'install' naquela que você quer usar.} - -message ovrwrite -{Seu disco tem atualmente uma partição que não é Makronix. Você realmente quer -sobrescrever essa partição com o Makronix? -} - -message Partition_OK -{Partição OK} - -/* Called with: Example - * $0 = device name wd0 - * $1 = outer partitioning name Master Boot Record (MBR) - * $2 = short version of $1 MBR - * $3 = other flag options d = bootselect default, a = active - */ -message editparttable -{A tabela de partições $2 atual de $0 é mostrada abaixo. -Flags: (I)nstalar aqui$3. -Selecione a partição que você deseja alterar: - -} - -message install_flag {I} -message newfs_flag {N} - -message clone_flag {C} -message clone_flag_desc {, (C)lonar} - -message ptn_install {instalar} -message ptn_instflag_desc {(I)nstalar, } - -.if HAVE_GPT -message parttype_gpt {Guid Partition Table (GPT)} -message parttype_gpt_short {GPT} -.endif - -message ptn_label {Rótulo} -message ptn_uuid {UUID} -message ptn_gpt_type {Tipo GPT} -message ptn_boot {Boot} - -/* Called with: Example - * $0 = outer partitioning name Master Boot Record (MBR) - * $1 = short version of $0 MBR - */ -message use_partitions_anyway -{Usar estas partições mesmo assim} - -.if HAVE_GPT -message gpt_flags {B} -message gpt_flag_desc {, (B)ootável} -.endif - -/* Called with: Example - * $0 = file system type FFSv2 - */ -message size_ptn_not_mounted {(Outro: $0)} - -message running_system {sistema atual} - -.if HAVE_CLONES -message clone_from_elsewhere {Clonar partição(ões) externa(s)} -message select_foreign_part -{Selecione uma partição de origem externa:} -message select_source_hdr -{As partições de origem selecionadas no momento são:} -message clone_with_data {Clonar com dados} -message select_source_add {Adicionar outra partição} -message clone_target_end {Adicionar no fim} -message clone_target_hdr -{Inserir as partições clonadas antes de:} -message clone_target_disp {partição(ões) clonada(s)} -message clone_src_done -{Origem selecionada OK, prosseguir para a seleção do destino} -.endif - -message network_ok -{Sua rede parece funcionar bem. -Devemos pular a configuração -e simplesmente usar a rede como está?} - -message todr_old -{O relógio parece estar errado!} - -message setdatetime -{Definir data e hora} - -message time_ok -{Salvar data e hora como selecionadas} - -/* Called with: Example - * $0 = header message The clock is off! - * $1 = current date/time string Sun, 12 Apr 2026 21:04:50 - */ -message date_and_time_hdr -{$0 - -Informe a data e a hora. - -Seleção atual: $1 - - -} - -message year {Ano} -message month {Mês (1-12)} -message day {Dia (1-31)} -message hour {Hora (0-23)} -message minute {Minuto (0-59)} - -.if HAVE_GPT -message resize_gpt -{O tamanho do disco é maior do que a GPT mostra, corrigir isto?} -.endif - -/* Makronix: the first question of an installation (menu installmode) */ -message installmode_title {Selecione o modo de instalação} -message installmode_simple {Simples (recomendado)} -message installmode_advanced {Avançado} -message installmode -{O Makronix pode ser instalado de duas maneiras. - -Simples: você escolhe o disco. O Makronix o particiona, instala -tudo e não pergunta mais nada sobre o layout nem sobre os conjuntos. -Todos os dados do disco escolhido são apagados. - -Avançado: você mesmo escolhe o particionamento e os conjuntos. -} - -message cgdroot_ask -{Deseja criptografar o disco? - -O sistema é instalado em um volume criptografado (cgd). Você informa uma -senha longa (passphrase) toda vez que o computador inicia. Uma pequena -partição não criptografada contém o carregador de inicialização e o kernel. -Quem não tem a senha não pode ler seus dados; se você a esquecer, os dados -estarão perdidos. - -Criptografar o disco? -} -message cgdroot_passphrase -{O disco agora está particionado e criptografado. - -Você será solicitado a informar a senha duas vezes. Lembre-se dela: ela é -necessária em toda inicialização, e não há como recuperar os dados sem ela. -} -message cgdroot_failed -{A configuração do disco criptografado falhou. Veja a saída acima e o log. -} -message cgdroot_nokmod -{O módulo de boot cgdroot.kmod não foi encontrado na mídia de instalação -(installation/miniroot/cgdroot.kmod). O sistema criptografado não pode ser -tornado inicializável sem ele. -} - -message welcome_ok {OK} -message welcome -{Bem-vindo à instalação do Makronix %s - -O Makronix é o NetBSD, moldado de propósito: o sistema NetBSD continua por -baixo, e por cima vêm o desktop CDE como padrão, um conjunto de pacotes -pronto para uso e um instalador que pode criptografar o disco inteiro. -Tudo é instalado a partir do DVD ou, um após o outro, dos CDs. - -Obrigado por escolher o Makronix. - -Pressione OK para continuar. -} - -message set_msrc -{Fontes do Makronix (pkgsrc, patches, ferramentas, distfiles)} - -message nextcd_title {Próximo CD} -message nextcd_continue {Continuar (o CD está inserido)} -message nextcd_skip {Pular este conjunto} -message nextcd -{O conjunto %s não está neste CD. - -Retire este CD da unidade e coloque o próximo CD da instalação do Makronix -(CD 2); depois escolha Continuar. -} - -message setup_intro -{Quase pronto. - -Algumas perguntas configuram o seu computador: o nome, a rede, a -senha do administrador e a sua própria conta. O login gráfico -(CDE) inicia quando o computador é ligado. -} -message setup_hostname {Nome deste computador (letras, dígitos, hífens): } -message setup_hostname_invalid -{O nome não é válido. Use letras, dígitos e hífens, e comece com uma -letra ou dígito. -} -message setup_dhcp {Configurar a rede automaticamente (DHCP)?} -message setup_rootpw {Senha do administrador (root): } -message setup_userpw {Senha da sua conta: } -message setup_pw_again {Digite a senha de novo: } -message setup_pw_mismatch {As senhas não são iguais. Tente de novo.} -message setup_pw_empty {Uma senha vazia não é aceita.} -message setup_fullname {Seu nome completo: } -message setup_username {Nome de login (letras minúsculas e dígitos): } -message setup_user_invalid -{O nome de login não é válido: deve começar com uma letra minúscula, pode -conter letras minúsculas, dígitos, - e _, e pode ter no máximo 31 -caracteres. -} -message setup_failed {A configuração da senha ou da conta falhou. Veja o log.} -message setup_done -{O computador está configurado. - -Na inicialização ele sobe com a rede (DHCP), o relógio (ntpd) e a tela -de login do CDE. Entre como %s. -} - -message extras_ask -{Instalar os programas extras? - -Firefox (navegador web), Thunderbird (e-mail), QEMU (máquinas virtuais), -PulseAudio (som) e CUPS (impressão) estão -nos últimos CDs da instalação do Makronix e no DVD. Eles -precisam de cerca de 3 GB no disco.} -message extras_nextcd -{Os programas extras não estão neste CD. - -Retire este CD da unidade e coloque o CD com os programas extras -(CD %d); depois escolha Continuar.} -message extras_missing -{Os programas extras não estão nesta mídia e não foram instalados. - -Eles podem ser instalados depois com pkg_add.} -message extras_failed -{A instalação dos programas extras falhou. Veja o log. - -Eles podem ser instalados depois com pkg_add.} - diff --git a/overlay/usr.sbin/sysinst/msg.pm.de b/overlay/usr.sbin/sysinst/msg.pm.de deleted file mode 100644 index 678b1ceb8c..0000000000 --- a/overlay/usr.sbin/sysinst/msg.pm.de +++ /dev/null @@ -1,167 +0,0 @@ -/* $NetBSD: msg.pm.de,v 1.3 2020/11/04 14:29:40 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* extended partition manager message catalog -- German, machine independent */ - -message fillzeros {Füllen mit Nullen} -message fillrandom {Füllen mit zufälligen Daten} -message raid0 {0 - Keine Parität, nur einfache Striping.} -message raid1 {1 - Mirroring. Die Parität ist der Spiegel.} -message raid4 {4 - Striping mit Parität auf die letzte Komponente gespeichert.} -message raid5 {5 - Striping mit Parität an den alle Komponenten.} - -message wannaunblock {Das Gerät ist gespert. Wollen Sie es zwangsweise entsperren und fortsetzen?} -message wannatry {Wollen Sie probieren?} -message create_cgd {Erstellen eines kryptographische Datenträgers (CGD)} -message create_vnd {Erstellen eines virtuelle Disk-Images (VND)} -message create_vg {Erstellen einer Volume-Gruppe (LVM VG)} -message create_lv {Erstellen eines logischen Volumes} -message create_raid {Erstellen eines Software-RAID} -message updpmlist {Aktualisieren der Geräte-Liste} -message savepm {Speichern der Änderungen} -message pmblocked {GESPERRT} -message pmunchanged {UNVERÄNDERT} -message pmused {BENUTZT} -message pmmounted {(montiert)} -message pmunused {(unbenutzt)} -message pmgptdisk {Festplatte mit GPT} - -message finishpm {Partitionierung beenden} -message limitcount {Grenze für die Anzahl der Geräte erreicht wurde!} -message invaliddev {Ungültige Gerät!} -message avdisks {Verfügbare Festplatten:} -message nofreedev {Kann nicht zugewiesen werden Geräteknoten!} -message partman_header -{Partitions-Manager. Alle Festplatten, Partitionen usw. sind unten aufgeführt. -Um RAID, LVM oder CGD zu verwenden: -1) Erstellen der Partitionen mit dem jeweiligen Typ; 2) Erstellen des RAID / -LVM VG / CGD mit diesen Partitionen; 3) Speichern; -4) Erstellen der Partitionen für das RAID / CGD oder Logical Volumes für LVM.} - -/* used to form strings like: "vnd0 on /var/tmp/disk1.img" */ -message pm_menu_on {on} -/* Called with: Example - * $0 = device name raid0 - * $1 = raid level 1 - */ -message raid_menufmt {$0 (Ebene $1)} -message raid_err_menufmt {LEERES RAID!} -message raid_disks_fmt {Festplatten} -message raid_spares_fmt {Ersatz} -message raid_level_fmt {RAID Ebene} -message raid_numrow_fmt {numRow} -message raid_numcol_fmt {numCol} -message raid_numspare_fmt {numSpare} -message raid_sectpersu_fmt {sectPerSU} -message raid_superpar_fmt {SUsPerParityUnit} -message raid_superrec_fmt {SUsPerReconUnit} -message raid_nomultidim {Mehrdimensionale Arrays werden nicht unterstützt!} -message raid_numrow_ask {numRow?} -message raid_numcol_ask {numCol?} -message raid_numspare_ask {numSpare?} -message raid_sectpersu_ask {sectPerSU?} -message raid_superpar_ask {SUsPerParityUnit?} -message raid_superrec_ask {SUsPerReconUnit?} -message raid_disks {Festplatten im RAID:} -message vnd_err_menufmt {Pfad nicht definiert!} -message vnd_assign {ZUWEISEN} -message vnd_path_fmt {Dateipfad} -message vnd_assign_fmt {Neue Image-Datei erstellen} -message vnd_size_fmt {Größe} -message vnd_ro_fmt {Nur lesen} -message vnd_geom_fmt {Manuelle Geometrie} -message vnd_bps_fmt {Byte pro Sektor} -message vnd_spt_fmt {Sektoren pro Spur} -message vnd_tpc_fmt {Spuren pro Zylinder} -message vnd_cyl_fmt {Zylinder} -message vnd_path_ask {Dateipfad?} -message vnd_size_ask {Größe?} -message vnd_bps_ask {Byte pro Sektor?} -message vnd_spt_ask {Sektoren pro Spur?} -message vnd_tpc_ask {Spuren pro Zylinder?} -message vnd_cyl_ask {Zylinder?} -message cgd_err_menufmt {NICHT DEFINIERT!} -message cgd_dev_fmt {Gerät} -message cgd_enc_fmt {Verschlüsselung} -message cgd_key_fmt {Schlüsselgröße} -message cgd_iv_fmt {IV-Algorithmus} -message cgd_keygen_fmt {Schlüsselgenerierung} -message cgd_verif_fmt {Verifikations-Methode} -message lvm_disks {Festplatten im VG:} -message lvm_err_menufmt {LEERE VG!} -message lvm_disks_fmt {PV's} -message lvm_name_fmt {Name} -message lvm_maxlv_fmt {MaxLogicalVolumes} -message lvm_maxpv_fmt {MaxPhysicalVolumes} -message lvm_extsiz_fmt {PhysicalExtentSize} -message lvm_name_ask {Name?} -message lvm_maxlv_ask {MaxLogicalVolumes?} -message lvm_maxpv_ask {MaxPhysicalVolumes?} -message lvm_extsiz_ask {PhysicalExtentSize?} -message lvmlv_menufmt {Logisches Volumen} -message lvmlv_name_fmt {Name} -message lvmlv_size_fmt {Größe} -message lvmlv_ro_fmt {Schreibgeschützt} -message lvmlv_cont_fmt {Zusammenhängend} -message lvmlv_extnum_fmt {LogicalExtentsNumber} -message lvmlv_minor_fmt {Minor-Nummer} -message lvmlv_mirrors_fmt {Mirrors} -message lvmlv_regsiz_fmt {MirrorLogRegionSize} -message lvmlv_pers_fmt {Persistent Minor-Nummer} -message lvmlv_readahsect_fmt {ReadAheadSectors} -message lvmlv_stripes_fmt {Stripes} -message lvmlv_stripesiz_fmt {StripeSize} -message lvmlv_zero_fmt {Nullen des ersten KB} -message lvmlv_name_ask {Name?} -message lvmlv_size_ask {Größe (MB)?} -message lvmlv_extnum_ask {LogicalExtentsNumber?} -message lvmlv_minor_ask {Minor-Nummer?} -message lvmlv_mirrors_ask {Spiegel?} -message lvmlv_regsiz_ask {MirrorLogRegionSize?} -message lvmlv_readahsect_ask {ReadAheadSectors?} -message lvmlv_stripes_ask {Stripes?} - -message notsupported {Operation wird nicht unterstützt!} -message edit_parts {Partitionen bearbeiten} -message encrypt {Verschlüsseln (CGD)} -message erase {Safe Erase} -message undo {Rückgängigmachen von Änderungen} -message unconfig {Dekonfigurieren} -message edit {Bearbeiten} -message doumount {Force-umount} - -message switch_parts {Switch partitioning scheme} -message fmtasraid {Als RAID Komponente formatieren} -message fmtaslvm {Als LVM-PV formatieren} - diff --git a/overlay/usr.sbin/sysinst/msg.pm.en b/overlay/usr.sbin/sysinst/msg.pm.en deleted file mode 100644 index 7950755e12..0000000000 --- a/overlay/usr.sbin/sysinst/msg.pm.en +++ /dev/null @@ -1,167 +0,0 @@ -/* $NetBSD: msg.pm.en,v 1.4 2020/11/05 11:10:11 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* extended partition manager message catalog -- English, machine independent */ - -message fillzeros {Fill with zeros} -message fillrandom {Fill with random data} -message raid0 {0 - No parity, simple striping.} -message raid1 {1 - Mirroring. The parity is the mirror.} -message raid4 {4 - Striping with parity stored on the last component.} -message raid5 {5 - Striping with distributed parity.} - -message wannaunblock { -Device is blocked. Editing it may cause problems. -Do you want to force unblock it and continue?} -message wannatry {Do you want to try?} -message create_cgd {Create cryptographic volume (CGD)} -message create_vnd {Create virtual disk image (VND)} -message create_vg {Create volume group (LVM VG)} -message create_lv {Create logical volume} -message create_raid {Create software RAID} -message updpmlist {Update device list} -message savepm {Save changes} -message pmblocked {BLOCKED} -message pmunchanged {UNCHANGED} -message pmused {USED} -message pmmounted {(mounted)} -message pmunused {(unused)} -message pmgptdisk {GPT-labeled disk} - -message finishpm {Finish partitioning} -message limitcount {Limit for the device count was reached!} -message invaliddev {Invalid device!} -message avdisks {Available disks:} -message nofreedev {Cannot allocate device node!} -message partman_header -{This is the extended partition manager. All disks, partitions, etc. are -listed below. To use RAID, LVM, or CGD: 1) Create partitions with the -appropriate type; 2) Create RAID/LVM VG/CGD using these partitions; 3) Save -changes; 4) Create partitions for RAID/CGD or Logical Volumes for LVM.} - -/* used to form strings like: "vnd0 on /var/tmp/disk1.img" */ -message pm_menu_on {on} -/* Called with: Example - * $0 = device name raid0 - * $1 = raid level 1 - */ -message raid_menufmt {$0 (level $1)} -message raid_err_menufmt {EMPTY RAID!} -message raid_disks_fmt {Disks} -message raid_spares_fmt {Spares} -message raid_level_fmt {RAID level} -message raid_numrow_fmt {numRow} -message raid_numcol_fmt {numCol} -message raid_numspare_fmt {numSpare} -message raid_sectpersu_fmt {sectPerSU} -message raid_superpar_fmt {SUsPerParityUnit} -message raid_superrec_fmt {SUsPerReconUnit} -message raid_nomultidim {Multi-dimensional arrays are NOT supported!} -message raid_numrow_ask {numRow?} -message raid_numcol_ask {numCol?} -message raid_numspare_ask {numSpare?} -message raid_sectpersu_ask {sectPerSU?} -message raid_superpar_ask {SUsPerParityUnit?} -message raid_superrec_ask {SUsPerReconUnit?} -message raid_disks {Disks in RAID:} -message vnd_err_menufmt {PATH NOT DEFINED!} -message vnd_assign {ASSIGN} -message vnd_path_fmt {File path} -message vnd_assign_fmt {Create new image} -message vnd_size_fmt {Size} -message vnd_ro_fmt {Read-only} -message vnd_geom_fmt {Set geometry by hand} -message vnd_bps_fmt {Bytes per Sector} -message vnd_spt_fmt {Sectors per Track} -message vnd_tpc_fmt {Tracks per Cylinder} -message vnd_cyl_fmt {Cylinders} -message vnd_path_ask {File path?} -message vnd_size_ask {Size (MB)?} -message vnd_bps_ask {Bytes per Sector?} -message vnd_spt_ask {Sectors per Track?} -message vnd_tpc_ask {Tracks per Cylinder?} -message vnd_cyl_ask {Cylinders?} -message cgd_err_menufmt {DISK NOT DEFINED!} -message cgd_dev_fmt {Base device} -message cgd_enc_fmt {Encryption} -message cgd_key_fmt {Key size} -message cgd_iv_fmt {IV algorithm} -message cgd_keygen_fmt {Key generation} -message cgd_verif_fmt {Verification method} -message lvm_disks {Disks in VG} -message lvm_err_menufmt {EMPTY VG!} -message lvm_disks_fmt {PV's} -message lvm_name_fmt {Name} -message lvm_maxlv_fmt {MaxLogicalVolumes} -message lvm_maxpv_fmt {MaxPhysicalVolumes} -message lvm_extsiz_fmt {PhysicalExtentSize} -message lvm_name_ask {Name?} -message lvm_maxlv_ask {MaxLogicalVolumes?} -message lvm_maxpv_ask {MaxPhysicalVolumes?} -message lvm_extsiz_ask {PhysicalExtentSize?} -message lvmlv_menufmt {Logical volume} -message lvmlv_name_fmt {Name} -message lvmlv_size_fmt {Size} -message lvmlv_ro_fmt {Read-only} -message lvmlv_cont_fmt {Contiguous} -message lvmlv_extnum_fmt {LogicalExtentsNumber} -message lvmlv_minor_fmt {Minor number} -message lvmlv_mirrors_fmt {Mirrors} -message lvmlv_regsiz_fmt {MirrorLogRegionSize} -message lvmlv_pers_fmt {Persistent minor number} -message lvmlv_readahsect_fmt {ReadAheadSectors} -message lvmlv_stripes_fmt {Stripes} -message lvmlv_stripesiz_fmt {StripeSize} -message lvmlv_zero_fmt {Zeroing of the first KB} -message lvmlv_name_ask {Name?} -message lvmlv_size_ask {Size (MB)?} -message lvmlv_extnum_ask {LogicalExtentsNumber?} -message lvmlv_minor_ask {Minor number?} -message lvmlv_mirrors_ask {Mirrors?} -message lvmlv_regsiz_ask {MirrorLogRegionSize?} -message lvmlv_readahsect_ask {ReadAheadSectors?} -message lvmlv_stripes_ask {Stripes?} - -message notsupported {Operation not supported!} -message edit_parts {Edit partitions} -message switch_parts {Switch partitioning scheme} -message fmtasraid {Format as RAID} -message fmtaslvm {Format as LVM PV} -message encrypt {Encrypt (CGD)} -message erase {Safe erase} -message undo {Undo changes} -message unconfig {Unconfigure} -message edit {Edit} -message doumount {Force umount} - diff --git a/overlay/usr.sbin/sysinst/msg.pm.es b/overlay/usr.sbin/sysinst/msg.pm.es deleted file mode 100644 index 17071ea9d5..0000000000 --- a/overlay/usr.sbin/sysinst/msg.pm.es +++ /dev/null @@ -1,166 +0,0 @@ -/* $NetBSD: msg.pm.es,v 1.4 2020/11/05 11:10:11 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* extended partition manager message catalog -- Spanish, machine independent */ - -message fillzeros {Llenar con ceros} -message fillrandom {Llene los datos al azar} -message raid0 {0 - Sin paridad, creación de bandas sólo es simple.} -message raid1 {1 - Creación de reflejos. La paridad es el espejo.} -message raid4 {4 - Striping con paridad almacenada en el último componente. component.} -message raid5 {5 - Striping con paridad en los componentes de todos. components.} - -message wannaunblock {El dispositivo está bloqueado. ¿Quiere forzar a desbloquear y continuar? unblock it and continue?} -message wannatry {¿Quieres probar?} -message create_cgd {Crear cifrado de volumen (CGD)} -message create_vnd {Crear imagen de disco virtual (VND)} -message create_vg {Crear grupo de volúmenes (LVM VG)} -message create_lv {Crear volúmenes lógicos} -message create_raid {Crear RAID por software} -message updpmlist {Actualizar lista de dispositivos} -message savepm {Guardar los cambios} -message pmblocked {BLOQUEADO} -message pmunchanged {SIN USO} -message pmused {UTILIZA} -message pmmounted {(montado)} -message pmunused {(sin usar)} -message pmgptdisk {Disco con GPT} - -message finishpm {Finalizar el particionado} -message limitcount {Límite para el número de dispositivos se llegó!} -message invaliddev {No válido dispositivo!} -message avdisks {Discos disponibles:} -message nofreedev {No se puede asignar nodo de dispositivo!} -message partman_header -{Partition Manager. Todos los discos, particiones y etc muestra allí. -Si desea utilizar RAID, LVM o CGD, siga estos pasos: -1) Crear particiones con el tipo necesario; -2) Crear RAID / LVM VG / CGD el uso de estas particiones; 3) Guárdalo; -4) Crear particiones de volúmenes RAID / CGD o lógico de LVM.} - -/* used to form strings like: "vnd0 on /var/tmp/disk1.img" */ -message pm_menu_on {on} -/* Called with: Example - * $0 = device name raid0 - * $1 = raid level 1 - */ -message raid_menufmt {$0 (nivel $1)} -message raid_err_menufmt {RAID VACIO!} -message raid_disks_fmt {Discos} -message raid_spares_fmt {Piezas de recambio} -message raid_level_fmt {RAID de nivel} -message raid_numrow_fmt {numRow} -message raid_numcol_fmt {numCol} -message raid_numspare_fmt {numSpare} -message raid_sectpersu_fmt {sectPerSU} -message raid_superpar_fmt {SUsPerParityUnit} -message raid_superrec_fmt {SUsPerReconUnit} -message raid_nomultidim {Matrices multidimensionales no son compatibles!} -message raid_numrow_ask {numRow?} -message raid_numcol_ask {numCol?} -message raid_numspare_ask {numSpare?} -message raid_sectpersu_ask {sectPerSU?} -message raid_superpar_ask {SUsPerParityUnit?} -message raid_superrec_ask {SUsPerReconUnit?} -message raid_disks {Los discos en RAID} -message vnd_err_menufmt {CAMINO NO DEFINIDO!} -message vnd_assign {ASSIGN} -message vnd_path_fmt {Ruta del archivo} -message vnd_assign_fmt {Create new image} -message vnd_size_fmt {Tamaño} -message vnd_ro_fmt {Sólo lectura} -message vnd_geom_fmt {Establecer la geometría de la mano} -message vnd_bps_fmt {Bytes por sector} -message vnd_spt_fmt {Sectores por pista} -message vnd_tpc_fmt {Pistas por cilindro} -message vnd_cyl_fmt {Cilindros} -message vnd_path_ask {Ruta de acceso?} -message vnd_size_ask {Tamaño (MB)?} -message vnd_bps_ask {Bytes por sector?} -message vnd_spt_ask {Sectores por pista?} -message vnd_tpc_ask {Pistas por cilindro?} -message vnd_cyl_ask {Cilindros} -message cgd_err_menufmt {DISCO NO SE DEFINE!} -message cgd_dev_fmt {Dispositivo de base} -message cgd_enc_fmt {Encriptación} -message cgd_key_fmt {Tamaño de la clave} -message cgd_iv_fmt {Algoritmo IV} -message cgd_keygen_fmt {La generación de claves} -message cgd_verif_fmt {Método de verificación} -message lvm_disks {Discos en VG} -message lvm_err_menufmt {VACIAR VG!} -message lvm_disks_fmt {PV's} -message lvm_name_fmt {Nombre} -message lvm_maxlv_fmt {MaxLogicalVolumes} -message lvm_maxpv_fmt {MaxPhysicalVolumes} -message lvm_extsiz_fmt {PhysicalExtentSize} -message lvm_name_ask {Nombre?} -message lvm_maxlv_ask {MaxLogicalVolumes?} -message lvm_maxpv_ask {MaxPhysicalVolumes?} -message lvm_extsiz_ask {PhysicalExtentSize (MB)?} -message lvmlv_menufmt {El volumen lógico} -message lvmlv_name_fmt {Nombre} -message lvmlv_size_fmt {Tamaño} -message lvmlv_ro_fmt {Sólo lectura} -message lvmlv_cont_fmt {Contigua} -message lvmlv_extnum_fmt {LogicalExtentsNumber} -message lvmlv_minor_fmt {Menor número} -message lvmlv_mirrors_fmt {Espejos} -message lvmlv_regsiz_fmt {MirrorLogRegionSize} -message lvmlv_pers_fmt {Número de persistente menor} -message lvmlv_readahsect_fmt {ReadAheadSectors} -message lvmlv_stripes_fmt {Rayas} -message lvmlv_stripesiz_fmt {Stripesize} -message lvmlv_zero_fmt {Puesta a cero de la primera KB} -message lvmlv_name_ask {Nombre?} -message lvmlv_size_ask {Tamaño (MB)?} -message lvmlv_extnum_ask {LogicalExtentsNumber?} -message lvmlv_minor_ask {Número menor de edad?} -message lvmlv_mirrors_ask {Espejos?} -message lvmlv_regsiz_ask {MirrorLogRegionSize?} -message lvmlv_readahsect_ask {ReadAheadSectors?} -message lvmlv_stripes_ask {Rayas?} - -message notsupported {Operación no admitida!} -message edit_parts {Editar particiones} -message switch_parts {Switch partitioning scheme} -message fmtasraid {Formato como RAID} -message fmtaslvm {Formato como LVM PV} -message encrypt {Cifrar (CGD)} -message erase {Borrado seguro} -message undo {Deshacer los cambios} -message unconfig {Desconfigurar} -message edit {Editar} -message doumount {Fuerza umount} - diff --git a/overlay/usr.sbin/sysinst/msg.pm.fr b/overlay/usr.sbin/sysinst/msg.pm.fr deleted file mode 100644 index 3b2d121bf3..0000000000 --- a/overlay/usr.sbin/sysinst/msg.pm.fr +++ /dev/null @@ -1,166 +0,0 @@ -/* $NetBSD: msg.pm.fr,v 1.4 2020/11/05 11:10:11 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* extended partition manager message catalog -- French, machine independent */ - -message fillzeros {Remplir de zéros} -message fillrandom {Remplissez par des données aléatoires} -message raid0 {0 - Pas de parité, l'entrelacement seulement simple.} -message raid1 {1 - Mirroring. La parité est le miroir.} -message raid4 {4 - Entrelacement avec parité stockées sur le dernier composant. component.} -message raid5 {5 - Entrelacement avec parité à tous les composants. components.} - -message wannaunblock {L'appareil est bloqué. Voulez-vous forcer le débloquer et continuer? unblock it and continue?} -message wannatry {Voulez-vous essayer?} -message create_cgd {Le volume cryptographique Créer (CGD)} -message create_vnd {Créer une image de disque virtuel (VND)} -message create_vg {Créer un groupe de volumes LVM (VG)} -message create_lv {Créer un volume logique} -message create_raid {Créer un RAID logiciel} -message updpmlist {Mettre à jour la liste des dispositifs} -message savepm {Enregistrer les modifications} -message pmblocked {BLOQUE} -message pmunchanged {INCHANGÉ} -message pmused {UTILISÉ} -message pmmounted {(monté)} -message pmunused {(non utilisé)} -message pmgptdisk {Disque avec GPT} - -message finishpm {Terminer le partitionnement} -message limitcount {Limite pour le nombre de dispositifs a été atteint!} -message invaliddev {Blancs appareil!} -message avdisks {Disques disponibles:} -message nofreedev {Impossible d'allouer noeud de périphérique!} -message partman_header -{Gestionnaire de partition. Tous les disques, les partitions et etc affiché. -Si vous souhaitez utiliser RAID, LVM ou DMC, procédez comme suit: -1) Créer les partitions de type de besoin; 2) Créer un système RAID / -LVM VG / DMC utilisation de ces partitions; 3) la sauver; -4) Créer des partitions pour les volumes RAID / DMC ou logique par LVM.} - -/* used to form strings like: "vnd0 on /var/tmp/disk1.img" */ -message pm_menu_on {sur} -/* Called with: Example - * $0 = device name raid0 - * $1 = raid level 1 - */ -message raid_menufmt {$0 (niveau $1)} -message raid_err_menufmt {RAID VIDE!} -message raid_disks_fmt {Disques} -message raid_spares_fmt {Pièces de rechange} -message raid_level_fmt {Niveau RAID} -message raid_numrow_fmt {numRow} -message raid_numcol_fmt {numCol} -message raid_numspare_fmt {numSpare} -message raid_sectpersu_fmt {sectPerSU} -message raid_superpar_fmt {SUsPerParityUnit} -message raid_superrec_fmt {SUsPerReconUnit} -message raid_nomultidim {Tableaux multi-dimensionnels sont pas pris en charge!} -message raid_numrow_ask {numRow?} -message raid_numcol_ask {numCol?} -message raid_numspare_ask {numSpare?} -message raid_sectpersu_ask {sectPerSU?} -message raid_superpar_ask {SUsPerParityUnit?} -message raid_superrec_ask {SUsPerReconUnit?} -message raid_disks {Disques en RAID} -message vnd_err_menufmt {PATH NOT DEFINED!} -message vnd_assign {ASSIGN} -message vnd_path_fmt {Chemin du fichier} -message vnd_assign_fmt {Create new image} -message vnd_size_fmt {Taille} -message vnd_ro_fmt {Read-only} -message vnd_geom_fmt {Définir la géométrie à la main} -message vnd_bps_fmt {Octets par secteur} -message vnd_spt_fmt {Secteurs par piste} -message vnd_tpc_fmt {Pistes par cylindre} -message vnd_cyl_fmt {Cylindres} -message vnd_path_ask {Chemin du fichier?} -message vnd_size_ask {Taille (MB)?} -message vnd_bps_ask {Octets par secteur?} -message vnd_spt_ask {Secteurs par piste?} -message vnd_tpc_ask {Pistes par cylindre?} -message vnd_cyl_ask {Cylindres} -message cgd_err_menufmt {DISQUE NON DEFINI!} -message cgd_dev_fmt {Dispositif de base} -message cgd_enc_fmt {Chiffrage} -message cgd_key_fmt {Taille de la clé} -message cgd_iv_fmt {Algorithme IV} -message cgd_keygen_fmt {La génération des clés} -message cgd_verif_fmt {Méthode de vérification} -message lvm_disks {Disques à VG} -message lvm_err_menufmt {VIDER VG!} -message lvm_disks_fmt {PV's} -message lvm_name_fmt {Nom} -message lvm_maxlv_fmt {MaxLogicalVolumes} -message lvm_maxpv_fmt {MaxPhysicalVolumes} -message lvm_extsiz_fmt {PhysicalExtentSize} -message lvm_name_ask {Nom?} -message lvm_maxlv_ask {MaxLogicalVolumes?} -message lvm_maxpv_ask {MaxPhysicalVolumes?} -message lvm_extsiz_ask {PhysicalExtentSize (MB)?} -message lvmlv_menufmt {Logique volume} -message lvmlv_name_fmt {Nom} -message lvmlv_size_fmt {Taille} -message lvmlv_ro_fmt {Read-only} -message lvmlv_cont_fmt {Contiguë} -message lvmlv_extnum_fmt {LogicalExtentsNumber} -message lvmlv_minor_fmt {Nombre mineur} -message lvmlv_mirrors_fmt {Miroirs} -message lvmlv_regsiz_fmt {MirrorLogRegionSize} -message lvmlv_pers_fmt {Persistante numéro mineur} -message lvmlv_readahsect_fmt {ReadAheadSectors} -message lvmlv_stripes_fmt {Rayures} -message lvmlv_stripesiz_fmt {Stripesize} -message lvmlv_zero_fmt {Remise à zéro de la KB d'abord} -message lvmlv_name_ask {Nom?} -message lvmlv_size_ask {Taille (MB)?} -message lvmlv_extnum_ask {LogicalExtentsNumber?} -message lvmlv_minor_ask {Numéro mineur?} -message lvmlv_mirrors_ask {Miroirs?} -message lvmlv_regsiz_ask {MirrorLogRegionSize?} -message lvmlv_readahsect_ask {ReadAheadSectors?} -message lvmlv_stripes_ask {Stripes?} - -message notsupported {Le fonctionnement n'est pas pris en charge!} -message edit_parts {Modifier les partitions} -message switch_parts {Switch partitioning scheme} -message fmtasraid {Format en RAID} -message fmtaslvm {Format de LVM PV} -message encrypt {Crypter (CGD)} -message erase {Fonction d'effacement sécurisé} -message undo {Annuler les changements} -message unconfig {Annulation de la configuration} -message edit {Éditer} -message doumount {Groupe umount} - diff --git a/overlay/usr.sbin/sysinst/msg.pm.pl b/overlay/usr.sbin/sysinst/msg.pm.pl deleted file mode 100644 index d8bef0b38a..0000000000 --- a/overlay/usr.sbin/sysinst/msg.pm.pl +++ /dev/null @@ -1,166 +0,0 @@ -/* $NetBSD: msg.pm.pl,v 1.4 2020/11/05 11:10:11 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* extended partition manager message catalog -- Polish, machine independent */ - -message fillzeros {Wype³nij zerami} -message fillrandom {Wype³nij losowymi danymi} -message raid0 {0 - brak parzysto¶ci, tylko proste rozk³adanie.} -message raid1 {1 - Mirroring. Parytet jest lustro.} -message raid4 {4 - Malowanie z parytetu przechowywanych w ostatniej czê¶ci.} -message raid5 {5 - Malowanie z parytetu w tych wszystkich elementów.} - -message wannaunblock {Urz±dzenie jest zablokowane. Czy chcesz, aby zmusiæ go odblokowaæ i kontynuowaæ?} -message wannatry {Czy chcesz spróbowaæ?} -message create_cgd {Utwórz wolumen kryptograficznych (CGD)} -message create_vnd {Utwórz wirtualnego obraz dysku (VND)} -message create_vg {Utwórz grupê woluminów (LVM VG)} -message create_lv {Utwórz wolumin logiczny} -message create_raid {Utwórz oprogramowania RAID} -message updpmlist {Aktualizuj listê urz±dzeñ} -message savepm {Zapisz zmiany} -message pmblocked {ZABLOK.} -message pmunchanged {BEZ ZMIAN} -message pmused {U¯YWANE} -message pmmounted {(zamontowany)} -message pmunused {(nieu¿ywany)} -message pmgptdisk {Dysku z GPT} - -message finishpm {Zakoñcz partycjonowanie} -message limitcount {Limit liczby urz±dzeñ zosta³ osi±gniêty!} -message invaliddev {Nieprawid³owy urz±dzenie!} -message avdisks {Dostêpne dysków:} -message nofreedev {Nie mo¿na przydzieliæ wêze³!} -message partman_header -{Partition Manager. Wszystkie dyski, partycje oraz itp. tam wy¶wietlane. -Je¶li chcesz korzystaæ z RAID, LVM lub CGD, wykonaj nastêpuj±ce kroki: -1) Tworzenie partycji z potrzebnego typu; -2) Utwórz RAID / LVM VG / CGD korzystania z tych partycji; 3) Zapisz go; -4) Tworzenie partycji dla RAID / CGD lub Logical Volumes dla LVM.} - -/* used to form strings like: "vnd0 on /var/tmp/disk1.img" */ -message pm_menu_on {on} -/* Called with: Example - * $0 = device name raid0 - * $1 = raid level 1 - */ -message raid_menufmt {$0 (level $1)} -message raid_err_menufmt {EMPTY RAID!} -message raid_disks_fmt {Dyski} -message raid_spares_fmt {Czê¶ci zamienne} -message raid_level_fmt {Poziom RAID} -message raid_numrow_fmt {numRow} -message raid_numcol_fmt {numCol} -message raid_numspare_fmt {numSpare} -message raid_sectpersu_fmt {sectPerSU} -message raid_superpar_fmt {SUsPerParityUnit} -message raid_superrec_fmt {SUsPerReconUnit} -message raid_nomultidim {Tablice wielowymiarowe nie s± obs³ugiwane!} -message raid_numrow_ask {numRow?} -message raid_numcol_ask {numCol?} -message raid_numspare_ask {numSpare?} -message raid_sectpersu_ask {sectPerSU?} -message raid_superpar_ask {SUsPerParityUnit?} -message raid_superrec_ask {SUsPerReconUnit?} -message raid_disks {Dyski w RAID} -message vnd_err_menufmt {¦CIE¯KA NIE ZDEFINIOWANE!} -message vnd_assign {ASSIGN} -message vnd_path_fmt {¦cie¿ka} -message vnd_assign_fmt {Create new image} -message vnd_size_fmt {Rozmiar} -message vnd_ro_fmt {Tylko do odczytu} -message vnd_geom_fmt {Ustaw geometriê rêcznie} -message vnd_bps_fmt {Bajtów na sektorów} -message vnd_spt_fmt {Sektory na ¶cie¿ki} -message vnd_tpc_fmt {Utwory na cylinder} -message vnd_cyl_fmt {Si³owniki} -message vnd_path_ask {File Path?} -message vnd_size_ask {Rozmiar (MB)?} -message vnd_bps_ask {Bajtów na sektor?} -message vnd_spt_ask {Sektory na ¶cie¿kê?} -message vnd_tpc_ask {Utwory na cylinder?} -message vnd_cyl_ask {Cylindry} -message cgd_err_menufmt {DISK NIE ZDEFINIOWANE!} -message cgd_dev_fmt {Urz±dzenie podstawy} -message cgd_enc_fmt {Encryption} -message cgd_key_fmt {Rozmiar klucza} -message cgd_iv_fmt {Algorytm IV} -message cgd_keygen_fmt {Generowanie kluczy} -message cgd_verif_fmt {Metoda weryfikacji} -message lvm_disks {Dyski w VG} -message lvm_err_menufmt {EMPTY VG!} -message lvm_disks_fmt {PV's} -message lvm_name_fmt {Nazwa} -message lvm_maxlv_fmt {MaxLogicalVolumes} -message lvm_maxpv_fmt {MaxPhysicalVolumes} -message lvm_extsiz_fmt {PhysicalExtentSize} -message lvm_name_ask {Nazwa?} -message lvm_maxlv_ask {MaxLogicalVolumes?} -message lvm_maxpv_ask {MaxPhysicalVolumes?} -message lvm_extsiz_ask {PhysicalExtentSize (MB)?} -message lvmlv_menufmt {Wolumin logiczny} -message lvmlv_name_fmt {Nazwa} -message lvmlv_size_fmt {Rozmiar} -message lvmlv_ro_fmt {Read-only} -message lvmlv_cont_fmt {S±siaduj±cy} -message lvmlv_extnum_fmt {LogicalExtentsNumber} -message lvmlv_minor_fmt {Mniejsza liczba} -message lvmlv_mirrors_fmt {Mirrors} -message lvmlv_regsiz_fmt {MirrorLogRegionSize} -message lvmlv_pers_fmt {Trwa³e drobne numer} -message lvmlv_readahsect_fmt {ReadAheadSectors ceny} -message lvmlv_stripes_fmt {Stripes} -message lvmlv_stripesiz_fmt {StripeSize} -message lvmlv_zero_fmt {Zerowanie pierwszej KB} -message lvmlv_name_ask {Nazwa?} -message lvmlv_size_ask {Rozmiar (MB)?} -message lvmlv_extnum_ask {LogicalExtentsNumber?} -message lvmlv_minor_ask {Mniejsza liczba?} -message lvmlv_mirrors_ask {Mirrors?} -message lvmlv_regsiz_ask {MirrorLogRegionSize?} -message lvmlv_readahsect_ask {ReadAheadSectors?} -message lvmlv_stripes_ask {Stripes?} - -message notsupported {Operacja nie jest obslugiwana!} -message edit_parts {Edytuj partycje} -message switch_parts {Switch partitioning scheme} -message fmtasraid {Formatuj jako RAID} -message fmtaslvm {Formatuj jak LVM PV} -message encrypt {Szyfrowanie (CGD)} -message erase {Bezpieczne kasowanie} -message undo {Cofanie zmian} -message unconfig {Cofnij konfiguracje} -message edit {Edytuj} -message doumount {Wymus odmontowanie} - diff --git a/overlay/usr.sbin/sysinst/msg.pm.pt b/overlay/usr.sbin/sysinst/msg.pm.pt deleted file mode 100644 index d37f81cee6..0000000000 --- a/overlay/usr.sbin/sysinst/msg.pm.pt +++ /dev/null @@ -1,167 +0,0 @@ -/* $NetBSD: msg.pm.pt,v 1.4 2020/11/05 11:10:11 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* extended partition manager message catalog -- English, machine independent */ - -message fillzeros {Preencher com zeros} -message fillrandom {Preencher com dados aleatórios} -message raid0 {0 - Sem paridade, striping simples.} -message raid1 {1 - Espelhamento. A paridade é o espelho.} -message raid4 {4 - Striping com paridade no último componente.} -message raid5 {5 - Striping com paridade distribuída.} - -message wannaunblock { -O dispositivo está bloqueado. Editá-lo pode causar problemas. -Deseja forçar o desbloqueio e continuar?} -message wannatry {Deseja tentar?} -message create_cgd {Criar volume criptográfico (CGD)} -message create_vnd {Criar imagem de disco virtual (VND)} -message create_vg {Criar grupo de volumes (LVM VG)} -message create_lv {Criar volume lógico} -message create_raid {Criar RAID por software} -message updpmlist {Atualizar lista de dispositivos} -message savepm {Salvar alterações} -message pmblocked {BLOQUEADO} -message pmunchanged {INALTERADO} -message pmused {EM USO} -message pmmounted {(montado)} -message pmunused {(livre)} -message pmgptdisk {Disco com rótulo GPT} - -message finishpm {Concluir o particionamento} -message limitcount {Limite de dispositivos atingido!} -message invaliddev {Dispositivo inválido!} -message avdisks {Discos disponíveis:} -message nofreedev {Não foi possível alocar o nó de dispositivo!} -message partman_header -{Este é o gerenciador de partições estendido. Todos os discos, partições -etc. estão listados abaixo. Para usar RAID, LVM ou CGD: 1) Crie partições -com o tipo apropriado; 2) Crie RAID/LVM VG/CGD usando estas partições; -3) Salve as alterações; 4) Crie partições para RAID/CGD ou volumes lógicos -para LVM.} - -/* used to form strings like: "vnd0 on /var/tmp/disk1.img" */ -message pm_menu_on {em} -/* Called with: Example - * $0 = device name raid0 - * $1 = raid level 1 - */ -message raid_menufmt {$0 (nível $1)} -message raid_err_menufmt {RAID VAZIO!} -message raid_disks_fmt {Discos} -message raid_spares_fmt {Reservas} -message raid_level_fmt {Nível de RAID} -message raid_numrow_fmt {numRow} -message raid_numcol_fmt {numCol} -message raid_numspare_fmt {numSpare} -message raid_sectpersu_fmt {sectPerSU} -message raid_superpar_fmt {SUsPerParityUnit} -message raid_superrec_fmt {SUsPerReconUnit} -message raid_nomultidim {Arrays multidimensionais NÃO são suportados!} -message raid_numrow_ask {numRow?} -message raid_numcol_ask {numCol?} -message raid_numspare_ask {numSpare?} -message raid_sectpersu_ask {sectPerSU?} -message raid_superpar_ask {SUsPerParityUnit?} -message raid_superrec_ask {SUsPerReconUnit?} -message raid_disks {Discos no RAID:} -message vnd_err_menufmt {CAMINHO NÃO DEFINIDO!} -message vnd_assign {ATRIBUIR} -message vnd_path_fmt {Caminho do arquivo} -message vnd_assign_fmt {Criar nova imagem} -message vnd_size_fmt {Tamanho} -message vnd_ro_fmt {Somente leitura} -message vnd_geom_fmt {Definir geometria manualmente} -message vnd_bps_fmt {Bytes por setor} -message vnd_spt_fmt {Setores por trilha} -message vnd_tpc_fmt {Trilhas por cilindro} -message vnd_cyl_fmt {Cilindros} -message vnd_path_ask {Caminho do arquivo?} -message vnd_size_ask {Tamanho (MB)?} -message vnd_bps_ask {Bytes por setor?} -message vnd_spt_ask {Setores por trilha?} -message vnd_tpc_ask {Trilhas por cilindro?} -message vnd_cyl_ask {Cilindros?} -message cgd_err_menufmt {DISCO NÃO DEFINIDO!} -message cgd_dev_fmt {Dispositivo base} -message cgd_enc_fmt {Criptografia} -message cgd_key_fmt {Tamanho da chave} -message cgd_iv_fmt {Algoritmo de IV} -message cgd_keygen_fmt {Geração da chave} -message cgd_verif_fmt {Método de verificação} -message lvm_disks {Discos no VG} -message lvm_err_menufmt {VG VAZIO!} -message lvm_disks_fmt {PV's} -message lvm_name_fmt {Nome} -message lvm_maxlv_fmt {MaxLogicalVolumes} -message lvm_maxpv_fmt {MaxPhysicalVolumes} -message lvm_extsiz_fmt {PhysicalExtentSize} -message lvm_name_ask {Nome?} -message lvm_maxlv_ask {MaxLogicalVolumes?} -message lvm_maxpv_ask {MaxPhysicalVolumes?} -message lvm_extsiz_ask {PhysicalExtentSize?} -message lvmlv_menufmt {Volume lógico} -message lvmlv_name_fmt {Nome} -message lvmlv_size_fmt {Tamanho} -message lvmlv_ro_fmt {Somente leitura} -message lvmlv_cont_fmt {Contíguo} -message lvmlv_extnum_fmt {LogicalExtentsNumber} -message lvmlv_minor_fmt {Número minor} -message lvmlv_mirrors_fmt {Espelhos} -message lvmlv_regsiz_fmt {MirrorLogRegionSize} -message lvmlv_pers_fmt {Número minor persistente} -message lvmlv_readahsect_fmt {ReadAheadSectors} -message lvmlv_stripes_fmt {Stripes} -message lvmlv_stripesiz_fmt {StripeSize} -message lvmlv_zero_fmt {Zerar o primeiro KB} -message lvmlv_name_ask {Nome?} -message lvmlv_size_ask {Tamanho (MB)?} -message lvmlv_extnum_ask {LogicalExtentsNumber?} -message lvmlv_minor_ask {Número minor?} -message lvmlv_mirrors_ask {Espelhos?} -message lvmlv_regsiz_ask {MirrorLogRegionSize?} -message lvmlv_readahsect_ask {ReadAheadSectors?} -message lvmlv_stripes_ask {Stripes?} - -message notsupported {Operação não suportada!} -message edit_parts {Editar partições} -message switch_parts {Trocar esquema de particionamento} -message fmtasraid {Formatar como RAID} -message fmtaslvm {Formatar como LVM PV} -message encrypt {Criptografar (CGD)} -message erase {Apagar com segurança} -message undo {Desfazer alterações} -message unconfig {Desconfigurar} -message edit {Editar} -message doumount {Forçar desmontagem} diff --git a/overlay/usr.sbin/sysinst/msg_cmp.sh b/overlay/usr.sbin/sysinst/msg_cmp.sh deleted file mode 100644 index 3bcc7d6e13..0000000000 --- a/overlay/usr.sbin/sysinst/msg_cmp.sh +++ /dev/null @@ -1,100 +0,0 @@ -#! /bin/sh -# $NetBSD: msg_cmp.sh,v 1.2 2019/06/11 15:31:19 martin Exp $ - -#- -# Copyright (c) 2019 The NetBSD Foundation, Inc. -# All rights reserved. -# -# This code is derived from software contributed to The NetBSD Foundation. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS -# ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED -# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS -# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. -# - - -# Compare two (binary) sysinst msg files and report identical messages. -# Used to find untranslated strings. - -usage() -{ - echo "usage: msg_cmp.sh msg_defs.h file1 file2" >&2 - exit 1 -} - -[ "$#" = 3 ] || usage - -msg_defs=$1 -msg_long="((msg)(long)" -close_paren=")" - -TMP1=/tmp/mct1.$$ -TMP2=/tmp/mct2.$$ -inp1=$2 -inp2=$3 - -# Read header file and set up map of message names to numbers - -exec <$msg_defs || exit 2 - -while read define MSG_name number rest -do - [ -z "$number" -o -n "$rest" ] && continue - [ "$define" = "#define" ] || continue - name="${MSG_name#MSG_}" - [ "$name" = "${MSG_name}" ] && continue - msg_number="${number#$msg_long}" - [ "$msg_number" = "$number" ] && continue - msg_number="${msg_number%$close_paren}" - - varname=MSGNAME_$msg_number - eval $varname=$name -done - -# Make the sysinst binary message files usable with text tools -set -- $(tr '\000' '\n' < $inp1); off1=$(( $(( $2 + 2 )) \* 8 )) -set -- $(tr '\000' '\n' < $inp2); off2=$(( $(( $2 + 2 )) \* 8 )) -dd bs=1 skip=$off1 if=$inp1 2>/dev/null | tr '\n' '~' | tr '\000' '\n' > $TMP1 -dd bs=1 skip=$off2 if=$inp2 2>/dev/null | tr '\n' '~' | tr '\000' '\n' > $TMP2 - -# Open both input files -exec 3< $TMP1 -exec 4< $TMP2 - -# Compare lines -IFS='' -NUM=0 -HDR="Messages identical to the English version:" - -while - read -r l1 <&3 && read -r l2 <&4 -do - NUM=$(( $NUM + 1 )) - if [ "$l1" != "$l2" ]; then - continue - fi - [ -z "$hdr_done" ] && hdr_done=1 && printf "%s\n" $HDR - varname=MSGNAME_$NUM - eval $( printf "msg=$%s" $varname ) - printf "%s (%d):\t%s\n" $msg $NUM $l1 -done - -rm $TMP1 $TMP2 - diff --git a/overlay/usr.sbin/sysinst/msg_xlat.sh b/overlay/usr.sbin/sysinst/msg_xlat.sh deleted file mode 100755 index 3e8624d9b0..0000000000 --- a/overlay/usr.sbin/sysinst/msg_xlat.sh +++ /dev/null @@ -1,216 +0,0 @@ -#! /bin/sh -# $NetBSD: msg_xlat.sh,v 1.6 2021/10/11 18:46:34 rillig Exp $ - -#- -# Copyright (c) 2003 The NetBSD Foundation, Inc. -# All rights reserved. -# -# This code is derived from software contributed to The NetBSD Foundation -# by David Laight. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS -# ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED -# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS -# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. -# - -PROG=$(basename "$0") -usage() -{ - echo "Usage: $PROG [-ci] [-d msg_defs.h] [-f fmt_count]" >&2 - exit 1 -} - -error() -{ - echo "$PROG: ERROR $@" >&2 -} - -IGNORE_MISSING_TRANSLATIONS=false -count_fmtargs=false -msg_defs=msg_defs.h - -while getopts cd:f:i f -do - case "$f" in - c) count_fmtargs=true;; - d) msg_defs=$OPTARG;; - f) fmt_count=$OPTARG;; - i) IGNORE_MISSING_TRANSLATIONS=true;; - *) usage;; - esac -done -shift $(($OPTIND - 1)) -if [ "$#" -ne 0 ]; then usage; fi - -nl=' -' -msg_long='((msg)(long)' -close_paren=')' -open_brace='{' -close_brace='}' -slash=/ - -rval=0 - -# save stdin while we read the other files -exec 3<&0 - -# Read existing list of format arg counts -if [ -n "$fmt_count" ]; then - exec <$fmt_count || exit 2 - while read name count - do - eval count_$name=\$count - done -fi - -# Read header file and set up map of message names to numbers - -exec <$msg_defs || exit 2 - -while read define MSG_name number rest -do - if [ -z "$number" ] || [ -n "$rest" ]; then continue; fi - if [ "$define" != "#define" ]; then continue; fi - - name="${MSG_name#MSG_}" - if [ "$name" = "${MSG_name}" ]; then continue; fi - - msg_number="${number#$msg_long}" - if [ "$msg_number" = "$number" ]; then continue; fi - msg_number="${msg_number%$close_paren}" - - eval $MSG_name=$msg_number - eval MSGNUM_$msg_number=\$MSG_name - # eval echo \$$MSG_name \$MSGNUM_$msg_number -done - -last_msg_number="$msg_number" - -# Read message definition file and set up map of numbers to strings - -exec <&3 3<&- - -name= -msg= -while - IFS= - read -r line -do - if [ -z "$name" ]; then - IFS=" " - set -- $line - if [ "$1" != message ]; then continue; fi - name="$2" - eval number=\$MSG_$name - if [ -z "$number" ]; then - error "unknown message \"$name\"" - $IGNORE_MISSING_TRANSLATIONS || rval=1 - number=unknown - fi - l=${line#*$open_brace} - if [ "$l" = "$line" ]; then continue; fi - line="{$l" - fi - if [ -z "$msg" ]; then - l=${line#$open_brace} - if [ "$l" = "$line" ]; then continue; fi - msg="$line" - else - msg="$msg$nl$line" - fi - m=${msg%$close_brace} - if [ "$m" = "$msg" ]; then - # Allow */* comment */ (eg XXX translate) - m=${msg%%$close_brace*$slash[*]*[*]$slash} - if [ "$m" = "$msg" ]; then continue; fi - fi - # We need the %b to expand the \n that exist in the message file - msg=$(printf %bz "${m#$open_brace}") - msg=${msg%z} - eval old=\"\$MSGTEXT_$number\" - if [ -n "$old" ] && [ "$number" != unknown ]; then - error "Two translations for message \"$name\"" - $IGNORE_MISSING_TRANSLATIONS || rval=1 - fi - eval MSGTEXT_$number=\"\${msg}\" - # echo $number $msg - sv_name="$name" - sv_msg="$msg" - name= - msg= - if ! $count_fmtargs && [ -z "$fmt_count" ]; then continue; fi - - IFS=% - set -- $sv_msg - - # For our purposes, empty messages are the same as words without % - if [ $# -eq 0 ]; then set -- x; fi - - if $count_fmtargs; then - echo $number $# - continue - fi - eval count=\${count_$number:-unknown} - if [ "$count" -ne $# ]; then - error "Wrong number of format specifiers in \"$sv_name\", got $#, expected $count" - $IGNORE_MISSING_TRANSLATIONS || rval=1 - fi -done -unset IFS - -if $count_fmtargs; then exit $rval; fi - -# Output the total number of messages and the offset of each in the file. -# Use ascii numbers because generating target-ordered binary numbers -# is just a smidgen tricky in the shell. - -offset=$(( 8 + $last_msg_number * 8 + 8 )) -printf 'MSGTXTS\0%-7d\0' $last_msg_number - -msgnum=0 -while - msgnum=$(( $msgnum + 1 )) - [ "$msgnum" -le "$last_msg_number" ] -do - eval msg=\${MSGTEXT_$msgnum} - if [ -z "$msg" ]; then - eval error "No translation for message \$MSGNUM_$msgnum" - printf '%-7d\0' 0 - $IGNORE_MISSING_TRANSLATIONS || rval=1 - continue - fi - printf '%-7d\0' $offset - offset=$(( $offset + ${#msg} + 1 )) -done - -# Finally output and null terminate the messages. - -msgnum=0 -while - msgnum=$(( $msgnum + 1 )) - [ "$msgnum" -le "$last_msg_number" ] -do - eval msg=\${MSGTEXT_$msgnum} - if [ -z "$msg" ]; then continue; fi - printf '%s\0' "$msg" -done - -exit $rval diff --git a/overlay/usr.sbin/sysinst/net.c b/overlay/usr.sbin/sysinst/net.c deleted file mode 100644 index f40f389918..0000000000 --- a/overlay/usr.sbin/sysinst/net.c +++ /dev/null @@ -1,1349 +0,0 @@ -/* $NetBSD: net.c,v 1.48 2026/06/26 19:03:49 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* net.c -- routines to fetch files off the network. */ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#ifdef INET6 -#include -#endif - -#include -#include -#include -#include -#include -#include -#include - -#include "defs.h" -#include "md.h" -#include "msg_defs.h" -#include "menu_defs.h" -#include "txtwalk.h" - -int network_up = 0; -/* Access to network information */ -#define MAX_NETS 15 -struct net_desc { - char if_dev[STRSIZE]; - char name[STRSIZE]; // TODO -}; - -static char net_dev[STRSIZE]; -static char net_domain[STRSIZE]; -static char net_host[STRSIZE]; -static char net_ip[SSTRSIZE]; -static char net_srv_ip[SSTRSIZE]; -static char net_mask[SSTRSIZE]; -char net_namesvr[STRSIZE]; -static char net_defroute[STRSIZE]; -static char net_media[STRSIZE]; -static char net_ssid[STRSIZE]; -static char net_passphrase[STRSIZE]; -static char sl_flags[STRSIZE]; -static int net_dhcpconf; -#define DHCPCONF_IPADDR 0x01 -#define DHCPCONF_NAMESVR 0x02 -#define DHCPCONF_HOST 0x04 -#define DHCPCONF_DOMAIN 0x08 -#ifdef INET6 -static char net_ip6[STRSIZE]; -#define IP6CONF_AUTOHOST 0x01 -#endif - - -/* URL encode unsafe characters. */ - -static char *url_encode (char *dst, const char *src, const char *ep, - const char *safe_chars, - int encode_leading_slash); - -static void write_etc_hosts(FILE *f); - -#define DHCPCD "/sbin/dhcpcd" -#define WPA_SUPPLICANT "/usr/sbin/wpa_supplicant" -#include -static int config_eth_medium(char *); -static int config_dhcp(char *); -static int config_wlan(char *); - -#ifdef INET6 -static int is_v6kernel (void); -#endif - -/* - * URL encode unsafe characters. See RFC 1738. - * - * Copies src string to dst, encoding unsafe or reserved characters - * in %hex form as it goes, and returning a pointer to the result. - * The result is always a nul-terminated string even if it had to be - * truncated to avoid overflowing the available space. - * - * This url_encode() function does not operate on complete URLs, it - * operates on strings that make up parts of URLs. For example, in a - * URL like "ftp://username:password@host/path", the username, password, - * host and path should each be encoded separately before they are - * joined together with the punctuation characters. - * - * In most ordinary use, the path portion of a URL does not start with - * a slash; the slash is a separator between the host portion and the - * path portion, and is dealt with by software outside the url_encode() - * function. However, it is valid for url_encode() to be passed a - * string that does begin with a slash. For example, the string might - * represent a password, or a path part of a URL that the user really - * does want to begin with a slash. - * - * len is the length of the destination buffer. The result will be - * truncated if necessary to fit in the destination buffer. - * - * safe_chars is a string of characters that should not be encoded. If - * safe_chars is non-NULL, any characters in safe_chars as well as any - * alphanumeric characters will be copied from src to dst without - * encoding. Some potentially useful settings for this parameter are: - * - * NULL Everything is encoded (even alphanumerics) - * "" Everything except alphanumerics are encoded - * "/" Alphanumerics and '/' remain unencoded - * "$-_.+!*'()," Consistent with a strict reading of RFC 1738 - * "$-_.+!*'(),/" As above, except '/' is not encoded - * "-_.+!,/" As above, except shell special characters are encoded - * - * encode_leading_slash is a flag that determines whether or not to - * encode a leading slash in a string. If this flag is set, and if the - * first character in the src string is '/', then the leading slash will - * be encoded (as "%2F"), even if '/' is one of the characters in the - * safe_chars string. Note that only the first character of the src - * string is affected by this flag, and that leading slashes are never - * deleted, but either retained unchanged or encoded. - * - * Unsafe and reserved characters are defined in RFC 1738 section 2.2. - * The most important parts are: - * - * The characters ";", "/", "?", ":", "@", "=" and "&" are the - * characters which may be reserved for special meaning within a - * scheme. No other characters may be reserved within a scheme. - * [...] - * - * Thus, only alphanumerics, the special characters "$-_.+!*'(),", - * and reserved characters used for their reserved purposes may be - * used unencoded within a URL. - * - */ - -#define RFC1738_SAFE "$-_.+!*'()," -#define RFC1738_SAFE_LESS_SHELL "-_.+!," -#define RFC1738_SAFE_LESS_SHELL_PLUS_SLASH "-_.+!,/" - -static char * -url_encode(char *dst, const char *src, const char *ep, - const char *safe_chars, int encode_leading_slash) -{ - int ch; - - ep--; - - for (; dst < ep; src++) { - ch = *src & 0xff; - if (ch == 0) - break; - if (safe_chars != NULL && - (ch != '/' || !encode_leading_slash) && - (isalnum(ch) || strchr(safe_chars, ch))) { - *dst++ = ch; - } else { - /* encode this char */ - if (ep - dst < 3) - break; - snprintf(dst, ep - dst, "%%%02X", ch); - dst += 3; - } - encode_leading_slash = 0; - } - *dst = '\0'; - return dst; -} - -static const char *ignored_if_names[] = { - "gre", /* net */ - "ipip", /* netinet */ - "gif", /* netinet6 */ - "faith", /* netinet6 */ - "lo", /* net */ - "lo0", /* net */ -#if 0 - "mdecap", /* netinet -- never in IF list (?) XXX */ -#endif - "ppp", /* net */ -#if 0 - "sl", /* net */ -#endif - "strip", /* net */ - "tun", /* net */ - /* XXX others? */ - NULL, -}; - -static bool -have_working_ipv4(void) -{ - uint64_t ipstats[IP_NSTATS]; - size_t size = sizeof(ipstats); - - /* At least some packets delivered to upper layers? */ - if (sysctlbyname("net.inet.ip.stats", ipstats, &size, NULL, 0) == -1) - return false; - if (ipstats[IP_STAT_DELIVERED] < 10) /* arbitrary threshold */ - return false; - - /* do we have a default route? */ - if (run_program(RUN_SILENT|RUN_ERROR_OK, - "/sbin/route get -inet default") != 0) - return false; - - return true; -} - -#ifdef INET6 -static bool -have_working_ipv6(void) -{ - uint64_t ipstats[IP6_NSTATS]; - size_t size = sizeof(ipstats); - - /* At least some packets delivered to upper layers? */ - if (sysctlbyname("net.inet6.ip6.stats", ipstats, &size, NULL, 0) == -1) - return false; - if (ipstats[IP6_STAT_DELIVERED] < 10) /* arbitrary threshold */ - return false; - - /* do we have a default route? */ - if (run_program(RUN_SILENT|RUN_ERROR_OK, - "/sbin/route get -inet6 default") != 0) - return false; - - return true; -} -#else -#define have_working_ipv6() false -#endif - -static int -get_ifconfig_info(struct net_desc *devs) -{ - char *buf_in; - char *buf_tmp; - const char **ignore; - char *buf; - char *tmp; - int textsize; - int i; - - /* Get ifconfig information */ - textsize = collect(T_OUTPUT, &buf_in, "/sbin/ifconfig -l 2>/dev/null"); - if (textsize < 0) { - if (logfp) - (void)fprintf(logfp, - "Aborting: Could not run ifconfig.\n"); - (void)fprintf(stderr, "Could not run ifconfig."); - exit(1); - } - - buf = malloc (STRSIZE * sizeof(char)); - for (i = 0, buf_tmp = buf_in; i < MAX_NETS && strlen(buf_tmp) > 0 - && buf_tmp < buf_in + strlen(buf_in);) { - tmp = stpncpy(buf, buf_tmp, strcspn(buf_tmp," \n")); - *tmp='\0'; - buf_tmp += (strcspn(buf_tmp, " \n") + 1) * sizeof(char); - - /* Skip ignored interfaces */ - for (ignore = ignored_if_names; *ignore != NULL; ignore++) { - size_t len = strlen(*ignore); - if (strncmp(buf, *ignore, len) == 0 && - isdigit((unsigned char)buf[len])) - break; - } - if (*ignore != NULL) - continue; - - strlcpy (devs[i].if_dev, buf, STRSIZE); - i++; - } - if (i < MAX_NETS) - devs[i].if_dev[0] = 0; /* XXX ? */ - - free(buf); - free(buf_in); - return i; -} - -static int -do_ifreq(struct ifreq *ifr, unsigned long cmd, void *data) -{ - int sock; - int rval; - - sock = socket(PF_INET, SOCK_DGRAM, 0); - if (sock == -1) - return -1; - - memset(ifr, 0, sizeof *ifr); - ifr->ifr_data = data; - strlcpy(ifr->ifr_name, net_dev, sizeof ifr->ifr_name); - rval = ioctl(sock, cmd, ifr); - close(sock); - - return rval; -} - -static int -do_ifmreq(struct ifmediareq *ifmr, unsigned long cmd) -{ - int sock; - int rval; - - sock = socket(PF_INET, SOCK_DGRAM, 0); - if (sock == -1) - return -1; - - memset(ifmr, 0, sizeof *ifmr); - strlcpy(ifmr->ifm_name, net_dev, sizeof ifmr->ifm_name); - rval = ioctl(sock, cmd, ifmr); - close(sock); - - return rval; -} - -/* Fill in defaults network values for the selected interface */ -static void -get_ifinterface_info(void) -{ - struct ifreq ifr; - struct ifmediareq ifmr; - struct sockaddr_in *sa_in = (void*)&ifr.ifr_addr; - int modew; - const char *media_opt; - const char *sep; - - if (do_ifreq(&ifr, SIOCGIFADDR, NULL) == 0 && - sa_in->sin_addr.s_addr != 0) - strlcpy(net_ip, inet_ntoa(sa_in->sin_addr), sizeof net_ip); - - if (do_ifreq(&ifr, SIOCGIFNETMASK, NULL) == 0 && - sa_in->sin_addr.s_addr != 0) - strlcpy(net_mask, inet_ntoa(sa_in->sin_addr), sizeof net_mask); - - if (do_ifmreq(&ifmr, SIOCGIFMEDIA) == 0) { - /* Get the name of the media word */ - modew = ifmr.ifm_current; - strlcpy(net_media, get_media_subtype_string(modew), - sizeof net_media); - /* and add any media options */ - sep = " mediaopt "; - while ((media_opt = get_media_option_string(&modew)) != NULL) { - strlcat(net_media, sep, sizeof net_media); - strlcat(net_media, media_opt, sizeof net_media); - sep = ","; - } - } -} - -#ifndef INET6 -#define get_if6interface_info() -#else -static void -get_if6interface_info(void) -{ - char *textbuf, *t; - int textsize; - - textsize = collect(T_OUTPUT, &textbuf, - "/sbin/ifconfig %s inet6 2>/dev/null", net_dev); - if (textsize >= 0) { - char *p; - - (void)strtok(textbuf, "\n"); /* ignore first line */ - while ((t = strtok(NULL, "\n")) != NULL) { - if (strncmp(t, "\tinet6 ", 7) != 0) - continue; - t += 7; - if (strstr(t, "tentative") || strstr(t, "duplicated")) - continue; - if (strncmp(t, "fe80:", 5) == 0) - continue; - - p = t; - while (*p && *p != ' ' && *p != '\n') - p++; - *p = '\0'; - strlcpy(net_ip6, t, sizeof(net_ip6)); - break; - } - } - free(textbuf); -} -#endif - -static void -get_host_info(void) -{ - char hostname[MAXHOSTNAMELEN + 1]; - char *dot; - - /* Check host (and domain?) name */ - if (gethostname(hostname, sizeof(hostname)) == 0 && hostname[0] != 0) { - hostname[sizeof(hostname) - 1] = 0; - /* check for a . */ - dot = strchr(hostname, '.'); - if (dot == NULL) { - /* if not found its just a host, punt on domain */ - strlcpy(net_host, hostname, sizeof net_host); - } else { - /* split hostname into host/domain parts */ - *dot++ = 0; - strlcpy(net_host, hostname, sizeof net_host); - strlcpy(net_domain, dot, sizeof net_domain); - } - } -} - -/* - * recombine name parts split in get_host_info and config_network - * (common code moved here from write_etc_hosts) - */ -static char * -recombine_host_domain(void) -{ - static char recombined[MAXHOSTNAMELEN + 1]; - int l = strlen(net_host) - strlen(net_domain); - - strlcpy(recombined, net_host, sizeof(recombined)); - - if (strlen(net_domain) != 0 && (l <= 0 || - net_host[l - 1] != '.' || - strcasecmp(net_domain, net_host + l) != 0)) { - /* net_host isn't an FQDN. */ - strlcat(recombined, ".", sizeof(recombined)); - strlcat(recombined, net_domain, sizeof(recombined)); - } - return recombined; -} - -#ifdef INET6 -static int -is_v6kernel(void) -{ - int s; - - s = socket(PF_INET6, SOCK_DGRAM, 0); - if (s < 0) - return 0; - close(s); - return 1; -} -#endif - -static int -handle_license(const char *dev) -{ - static struct { - const char *dev; - const char *lic; - } licdev[] = { - { "iwi", "/libdata/firmware/if_iwi/LICENSE.ipw2200-fw" }, - { "ipw", "/libdata/firmware/if_ipw/LICENSE" }, - }; - - size_t i; - - for (i = 0; i < __arraycount(licdev); i++) - if (strncmp(dev, licdev[i].dev, 3) == 0) { - char buf[64]; - int val; - size_t len = sizeof(int); - (void)snprintf(buf, sizeof(buf), "hw.%s.accept_eula", - licdev[i].dev); - if (sysctlbyname(buf, &val, &len, NULL, 0) != -1 - && val != 0) - return 1; - msg_fmt_display(MSG_license, "%s%s", - dev, licdev[i].lic); - if (ask_yesno(NULL)) { - val = 1; - if (sysctlbyname(buf, NULL, NULL, &val, - 0) == -1) - return 0; - add_sysctl_conf("%s=1", buf); - return 1; - } else - return 0; - } - return 1; -} - -/* - * Get the information to configure the network, configure it and - * make sure both the gateway and the name server are up. - */ -int -config_network(int force) -{ - char *textbuf; - int octet0; - int dhcp_config; - int nfs_root = 0; - int slip = 0; - int pid, status; - char **ap, *slcmd[10], *in_buf; - char buffer[STRSIZE]; - char hostname[MAXHOSTNAMELEN + 1]; - struct statvfs sb; - struct net_desc net_devs[MAX_NETS]; - menu_ent *net_menu; - int menu_no; - int num_devs; - int selected_net; - int i; -#ifdef INET6 - int v6config = 1, rv; -#endif - - FILE *f; - time_t now; - - if (network_up) - return (1); - - num_devs = get_ifconfig_info(net_devs); - - if (num_devs < 1) { - /* No network interfaces found! */ - hit_enter_to_continue(NULL, MSG_nonet); - return -1; - } - - if (!force && (have_working_ipv4() || have_working_ipv6())) { - if (ask_yesno(MSG_network_ok)) { - network_up = 1; - return 1; - } - } - - net_menu = calloc(num_devs, sizeof(*net_menu)); - if (net_menu == NULL) { - err_msg_win(err_outofmem); - return -1; - } - - for (i = 0; i < num_devs; i++) { - net_menu[i].opt_name = net_devs[i].if_dev; - net_menu[i].opt_flags = OPT_EXIT; - net_menu[i].opt_action = set_menu_select; - } - - menu_no = new_menu(MSG_netdevs, - net_menu, num_devs, -1, 4, 0, 0, - MC_SCROLL, - NULL, NULL, NULL, NULL, MSG_cancel); -again: - selected_net = -1; - msg_display(MSG_asknetdev); - process_menu(menu_no, &selected_net); - msg_clear(); - - if (selected_net == -1) { - free_menu(menu_no); - free(net_menu); - return 0; - } - - network_up = 1; - dhcp_config = 0; - - strlcpy(net_dev, net_devs[selected_net].if_dev, sizeof net_dev); - - if (!handle_license(net_dev)) - goto done; - - slip = net_dev[0] == 's' && net_dev[1] == 'l' && - isdigit((unsigned char)net_dev[2]); - - /* If root is on NFS do not reconfigure the interface. */ - if (statvfs("/", &sb) == 0 && strcmp(sb.f_fstypename, "nfs") == 0) { - nfs_root = 1; - get_ifinterface_info(); - get_if6interface_info(); - get_host_info(); - } else if (!slip) { - /* Preload any defaults we can find */ - get_ifinterface_info(); - get_if6interface_info(); - get_host_info(); - - /* domain and host */ - msg_display(MSG_netinfo); - - if (!config_wlan(net_dev)) { - config_eth_medium(net_dev); - } - - net_dhcpconf = 0; - /* try a dhcp configuration */ - dhcp_config = config_dhcp(net_dev); - if (dhcp_config) { - char *nline; - - /* Get newly configured data off interface. */ - get_ifinterface_info(); - get_if6interface_info(); - get_host_info(); - - net_dhcpconf |= DHCPCONF_IPADDR; - - /* - * Extract default route from output of - * 'route -n show' - */ - if (collect(T_OUTPUT, &textbuf, - "/sbin/route -n show | " - "while read dest gateway flags;" - " do [ \"$dest\" = default ] && {" - " echo \"$gateway\"; break; };" - " done" ) > 0) - strlcpy(net_defroute, textbuf, - sizeof net_defroute); - free(textbuf); - if ((nline = strchr(net_defroute, '\n'))) - *nline = '\0'; - - /* pull nameserver info out of /etc/resolv.conf */ - if (collect(T_OUTPUT, &textbuf, - "cat /etc/resolv.conf 2>/dev/null |" - " while read keyword address rest;" - " do [ \"$keyword\" = nameserver ] &&" - " { echo \"$address\"; break; };" - " done" ) > 0) - strlcpy(net_namesvr, textbuf, - sizeof net_namesvr); - free(textbuf); - if ((nline = strchr(net_namesvr, '\n'))) - *nline = '\0'; - if (net_namesvr[0] != '\0') - net_dhcpconf |= DHCPCONF_NAMESVR; - - /* pull domain info out of /etc/resolv.conf */ - if (collect(T_OUTPUT, &textbuf, - "cat /etc/resolv.conf 2>/dev/null |" - " while read keyword domain rest;" - " do [ \"$keyword\" = domain ] &&" - " { echo \"$domain\"; break; };" - " done" ) > 0) - strlcpy(net_domain, textbuf, - sizeof net_domain); - free(textbuf); - if (net_domain[0] == '\0') { - /* pull domain info out of /etc/resolv.conf */ - if (collect(T_OUTPUT, &textbuf, - "cat /etc/resolv.conf 2>/dev/null |" - " while read keyword search rest;" - " do [ \"$keyword\" = search ] &&" - " { echo \"$search\"; break; };" - " done" ) > 0) - strlcpy(net_domain, textbuf, - sizeof net_domain); - free(textbuf); - } - if ((nline = strchr(net_domain, '\n'))) - *nline = '\0'; - if (net_domain[0] != '\0') - net_dhcpconf |= DHCPCONF_DOMAIN; - - if (gethostname(net_host, sizeof(net_host)) == 0 && - net_host[0] != 0) - net_dhcpconf |= DHCPCONF_HOST; - } - } - - /* - * Prompt for hostname and domain, even when using DHCP. The names - * discovered on the network may not match the desired values - * for the target system. - */ - strlcpy(hostname, recombine_host_domain(), MAXHOSTNAMELEN); - msg_prompt_add(MSG_net_host, net_host, net_host, - sizeof net_host); - msg_prompt_add(MSG_net_domain, net_domain, net_domain, - sizeof net_domain); - if (strcmp(hostname, recombine_host_domain()) != 0) { - net_dhcpconf &= ~(DHCPCONF_DOMAIN|DHCPCONF_HOST); - } - - if (!dhcp_config) { - /* Manually configure IPv4 */ - if (!nfs_root) - msg_prompt_add(MSG_net_ip, net_ip, net_ip, - sizeof net_ip); - if (slip) - msg_prompt_add(MSG_net_srv_ip, net_srv_ip, net_srv_ip, - sizeof net_srv_ip); - else if (!nfs_root) { - /* We don't want netmasks for SLIP */ - octet0 = atoi(net_ip); - if (!net_mask[0]) { - if (0 <= octet0 && octet0 <= 127) - strlcpy(net_mask, "0xff000000", - sizeof(net_mask)); - else if (128 <= octet0 && octet0 <= 191) - strlcpy(net_mask, "0xffff0000", - sizeof(net_mask)); - else if (192 <= octet0 && octet0 <= 223) - strlcpy(net_mask, "0xffffff00", - sizeof(net_mask)); - } - msg_prompt_add(MSG_net_mask, net_mask, net_mask, - sizeof net_mask); - } - msg_prompt_add(MSG_net_defroute, net_defroute, net_defroute, - sizeof net_defroute); - } - - if (!(net_dhcpconf & DHCPCONF_NAMESVR)) { -#ifdef INET6 - if (v6config) { - rv = 0; - process_menu(MENU_namesrv6, &rv); - if (!rv) - msg_prompt_add(MSG_net_namesrv, net_namesvr, - net_namesvr, sizeof net_namesvr); - } else -#endif - msg_prompt_add(MSG_net_namesrv, net_namesvr, net_namesvr, - sizeof net_namesvr); - } - - /* confirm the setting */ - msg_clear(); - if (slip) - msg_fmt_table_add(MSG_netok_slip, "%s%s%s%s%s%s%s%s%s", - net_domain, - net_host, - *net_namesvr == '\0' ? "" : net_namesvr, - net_dev, - *net_media == '\0' ? "" : net_media, - *net_ip == '\0' ? "" : net_ip, - *net_srv_ip == '\0' ? "" : net_srv_ip, - *net_mask == '\0' ? "" : net_mask, - *net_defroute == '\0' ? "" : net_defroute); - else - msg_fmt_table_add(MSG_netok, "%s%s%s%s%s%s%s%s", - net_domain, - net_host, - *net_namesvr == '\0' ? "" : net_namesvr, - net_dev, - *net_media == '\0' ? "" : net_media, - *net_ip == '\0' ? "" : net_ip, - *net_mask == '\0' ? "" : net_mask, - *net_defroute == '\0' ? "" : net_defroute); -#ifdef INET6 - msg_fmt_table_add(MSG_netokv6, "%s", - !is_v6kernel() ? "" : net_ip6); -#endif -done: - if (!ask_yesno(MSG_netok_ok)) - goto again; - - free_menu(menu_no); - free(net_menu); - - run_program(0, "/sbin/ifconfig lo0 127.0.0.1"); - - /* dhcpcd will have configured it all for us */ - if (dhcp_config) { - fflush(NULL); - network_up = 1; - return network_up; - } - - /* - * we may want to perform checks against inconsistent configuration, - * like IPv4 DNS server without IPv4 configuration. - */ - - /* Create /etc/resolv.conf if a nameserver was given */ - if (net_namesvr[0] != '\0') { - f = fopen("/etc/resolv.conf", "w"); - if (f == NULL) { - if (logfp) - (void)fprintf(logfp, - "%s", msg_string(MSG_resolv)); - (void)fprintf(stderr, "%s", msg_string(MSG_resolv)); - exit(1); - } - scripting_fprintf(NULL, "cat </etc/resolv.conf\n"); - time(&now); - scripting_fprintf(f, ";\n; BIND data file\n; %s %s;\n", - "Created by NetBSD sysinst on", safectime(&now)); - if (net_domain[0] != '\0') - scripting_fprintf(f, "search %s\n", net_domain); - if (net_namesvr[0] != '\0') - scripting_fprintf(f, "nameserver %s\n", net_namesvr); - scripting_fprintf(NULL, "EOF\n"); - fflush(NULL); - fclose(f); - } - - if (net_ip[0] != '\0') { - if (slip) { - /* XXX: needs 'ifconfig sl0 create' much earlier */ - /* Set SLIP interface UP */ - run_program(0, "/sbin/ifconfig %s inet %s %s up", - net_dev, net_ip, net_srv_ip); - strcpy(sl_flags, "-s 115200 -l /dev/tty00"); - msg_prompt_win(MSG_slattach, -1, 12, 70, 0, - sl_flags, sl_flags, sizeof sl_flags); - - /* XXX: wtf isn't run_program() used here? */ - pid = fork(); - if (pid == 0) { - strcpy(buffer, "/sbin/slattach "); - strcat(buffer, sl_flags); - in_buf = buffer; - - for (ap = slcmd; (*ap = strsep(&in_buf, " ")) != NULL;) - if (**ap != '\0') - ++ap; - - execvp(slcmd[0], slcmd); - } else - wait4(pid, &status, WNOHANG, 0); - } else if (!nfs_root) { - if (net_mask[0] != '\0') { - run_program(0, "/sbin/ifconfig %s inet %s netmask %s", - net_dev, net_ip, net_mask); - } else { - run_program(0, "/sbin/ifconfig %s inet %s", - net_dev, net_ip); - } - } - } - - /* Set host name */ - if (net_host[0] != '\0') - sethostname(net_host, strlen(net_host)); - - /* Set a default route if one was given */ - if (!nfs_root && net_defroute[0] != '\0') { - run_program(RUN_DISPLAY | RUN_PROGRESS, - "/sbin/route -n flush -inet"); - run_program(RUN_DISPLAY | RUN_PROGRESS, - "/sbin/route -n add default %s", net_defroute); - } - - /* - * wait for addresses to become valid - */ - if (!nfs_root) { - msg_display_add(MSG_wait_network); - network_up = !run_program(RUN_DISPLAY | RUN_PROGRESS, - "/sbin/ifconfig -w 15 -W 5"); - } else { - /* Assume network is up. */ - network_up = 1; - } - - fflush(NULL); - - return network_up; -} - -const char * -url_proto(unsigned int xfer) -{ - switch (xfer) { - case XFER_FTP: return "ftp"; - case XFER_HTTP: return "http"; - case XFER_HTTPS: return "https"; - } - - return ""; -} - -void -make_url(char *urlbuffer, struct ftpinfo *f, const char *dir) -{ - char ftp_user_encoded[STRSIZE]; - char ftp_dir_encoded[STRSIZE]; - char *cp; - const char *dir2; - - /* - * f->pass is quite likely to contain unsafe characters - * that need to be encoded in the URL (for example, - * "@", ":" and "/" need quoting). Let's be - * paranoid and also encode f->user and f->dir. (For - * example, f->dir could easily contain '~', which is - * unsafe by a strict reading of RFC 1738). - */ - if (strcmp("ftp", f->user) == 0 && f->pass[0] == 0) { - ftp_user_encoded[0] = 0; - } else { - cp = url_encode(ftp_user_encoded, f->user, - ftp_user_encoded + sizeof ftp_user_encoded - 1, - RFC1738_SAFE_LESS_SHELL, 0); - *cp++ = ':'; - cp = url_encode(cp, f->pass, - ftp_user_encoded + sizeof ftp_user_encoded - 1, - NULL, 0); - *cp++ = '@'; - *cp = 0; - } - cp = url_encode(ftp_dir_encoded, f->dir, - ftp_dir_encoded + sizeof ftp_dir_encoded - 1, - RFC1738_SAFE_LESS_SHELL_PLUS_SLASH, 1); - if (cp != ftp_dir_encoded && cp[-1] != '/') - *cp++ = '/'; - - dir2 = dir; - while (*dir2 == '/') - ++dir2; - - url_encode(cp, dir2, - ftp_dir_encoded + sizeof ftp_dir_encoded, - RFC1738_SAFE_LESS_SHELL_PLUS_SLASH, 0); - - snprintf(urlbuffer, STRSIZE, "%s://%s%s/%s", url_proto(f->xfer), - ftp_user_encoded, f->xfer_host[XFER_HOST(f->xfer)], - ftp_dir_encoded); -} - - -/* ftp_fetch() and pkgsrc_fetch() are essentially the same, with a different - * ftpinfo var and pkgsrc always using .tgz suffix, while for - * regular sets we only use .tgz for source sets on some architectures. */ -static int do_ftp_fetch(const char *, bool, struct ftpinfo *, bool); - -static int -ftp_fetch(const char *set_name) -{ - return do_ftp_fetch(set_name, use_tgz_for_set(set_name), &ftp, false); -} - -static int -pkgsrc_fetch(const char *set_name) -{ - return do_ftp_fetch(set_name, true, &pkgsrc, true); -} - -static int -do_ftp_fetch(const char *set_name, bool force_tgz, struct ftpinfo *f, bool in_chroot) -{ - const char *ftp_opt; - char url[STRSIZE]; - int rval; - bool remove_target_resolv = false; - - /* - * Invoke ftp to fetch the file. - */ - if (strcmp("ftp", f->user) == 0 && f->pass[0] == 0) { - /* do anon ftp */ - ftp_opt = "-a "; - } else { - ftp_opt = ""; - } - - if (in_chroot) { - if (access(target_expand("/etc/resolv.conf"), R_OK) != 0) { - dup_file_into_target("/etc/resolv.conf"); - remove_target_resolv = true; - } - } - - make_url(url, f, set_dir_for_set(set_name)); - rval = run_program(RUN_DISPLAY | RUN_PROGRESS | RUN_XFER_DIR | (in_chroot?RUN_CHROOT:0), - "/usr/bin/ftp %s%s/%s%s", - ftp_opt, url, set_name, - force_tgz ? dist_tgz_postfix : dist_postfix); - - if (remove_target_resolv) - unlink(target_expand("/etc/resolv.conf")); - - return rval ? SET_RETRY : SET_OK; -} - - -// XXX: check MSG_netnotup_continueanyway and MSG_netnotup - -int -get_pkgsrc(void) -{ - int rv = -1; - - process_menu(MENU_pkgsrc, &rv); - - if (rv == SET_SKIP) - return SET_SKIP; - - fetch_fn = pkgsrc_fetch; - snprintf(ext_dir_pkgsrc, sizeof ext_dir_pkgsrc, "%s/%s", - target_prefix(), xfer_dir + (*xfer_dir == '/')); - - return SET_OK; -} - -int -get_via_ftp(unsigned int xfer) -{ - arg_rv arg; - - if (!network_up) - config_network(0); - - arg.rv = -1; - arg.arg = (void*)(uintptr_t)(xfer); - process_menu(MENU_ftpsource, &arg); - - if (arg.rv == SET_RETRY) - return SET_RETRY; - - /* We'll fetch each file just before installing it */ - fetch_fn = ftp_fetch; - ftp.xfer = xfer; - snprintf(ext_dir_bin, sizeof ext_dir_bin, "%s/%s", target_prefix(), - xfer_dir + (*xfer_dir == '/')); - snprintf(ext_dir_src, sizeof ext_dir_src, "%s/%s", target_prefix(), - xfer_dir + (*xfer_dir == '/')); - - return SET_OK; -} - -int -get_via_nfs(void) -{ - struct statvfs sb; - int rv; - - /* If root is on NFS and we have sets, skip this step. */ - if (statvfs(set_dir_bin, &sb) == 0 && - strcmp(sb.f_fstypename, "nfs") == 0) { - strlcpy(ext_dir_bin, set_dir_bin, sizeof ext_dir_bin); - strlcpy(ext_dir_src, set_dir_src, sizeof ext_dir_src); - return SET_OK; - } - - /* Get server and filepath */ - rv = -1; - process_menu(MENU_nfssource, &rv); - - if (rv == SET_RETRY) - return SET_RETRY; - - /* Mount it */ - if (run_program(0, "/sbin/mount -r -o -2,-i,-r=1024 -t nfs %s:%s /mnt2", - nfs_host, nfs_dir)) - return SET_RETRY; - - mnt2_mounted = 1; - - snprintf(ext_dir_bin, sizeof ext_dir_bin, "/mnt2/%s", set_dir_bin); - snprintf(ext_dir_src, sizeof ext_dir_src, "/mnt2/%s", set_dir_src); - - /* return location, don't clean... */ - return SET_OK; -} - -/* - * write the new contents of /etc/hosts to the specified file - */ -static void -write_etc_hosts(FILE *f) -{ - scripting_fprintf(f, "#\n"); - scripting_fprintf(f, "# Added by NetBSD sysinst\n"); - scripting_fprintf(f, "#\n"); - - if (net_domain[0] != '\0') - scripting_fprintf(f, "127.0.0.1 localhost.%s\n", net_domain); - - scripting_fprintf(f, "%s\t", net_ip); - if (net_domain[0] != '\0') - scripting_fprintf(f, "%s ", recombine_host_domain()); - scripting_fprintf(f, "%s\n", net_host); -} - -/* - * Write the network config info the user entered via menus into the - * config files in the target disk. Be careful not to lose any - * information we don't immediately add back, in case the install - * target is the currently-active root. - */ -void -mnt_net_config(void) -{ - char ifconfig_fn[STRSIZE]; - FILE *ifconf = NULL; - - if (!network_up) - return; - if (!ask_yesno(MSG_mntnetconfig)) - return; - - /* Write hostname to /etc/rc.conf */ - if ((net_dhcpconf & DHCPCONF_HOST) == 0) - if (del_rc_conf("hostname") == 0) - add_rc_conf("hostname=%s\n", recombine_host_domain()); - - /* Copy resolv.conf to target. If DHCP was used to create it, - * it will be replaced on next boot anyway. */ - if (net_namesvr[0] != '\0') - dup_file_into_target("/etc/resolv.conf"); - - /* Copy wpa_supplicant.conf to target. */ - if (net_ssid[0] != '\0') - dup_file_into_target("/etc/wpa_supplicant.conf"); - - /* - * bring the interface up, it will be necessary for IPv6, and - * it won't make trouble with IPv4 case either - */ - snprintf(ifconfig_fn, sizeof ifconfig_fn, "/etc/ifconfig.%s", net_dev); - ifconf = target_fopen(ifconfig_fn, "w"); - if (ifconf != NULL) { - scripting_fprintf(NULL, "cat <>%s%s\n", - target_prefix(), ifconfig_fn); - scripting_fprintf(ifconf, "up\n"); - if (*net_media != '\0') - scripting_fprintf(ifconf, "media %s\n", net_media); - scripting_fprintf(NULL, "EOF\n"); - } - - if ((net_dhcpconf & DHCPCONF_IPADDR) == 0) { - FILE *hosts; - - /* Write IPaddr and netmask to /etc/ifconfig.if[0-9] */ - if (ifconf != NULL) { - scripting_fprintf(NULL, "cat <>%s%s\n", - target_prefix(), ifconfig_fn); - if (*net_media != '\0') - scripting_fprintf(ifconf, - "%s netmask %s media %s\n", - net_ip, net_mask, net_media); - else - scripting_fprintf(ifconf, "%s netmask %s\n", - net_ip, net_mask); - scripting_fprintf(NULL, "EOF\n"); - } - - /* - * Add IPaddr/hostname to /etc/hosts. - * Be careful not to clobber any existing contents. - * Relies on ordered search of /etc/hosts. XXX YP? - */ - hosts = target_fopen("/etc/hosts", "a"); - if (hosts != 0) { - scripting_fprintf(NULL, "cat <>%s/etc/hosts\n", - target_prefix()); - write_etc_hosts(hosts); - (void)fclose(hosts); - scripting_fprintf(NULL, "EOF\n"); - } - - if (del_rc_conf("defaultroute") == 0) - add_rc_conf("defaultroute=\"%s\"\n", net_defroute); - } else { - /* - * Start dhcpcd quietly and in master mode, but restrict - * it to our interface - */ - add_rc_conf("dhcpcd=YES\n"); - add_rc_conf("dhcpcd_flags=\"-qM %s\"\n", net_dev); - } - - if (net_ssid[0] != '\0') { - add_rc_conf("wpa_supplicant=YES\n"); - add_rc_conf("wpa_supplicant_flags=\"-B -s -i %s -D bsd -c /etc/wpa_supplicant.conf\"\n", net_dev); - } - - if (ifconf) - fclose(ifconf); - - fflush(NULL); -} - -int -config_wlan(char *inter) -{ - FILE *wpa_conf = NULL; - char wpa_cmd[256]; - struct ifreq ifr = {0}; - struct ieee80211_nwid nwid = {0}; - - /* skip non-WLAN devices */ - if (do_ifreq(&ifr, SIOCG80211NWID, &nwid) == -1) - return 0; - - if (!file_mode_match(WPA_SUPPLICANT, S_IFREG)) - return 0; - - msg_prompt_add(MSG_net_ssid, net_ssid, net_ssid, - sizeof net_ssid); - if (net_ssid[0] == '\0') - return 0; - - msg_prompt_noecho(MSG_net_passphrase, net_passphrase, net_passphrase, - sizeof net_passphrase); - - wpa_conf = fopen("/etc/wpa_supplicant.conf", "a"); - if (wpa_conf == NULL) - return 0; - - scripting_fprintf(NULL, - "cat <>%s/etc/wpa_supplicant.conf\n", - target_prefix()); - scripting_fprintf(wpa_conf, "\n#\n"); - scripting_fprintf(wpa_conf, "# Added by NetBSD sysinst\n"); - scripting_fprintf(wpa_conf, "#\n"); - scripting_fprintf(wpa_conf, "network={\n"); - scripting_fprintf(wpa_conf, - "\tssid=\"%s\"\n", net_ssid); - if (net_passphrase[0] != '\0') { - scripting_fprintf(wpa_conf, "\tpsk=\"%s\"\n", - net_passphrase); - } else { - scripting_fprintf(wpa_conf, "\tkey_mgmt=NONE\n"); - } - scripting_fprintf(wpa_conf, "\tscan_ssid=1\n"); - scripting_fprintf(wpa_conf, "}\n"); - (void)fclose(wpa_conf); - scripting_fprintf(NULL, "EOF\n"); - - if (run_program(RUN_DISPLAY | RUN_PROGRESS, - "/sbin/ifconfig %s up", inter) != 0) - return 0; - - /* - * have to use system() here to avoid the server process dying - */ - if (snprintf(wpa_cmd, sizeof(wpa_cmd), - WPA_SUPPLICANT - " -B -s -i %s -D bsd -c /etc/wpa_supplicant.conf", inter) < 0) - return 0; - (void)do_system(wpa_cmd); - - return 1; -} - -int -config_dhcp(char *inter) -{ - int dhcpautoconf; - - /* - * Don't bother checking for an existing instance of dhcpcd, just - * ask it to renew the lease. It will fork and daemonize if there - * wasn't already an instance. - */ - - if (!file_mode_match(DHCPCD, S_IFREG)) - return 0; - if (ask_yesno(MSG_Perform_autoconfiguration)) { - /* spawn off dhcpcd and wait for parent to exit */ - dhcpautoconf = run_program(RUN_DISPLAY | RUN_PROGRESS, - "%s -d -n %s", DHCPCD, inter); - return dhcpautoconf ? 0 : 1; - } - return 0; -} - - -int -config_eth_medium(char *inter) -{ - char *textbuf = NULL; - - for (;;) { - msg_prompt_add(MSG_net_media, net_media, net_media, - sizeof net_media); - - /* - * ifconfig does not allow media specifiers on - * IFM_MANUAL interfaces. Our UI gives no way - * to set an option back - * to null-string if it gets accidentally set. - * Check for plausible alternatives. - */ - if (strcmp(net_media, "") == 0 || - strcmp(net_media, "default") == 0 || - strcmp(net_media, "") == 0 || - strcmp(net_media, "manual") == 0 || - strcmp(net_media, "") == 0 || - strcmp(net_media, "none") == 0 || - strcmp(net_media, " ") == 0) { - *net_media = '\0'; - } - - if (*net_media == '\0') - break; - /* - * We must set the media type here - to give dhcp - * a chance - */ - if (run_program(0, "/sbin/ifconfig %s media %s", - net_dev, net_media) == 0) - break; - /* Failed to set - output the supported values */ - if (collect(T_OUTPUT, &textbuf, "/sbin/ifconfig -m %s |" - "while IFS=; read line;" - " do [ \"$line\" = \"${line#*media}\" ] || " - "echo $line;" - " done", net_dev ) > 0) - msg_display(textbuf); - free(textbuf); - } - return 0; -} diff --git a/overlay/usr.sbin/sysinst/palette.dp b/overlay/usr.sbin/sysinst/palette.dp deleted file mode 100644 index 103447435f..0000000000 --- a/overlay/usr.sbin/sysinst/palette.dp +++ /dev/null @@ -1,8 +0,0 @@ -#acdcbe00b400 -#6e1e7d007630 -#90007b1b7b1b -#820082009b00 -#8e008e0077b9 -#7f006c926c92 -#8e008e0085a5 -#4ee26b006560 diff --git a/overlay/usr.sbin/sysinst/part_edit.c b/overlay/usr.sbin/sysinst/part_edit.c deleted file mode 100644 index 4aefa4e9f1..0000000000 --- a/overlay/usr.sbin/sysinst/part_edit.c +++ /dev/null @@ -1,1495 +0,0 @@ -/* $NetBSD: part_edit.c,v 1.27 2022/05/15 15:06:59 jmcneill Exp $ */ - -/* - * Copyright (c) 2019 The NetBSD Foundation, Inc. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ - - -/* part_edit.c -- generic partition editing code */ - -#include -#include -#include -#include -#include -#include -#include -#include "defs.h" -#include "md.h" -#include "msg_defs.h" -#include "menu_defs.h" -#include "defsizes.h" -#include "endian.h" - - -/* - * A structure passed to various menu functions for partition editing - */ -struct part_edit_info { - struct disk_partitions *parts; /* the partitions we edit */ - struct disk_part_info cur; /* current value (maybe incomplete) */ - part_id cur_id; /* which partition is it? */ - int first_custom_opt; /* scheme specific menu options - * start here */ - bool cancelled; /* do not apply changes */ - bool num_changed; /* number of partitions has changed */ -}; - -#ifndef NO_CLONES -struct single_clone_data { - struct selected_partitions clone_src; - part_id *clone_ids; /* partition IDs in target */ -}; -#endif -struct outer_parts_data { - struct arg_rv av; -#ifndef NO_CLONES - struct single_clone_data *clones; - size_t num_clone_entries; -#endif -}; - -static menu_ent *part_menu_opts; /* the currently edited partitions */ -static menu_ent *outer_fill_part_menu_opts(const struct disk_partitions *parts, size_t *cnt); -static void draw_outer_part_line(menudesc *m, int opt, void *arg); - -static char outer_part_sep_line[MENUSTRSIZE], - outer_part_title[2*MENUSTRSIZE]; - -static int -maxline(const char *p, int *count) -{ - int m = 0, i = 0; - - for (;; p++) { - if (*p == '\n' || *p == 0) { - if (i > m) - m = i; - (*count)++; - if (*p == 0) - return m; - i = 0; - } else { - i++; - } - } -} - -int -err_msg_win(const char *errmsg) -{ - const char *cont; - int l, l1, lines; - - errmsg = msg_string(errmsg); - cont = msg_string(MSG_Hit_enter_to_continue); - - lines = 0; - l = maxline(errmsg, &lines); - l1 = maxline(cont, &lines); - if (l < l1) - l = l1; - - msg_fmt_prompt_win("%s.\n%s", -1, 18, l + 5, 2+lines, - NULL, NULL, 1, "%s%s", errmsg, cont); - return 0; -} - -static int -set_part_type(menudesc *m, void *arg) -{ - struct part_edit_info *info = arg; - const struct part_type_desc *desc; - char buf[STRSIZE]; - const char *err; - - if (m->cursel == 0) - return 1; /* no change */ - - desc = info->parts->pscheme->get_part_type(m->cursel-1); - if (desc == NULL) { - /* Create custom type */ - if (info->cur.nat_type != NULL) - strlcpy(buf, info->cur.nat_type->short_desc, - sizeof(buf)); - else - buf[0] = 0; - for (;;) { - msg_prompt_win(info->parts->pscheme->new_type_prompt, - -1, 18, 0, 0, - buf, buf, sizeof(buf)); - if (buf[0] == 0) - break; - desc = info->parts->pscheme->create_custom_part_type( - buf, &err); - if (desc != NULL) - break; - err_msg_win(err); - } - } - - info->cur.nat_type = desc; - return 1; -} - -static void -set_type_label(menudesc *m, int opt, void *arg) -{ - struct part_edit_info *info = arg; - const struct part_type_desc *desc; - - if (opt == 0) { - wprintw(m->mw, "%s", msg_string(MSG_Dont_change)); - return; - } - - desc = info->parts->pscheme->get_part_type(opt-1); - if (desc == NULL) { - wprintw(m->mw, "%s", msg_string(MSG_Other_kind)); - return; - } - wprintw(m->mw, "%s", desc->description); -} - -static int -edit_part_type(menudesc *m, void *arg) -{ - struct part_edit_info *info = arg; - menu_ent *type_opts; - int type_menu = -1; - size_t popt_cnt, i; - - /* - * We add one line at the start of the menu, and one at the - * bottom, see "set_type_label" above. - */ - popt_cnt = info->parts->pscheme->get_part_types_count() + 2; - type_opts = calloc(popt_cnt, sizeof(*type_opts)); - for (i = 0; i < popt_cnt; i++) { - type_opts[i].opt_action = set_part_type; - } - type_menu = new_menu(NULL, type_opts, popt_cnt, - 13, 12, 0, 30, - MC_SUBMENU | MC_SCROLL | MC_NOEXITOPT | MC_NOCLEAR, - NULL, set_type_label, NULL, - NULL, NULL); - - if (type_menu != -1) { - process_menu(type_menu, arg); - info->num_changed = true; /* force reload of menu */ - } - - free_menu(type_menu); - free(type_opts); - - return -1; -} - -static int -edit_part_start(menudesc *m, void *arg) -{ - struct part_edit_info *marg = arg; - struct disk_part_info pinfo; - daddr_t max_size; - - if (marg->cur_id == NO_PART || - !marg->parts->pscheme->get_part_info(marg->parts, marg->cur_id, - &pinfo)) - pinfo = marg->cur; - marg->cur.start = getpartoff(marg->parts, marg->cur.start); - max_size = marg->parts->pscheme->max_free_space_at(marg->parts, - pinfo.start); - max_size += pinfo.start - marg->cur.start; - if (marg->cur.size > max_size) - marg->cur.size = max_size; - - return 0; -} - -static int -edit_part_size(menudesc *m, void *arg) -{ - struct part_edit_info *marg = arg; - struct disk_part_info pinfo; - - if (marg->cur_id == NO_PART || - !marg->parts->pscheme->get_part_info(marg->parts, marg->cur_id, - &pinfo)) - pinfo = marg->cur; - marg->cur.size = getpartsize(marg->parts, pinfo.start, - marg->cur.start, marg->cur.size); - - return 0; -} - -static int -edit_part_install(menudesc *m, void *arg) -{ - struct part_edit_info *marg = arg; - - marg->cur.flags ^= PTI_INSTALL_TARGET; - return 0; -} - -static void -menu_opts_reload(menudesc *m, const struct disk_partitions *parts) -{ - size_t new_num; - - free(part_menu_opts); - part_menu_opts = outer_fill_part_menu_opts(parts, &new_num); - m->opts = part_menu_opts; - m->numopts = new_num; -} - -static int -delete_part(menudesc *m, void *arg) -{ - struct part_edit_info *marg = arg; - const char *err_msg = NULL; - - if (marg->cur_id == NO_PART) - return 0; - - if (!marg->parts->pscheme->delete_partition(marg->parts, marg->cur_id, - &err_msg)) - err_msg_win(err_msg); - - marg->num_changed = true; /* reload list of partitions */ - marg->cancelled = true; /* do not write back cur data */ - - return 0; -} - -static void draw_outer_ptn_line(menudesc *m, int line, void *arg); -static void draw_outer_ptn_header(menudesc *m, void *arg); - -static int -part_rollback(menudesc *m, void *arg) -{ - struct part_edit_info *marg = arg; - - marg->cancelled = true; - return 0; -} - -static menu_ent common_ptn_edit_opts[] = { -#define PTN_OPT_TYPE 0 - { .opt_action=edit_part_type }, -#define PTN_OPT_START 1 - { .opt_action=edit_part_start }, -#define PTN_OPT_SIZE 2 - { .opt_action=edit_part_size }, -#define PTN_OPT_END 3 - { .opt_flags=OPT_IGNORE }, /* read only "end" */ - - /* - * Only the part upto here will be used when adding a new partition - */ - -#define PTN_OPT_INSTALL 4 - { .opt_action=edit_part_install }, - -#define PTN_OPTS_COMMON PTN_OPT_INSTALL /* cut off from here for add */ -}; - -static int -edit_custom_opt(menudesc *m, void *arg) -{ - struct part_edit_info *marg = arg; - size_t attr_no = m->cursel - marg->first_custom_opt; - char line[STRSIZE]; - - switch (marg->parts->pscheme->custom_attributes[attr_no].type) { - case pet_bool: - marg->parts->pscheme->custom_attribute_toggle( - marg->parts, marg->cur_id, attr_no); - break; - case pet_cardinal: - case pet_str: - marg->parts->pscheme->format_custom_attribute( - marg->parts, marg->cur_id, attr_no, &marg->cur, - line, sizeof(line)); - msg_prompt_win( - marg->parts->pscheme->custom_attributes[attr_no].label, - -1, 18, 0, 0, line, line, sizeof(line)); - marg->parts->pscheme->custom_attribute_set_str( - marg->parts, marg->cur_id, attr_no, line); - break; - } - - return 0; -} - -static menu_ent ptn_edit_opts[] = { - { .opt_name=MSG_askunits, .opt_menu=MENU_sizechoice, - .opt_flags=OPT_SUB }, - - { .opt_name=MSG_Delete_partition, - .opt_action = delete_part, .opt_flags = OPT_EXIT }, - - { .opt_name=MSG_cancel, - .opt_action = part_rollback, .opt_flags = OPT_EXIT }, -}; - -static menu_ent ptn_add_opts[] = { - { .opt_name=MSG_askunits, .opt_menu=MENU_sizechoice, - .opt_flags=OPT_SUB }, - - { .opt_name=MSG_cancel, - .opt_action = part_rollback, .opt_flags = OPT_EXIT }, -}; - -/* - * Concatenate common_ptn_edit_opts, the partitioning scheme specific - * custom options and the given suffix to a single menu options array. - */ -static menu_ent * -fill_part_edit_menu_opts(struct disk_partitions *parts, - bool with_custom_attrs, - const menu_ent *suffix, size_t suffix_count, size_t *res_cnt) -{ - size_t i; - menu_ent *opts, *p; - size_t count, hdr_cnt; - - if (with_custom_attrs) { - hdr_cnt = __arraycount(common_ptn_edit_opts); - count = hdr_cnt + parts->pscheme->custom_attribute_count - + suffix_count; - } else { - hdr_cnt = PTN_OPTS_COMMON; - count = hdr_cnt + suffix_count; - } - - opts = calloc(count, sizeof(*opts)); - if (opts == NULL) { - *res_cnt = 0; - return NULL; - } - - memcpy(opts, common_ptn_edit_opts, - sizeof(*opts)*hdr_cnt); - p = opts + hdr_cnt; - if (with_custom_attrs) { - for (i = 0; i < parts->pscheme->custom_attribute_count; i++) { - p->opt_action = edit_custom_opt; - p++; - } - } - memcpy(p, suffix, sizeof(*opts)*suffix_count); - - *res_cnt = count; - return opts; -} - -static int -edit_part_entry(menudesc *m, void *arg) -{ - struct outer_parts_data *pdata = arg; - struct part_edit_info data = { .parts = pdata->av.arg, - .cur_id = m->cursel, - .first_custom_opt = __arraycount(common_ptn_edit_opts) }; - int ptn_menu; - const char *err; - menu_ent *opts; - size_t num_opts; - - opts = fill_part_edit_menu_opts(data.parts, true, ptn_edit_opts, - __arraycount(ptn_edit_opts), &num_opts); - if (opts == NULL) - return 1; - - if (data.cur_id < data.parts->num_part) - data.parts->pscheme->get_part_info(data.parts, data.cur_id, - &data.cur); - - ptn_menu = new_menu(NULL, opts, num_opts, - 15, 2, 0, 54, - MC_SUBMENU | MC_SCROLL | MC_NOCLEAR, - draw_outer_ptn_header, draw_outer_ptn_line, NULL, - NULL, MSG_Partition_OK); - if (ptn_menu == -1) { - free(opts); - return 1; - } - - process_menu(ptn_menu, &data); - free_menu(ptn_menu); - free(opts); - - if (!data.cancelled && data.cur_id < data.parts->num_part) - if (!data.parts->pscheme->set_part_info(data.parts, - data.cur_id, &data.cur, &err)) - err_msg_win(err); - - if (data.num_changed) { - menu_opts_reload(m, data.parts); - m->cursel = data.parts->num_part > 0 ? 0 : 2; - return -1; - } - - return 0; -} - -#ifndef NO_CLONES -static int -add_part_clone(menudesc *menu, void *arg) -{ - struct outer_parts_data *pdata = arg; - struct disk_partitions *parts = pdata->av.arg; - struct clone_target_menu_data data; - menu_ent *men; - int num_men, i; - struct disk_part_info sinfo, cinfo; - struct disk_partitions *csrc; - struct disk_part_free_space space; - daddr_t offset, align; - size_t s; - part_id cid; - struct selected_partitions selected; - struct single_clone_data *new_clones; - - if (!select_partitions(&selected, parts)) - return 0; - - new_clones = realloc(pdata->clones, - sizeof(*pdata->clones)*(pdata->num_clone_entries+1)); - if (new_clones == NULL) - return 0; - pdata->num_clone_entries++; - pdata->clones = new_clones; - new_clones += (pdata->num_clone_entries-1); - memset(new_clones, 0, sizeof *new_clones); - new_clones->clone_src = selected; - - memset(&data, 0, sizeof data); - data.usage.parts = parts; - - /* if we already have partitions, ask for the target position */ - if (parts->num_part > 0) { - data.res = -1; - num_men = parts->num_part+1; - men = calloc(num_men, sizeof *men); - if (men == NULL) - return 0; - for (i = 0; i < num_men; i++) - men[i].opt_action = clone_target_select; - men[num_men-1].opt_name = MSG_clone_target_end; - - data.usage.menu = new_menu(MSG_clone_target_hdr, - men, num_men, 3, 2, 0, 65, MC_SCROLL, - NULL, draw_outer_part_line, NULL, NULL, MSG_cancel); - process_menu(data.usage.menu, &data); - free_menu(data.usage.menu); - free(men); - - if (data.res < 0) - goto err; - } else { - data.res = 0; - } - - /* find selected offset from data.res and insert clones there */ - align = parts->pscheme->get_part_alignment(parts); - offset = -1; - if (data.res > 0) { - for (cid = 0; cid < (size_t)data.res; cid++) { - if (!parts->pscheme->get_part_info(parts, cid, &sinfo)) - continue; - offset = sinfo.start + sinfo.size; - } - } else { - offset = 0; - } - - new_clones->clone_ids = calloc(selected.num_sel, - sizeof(*new_clones->clone_ids)); - if (new_clones->clone_ids == NULL) - goto err; - for (s = 0; s < selected.num_sel; s++) { - csrc = selected.selection[s].parts; - cid = selected.selection[s].id; - csrc->pscheme->get_part_info(csrc, cid, &sinfo); - if (!parts->pscheme->adapt_foreign_part_info( - parts, &cinfo, csrc->pscheme, &sinfo)) - continue; - size_t cnt = parts->pscheme->get_free_spaces( - parts, &space, 1, cinfo.size-align, align, - offset, -1); - if (cnt == 0) - continue; - cinfo.start = space.start; - cid = parts->pscheme->add_partition( - parts, &cinfo, NULL); - new_clones->clone_ids[s] = cid; - if (cid == NO_PART) - continue; - parts->pscheme->get_part_info(parts, cid, &cinfo); - offset = roundup(cinfo.start+cinfo.size, align); - } - - /* reload menu and start again */ - menu_opts_reload(menu, parts); - menu->cursel = parts->num_part+1; - if (parts->num_part == 0) - menu->cursel++; - return -1; - -err: - free_selected_partitions(&selected); - return -1; -} -#endif - -static int -add_part_entry(menudesc *m, void *arg) -{ - struct outer_parts_data *pdata = arg; - struct part_edit_info data = { .parts = pdata->av.arg, - .first_custom_opt = PTN_OPTS_COMMON }; - int ptn_menu; - daddr_t ptn_alignment, start; - menu_ent *opts; - size_t num_opts; - struct disk_part_free_space space; - const char *err; - - opts = fill_part_edit_menu_opts(data.parts, false, ptn_add_opts, - __arraycount(ptn_add_opts), &num_opts); - if (opts == NULL) - return 1; - - ptn_alignment = data.parts->pscheme->get_part_alignment(data.parts); - start = pm->ptstart > 0 ? pm->ptstart : -1; - data.cur_id = NO_PART; - memset(&data.cur, 0, sizeof(data.cur)); - data.cur.nat_type = data.parts->pscheme-> - get_generic_part_type(PT_root); - if (data.parts->pscheme->get_free_spaces(data.parts, &space, 1, - max(sizemult, ptn_alignment), ptn_alignment, start, -1) > 0) { - data.cur.start = space.start; - data.cur.size = space.size; - } else { - return 0; - } - - ptn_menu = new_menu(NULL, opts, num_opts, - 15, -1, 0, 54, - MC_SUBMENU | MC_SCROLL | MC_NOCLEAR, - draw_outer_ptn_header, draw_outer_ptn_line, NULL, - NULL, MSG_Partition_OK); - if (ptn_menu == -1) { - free(opts); - return 1; - } - - process_menu(ptn_menu, &data); - free_menu(ptn_menu); - free(opts); - - if (!data.cancelled && - data.parts->pscheme->add_partition(data.parts, &data.cur, &err) - == NO_PART) - err_msg_win(err); - - menu_opts_reload(m, data.parts); - m->cursel = data.parts->num_part+1; - if (data.parts->num_part == 0) - m->cursel++; - return -1; -} - -static void -draw_outer_ptn_line(menudesc *m, int line, void *arg) -{ - struct part_edit_info *marg = arg; - char value[STRSIZE]; - static int col_width; - static const char *yes, *no, *ptn_type, *ptn_start, *ptn_size, - *ptn_end, *ptn_install; - - if (yes == NULL) { - int i; - -#define CHECK(str) i = strlen(str); if (i > col_width) col_width = i; - - col_width = 0; - yes = msg_string(MSG_Yes); CHECK(yes); - no = msg_string(MSG_No); CHECK(no); - ptn_type = msg_string(MSG_ptn_type); CHECK(ptn_type); - ptn_start = msg_string(MSG_ptn_start); CHECK(ptn_start); - ptn_size = msg_string(MSG_ptn_size); CHECK(ptn_size); - ptn_end = msg_string(MSG_ptn_end); CHECK(ptn_end); - ptn_install = msg_string(MSG_ptn_install); CHECK(ptn_install); - -#undef CHECK - - for (size_t n = 0; - n < marg->parts->pscheme->custom_attribute_count; n++) { - i = strlen(msg_string( - marg->parts->pscheme->custom_attributes[n].label)); - if (i > col_width) - col_width = i; - } - col_width += 3; - } - - if (line >= marg->first_custom_opt) { - size_t attr_no = line-marg->first_custom_opt; - marg->parts->pscheme->format_custom_attribute( - marg->parts, marg->cur_id, attr_no, &marg->cur, - value, sizeof(value)); - wprintw(m->mw, "%*s : %s", col_width, - msg_string( - marg->parts->pscheme->custom_attributes[attr_no].label), - value); - return; - } - - switch (line) { - case PTN_OPT_TYPE: - wprintw(m->mw, "%*s : %s", col_width, ptn_type, - marg->cur.nat_type != NULL - ? marg->cur.nat_type->description - : "-"); - break; - case PTN_OPT_START: - wprintw(m->mw, "%*s : %" PRIu64 " %s", col_width, ptn_start, - marg->cur.start / (daddr_t)sizemult, multname); - break; - case PTN_OPT_SIZE: - wprintw(m->mw, "%*s : %" PRIu64 " %s", col_width, ptn_size, - marg->cur.size / (daddr_t)sizemult, multname); - break; - case PTN_OPT_END: - wprintw(m->mw, "%*s : %" PRIu64 " %s", col_width, ptn_end, - (marg->cur.start + marg->cur.size - 1) / (daddr_t)sizemult, - multname); - break; - case PTN_OPT_INSTALL: - wprintw(m->mw, "%*s : %s", col_width, ptn_install, - (marg->cur.nat_type->generic_ptype == PT_root && - (marg->cur.flags & PTI_INSTALL_TARGET)) ? yes : no); - break; - } - -} - -static void -draw_outer_ptn_header(menudesc *m, void *arg) -{ - struct part_edit_info *marg = arg; - size_t attr_no; - bool may_change_type; - -#define DISABLE(opt,cond) \ - if (cond) \ - m->opts[opt].opt_flags |= OPT_IGNORE; \ - else \ - m->opts[opt].opt_flags &= ~OPT_IGNORE; - - /* e.g. MBR extended partitions can only change if empty */ - may_change_type = marg->cur_id == NO_PART - || marg->parts->pscheme->part_type_can_change == NULL - || marg->parts->pscheme->part_type_can_change( - marg->parts, marg->cur_id); - - DISABLE(PTN_OPT_TYPE, !may_change_type); - if (!may_change_type && m->cursel == PTN_OPT_TYPE) - m->cursel++; - if (marg->cur_id != NO_PART) { - for (int i = 0; i < m->numopts; i++) { - if (m->opts[i].opt_action == delete_part) { - DISABLE(i, !may_change_type); - } - } - } - - /* Can only install into NetBSD partition */ - if (marg->cur_id != NO_PART) { - DISABLE(PTN_OPT_INSTALL, marg->cur.nat_type == NULL - || marg->cur.nat_type->generic_ptype != PT_root); - } - - if (marg->cur_id == NO_PART) - return; - - for (attr_no = 0; attr_no < - marg->parts->pscheme->custom_attribute_count; attr_no++) { - bool writable = - marg->parts->pscheme->custom_attribute_writable( - marg->parts, marg->cur_id, attr_no); - DISABLE(attr_no+marg->first_custom_opt, !writable); - } -} - -static void -draw_outer_part_line(menudesc *m, int opt, void *arg) -{ - struct outer_parts_data *pdata = arg; - struct disk_partitions *parts = pdata->av.arg; - int len; - part_id pno = opt; - struct disk_part_info info; - char buf[SSTRSIZE], *astr, colval[STRSIZE], line[STRSIZE]; - size_t astr_avail, x; - static char install_flag = 0; - -#define PART_ROW_USED_FMT "%13" PRIu64 " %13" PRIu64 " %-4s" - - len = snprintf(0, 0, PART_ROW_USED_FMT, (daddr_t)0, (daddr_t)0, ""); - - if (pno >= parts->num_part || - !parts->pscheme->get_part_info(parts, pno, &info)) { - wprintw(m->mw, "%*s", len, ""); - // XXX - return; - } - - if ((info.flags & PTI_INSTALL_TARGET) && - info.nat_type->generic_ptype == PT_root) { - if (install_flag == 0) - install_flag = msg_string(MSG_install_flag)[0]; - astr_avail = sizeof(buf)-1; - buf[0] = install_flag; - buf[1] = 0; - astr = buf+1; - } else { - buf[0] = 0; - astr = buf; - astr_avail = sizeof(buf); - } - if (parts->pscheme->get_part_attr_str != NULL) - parts->pscheme->get_part_attr_str(parts, pno, astr, - astr_avail); - - daddr_t start = info.start / sizemult; - daddr_t size = info.size / sizemult; - wprintw(m->mw, PART_ROW_USED_FMT, - start, size, buf); - - line[0] = 0; x = 0; - for (size_t col = 0; col < parts->pscheme->edit_columns_count; col++) { - if (parts->pscheme->format_partition_table_str(parts, pno, - col, colval, sizeof(colval)) && colval[0] != 0 - && x < sizeof(line)-2) { - for (size_t i = strlen(line); i < x; i++) - line[i] = ' '; - line[x] = ' '; - strlcpy(line+x+1, colval, sizeof(line)-x-1); - } - x += parts->pscheme->edit_columns[col].width + 1; - } - wprintw(m->mw, "%s", line); -} - -static int -part_edit_abort(menudesc *m, void *arg) -{ - struct outer_parts_data *pdata = arg; - - pdata->av.rv = -1; - return 0; -} - -static menu_ent * -outer_fill_part_menu_opts(const struct disk_partitions *parts, size_t *cnt) -{ - menu_ent *opts, *op; - size_t num_opts; - size_t i; - bool may_add; - - may_add = parts->pscheme->can_add_partition(parts); - num_opts = 3 + parts->num_part; -#ifndef NO_CLONES - num_opts++; -#endif - if (parts->num_part == 0) - num_opts++; - if (may_add) - num_opts++; - opts = calloc(num_opts, sizeof *opts); - if (opts == NULL) { - *cnt = 0; - return NULL; - } - - /* add all existing partitions */ - for (op = opts, i = 0; i < parts->num_part && i < (num_opts-2); - op++, i++) { - op->opt_flags = OPT_SUB; - op->opt_action = edit_part_entry; - } - - /* if empty, hint that partitions are missing */ - if (parts->num_part == 0) { - op->opt_name = MSG_nopart; - op->opt_flags = OPT_IGNORE|OPT_NOSHORT; - op++; - } - - /* separator line between partitions and actions */ - op->opt_name = outer_part_sep_line; - op->opt_flags = OPT_IGNORE|OPT_NOSHORT; - op++; - - /* followed by new partition adder */ - if (may_add) { - op->opt_name = MSG_addpart; - op->opt_flags = OPT_SUB; - op->opt_action = add_part_entry; - op++; - } - -#ifndef NO_CLONES - /* and a partition cloner */ - op->opt_name = MSG_clone_from_elsewhere; - op->opt_action = add_part_clone; - op++; -#endif - - /* and unit changer */ - op->opt_name = MSG_askunits; - op->opt_menu = MENU_sizechoice; - op->opt_flags = OPT_SUB; - op->opt_action = NULL; - op++; - - /* and abort option */ - op->opt_name = MSG_cancel; - op->opt_flags = OPT_EXIT; - op->opt_action = part_edit_abort; - op++; - - /* counts are consistent? */ - assert((op - opts) >= 0 && (size_t)(op - opts) == num_opts); - - *cnt = num_opts; - return opts; -} - -static void -draw_outer_part_header(menudesc *m, void *arg) -{ - struct outer_parts_data *pdata = arg; - struct disk_partitions *parts = pdata->av.arg; - char start[SSTRSIZE], size[SSTRSIZE], col[SSTRSIZE], - *disk_info, total[SSTRSIZE], avail[SSTRSIZE]; - size_t sep; - const char *args[3]; - - msg_display_subst(MSG_editparttable, 4, - parts->disk, - msg_string(parts->pscheme->name), - msg_string(parts->pscheme->short_name), - parts->pscheme->part_flag_desc ? - msg_string(parts->pscheme->part_flag_desc) - : ""); - - snprintf(total, sizeof(total), "%" PRIu64 " %s", - parts->disk_size / sizemult, multname); - snprintf(avail, sizeof(total), "%" PRIu64 " %s", - parts->free_space / sizemult, multname); - args[0] = parts->disk; - args[1] = total; - args[2] = avail; - disk_info = str_arg_subst(msg_string(MSG_part_header), 3, args); - msg_table_add(disk_info); - free(disk_info); - - - strcpy(outer_part_sep_line, "------------- ------------- ----"); - sep = strlen(outer_part_sep_line); - snprintf(start, sizeof(start), "%s(%s)", - msg_string(MSG_part_header_col_start), multname); - snprintf(size, sizeof(size), "%s(%s)", - msg_string(MSG_part_header_col_size), multname); - snprintf(outer_part_title, sizeof(outer_part_title), - " %13s %13s %-4s", start, size, - msg_string(MSG_part_header_col_flag)); - - for (size_t i = 0; i < parts->pscheme->edit_columns_count; i++) { - char *np = outer_part_sep_line+sep; - unsigned int w = parts->pscheme->edit_columns[i].width; - snprintf(col, sizeof(col), " %*s", -w, - msg_string(parts->pscheme->edit_columns[i].title)); - strlcat(outer_part_title, col, sizeof(outer_part_title)); - if (sep < sizeof(outer_part_sep_line)-1) { - *np++ = ' '; - sep++; - } - for (unsigned int p = 0; p < w && - sep < sizeof(outer_part_sep_line)-1; p++) - *np++ = '-', sep++; - *np = 0; - } - - strlcat(outer_part_title, "\n ", sizeof(outer_part_title)); - strlcat(outer_part_title, outer_part_sep_line, - sizeof(outer_part_title)); - - msg_table_add("\n\n"); -} - -/* - * Use the whole disk for NetBSD, but (if any) create required helper - * partitions (usually for booting and stuff). - */ -bool -parts_use_wholedisk(struct disk_partitions *parts, - size_t add_ext_parts, const struct disk_part_info *ext_parts) -{ - part_id nbsd; - struct disk_part_info info; - struct disk_part_free_space space; - daddr_t align, start; - size_t i; - - parts->pscheme->delete_all_partitions(parts); - align = parts->pscheme->get_part_alignment(parts); - start = pm->ptstart > 0 ? pm->ptstart : -1; - - if (ext_parts != NULL) { - for (i = 0; i < add_ext_parts; i++) { - info = ext_parts[i]; - if (parts->pscheme->get_free_spaces(parts, &space, - 1, info.size, align, start, -1) != 1) - return false; - info.start = space.start; - if (info.nat_type == NULL) - info.nat_type = parts->pscheme-> - get_fs_part_type(PT_undef, info.fs_type, - info.fs_sub_type); - if (parts->pscheme->add_partition(parts, &info, NULL) - == NO_PART) - return false; - } - } - - if (parts->pscheme->get_free_spaces(parts, &space, 1, 3*align, - align, start, -1) != 1) - return false; - - memset(&info, 0, sizeof(info)); - info.start = space.start; - info.size = space.size; - info.flags = PTI_INSTALL_TARGET; - if (parts->pscheme->secondary_scheme != NULL) - info.flags |= PTI_SEC_CONTAINER; - info.nat_type = parts->pscheme->get_generic_part_type(PT_root); - nbsd = parts->pscheme->add_partition(parts, &info, NULL); - - if (nbsd == NO_PART) - return false; - - if (!parts->pscheme->get_part_info(parts, nbsd, &info)) - return false; - - if (parts->pscheme->secondary_scheme != NULL) { - /* force empty secondary partitions */ - parts->pscheme->secondary_partitions(parts, info.start, true); - } - - return true; -} - -static int -set_keep_existing(menudesc *m, void *arg) -{ - ((arg_rep_int*)arg)->rv = LY_KEEPEXISTING; - return 0; -} - -static int -set_use_only_part(menudesc *m, void *arg) -{ - ((arg_rep_int*)arg)->rv = LY_SETSIZES; - return 0; -} - -static int -set_use_entire_disk(menudesc *m, void *arg) -{ - ((arg_rep_int*)arg)->rv = LY_USEFULL; - return 0; -} - -static int -set_switch_scheme(menudesc *m, void *arg) -{ - ((arg_rep_int*)arg)->rv = LY_OTHERSCHEME; - return 0; -} - -static enum layout_type -ask_fullpart(struct disk_partitions *parts) -{ - arg_rep_int ai; - const char *args[2]; - int menu; - size_t num_opts; - menu_ent options[4], *opt; - daddr_t start, size; - - args[0] = msg_string(pm->parts->pscheme->name); - args[1] = msg_string(pm->parts->pscheme->short_name); - ai.args.argv = args; - ai.args.argc = 2; - ai.rv = LY_ERROR; - - memset(options, 0, sizeof(options)); - num_opts = 0; - opt = &options[0]; - if (parts->pscheme->guess_install_target != NULL && - parts->pscheme->guess_install_target(parts, &start, &size)) { - opt->opt_name = MSG_Keep_existing_partitions; - opt->opt_flags = OPT_EXIT; - opt->opt_action = set_keep_existing; - opt++; - num_opts++; - } - opt->opt_name = MSG_Use_only_part_of_the_disk; - opt->opt_flags = OPT_EXIT; - opt->opt_action = set_use_only_part; - opt++; - num_opts++; - - opt->opt_name = MSG_Use_the_entire_disk; - opt->opt_flags = OPT_EXIT; - opt->opt_action = set_use_entire_disk; - opt++; - num_opts++; - - if (num_available_part_schemes > 1) { - opt->opt_name = MSG_Use_Different_Part_Scheme; - opt->opt_flags = OPT_EXIT; - opt->opt_action = set_switch_scheme; - opt++; - num_opts++; - } - - menu = new_menu(MSG_Select_your_choice, options, num_opts, - -1, -10, 0, 0, 0, NULL, NULL, NULL, NULL, MSG_cancel); - if (menu != -1) { - get_menudesc(menu)->expand_act = expand_all_option_texts; - process_menu(menu, &ai); - free_menu(menu); - } - - return ai.rv; -} - -/* - * return (see post_edit_verify): - * 0 -> abort - * 1 -> re-edit - * 2 -> continue installation - */ -static int -verify_outer_parts(struct disk_partitions *parts, bool quiet) -{ - part_id i; - int num_bsdparts; - daddr_t first_bsdstart, inst_start, inst_size; - - first_bsdstart = inst_start = -1; - inst_size = 0; - num_bsdparts = 0; - for (i = 0; i < parts->num_part; i++) { - struct disk_part_info info; - if (!parts->pscheme->get_part_info(parts, i, &info)) - continue; - if (!(info.flags & PTI_SEC_CONTAINER)) - continue; - if (info.nat_type->generic_ptype != PT_root) - continue; - num_bsdparts++; - - if (first_bsdstart < 0) { - first_bsdstart = info.start; - } - if (inst_start< 0 && (info.flags & PTI_INSTALL_TARGET)) { - inst_start = info.start; - inst_size = info.size; - } - } - - if (num_bsdparts == 0 || - (num_bsdparts > 1 && inst_start < 0)) { - if (quiet && num_bsdparts == 0) - return 0; - if (!quiet || parts->pscheme->guess_install_target == NULL || - !parts->pscheme->guess_install_target(parts, - &inst_start, &inst_size)) { - if (num_bsdparts == 0) - msg_display_subst(MSG_nobsdpart, 2, - msg_string(parts->pscheme->name), - msg_string(parts->pscheme->short_name)); - else - msg_display_subst(MSG_multbsdpart, 2, - msg_string(parts->pscheme->name), - msg_string(parts->pscheme->short_name)); - - return ask_reedit(parts); - } - } - - /* - * post_edit_verify returns: - * 0 -> abort - * 1 -> re-edit - * 2 -> continue installation - */ - if (parts->pscheme->post_edit_verify) - return parts->pscheme->post_edit_verify(parts, quiet); - - return 2; -} - -static bool -ask_outer_partsizes(struct disk_partitions *parts) -{ - int j; - int part_menu; - size_t num_opts; -#ifndef NO_CLONES - size_t i, ci; -#endif - struct outer_parts_data data; - - part_menu_opts = outer_fill_part_menu_opts(parts, &num_opts); - part_menu = new_menu(outer_part_title, part_menu_opts, num_opts, - 0, -1, 15, 70, - MC_NOBOX|MC_ALWAYS_SCROLL|MC_NOCLEAR|MC_CONTINUOUS, - draw_outer_part_header, draw_outer_part_line, NULL, - NULL, MSG_Partition_table_ok); - if (part_menu == -1) { - free(part_menu_opts); - return false; - } - - /* Default to MB, and use bios geometry for cylinder size */ - set_default_sizemult(parts->disk, MEG, parts->bytes_per_sector); - if (pm->current_cylsize == 0) - pm->current_cylsize = 16065; /* noone cares nowadays */ - memset(&data, 0, sizeof data); - data.av.arg = parts; - - for (;;) { - data.av.rv = 0; - process_menu(part_menu, &data); - if (data.av.rv < 0) - break; - - j = verify_outer_parts(parts, false); - if (j == 0) { - data.av.rv = -1; - return false; - } else if (j == 1) { - continue; - } - break; - } - -#ifndef NO_CLONES - /* handle cloned partitions content copies now */ - for (i = 0; i < data.num_clone_entries; i++) { - for (ci = 0; ci < data.clones[i].clone_src.num_sel; ci++) { - if (data.clones[i].clone_src.with_data) - clone_partition_data(parts, - data.clones[i].clone_ids[ci], - data.clones[i].clone_src.selection[ci]. - parts, - data.clones[i].clone_src.selection[ci].id); - } - } - - /* free clone data */ - if (data.clones) { - for (i = 0; i < data.num_clone_entries; i++) - free_selected_partitions(&data.clones[i].clone_src); - free(data.clones); - } -#endif - - free_menu(part_menu); - free(part_menu_opts); - - return data.av.rv == 0; -} - -int -edit_outer_parts(struct disk_partitions *parts) -{ - part_id i; - enum layout_type layout; - int num_foreign_parts; - - /* If targeting a wedge, do not ask for further partitioning */ - if (pm && (pm->no_part || pm->no_mbr)) - return 1; - - /* Make sure parts has been properly initialized */ - assert(parts && parts->pscheme); - - if (parts->pscheme->secondary_scheme == NULL) - return 1; /* no outer parts */ - - if (partman_go) { - layout = LY_SETSIZES; - } else if (simple_install) { - /* Makronix simple installation: the whole disk, no question */ - layout = LY_USEFULL; - } else { - /* Ask full/part */ - const struct disk_partitioning_scheme *sec = - parts->pscheme->secondary_scheme; - - uint64_t m_size = - DEFROOTSIZE + DEFSWAPSIZE + DEFUSRSIZE + XNEEDMB; - char min_size[5], build_size[5]; - const char - *prim_name = msg_string(parts->pscheme->name), - *prim_short = msg_string(parts->pscheme->short_name), - *sec_name = msg_string(sec->name), - *sec_short = msg_string(sec->short_name); - - humanize_number(min_size, sizeof(min_size), - m_size * MEG, - "", HN_AUTOSCALE, HN_B | HN_NOSPACE | HN_DECIMAL); - humanize_number(build_size, sizeof(build_size), - SYSTEM_BUILD_SIZE * MEG, "", HN_AUTOSCALE, - HN_B | HN_NOSPACE | HN_DECIMAL); - - msg_display_subst(MSG_fullpart, 7, - pm->diskdev, - prim_name, sec_name, - prim_short, sec_short, - min_size, build_size); - msg_display_add("\n\n"); - - layout = ask_fullpart(parts); - if (layout == LY_ERROR) - return 0; - else if (layout == LY_OTHERSCHEME) - return -1; - } - - if (layout == LY_USEFULL) { - struct disk_part_info info; - - /* Count nonempty, non-BSD partitions. */ - num_foreign_parts = 0; - for (i = 0; i < parts->num_part; i++) { - if (!parts->pscheme->get_part_info(parts, i, &info)) - continue; - if (info.size == 0) - continue; - if (info.flags & (PTI_PSCHEME_INTERNAL|PTI_RAW_PART)) - continue; - if (info.nat_type != NULL - && info.nat_type->generic_ptype != PT_root - && info.nat_type->generic_ptype != PT_swap) - num_foreign_parts++; - } - - /* Ask if we really want to blow away non-NetBSD stuff */ - if (num_foreign_parts > 0) { - msg_display(MSG_ovrwrite); - if (!ask_noyes(NULL)) { - if (logfp) - (void)fprintf(logfp, - "User answered no to destroy " - "other data, aborting.\n"); - return 0; - } - } - if (!md_parts_use_wholedisk(parts)) { - hit_enter_to_continue(MSG_No_free_space, NULL); - return 0; - } - if (parts->pscheme->post_edit_verify) { - return - parts->pscheme->post_edit_verify(parts, true) == 2; - } - return 1; - } else if (layout == LY_SETSIZES) { - return ask_outer_partsizes(parts); - } else { - return verify_outer_parts(parts, true) == 2; - } -} - -static int -set_part_scheme(menudesc *m, void *arg) -{ - size_t *res = arg; - - *res = (size_t)m->cursel; - return 1; -} - -const struct disk_partitioning_scheme * -select_part_scheme( - struct pm_devs *dev, - const struct disk_partitioning_scheme *skip, - bool bootable, - const char *hdr) -{ - int ps_menu = -1; - menu_ent *opt; - char **str, *ms = NULL; - const struct disk_partitioning_scheme **options, *res; - const char *title; - size_t ndx, selected = ~0U, used; - const struct disk_partitioning_scheme *p; - bool showing_limit = false; - - if (hdr == NULL) - hdr = MSG_select_part_scheme; - - opt = calloc(num_available_part_schemes, sizeof *opt); - if (!opt) - return NULL; - str = calloc(num_available_part_schemes, sizeof *str); - if (!str) { - free(opt); - return NULL; - } - options = calloc(num_available_part_schemes, sizeof *options); - if (!options) { - free(str); - free(opt); - return NULL; - } - - for (used = 0, ndx = 0; ndx < num_available_part_schemes; ndx++) { - p = available_part_schemes[ndx]; - /* - * Do not match exactly, we want to skip all lookalikes - * too (only_disklabel_parts vs. disklabel_parts) - */ - if (skip != NULL && - p->create_new_for_disk == skip->create_new_for_disk) - continue; - if (bootable && p->have_boot_support != NULL && - !p->have_boot_support(dev->diskdev)) - continue; -#ifdef HAVE_MBR - if (dev->no_mbr && p->name == MSG_parttype_mbr) - continue; -#endif - if (p->size_limit && dev->dlsize*(dev->sectorsize/512) > - p->size_limit) { - char buf[255], hum_lim[5]; - - humanize_number(hum_lim, sizeof(hum_lim), - (uint64_t)p->size_limit*512UL, - "", HN_AUTOSCALE, HN_B | HN_NOSPACE | HN_DECIMAL); - sprintf(buf, "%s [%s %s]", msg_string(p->name), - msg_string(MSG_size_limit), hum_lim); - str[used] = strdup(buf); - showing_limit = true; - } else { - str[used] = strdup(msg_string(p->name)); - } - if (!str[used]) - goto out; - - opt[used].opt_name = str[used]; - opt[used].opt_action = set_part_scheme; - options[used] = p; - used++; - } - - /* do not bother to ask if there are no options */ - if (used <= 1) { - selected = (used == 1) ? 0 : ~0U; - goto out; - } - - /* - * Makronix simple installation: GPT, if this machine can boot it (the - * loop above has already left out the schemes that cannot be booted or - * that are too small for the disk). Otherwise ask as before. - */ - if (simple_install) { - for (ndx = 0; ndx < used; ndx++) { - if (options[ndx]->name == MSG_parttype_gpt) { - selected = ndx; - goto out; - } - } - } - - if (showing_limit) { - char hum_lim[5], *tmp; - size_t total; - - const char *p1 = msg_string(hdr); - const char *p2 = msg_string(MSG_select_part_limit); - - humanize_number(hum_lim, sizeof(hum_lim), - (uint64_t)dev->dlsize*dev->sectorsize, "", - HN_AUTOSCALE, HN_B | HN_NOSPACE | HN_DECIMAL); - - const char *args[] = { dev->diskdev, hum_lim }; - char *p3 = str_arg_subst(msg_string(MSG_part_limit_disksize), - __arraycount(args), args); - - total = strlen(p1) + strlen(p2) + strlen(p3) - + sizeof(hum_lim) + 5; - ms = tmp = malloc(total); - title = tmp; - strcpy(tmp, p1); tmp += strlen(p1); - *tmp++ = '\n'; *tmp++ = '\n'; - strcpy(tmp, p2); tmp += strlen(p2); - *tmp++ = '\n'; *tmp++ = '\n'; - strcpy(tmp, p3); - free(p3); - assert(strlen(ms) < total); - } else { - title = msg_string(hdr); - } - ps_menu = new_menu(title, opt, used, - -1, 5, 0, 0, 0, NULL, NULL, NULL, NULL, MSG_exit_menu_generic); - if (ps_menu != -1) - process_menu(ps_menu, &selected); -out: - res = selected >= used ? NULL : options[selected]; - for (ndx = 0; ndx < used; ndx++) - free(str[ndx]); - if (showing_limit && ms) - free(ms); - free(str); - free(opt); - free(options); - if (ps_menu != -1) - free_menu(ps_menu); - - return res; -} diff --git a/overlay/usr.sbin/sysinst/partitions.c b/overlay/usr.sbin/sysinst/partitions.c deleted file mode 100644 index e1cc58380c..0000000000 --- a/overlay/usr.sbin/sysinst/partitions.c +++ /dev/null @@ -1,233 +0,0 @@ -/* $NetBSD: partitions.c,v 1.13 2021/09/11 20:28:06 andvar Exp $ */ - -/* - * Copyright (c) 2020 The NetBSD Foundation, Inc. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ - -#include "defs.h" -#include "mbr.h" -#include - -/* - * A list of partitioning schemes, so we can iterate over everything - * supported (e.g. when partitioning a new disk). NULL terminated. - */ -const struct disk_partitioning_scheme **available_part_schemes; -/* - * The number of valid entries on above list - */ -size_t num_available_part_schemes; - -extern const struct disk_partitioning_scheme disklabel_parts; - -/* - * Generic reader - query a disk device and read all partitions from it. - * disk_size is in units of physical sector size, which is passe as - * bytes_per_sec. - */ -struct disk_partitions * -partitions_read_disk(const char *dev, daddr_t disk_size, size_t bytes_per_sec, - bool no_mbr) -{ - const struct disk_partitioning_scheme **ps; -#ifdef HAVE_MBR - bool mbr_done = false, disklabel_done = false; -#endif - - if (!available_part_schemes) - return NULL; - - for (ps = available_part_schemes; *ps; ps++) { -#ifdef HAVE_MBR - if (!no_mbr && (*ps) == &disklabel_parts && !mbr_done) - continue; - if (no_mbr && (*ps)->name == MSG_parttype_mbr) - continue; - if ((*ps)->name == MSG_parttype_mbr) - mbr_done = true; - if ((*ps)->read_from_disk == disklabel_parts.read_from_disk) - disklabel_done = true; -#endif - struct disk_partitions *parts = - (*ps)->read_from_disk(dev, 0, disk_size, bytes_per_sec, - *ps); - if (parts) - return parts; - } -#ifdef HAVE_MBR - if (!disklabel_done) - return disklabel_parts.read_from_disk(dev, 0, disk_size, - bytes_per_sec, &disklabel_parts); -#endif - return NULL; -} - -bool -generic_adapt_foreign_part_info(const struct disk_partitions *myself, - struct disk_part_info *dest, - const struct disk_partitioning_scheme *src_scheme, - const struct disk_part_info *src) -{ - *dest = *src; - if (myself->pscheme == src_scheme) - return true; /* no conversion needed */ - - if (src->nat_type == NULL) - return false; - - /* slightly simplistic, enhance when needed */ - dest->nat_type = myself->pscheme->get_fs_part_type( - dest->nat_type ? dest->nat_type->generic_ptype : PT_root, - dest->fs_type, - dest->fs_sub_type); - if (dest->nat_type == NULL) - dest->nat_type = myself->pscheme->get_generic_part_type( - src->nat_type->generic_ptype); - if (dest->nat_type == NULL) - dest->nat_type = myself->pscheme->create_unknown_part_type(); - if (dest->nat_type == NULL) - dest->nat_type = myself->pscheme->get_generic_part_type( - PT_unknown); - - return true; -} - -/*************** global init ****************************************/ -/* - * Helper structure to fill our global list of available partitioning - * schemes. - */ -struct part_scheme_desc { - bool (*is_available)(void); - const struct disk_partitioning_scheme *ps; -}; - -#ifdef HAVE_GPT -bool gpt_parts_check(void); -extern const struct disk_partitioning_scheme gpt_parts; -#endif -#ifdef HAVE_MBR -extern const struct disk_partitioning_scheme mbr_parts; -#endif - -#if RAW_PART == 3 -static struct disk_partitioning_scheme only_disklabel_parts; - -/* - * If not overridden by MD code, we can not boot from plain - * disklabel disks (w/o MBR). - */ -static bool have_only_disklabel_boot_support(const char *disk) -{ -#ifdef HAVE_PLAIN_DISKLABEL_BOOT - return HAVE_PLAIN_DISKLABEL_BOOT(disk); -#else - return false; -#endif -} -#endif - -/* - * One time initialization - */ -void -partitions_init(void) -{ - /* - * List of partitioning schemes. - * Order is important, the selection menu is created from start - * to end. Keep good defaults early. Most architectures will - * only offer very few entries. - */ -static const struct part_scheme_desc all_descs[] = { -#if RAW_PART != 3 /* only available as primary on some architectures */ - { NULL, &disklabel_parts }, -#endif -#ifdef HAVE_GPT - { gpt_parts_check, &gpt_parts }, -#endif -#ifdef HAVE_MBR - { NULL, &mbr_parts }, -#endif -#if RAW_PART == 3 /* "whole disk NetBSD" disklabel variant */ - { NULL, &only_disklabel_parts }, -#endif - }; - - size_t i, avail; - const struct disk_partitioning_scheme **out; - bool *is_available; - static const size_t all_cnt = __arraycount(all_descs); - - check_available_binaries(); - -#if RAW_PART == 3 - /* generate a variant of disklabel w/o parent scheme */ - only_disklabel_parts = disklabel_parts; - only_disklabel_parts.name = MSG_parttype_only_disklabel; - only_disklabel_parts.have_boot_support = - have_only_disklabel_boot_support; -#endif - - - is_available = malloc(all_cnt); - - for (avail = i = 0; i < all_cnt; i++) { - is_available[i] = all_descs[i].is_available == NULL - || all_descs[i].is_available(); - if (is_available[i]) - avail++; - } - - if (avail == 0) - return; - - num_available_part_schemes = avail; - available_part_schemes = malloc(sizeof(*available_part_schemes) - * (avail+1)); - if (available_part_schemes == NULL) - return; - - for (out = available_part_schemes, i = 0; i < all_cnt; i++) { - if (!is_available[i]) - continue; - *out++ = all_descs[i].ps; - } - *out = NULL; - - free(is_available); -} - -/* - * Final cleanup - */ -void -partitions_cleanup(void) -{ - for (size_t i = 0; i < num_available_part_schemes; i++) - if (available_part_schemes[i]->cleanup != NULL) - available_part_schemes[i]->cleanup(); - free(available_part_schemes); -} diff --git a/overlay/usr.sbin/sysinst/partitions.h b/overlay/usr.sbin/sysinst/partitions.h deleted file mode 100644 index 9add007976..0000000000 --- a/overlay/usr.sbin/sysinst/partitions.h +++ /dev/null @@ -1,647 +0,0 @@ -/* $NetBSD: partitions.h,v 1.31 2026/06/11 19:46:19 andvar Exp $ */ - -/* - * Copyright (c) 2020 The NetBSD Foundation, Inc. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ - -/* - * Abstract interface to access arbitrary disk partitioning schemes and - * keep Sysinst proper independent of the implementation / on-disk - * details. - * - * NOTE: - * - all sector numbers, alignment and sizes are in units of the - * disks physical sector size (not necessarily 512 bytes)! - * - some interfaces pass the disks sector size (when it is easily - * available at typical callers), but the backends can always - * assume it to be equal to the real physical sector size. If - * no value is passed, the backend can query the disk data - * via get_disk_geom(). - * - single exception: disk_partitioning_scheme::size_limit is in 512 - * byte sectors (as it is not associated with a concrete disk) - */ - -#include -#include -#include "msg_defs.h" - -/* - * Import all the file system types, as enum fs_type. - */ -#define FSTYPE_ENUMNAME fs_type -#define FSTYPENAMES -#include -#undef FSTYPE_ENUMNAME - -/* - * Use random values (outside uint8_t range) to mark special file system - * types that are not in the FSTYPE enumeration. - */ -#ifndef FS_TMPFS -#define FS_TMPFS 256 /* tmpfs (preferred for /tmp if available) */ -#endif -#ifndef FS_MFS -#define FS_MFS 257 /* mfs, alternative to tmpfs if that is - not available */ -#endif -#ifndef FS_EFI_SP -#define FS_EFI_SP 258 /* EFI system partition, uses FS_MSDOS, - but may have a different partition - type */ -#endif - -#define MAX_LABEL_LEN 128 /* max. length of a partition label */ -#define MAX_SHORTCUT_LEN 8 /* max. length of a shortcut ("a:") */ - -/* - * A partition index / handle, identifies a single partition within - * a struct disk_partitions. This is just an iterator/index - whenever - * changes to the set of partitions are done, partitions may get a new - * part_id. - * We assume that partitioning schemes keep partitions sorted (with - * key = start address, some schemes will have overlapping partitions, - * like MBR extended partitions). - */ -typedef size_t part_id; - -/* - * An invalid value for a partition index / handle - */ -#define NO_PART ((part_id)~0U) - -/* - * Intended usage for a partition - */ -enum part_type { - PT_undef, /* invalid value */ - PT_unknown, /* anything we can not map to one of these */ - PT_root, /* the NetBSD / partition (bootable) */ - PT_swap, /* the NetBSD swap partition */ - PT_FAT, /* boot partition (e.g. for u-boot) */ - PT_EXT2, /* boot partition (for Linux appliances) */ - PT_SYSVBFS, /* boot partition (for some SYSV machines) */ - PT_EFI_SYSTEM, /* (U)EFI boot partition */ -}; - -/* - * A generic structure describing partition types for menu/user interface - * purposes. The internal details may be richer and the *pointer* value - * is the unique token - that is: the partitioning scheme will hand out - * pointers to internal data and recognize the exact partition type details - * by pointer comparison. - */ -struct part_type_desc { - enum part_type generic_ptype; /* what this maps to in generic terms */ - const char *short_desc; /* short type description */ - const char *description; /* full description */ -}; - -/* Bits for disk_part_info.flags: */ -#define PTI_SEC_CONTAINER 1 /* this covers our secondary - partitions */ -#define PTI_WHOLE_DISK 2 /* all of the NetBSD disk */ -#define PTI_BOOT 4 /* required for booting */ -#define PTI_PSCHEME_INTERNAL 8 /* no user partition, e.g. - MBRs extend partition */ -#define PTI_RAW_PART 16 /* total disk */ -#define PTI_INSTALL_TARGET 32 /* marks the target partition - * assumed to become / after - * reboot; may not be - * persistent; may only be - * set for a single partition! - */ -#define PTI_SPECIAL_PARTS \ - (PTI_PSCHEME_INTERNAL|PTI_WHOLE_DISK|PTI_SEC_CONTAINER|PTI_RAW_PART) - - -/* A single partition */ -struct disk_part_info { - daddr_t start, size; /* start and size on disk */ - uint32_t flags; /* active PTI_ flags */ - const struct part_type_desc *nat_type; /* native partition type */ - /* - * The following will only be available - * a) for a small subset of file system types - * b) if the partition (in this state) has already been - * used before - * It is OK to leave all these zeroed / NULL when setting - * partition data - or leave them at the last values a get operation - * returned. Backends can not rely on them to be valid. - */ - const char *last_mounted; /* last mount point or NULL */ - unsigned int fs_type, fs_sub_type, /* FS_* type of filesystem - * and for some FS a sub - * type (e.g. FFSv1 vs. FFSv2) - */ - fs_opt1, fs_opt2, fs_opt3; /* FS specific option, used - * for FFS block/fragsize - * and inodes - */ -}; - -/* An unused area that may be used for new partitions */ -struct disk_part_free_space { - daddr_t start, size; -}; - -/* - * Some partition schemes define additional data that needs to be edited. - * These attributes are described in this structure and referenced by - * their index into the fixed list of available attributes. - */ -enum custom_attr_type { pet_bool, pet_cardinal, pet_str }; -struct disk_part_custom_attribute { - msg label; /* Name, like "active partition" */ - enum custom_attr_type type; /* bool, long, char* */ - size_t strlen; /* maximum length if pet_str */ -}; - -/* - * When displaying a partition editor, we have standard columns, but - * partitioning schemes add custom columns to the table as well. - * There is a fixed number of columns and they are described by this - * structure: - */ -struct disk_part_edit_column_desc { - msg title; - unsigned int width; -}; - -struct disk_partitions; /* in-memory representation of a set of partitions */ - -/* - * When querying partition "device" names, we may ask for: - */ -enum dev_name_usage { - parent_device_only, /* wd0 instead of wd0i, no path */ - logical_name, /* NAME=my-root instead of dk7 */ - plain_name, /* e.g. /dev/wd0i or /dev/dk7 */ - raw_dev_name, /* e.g. /dev/rwd0i or /dev/rdk7 */ -}; - -/* - * A scheme how to store partitions on-disk, and methods to read/write - * them to/from our abstract internal presentation. - */ -struct disk_partitioning_scheme { - /* name of the on-disk scheme, retrieved via msg_string */ - msg name, short_name; - - /* prompt shown when creating custom partition types */ - msg new_type_prompt; - - /* description of scheme specific partition flags */ - msg part_flag_desc; - - /* - * size restrictions for this partitioning scheme (number - * of 512 byte sectors max) - */ - daddr_t size_limit; /* 0 if not limited */ - - /* - * If this scheme allows sub-partitions (i.e. MBR -> disklabel), - * this is a pointer to the (potential/optional) secondary - * scheme. Depending on partitioning details it may not be - * used in the end. - * This link is only here for better help messages. - * See *secondary_partitions further below for actually accessing - * secondary partitions. - */ - const struct disk_partitioning_scheme *secondary_scheme; - - /* - * Partition editor colum descriptions for whatever the scheme - * needs to display (see format_partition_table_str below). - */ - size_t edit_columns_count; - const struct disk_part_edit_column_desc *edit_columns; - - /* - * Custom attributes editable by the partitioning scheme (but of - * no particular meaning for sysinst) - */ - size_t custom_attribute_count; - const struct disk_part_custom_attribute *custom_attributes; - - /* - * Partition types supported by this scheme, - * first function gets the number, second queries single elements - */ - size_t (*get_part_types_count)(void); - const struct part_type_desc * (*get_part_type)(size_t ndx); - /* - * Get the preferred native representation for a generic partition type - */ - const struct part_type_desc * (*get_generic_part_type)(enum part_type); - /* - * Get the preferred native partition type for a specific file system - * type (FS_*) and subtype (fs specific value) - */ - const struct part_type_desc * (*get_fs_part_type)( - enum part_type, unsigned, unsigned); - /* - * Optional: inverse to above: given a part_type_desc, set default - * fstype and subtype. - */ - bool (*get_default_fstype)(const struct part_type_desc *, - unsigned *fstype, unsigned *fs_sub_type); - /* - * Create a custom partition type. If the type already exists - * (or there is a collision), the old existing type will be - * returned and no new type created. This is not considered - * an error (to keep the user interface simple). - * On failure NULL is returned and (if passed != NULL) - * *err_msg is set to a message describing the error. - */ - const struct part_type_desc * (*create_custom_part_type) - (const char *custom, const char **err_msg); - /* - * Return a usable internal partition type representation - * for types that are not otherwise mappable. - * This could be FS_OTHER for disklabel, or a randomly - * created type guid for GPT. This type may or may not be - * in the regular type list. If not, it needs to behave like a - * custom type. - */ - const struct part_type_desc * (*create_unknown_part_type)(void); - - /* - * Global attributes - */ - /* - * Get partition alignment suggestion. The schemen may enforce - * additional/different alignment for some partitions. - */ - daddr_t (*get_part_alignment)(const struct disk_partitions*); - - /* - * Methods to manipulate the in-memory abstract representation - */ - - /* Retrieve data about a single partition, identified by the part_id. - * Fill the disk_part_info structure - */ - bool (*get_part_info)(const struct disk_partitions*, part_id, - struct disk_part_info*); - - /* Optional: fill an attribute string describing the given partition */ - bool (*get_part_attr_str)(const struct disk_partitions*, part_id, - char *str, size_t avail_space); - /* Format a partition editor element for the "col" column in - * edit_columns. Used e.g. with MBR to set "active" flags. - */ - bool (*format_partition_table_str)(const struct disk_partitions*, - part_id, size_t col, char *outstr, size_t outspace); - - /* is the type of this partition changeable? */ - bool (*part_type_can_change)(const struct disk_partitions*, - part_id); - - /* can we add further partitions? */ - bool (*can_add_partition)(const struct disk_partitions*); - - /* is the custom attribute changeable? */ - bool (*custom_attribute_writable)(const struct disk_partitions*, - part_id, size_t attr_no); - /* - * Output formatting for custom attributes. - * If "info" is != NULL, use (where it makes sense) - * values from that structure, as if a call to set_part_info - * would have been done before this call. - */ - bool (*format_custom_attribute)(const struct disk_partitions*, - part_id, size_t attr_no, const struct disk_part_info *info, - char *out, size_t out_space); - /* value setter functions for custom attributes */ - /* pet_bool: */ - bool (*custom_attribute_toggle)(struct disk_partitions*, - part_id, size_t attr_no); - /* pet_cardinal: */ - bool (*custom_attribute_set_card)(struct disk_partitions*, - part_id, size_t attr_no, long new_val); - /* pet_str or pet_cardinal: */ - bool (*custom_attribute_set_str)(struct disk_partitions*, - part_id, size_t attr_no, const char *new_val); - - /* - * Optional: additional user information when showing the size - * editor (especially for existing unknown partitions) - */ - const char * (*other_partition_identifier)(const struct - disk_partitions*, part_id); - - - /* Retrieve device and partition names, e.g. for checking - * against kern.root_device or invoking newfs. - * For disklabel partitions, "part" will be set to the partition - * index (a = 0, b = 1, ...), for others it will get set to -1. - * If dev_name_usage is parent_device_only, the device name will - * not include a partition letter - obviously this only makes a - * difference with disklabel partitions. - * If dev_name_usage is logical_name instead of a device name - * a given name may be returned in NAME= syntax. - * If with_path is true (and the returned value is a device - * node), include the /dev/ prefix in the result string - * (this is ignored when returning NAME= syntax for /etc/fstab). - * If life is true, the device must be made available under - * that name (only makes a difference for NAME=syntax if - * no wedge has been created yet,) - implied for all variants - * where dev_name_usage != logical_name. - */ - bool (*get_part_device)(const struct disk_partitions*, - part_id, char *devname, size_t max_devname_len, int *part, - enum dev_name_usage, bool with_path, bool life); - - /* - * How big could we resize the given position (start of existing - * partition or free space) - */ - daddr_t (*max_free_space_at)(const struct disk_partitions*, daddr_t); - - /* - * Provide a list of free spaces usable for further partitioning, - * assuming the given partition alignment. - * If start is > 0 no space with lower sector numbers will - * be found. - * If ignore is > 0, any partition starting at that sector will - * be considered "free", this is used e.g. when moving an existing - * partition around. - */ - size_t (*get_free_spaces)(const struct disk_partitions*, - struct disk_part_free_space *result, size_t max_num_result, - daddr_t min_space_size, daddr_t align, daddr_t start, - daddr_t ignore /* -1 */); - - /* - * Translate a partition description from a foreign partitioning - * scheme as close as possible to what we can handle in add_partition. - * This mostly adjusts flags and partition type pointers (using - * more lose matching than add_partition would do). - */ - bool (*adapt_foreign_part_info)( - const struct disk_partitions *myself, struct disk_part_info *dest, - const struct disk_partitioning_scheme *src_scheme, - const struct disk_part_info *src); - - /* - * Update data for an existing partition - */ - bool (*set_part_info)(struct disk_partitions*, part_id, - const struct disk_part_info*, const char **err_msg); - - /* Add a new partition and return its part_id. */ - part_id (*add_partition)(struct disk_partitions*, - const struct disk_part_info*, const char **err_msg); - - /* - * Optional: add a partition from an outer scheme, accept all - * details w/o verification as best as possible. - */ - part_id (*add_outer_partition)(struct disk_partitions*, - const struct disk_part_info*, const char **err_msg); - - /* Delete all partitions */ - bool (*delete_all_partitions)(struct disk_partitions*); - - /* Optional: delete any partitions inside the given range */ - bool (*delete_partitions_in_range)(struct disk_partitions*, - daddr_t start, daddr_t size); - - /* Delete the specified partition */ - bool (*delete_partition)(struct disk_partitions*, part_id, - const char **err_msg); - - /* - * Methods for the whole set of partitions - */ - /* - * If this scheme only creates a singly NetBSD partition, which - * then is sub-partitioned (usually by disklabel), this returns a - * pointer to the secondary partition set. - * Otherwise NULL is returned, e.g. when there is no - * NetBSD partition defined (so this might change over time). - * Schemes that NEVER use a secondary scheme set this - * function pointer to NULL. - * - * If force_empty = true, ignore all on-disk contents and just - * create a new disk_partitions structure for the secondary scheme - * (this is used after deleting all partitions and setting up - * things for "use whole disk"). - * - * The returned pointer is always owned by the primary partitions, - * caller MUST never free it, but otherwise can manipulate it - * arbitrarily. - */ - struct disk_partitions * - (*secondary_partitions)(struct disk_partitions *, daddr_t start, - bool force_empty); - - /* - * Write the whole set (in new_state) back to disk. - */ - bool (*write_to_disk)(struct disk_partitions *new_state); - - /* - * Try to read partitions from a disk, return NULL if this is not - * the partitioning scheme in use on that device. - * Usually start and len are 0 (and ignored). - * If this is about a part of a disk (like only the NetBSD - * MBR partition, start and len are the valid part of the - * disk. - */ - struct disk_partitions * (*read_from_disk)(const char *, - daddr_t start, daddr_t len, size_t bytes_per_sec, - const struct disk_partitioning_scheme *); - - /* - * Set up all internal data for a new disk. - */ - struct disk_partitions * (*create_new_for_disk)(const char *, - daddr_t start, daddr_t len, bool is_boot_drive, - struct disk_partitions *parent); - - /* - * Optional: this scheme may be used to boot from the given disk - */ - bool (*have_boot_support)(const char *disk); - - /* - * Optional: try to guess disk geometry from the partition information - */ - int (*guess_disk_geom)(struct disk_partitions *, - int *cyl, int *head, int *sec); - - /* - * Return a "cylinder size" (in number of blocks) - whatever that - * means to a particular partitioning scheme. - */ - size_t (*get_cylinder_size)(const struct disk_partitions *); - - /* - * Optional: change used geometry info and update internal state - */ - bool (*change_disk_geom)(struct disk_partitions *, - int cyl, int head, int sec); - - /* - * Optional: - * Get or set a name for the whole disk (most partitioning - * schemes do not provide this). Used for disklabel "pack names", - * which then may be used for auto-discovery of wedges, so it - * makes sense for the user to edit them. - */ - bool (*get_disk_pack_name)(const struct disk_partitions *, - char *, size_t); - bool (*set_disk_pack_name)(struct disk_partitions *, const char *); - - /* - * Optional: - * Find a partition by name (as used in /etc/fstab NAME= entries) - */ - part_id (*find_by_name)(struct disk_partitions *, const char *name); - - /* - * Optional: - * Try to guess install target partition from internal data, - * returns true if a safe match was found and sets start/size - * to the target partition. - */ - bool (*guess_install_target)(const struct disk_partitions *, - daddr_t *start, daddr_t *size); - - /* - * Optional: verify that the whole set of partitions would be bootable, - * fix up any issues (with user interaction) where needed. - * If "quiet" is true, fix up everything silently if possible - * and never return 1. - * Returns: - * 0: abort install - * 1: re-edit partitions - * 2: use anyway (continue) - */ - int (*post_edit_verify)(struct disk_partitions *, bool quiet); - - /* - * Optional: called during updates, before mounting the target disk(s), - * before md_pre_update() is called. Can be used to fixup - * partition info for historic errors (e.g. i386 changing MBR - * partition type from 165 to 169), similar to post_edit_verify. - * Returns: - * true if the partition info has changed (write back required) - * false if nothing further needs to be done. - */ - bool (*pre_update_verify)(struct disk_partitions *); - - /* Free all the data */ - void (*free)(struct disk_partitions*); - - /* Wipe all on-disk state, leave blank disk - and free data */ - void (*destroy_part_scheme)(struct disk_partitions*); - - /* Scheme global cleanup */ - void (*cleanup)(void); -}; - -/* - * The in-memory representation of all partitions on a concrete disk, - * tied to the partitioning scheme in use. - * - * Concrete schemes will derive from the abstract disk_partitions - * structure (by aggregation), but consumers of the API will only - * ever see this public part. - */ -struct disk_partitions { - /* which partitioning scheme is in use */ - const struct disk_partitioning_scheme *pscheme; - - /* the disk device this came from (or should go to) */ - const char *disk; - - /* global/public disk data */ - - /* - * The basic unit of size used for this disk (all "start", - * "size" and "align" values are in this unit). - */ - size_t bytes_per_sector; /* must be 2^n and >= 512 */ - - /* - * Valid partitions may have IDs in the range 0 .. num_part (excl.) - */ - part_id num_part; - - /* - * If this is a sub-partitioning, the start of the "disk" is - * some arbitrary partition in the parent. Sometimes we need - * to be able to calculate absoluted offsets. - */ - daddr_t disk_start; - /* - * Total size of the disk (usable for partitioning) - */ - daddr_t disk_size; - - /* - * Space not yet allocated - */ - daddr_t free_space; - - /* - * If this is the secondary partitioning scheme, pointer to - * the outer one. Otherwise NULL. - */ - struct disk_partitions *parent; -}; - -/* - * A list of partitioning schemes, so we can iterate over everything - * supported (e.g. when partitioning a new disk). NULL terminated. - */ -extern const struct disk_partitioning_scheme **available_part_schemes; -extern size_t num_available_part_schemes; - -/* - * Generic reader - query a disk device and read all partitions from it - */ -struct disk_partitions * -partitions_read_disk(const char *, daddr_t disk_size, - size_t bytes_per_sector, bool no_mbr); - -/* - * Generic part info adaption, may be overridden by individual partitioning - * schemes - */ -bool generic_adapt_foreign_part_info( - const struct disk_partitions *myself, struct disk_part_info *dest, - const struct disk_partitioning_scheme *src_scheme, - const struct disk_part_info *src); - -/* - * One time initialization and cleanup - */ -void partitions_init(void); -void partitions_cleanup(void); - diff --git a/overlay/usr.sbin/sysinst/partman.c b/overlay/usr.sbin/sysinst/partman.c deleted file mode 100644 index 524b35fd4f..0000000000 --- a/overlay/usr.sbin/sysinst/partman.c +++ /dev/null @@ -1,3440 +0,0 @@ -/* $NetBSD: partman.c,v 1.58 2026/06/21 16:47:37 martin Exp $ */ - -/* - * Copyright 2012 Eugene Lozovoy - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Eugene Lozovoy may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* - * Copyright 2010 The NetBSD Foundation, Inc. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* partman.c - extended partitioning */ - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "defs.h" -#include "msg_defs.h" -#include "menu_defs.h" - -/* XXX: replace all MAX_* defines with vars that depend on kernel settings */ -#define MAX_ENTRIES 96 - -#define MAX_RAID 8 -#define MAX_IN_RAID 48 -struct raid_comp { - char name[SSTRSIZE]; /* display name for this component */ - struct disk_partitions *parts; /* where is this on? */ - part_id id; /* which partition in parts */ - bool is_spare; /* is this a spare component? */ -}; -struct raid_desc { - int enabled; - int blocked; - int node; /* the N in raid${N} */ - int numRow, numCol, numSpare; - int sectPerSU, SUsPerParityUnit, SUsPerReconUnit, raid_level; - daddr_t total_size; - struct raid_comp comp[MAX_IN_RAID]; -}; -struct raid_desc *raids; - -#define MAX_VND 4 -struct vnd_desc { - int enabled; - int blocked; - int node; /* the N in vnd${N} */ - char filepath[STRSIZE]; - daddr_t size; - int readonly; - int is_exist; - int manual_geom; - int secsize, nsectors, ntracks, ncylinders; - struct pm_devs *pm; /* device this is on */ - part_id pm_part; /* which partition (in pm->parts) */ -}; -struct vnd_desc *vnds; - -#define MAX_CGD 4 -struct cgd_desc { - int enabled; - int blocked; - int node; /* the N in cgd${N} */ - char pm_name[SSTRSIZE]; - const char *keygen_type; - const char *verify_type; - const char *enc_type; - const char *iv_type; - int key_size; - struct pm_devs *pm; /* device this is on */ - part_id pm_part; /* which partition (in pm->parts) */ -}; -struct cgd_desc *cgds; - -#define MAX_LVM_VG 16 -#define MAX_LVM_PV 255 -#define MAX_LVM_LV 255 - -struct lvm_pv_reg { - struct pm_devs *pm; - daddr_t start; -}; -struct lvm_pv_reg lvm_pvs[MAX_LVM_PV]; /* XXX - make dynamic */ - -typedef struct pv_t { - struct pm_devs *pm; - char pm_name[SSTRSIZE]; - part_id pm_part; - int metadatasize; - int metadatacopies; - int labelsector; - int setphysicalvolumesize; -} pv_t; -typedef struct lv_t { - int blocked; - daddr_t size; - char name[SSTRSIZE]; - int readonly; - int contiguous; - char extents[SSTRSIZE]; - int minor; - int mirrors; - int regionsize; - int persistent; - int readahead; - int stripes; - int stripesize; - int zero; -} lv_t; -typedef struct lvms_t { - int enabled; - int blocked; - char name[SSTRSIZE]; - int maxlogicalvolumes; - int maxphysicalvolumes; - int physicalextentsize; - daddr_t total_size; - pv_t pv[MAX_LVM_PV]; - lv_t lv[MAX_LVM_LV]; -} lvms_t; -lvms_t *lvms; - -typedef struct structinfo_t { - int max; - uint entry_size; - uint parent_size; - void *entry_first; - void *entry_enabled; - void *entry_blocked; - void *entry_node; -} structinfo_t; -structinfo_t raids_t_info, vnds_t_info, cgds_t_info, lvms_t_info, lv_t_info; - -typedef struct pm_upddevlist_adv_t { - const char *create_msg; - int pe_type; - structinfo_t *s; - int sub_num; - struct pm_upddevlist_adv_t *sub; -} pm_upddevlist_adv_t; - -#define MAX_MNTS 48 -struct { - char dev[STRSIZE]; - const char *mnt_opts, *on; -} *mnts; - -static int pm_cursel; /* Number of selected entry in main menu */ -static int pm_changed; /* flag indicating that we have unsaved changes */ -static int pm_raid_curspare; /* XXX: replace by true way */ -static int pm_retvalue; - -enum { /* RAIDframe menu enum */ - PMR_MENU_DEVS, PMR_MENU_DEVSSPARE, PMR_MENU_RAIDLEVEL, PMR_MENU_NUMROW, - PMR_MENU_NUMCOL, PMR_MENU_NUMSPARE, PMR_MENU_SECTPERSU, PMR_MENU_SUSPERPARITYUNIT, - PMR_MENU_SUSPERRECONUNIT, PMR_MENU_REMOVE, PMR_MENU_END -}; - -enum { /* VND menu enum */ - PMV_MENU_FILEPATH, PMV_MENU_EXIST, PMV_MENU_SIZE, PMV_MENU_RO, PMV_MENU_MGEOM, - PMV_MENU_SECSIZE, PMV_MENU_NSECTORS, PMV_MENU_NTRACKS, PMV_MENU_NCYLINDERS, - PMV_MENU_REMOVE, PMV_MENU_END -}; - -enum { /* CGD menu enum */ - PMC_MENU_DEV, PMC_MENU_ENCTYPE, PMC_MENU_KEYSIZE, PMC_MENU_IVTYPE, - PMC_MENU_KEYGENTYPE, PMC_MENU_VERIFYTYPE, PMC_MENU_REMOVE, PMC_MENU_END -}; - -enum { /* LVM menu enum */ - PML_MENU_PV, PML_MENU_NAME, PML_MENU_MAXLOGICALVOLUMES, - PML_MENU_MAXPHYSICALVOLUMES, PML_MENU_PHYSICALEXTENTSIZE, - PML_MENU_REMOVE, PML_MENU_END -}; - -enum { /* LVM submenu (logical volumes) enum */ - PMLV_MENU_NAME, PMLV_MENU_SIZE, PMLV_MENU_READONLY, PMLV_MENU_CONTIGUOUS, - PMLV_MENU_EXTENTS, PMLV_MENU_MINOR, PMLV_MENU_PERSISTENT, - PMLV_MENU_MIRRORS, PMLV_MENU_REGIONSIZE, PMLV_MENU_READAHEAD, - PMLV_MENU_STRIPES, PMLV_MENU_STRIPESIZE, PMLV_MENU_ZERO, - PMLV_MENU_REMOVE, PMLV_MENU_END -}; - -struct part_entry pm_dev_list(int); -static int pm_raid_disk_add(menudesc *, void *); -static int pm_raid_disk_del(menudesc *, void *); -static int pm_cgd_disk_set(struct cgd_desc *, struct part_entry *); -static int pm_mount(struct pm_devs *, int); -static int pm_upddevlist(menudesc *, void *, struct install_partition_desc *); -static void pm_select(struct pm_devs *); - - -static int -pm_do_upddevlist(menudesc *m, void *arg) -{ - return pm_upddevlist(m, arg, ((struct part_entry*)arg)->install); -} - -static void -pm_edit_size_value(msg prompt_msg, daddr_t bps, daddr_t cylsec, daddr_t *size) -{ - - char answer[16], dflt[16]; - daddr_t new_size_val, mult; - - snprintf(dflt, sizeof dflt, "%" PRIu64 "%s", *size / sizemult, - multname); - - msg_prompt_win(prompt_msg, -1, 18, 0, 0, dflt, answer, sizeof answer); - - mult = sizemult; - new_size_val = parse_disk_pos(answer, &mult, bps, cylsec, NULL); - - if (new_size_val > 0) - *size = new_size_val * mult; -} - -static const char * -pm_get_mount(struct pm_devs *p, part_id id) -{ - - if (p->mounted == NULL) - return NULL; - if (id >= p->parts->num_part) - return NULL; - return p->mounted[id]; -} - -bool pm_set_mount(struct pm_devs *p, part_id id, const char *path); - -bool -pm_set_mount(struct pm_devs *p, part_id id, const char *path) -{ - - if (p->parts == NULL || id >= p->parts->num_part) - return false; - - if (p->mounted == NULL) { - p->mounted = calloc(p->parts->num_part, sizeof(char*)); - if (p->mounted == NULL) - return false; - } - free(p->mounted[id]); - p->mounted[id] = strdup(path); - return p->mounted[id] != NULL; -} - -/* Universal menu for RAID/VND/CGD/LVM entry edit */ -static int -pm_edit(int menu_entries_count, void (*menu_fmt)(menudesc *, int, void *), - int (*action)(menudesc *, void *), int (*check_fun)(void *), - void (*entry_init)(void *, void *), void *entry_init_arg, - void *dev_ptr, int dev_ptr_delta, structinfo_t *s) -{ - int i, ok = 0; - menu_ent *menu_entries; - - if (dev_ptr == NULL) { - /* We should create new device */ - for (i = 0; i < s->max && !ok; i++) - if (*(int*)((char*)s->entry_enabled + dev_ptr_delta + s->entry_size * i) == 0) { - dev_ptr = (char*)s->entry_first + dev_ptr_delta + s->entry_size * i; - entry_init(dev_ptr, entry_init_arg); - ok = 1; - } - if (!ok) { - /* We do not have free device slots */ - hit_enter_to_continue(NULL, MSG_limitcount); - return -1; - } - } - - menu_entries = calloc(menu_entries_count, sizeof *menu_entries); - for (i = 0; i < menu_entries_count - 1; i++) - menu_entries[i] = (menu_ent) { .opt_action=action }; - menu_entries[i] = (menu_ent) { .opt_name=MSG_fremove, - .opt_flags=OPT_EXIT, - .opt_action=action }; - - int menu_no = -1; - menu_no = new_menu(NULL, menu_entries, menu_entries_count, - -1, -1, 0, 40, MC_NOCLEAR | MC_SCROLL, - NULL, menu_fmt, NULL, NULL, MSG_DONE); - - process_menu(menu_no, dev_ptr); - free_menu(menu_no); - free(menu_entries); - - return check_fun(dev_ptr); -} - -/* Show filtered partitions menu */ -struct part_entry -pm_dev_list(int type) -{ - int dev_num = -1, num_devs = 0; - bool ok; - part_id i; - int menu_no; - struct disk_part_info info; - menu_ent menu_entries[MAX_DISKS*MAXPARTITIONS]; - struct part_entry disk_entries[MAX_DISKS*MAXPARTITIONS]; - struct pm_devs *pm_i; - - SLIST_FOREACH(pm_i, &pm_head, l) { - if (pm_i->parts == NULL) - continue; - for (i = 0; i < pm_i->parts->num_part; i++) { - ok = false; - if (!pm_i->parts->pscheme->get_part_info(pm_i->parts, - i, &info)) - continue; - if (info.flags & - (PTI_WHOLE_DISK|PTI_PSCHEME_INTERNAL|PTI_RAW_PART)) - continue; - switch (type) { - case PM_RAID: - if (info.fs_type == FS_RAID) - ok = 1; - break; - case PM_CGD: - if (info.fs_type == FS_CGD) - ok = 1; - break; - case PM_LVM: - if (pm_is_lvmpv(pm_i, i, &info)) - ok = 1; - break; - } - if (!ok) - continue; - if (pm_partusage(pm_i, i, 0) != 0) - continue; - - disk_entries[num_devs].dev_ptr = pm_i; - disk_entries[num_devs].id = i; - disk_entries[num_devs].parts = pm_i->parts; - - pm_i->parts->pscheme->get_part_device( - pm_i->parts, i, disk_entries[num_devs].fullname, - sizeof disk_entries[num_devs].fullname, - NULL, plain_name, false, true); - - menu_entries[num_devs] = (struct menu_ent) { - .opt_name = disk_entries[num_devs].fullname, - .opt_action = set_menu_select, - .opt_flags = OPT_EXIT, - }; - num_devs++; - } - } - - menu_no = new_menu(MSG_avdisks, - menu_entries, num_devs, -1, -1, - (num_devs+1<3)?3:num_devs+1, 13, - MC_SCROLL | MC_NOCLEAR, NULL, NULL, NULL, NULL, MSG_cancel); - if (menu_no == -1) - return (struct part_entry) { 0 }; - process_menu(menu_no, &dev_num); - free_menu(menu_no); - - if (dev_num < 0 || dev_num >= num_devs) - return (struct part_entry) { 0 }; - - pm_retvalue = dev_num; - return disk_entries[dev_num]; -} - -/* Get unused raid*, cgd* or vnd* device */ -static int -pm_manage_getfreenode(void *node, const char *d, structinfo_t *s) -{ - int i, ii, ok; - char buf[SSTRSIZE]; - struct pm_devs *pm_i; - - *(int*)node = -1; - for (i = 0; i < s->max; i++) { - ok = 1; - /* Check that node is not already reserved */ - for (ii = 0; ii < s->max; ii++) { - if (*(int*)((char*)s->entry_enabled + s->entry_size - * ii) == 0) - continue; - if (*(int*)((char*)s->entry_node + s->entry_size * ii) - == i) { - ok = 0; - break; - } - } - if (! ok) - continue; - /* Check that node is not in the device list */ - snprintf(buf, SSTRSIZE, "%s%d", d, i); - SLIST_FOREACH(pm_i, &pm_head, l) - if (! strcmp(pm_i->diskdev, buf)) { - ok = 0; - break; - } - if (ok) { - *(int*)node = i; - return i; - } - } - hit_enter_to_continue(NULL, MSG_nofreedev); - return -1; -} - -/* - * Show a line for a device, usually with full size in the right - * column, alternatively (if != NULL) with no_size_display - * instead in parentheses (used for error displays or to note - * a action that can be done to this device. - */ -static void -pm_fmt_disk_line(WINDOW *w, const char *line, const char *on, - daddr_t total, const char *no_size_display) -{ - char out[STRSIZE], human[6]; - - if (on != NULL) { - snprintf(out, sizeof out, "%s %s %s", line, - msg_string(MSG_pm_menu_on), on); - line = out; - } - if (no_size_display != NULL) { - wprintw(w, " %-56s (%s)", line, no_size_display); - } else { - humanize_number(human, sizeof(human), - total * 512, "", - HN_AUTOSCALE, HN_B | HN_NOSPACE | HN_DECIMAL); - wprintw(w, " %-56s %s", line, human); - } -} - -/*** - RAIDs - ***/ - -static void -pm_raid_menufmt(menudesc *m, int opt, void *arg) -{ - int i, ok = 0; - char buf[STRSIZE], rdev[STRSIZE], level[STRSIZE], *line; - struct raid_desc *dev_ptr = ((struct part_entry *)arg)[opt].dev_ptr; - - if (dev_ptr->enabled == 0) - return; - buf[0] = '\0'; - sprintf(rdev, "raid%d", dev_ptr->node); - for (i = 0; i < MAX_IN_RAID; i++) { - if (dev_ptr->comp[i].parts != NULL) { - strlcat(buf, dev_ptr->comp[i].name, sizeof buf); - strlcat(buf, " ", sizeof buf); - ok = 1; - } - } - if (ok) { - sprintf(level, "%u", dev_ptr->raid_level); - const char *args[] = { rdev, level }; - line = str_arg_subst(msg_string(MSG_raid_menufmt), - __arraycount(args), args); - pm_fmt_disk_line(m->mw, line, buf, dev_ptr->total_size, NULL); - free(line); - } else { - pm_fmt_disk_line(m->mw, buf, NULL, 0, - msg_string(MSG_raid_err_menufmt)); - } -} - -static void -pm_raid_edit_menufmt(menudesc *m, int opt, void *arg) -{ - int i; - char buf[STRSIZE]; - struct raid_desc *dev_ptr = arg; - - buf[0] = '\0'; - switch (opt) { - case PMR_MENU_DEVS: - strlcpy(buf, msg_string(MSG_raid_disks_fmt), - sizeof buf); - strlcat(buf, ": ", sizeof buf); - for (i = 0; i < MAX_IN_RAID; i++) { - if (dev_ptr->comp[i].parts == NULL || - dev_ptr->comp[i].is_spare) - continue; - strlcat(buf, " ", sizeof buf); - strlcat(buf, dev_ptr->comp[i].name, sizeof buf); - } - wprintw(m->mw, "%s", buf); - break; - case PMR_MENU_DEVSSPARE: - strlcpy(buf, msg_string(MSG_raid_spares_fmt), - sizeof buf); - strlcat(buf, ": ", sizeof buf); - for (i = 0; i < MAX_IN_RAID; i++) { - if (dev_ptr->comp[i].parts == NULL || - !dev_ptr->comp[i].is_spare) - continue; - strlcat(buf, " ", sizeof buf); - strlcat(buf, dev_ptr->comp[i].name, sizeof buf); - } - wprintw(m->mw, "%s", buf); - break; - case PMR_MENU_RAIDLEVEL: - wprintw(m->mw, "%s: %u", - msg_string(MSG_raid_level_fmt), - dev_ptr->raid_level); - break; - case PMR_MENU_NUMROW: - wprintw(m->mw, "%s: %u", - msg_string(MSG_raid_numrow_fmt), dev_ptr->numRow); - break; - case PMR_MENU_NUMCOL: - wprintw(m->mw, "%s: %u", - msg_string(MSG_raid_numcol_fmt), dev_ptr->numCol); - break; - case PMR_MENU_NUMSPARE: - wprintw(m->mw, "%s: %u", - msg_string(MSG_raid_numspare_fmt), - dev_ptr->numSpare); - break; - case PMR_MENU_SECTPERSU: - wprintw(m->mw, "%s: %u", - msg_string(MSG_raid_sectpersu_fmt), - dev_ptr->sectPerSU); - break; - case PMR_MENU_SUSPERPARITYUNIT: - wprintw(m->mw, "%s: %u", - msg_string(MSG_raid_superpar_fmt), - dev_ptr->SUsPerParityUnit); - break; - case PMR_MENU_SUSPERRECONUNIT: - wprintw(m->mw, "%s: %u", - msg_string(MSG_raid_superrec_fmt), - dev_ptr->SUsPerReconUnit); - break; - } -} - -static int -pm_raid_set_value(menudesc *m, void *arg) -{ - int retvalue = -1; - int *out_var = NULL; - char buf[SSTRSIZE]; - const char *msg_to_show = NULL; - struct raid_desc *dev_ptr = arg; - - static menu_ent menuent_disk_adddel[] = { - { .opt_name=MSG_add, .opt_flags=OPT_EXIT, - .opt_action=pm_raid_disk_add }, - { .opt_name=MSG_remove, .opt_flags=OPT_EXIT, - .opt_action=pm_raid_disk_del } - }; - static int menu_disk_adddel = -1; - if (menu_disk_adddel == -1) { - menu_disk_adddel = new_menu(NULL, menuent_disk_adddel, - __arraycount(menuent_disk_adddel), - -1, -1, 0, 10, MC_NOCLEAR, NULL, NULL, NULL, NULL, - MSG_cancel); - } - - switch (m->cursel) { - case PMR_MENU_DEVS: - pm_raid_curspare = 0; - process_menu(menu_disk_adddel, dev_ptr); - return 0; - case PMR_MENU_DEVSSPARE: - pm_raid_curspare = 1; - process_menu(menu_disk_adddel, dev_ptr); - return 0; - case PMR_MENU_RAIDLEVEL: - process_menu(MENU_raidlevel, &retvalue); - if (retvalue >= 0) - dev_ptr->raid_level = retvalue; - return 0; - case PMR_MENU_NUMROW: - hit_enter_to_continue(NULL, MSG_raid_nomultidim); - return 0; -#if 0 /* notyet */ - msg_to_show = MSG_raid_numrow_ask; - out_var = &(dev_ptr->numRow); - break; -#endif - case PMR_MENU_NUMCOL: - msg_to_show = MSG_raid_numcol_ask; - out_var = &(dev_ptr->numCol); - break; - case PMR_MENU_NUMSPARE: - msg_to_show = MSG_raid_numspare_ask; - out_var = &(dev_ptr->numSpare); - break; - case PMR_MENU_SECTPERSU: - msg_to_show = MSG_raid_sectpersu_ask; - out_var = &(dev_ptr->sectPerSU); - break; - case PMR_MENU_SUSPERPARITYUNIT: - msg_to_show = MSG_raid_superpar_ask; - out_var = &(dev_ptr->SUsPerParityUnit); - break; - case PMR_MENU_SUSPERRECONUNIT: - msg_to_show = MSG_raid_superrec_ask; - out_var = &(dev_ptr->SUsPerReconUnit); - break; - case PMR_MENU_REMOVE: - dev_ptr->enabled = 0; - return 0; - } - if (out_var == NULL || msg_to_show == NULL) - return -1; - snprintf(buf, SSTRSIZE, "%d", *out_var); - msg_prompt_win(msg_to_show, -1, 18, 0, 0, buf, buf, SSTRSIZE); - if (atoi(buf) >= 0) - *out_var = atoi(buf); - return 0; -} - -static void -pm_raid_init(void *arg, void *none) -{ - struct raid_desc *dev_ptr = arg; - memset(dev_ptr, 0, sizeof(*dev_ptr)); - *dev_ptr = (struct raid_desc) { - .enabled = 1, - .blocked = 0, - .sectPerSU = 32, - .SUsPerParityUnit = 1, - .SUsPerReconUnit = 1, - }; -} - -static int -pm_raid_check(void *arg) -{ - size_t i, dev_num = 0; - daddr_t min_size = 0, cur_size = 0; - struct raid_desc *dev_ptr = arg; - struct disk_part_info info; - struct disk_partitions *parts; - - if (dev_ptr->blocked) - return 0; - - for (i = 0; i < MAX_IN_RAID; i++) { - if (dev_ptr->comp[i].parts != NULL) { - parts = dev_ptr->comp[i].parts; - if (!parts->pscheme->get_part_info(parts, - dev_ptr->comp[i].id, &info)) - continue; - cur_size = info.size; - if (cur_size < min_size || dev_num == 0) - min_size = cur_size; - if (dev_ptr->comp[i].is_spare) - continue; - dev_num++; - } - } - - /* Calculate sum of available space */ - if (dev_num > 0) { - switch (dev_ptr->raid_level) { - case 0: - dev_ptr->total_size = min_size * dev_num; - break; - case 1: - dev_ptr->total_size = min_size; - break; - case 4: - case 5: - dev_ptr->total_size = min_size * (dev_num - 1); - break; - } - pm_manage_getfreenode(&(dev_ptr->node), "raid", &raids_t_info); - if (dev_ptr->node < 0) - dev_ptr->enabled = 0; - } - else - dev_ptr->enabled = 0; - return dev_ptr->enabled; -} - -static int -pm_raid_disk_add(menudesc *m, void *arg) -{ - int i; - struct raid_desc *dev_ptr = arg; - struct part_entry disk_entrie = pm_dev_list(PM_RAID); - if (pm_retvalue < 0) - return pm_retvalue; - - for (i = 0; i < MAX_IN_RAID; i++) - if (dev_ptr->comp[i].parts == NULL) { - dev_ptr->comp[i].parts = disk_entrie.parts; - dev_ptr->comp[i].id = disk_entrie.id; - dev_ptr->comp[i].is_spare = pm_raid_curspare; - strlcpy(dev_ptr->comp[i].name, disk_entrie.fullname, - sizeof dev_ptr->comp[i].name); - if (pm_raid_curspare) - dev_ptr->numSpare++; - else - dev_ptr->numCol++; - dev_ptr->numRow = 1; - break; - } - return 0; -} - -static int -pm_raid_disk_del(menudesc *m, void *arg) -{ - int retvalue = -1, num_devs = 0; - int i, pm_cur; - int menu_no; - struct raid_desc *dev_ptr = arg; - menu_ent menu_entries[MAX_IN_RAID]; - struct part_entry submenu_args[MAX_IN_RAID]; - - for (i = 0; i < MAX_IN_RAID; i++) { - if (dev_ptr->comp[i].parts == NULL || - dev_ptr->comp[i].is_spare != pm_raid_curspare) - continue; - menu_entries[num_devs] = (struct menu_ent) { - .opt_name = dev_ptr->comp[i].name, - .opt_action = set_menu_select, - .opt_flags = OPT_EXIT, - }; - submenu_args[num_devs].dev_ptr = dev_ptr; - submenu_args[num_devs].index = i; - num_devs++; - } - - menu_no = new_menu(MSG_raid_disks, - menu_entries, num_devs, -1, -1, - (num_devs+1<3)?3:num_devs+1, 13, - MC_SCROLL | MC_NOCLEAR, NULL, NULL, NULL, NULL, MSG_cancel); - if (menu_no == -1) - return -1; - process_menu(menu_no, &retvalue); - free_menu(menu_no); - - if (retvalue < 0 || retvalue >= num_devs) - return -1; - - pm_cur = submenu_args[retvalue].index; - - if (dev_ptr->comp[pm_cur].is_spare) - dev_ptr->numSpare--; - else - dev_ptr->numCol--; - dev_ptr->numRow = (dev_ptr->numCol)?1:0; - dev_ptr->comp[pm_cur].parts = NULL; - - return 0; -} - -static int -pm_raid_commit(void) -{ - int i, ii; - FILE *f; - char f_name[STRSIZE], devname[STRSIZE]; - - if (!have_raid) - return 0; - for (i = 0; i < MAX_RAID; i++) { - if (! pm_raid_check(&raids[i])) - continue; - - /* Generating configure file for our raid */ - snprintf(f_name, SSTRSIZE, "/tmp/raid.%d.conf", raids[i].node); - f = fopen(f_name, "w"); - if (f == NULL) { - endwin(); - (void)fprintf(stderr, - "Could not open %s for writing\n", f_name); - if (logfp) - (void)fprintf(logfp, - "Could not open %s for writing\n", f_name); - return 1; - } - scripting_fprintf(NULL, "cat <%s\n", f_name); - scripting_fprintf(f, "START array\n%d %d %d\n", - raids[i].numRow, raids[i].numCol, raids[i].numSpare); - - scripting_fprintf(f, "\nSTART disks\n"); - for (ii = 0; ii < MAX_IN_RAID; ii++) { - if (raids[i].comp[ii].parts != NULL && - !raids[i].comp[ii].is_spare) { - strcpy(devname, raids[i].comp[ii].name); - if (raids[i].comp[ii].parts != NULL && - raids[i].comp[ii].id != NO_PART) { - /* wedge may have moved */ - raids[i].comp[ii].parts->pscheme-> - get_part_device( - raids[i].comp[ii].parts, - raids[i].comp[ii].id, - devname, sizeof devname, NULL, - logical_name, true, true); - raids[i].comp[ii].parts->pscheme-> - get_part_device( - raids[i].comp[ii].parts, - raids[i].comp[ii].id, - raids[i].comp[ii].name, - sizeof raids[i].comp[ii].name, - NULL, plain_name, true, true); - } - scripting_fprintf(f, "%s\n", devname); - } - } - - scripting_fprintf(f, "\nSTART spare\n"); - for (ii = 0; ii < MAX_IN_RAID; ii++) { - if (raids[i].comp[ii].parts != NULL && - raids[i].comp[ii].is_spare) { - strcpy(devname, raids[i].comp[ii].name); - if (raids[i].comp[ii].parts != NULL && - raids[i].comp[ii].id != NO_PART) { - /* wedge may have moved */ - raids[i].comp[ii].parts->pscheme-> - get_part_device( - raids[i].comp[ii].parts, - raids[i].comp[ii].id, - devname, sizeof devname, NULL, - logical_name, true, true); - raids[i].comp[ii].parts->pscheme-> - get_part_device( - raids[i].comp[ii].parts, - raids[i].comp[ii].id, - raids[i].comp[ii].name, - sizeof raids[i].comp[ii].name, - NULL, plain_name, true, true); - } - - scripting_fprintf(f, "%s\n", - devname); - } - } - - scripting_fprintf(f, "\nSTART layout\n%d %d %d %d\n", - raids[i].sectPerSU, raids[i].SUsPerParityUnit, - raids[i].SUsPerReconUnit, raids[i].raid_level); - - scripting_fprintf(f, "\nSTART queue\nfifo 100\n\n"); - scripting_fprintf(NULL, "EOF\n"); - fclose (f); - fflush(NULL); - - /* Raid initialization */ - if (run_program(RUN_DISPLAY | RUN_PROGRESS, - "raidctl -C %s raid%d", f_name, raids[i].node) == 0 && - run_program(RUN_DISPLAY | RUN_PROGRESS, - "raidctl -I %d raid%d", rand(), raids[i].node) == 0 && - run_program(RUN_DISPLAY | RUN_PROGRESS, - "raidctl -vi raid%d", raids[i].node) == 0 && - run_program(RUN_DISPLAY | RUN_PROGRESS, - "raidctl -v -A yes raid%d", raids[i].node) == 0) { - /* - * RAID creation done, remove it from list to - * prevent its repeated reinitialization - */ - raids[i].blocked = 1; - } - } - return 0; -} - -/*** - VND - ***/ - -static void -pm_vnd_menufmt(menudesc *m, int opt, void *arg) -{ - struct vnd_desc *dev_ptr = ((struct part_entry *)arg)[opt].dev_ptr; - char dev[STRSIZE]; - - if (dev_ptr->enabled == 0) - return; - sprintf(dev, "vnd%d", dev_ptr->node); - if (strlen(dev_ptr->filepath) < 1) - pm_fmt_disk_line(m->mw, dev, NULL, - 0, msg_string(MSG_vnd_err_menufmt)); - else if (dev_ptr->is_exist) - pm_fmt_disk_line(m->mw, dev, dev_ptr->filepath, - 0, msg_string(MSG_vnd_assign)); - else - pm_fmt_disk_line(m->mw, dev, dev_ptr->filepath, - dev_ptr->size, NULL); -} - -static int -max_msg_length(const msg *p, size_t cnt) -{ - int len, m = 0; - - while (cnt > 0) { - len = strlen(msg_string(*p)); - if (len > m) - m = len; - cnt--; p++; - } - - return m; -} - -static void -pm_vnd_edit_menufmt(menudesc *m, int opt, void *arg) -{ - struct vnd_desc *dev_ptr = arg; - char buf[SSTRSIZE]; - strcpy(buf, "-"); - static int lcol_width; - if (lcol_width == 0) { - static const msg labels[] = { - MSG_vnd_path_fmt, MSG_vnd_assign_fmt, MSG_vnd_size_fmt, - MSG_vnd_ro_fmt, MSG_vnd_geom_fmt, MSG_vnd_bps_fmt, - MSG_vnd_spt_fmt, MSG_vnd_tpc_fmt, MSG_vnd_cyl_fmt - }; - lcol_width = max_msg_length(labels, __arraycount(labels)) + 3; - } - - switch (opt) { - case PMV_MENU_FILEPATH: - wprintw(m->mw, "%*s %s", -lcol_width, - msg_string(MSG_vnd_path_fmt), dev_ptr->filepath); - break; - case PMV_MENU_EXIST: - wprintw(m->mw, "%*s %s", -lcol_width, - msg_string(MSG_vnd_assign_fmt), - dev_ptr->is_exist? - msg_string(MSG_No) : msg_string(MSG_Yes)); - break; - case PMV_MENU_SIZE: - if (!dev_ptr->is_exist) - snprintf(buf, SSTRSIZE, "%" PRIu64, - dev_ptr->size / sizemult); - wprintw(m->mw, "%*s %s", -lcol_width, - msg_string(MSG_vnd_size_fmt), buf); - break; - case PMV_MENU_RO: - wprintw(m->mw, "%*s %s", -lcol_width, - msg_string(MSG_vnd_ro_fmt), - dev_ptr->readonly? - msg_string(MSG_Yes) : msg_string(MSG_No)); - break; - case PMV_MENU_MGEOM: - if (!dev_ptr->is_exist) - snprintf(buf, SSTRSIZE, "%s", - dev_ptr->manual_geom? - msg_string(MSG_Yes) : msg_string(MSG_No)); - wprintw(m->mw, "%*s %s", -lcol_width, - msg_string(MSG_vnd_geom_fmt), buf); - break; - case PMV_MENU_SECSIZE: - if (dev_ptr->manual_geom && !dev_ptr->is_exist) - snprintf(buf, SSTRSIZE, "%d", dev_ptr->secsize); - wprintw(m->mw, "%*s %s", -lcol_width, - msg_string(MSG_vnd_bps_fmt), buf); - break; - case PMV_MENU_NSECTORS: - if (dev_ptr->manual_geom && !dev_ptr->is_exist) - snprintf(buf, SSTRSIZE, "%d", - dev_ptr->nsectors); - wprintw(m->mw, "%*s %s", -lcol_width, - msg_string(MSG_vnd_spt_fmt), buf); - break; - case PMV_MENU_NTRACKS: - if (dev_ptr->manual_geom && !dev_ptr->is_exist) - snprintf(buf, SSTRSIZE, "%d", dev_ptr->ntracks); - wprintw(m->mw, "%*s %s", -lcol_width, - msg_string(MSG_vnd_tpc_fmt), buf); - break; - case PMV_MENU_NCYLINDERS: - if (dev_ptr->manual_geom && !dev_ptr->is_exist) - snprintf(buf, SSTRSIZE, "%d", - dev_ptr->ncylinders); - wprintw(m->mw, "%*s %s", -lcol_width, - msg_string(MSG_vnd_cyl_fmt), buf); - break; - } -} - -static int -pm_vnd_set_value(menudesc *m, void *arg) -{ - struct vnd_desc *dev_ptr = arg; - char buf[STRSIZE]; - const char *msg_to_show = NULL; - int *out_var = NULL; - - switch (m->cursel) { - case PMV_MENU_FILEPATH: - msg_prompt_win(MSG_vnd_path_ask, -1, 18, 0, 0, - dev_ptr->filepath, dev_ptr->filepath, STRSIZE); - if (dev_ptr->filepath[0] != '/') { - strlcpy(buf, dev_ptr->filepath, MOUNTLEN); - snprintf(dev_ptr->filepath, MOUNTLEN, "/%s", - buf); - } - if (dev_ptr->filepath[strlen(dev_ptr->filepath) - 1] - == '/') - dev_ptr->filepath[strlen(dev_ptr->filepath) - - 1] = '\0'; - return 0; - case PMV_MENU_EXIST: - dev_ptr->is_exist = !dev_ptr->is_exist; - return 0; - case PMV_MENU_SIZE: - if (dev_ptr->is_exist) - return 0; - - pm_edit_size_value(MSG_vnd_size_ask, - pm->sectorsize, pm->dlcylsize, - &dev_ptr->size); - - break; - case PMV_MENU_RO: - dev_ptr->readonly = !dev_ptr->readonly; - return 0; - case PMV_MENU_MGEOM: - if (dev_ptr->is_exist) - return 0; - dev_ptr->manual_geom = !dev_ptr->manual_geom; - return 0; - case PMV_MENU_SECSIZE: - if (!dev_ptr->manual_geom || dev_ptr->is_exist) - return 0; - msg_to_show = MSG_vnd_bps_ask; - out_var = &(dev_ptr->secsize); - break; - case PMV_MENU_NSECTORS: - if (!dev_ptr->manual_geom || dev_ptr->is_exist) - return 0; - msg_to_show = MSG_vnd_spt_ask; - out_var = &(dev_ptr->nsectors); - break; - case PMV_MENU_NTRACKS: - if (!dev_ptr->manual_geom || dev_ptr->is_exist) - return 0; - msg_to_show = MSG_vnd_tpc_ask; - out_var = &(dev_ptr->ntracks); - break; - case PMV_MENU_NCYLINDERS: - if (!dev_ptr->manual_geom || dev_ptr->is_exist) - return 0; - msg_to_show = MSG_vnd_cyl_ask; - out_var = &(dev_ptr->ncylinders); - break; - case PMV_MENU_REMOVE: - dev_ptr->enabled = 0; - return 0; - } - if (out_var == NULL || msg_to_show == NULL) - return -1; - snprintf(buf, SSTRSIZE, "%d", *out_var); - msg_prompt_win(msg_to_show, -1, 18, 0, 0, buf, buf, SSTRSIZE); - if (atoi(buf) >= 0) - *out_var = atoi(buf); - return 0; -} - -static void -pm_vnd_init(void *arg, void *none) -{ - struct vnd_desc *dev_ptr = arg; - memset(dev_ptr, 0, sizeof(*dev_ptr)); - *dev_ptr = (struct vnd_desc) { - .enabled = 1, - .blocked = 0, - .filepath[0] = '\0', - .is_exist = 0, - .size = 1024, - .readonly = 0, - .manual_geom = 0, - .secsize = 512, - .nsectors = 18, - .ntracks = 2, - .ncylinders = 80 - }; -} - -static int -pm_vnd_check(void *arg) -{ - struct vnd_desc *dev_ptr = arg; - - if (dev_ptr->blocked) - return 0; - if (strlen(dev_ptr->filepath) < 1 || - dev_ptr->size < 1) - dev_ptr->enabled = 0; - else { - pm_manage_getfreenode(&(dev_ptr->node), "vnd", &vnds_t_info); - if (dev_ptr->node < 0) - dev_ptr->enabled = 0; - } - return dev_ptr->enabled; -} - -/* XXX: vndconfig always return 0? */ -static int -pm_vnd_commit(void) -{ - int i, error; - char r_o[3], buf[MOUNTLEN+3], resultpath[STRSIZE]; - const char *mpath, *mp_suit = NULL, *rp; - struct pm_devs *pm_i, *pm_suit = NULL; - part_id id, part_suit = NO_PART; - struct disk_part_info info; - - if (!have_vnd) - return 0; - for (i = 0; i < MAX_VND; i++) { - error = 0; - if (! pm_vnd_check(&vnds[i])) - continue; - - /* Trying to assign target device */ - SLIST_FOREACH(pm_i, &pm_head, l) { - for (id = 0; id < pm_i->parts->num_part; id++) { - if (!pm_i->parts->pscheme->get_part_info( - pm_i->parts, id, &info)) - continue; - if (info.flags & (PTI_SEC_CONTAINER| - PTI_WHOLE_DISK|PTI_PSCHEME_INTERNAL| - PTI_RAW_PART)) - continue; - if (info.last_mounted == NULL || - info.last_mounted[0] == 0) - continue; - mpath = info.last_mounted; - strcpy(buf, mpath); - if (buf[strlen(buf)-1] != '/') - strcat(buf, "/"); - if (strstr(vnds[i].filepath, buf) != - vnds[i].filepath) - continue; - if (part_suit == NO_PART || pm_suit == NULL || - strlen(buf) > strlen(mp_suit)) { - part_suit = id; - pm_suit = pm_i; - mp_suit = mpath; - } - } - } - if (part_suit == NO_PART || pm_suit == NULL || - mp_suit == NULL) - continue; - - /* Mounting assigned partition and try to get real file path*/ - if (pm_mount(pm_suit, part_suit) != 0) - continue; - rp = pm_get_mount(pm_suit, part_suit); - snprintf(resultpath, STRSIZE, "%s/%s", - rp, - &(vnds[i].filepath[strlen(rp)])); - - strcpy(r_o, vnds[i].readonly?"-r":""); - /* If this is a new image */ - if (!vnds[i].is_exist) { - run_program(RUN_DISPLAY | RUN_PROGRESS, "mkdir -p %s ", - dirname(resultpath)); - if (error == 0) - error = run_program(RUN_DISPLAY | RUN_PROGRESS, - "dd if=/dev/zero of=%s bs=1m " - "count=% " PRIi64 " progress=100 " - "msgfmt=human", - resultpath, vnds[i].size*(MEG/512)); - } - if (error) - continue; - - /* If this is a new image with manual geometry */ - if (!vnds[i].is_exist && vnds[i].manual_geom) - error = run_program(RUN_DISPLAY | RUN_PROGRESS, - "vndconfig %s vnd%d %s %d %d %d %d", - r_o, vnds[i].node, - resultpath, vnds[i].secsize, - vnds[i].nsectors, - vnds[i].ntracks, vnds[i].ncylinders); - else - /* If this is a existing image or image without manual - * geometry */ - error = run_program(RUN_DISPLAY | RUN_PROGRESS, - "vndconfig %s vnd%d %s", - r_o, vnds[i].node, resultpath); - - if (error == 0) { - vnds[i].blocked = 1; - vnds[i].pm_part = part_suit; - vnds[i].pm = pm_suit; - vnds[i].pm->blocked++; - } - } - return 0; -} - -/*** - CGD - ***/ - -static void -pm_cgd_menufmt(menudesc *m, int opt, void *arg) -{ - struct cgd_desc *dev_ptr = ((struct part_entry *)arg)[opt].dev_ptr; - char desc[STRSIZE]; - struct disk_part_info info; - - if (dev_ptr->enabled == 0) - return; - if (dev_ptr->pm == NULL) - wprintw(m->mw, "%s", msg_string(MSG_cgd_err_menufmt)); - else { - snprintf(desc, sizeof desc, "cgd%d (%s-%d)", - dev_ptr->node, dev_ptr->enc_type, dev_ptr->key_size); - dev_ptr->pm->parts->pscheme->get_part_info(dev_ptr->pm->parts, - dev_ptr->pm_part, &info); - pm_fmt_disk_line(m->mw, desc, dev_ptr->pm_name, - info.size, NULL); - } -} - -static void -pm_cgd_edit_menufmt(menudesc *m, int opt, void *arg) -{ - struct cgd_desc *dev_ptr = arg; - switch (opt) { - case PMC_MENU_DEV: - wprintw(m->mw, "%-15s: %s", - msg_string(MSG_cgd_dev_fmt), dev_ptr->pm_name); - break; - case PMC_MENU_ENCTYPE: - wprintw(m->mw, "%-15s: %s", - msg_string(MSG_cgd_enc_fmt), dev_ptr->enc_type); - break; - case PMC_MENU_KEYSIZE: - wprintw(m->mw, "%-15s: %d", - msg_string(MSG_cgd_key_fmt), dev_ptr->key_size); - break; - case PMC_MENU_IVTYPE: - wprintw(m->mw, "%-15s: %s", - msg_string(MSG_cgd_iv_fmt), dev_ptr->iv_type); - break; - case PMC_MENU_KEYGENTYPE: - wprintw(m->mw, "%-15s: %s", - msg_string(MSG_cgd_keygen_fmt), dev_ptr->keygen_type); - break; - case PMC_MENU_VERIFYTYPE: - wprintw(m->mw, "%-15s: %s", - msg_string(MSG_cgd_verif_fmt), dev_ptr->verify_type); - break; - } -} - -static int -pm_cgd_set_value(menudesc *m, void *arg) -{ - char *retstring; - struct cgd_desc *dev_ptr = arg; - - switch (m->cursel) { - case PMC_MENU_DEV: - pm_cgd_disk_set(dev_ptr, NULL); - return 0; - case PMC_MENU_ENCTYPE: - process_menu(MENU_cgd_enctype, &retstring); - dev_ptr->enc_type = retstring; - if (! strcmp(retstring, "aes-xts")) - dev_ptr->key_size = 256; - if (! strcmp(retstring, "aes-cbc")) - dev_ptr->key_size = 192; - if (! strcmp(retstring, "blowfish-cbc")) - dev_ptr->key_size = 128; - if (! strcmp(retstring, "3des-cbc")) - dev_ptr->key_size = 192; - return 0; - case PMC_MENU_KEYSIZE: - if (! strcmp(dev_ptr->enc_type, "aes-xts")) - dev_ptr->key_size += - (dev_ptr->key_size < 512)? 256 : -256; - if (! strcmp(dev_ptr->enc_type, "aes-cbc")) - dev_ptr->key_size += - (dev_ptr->key_size < 256)? 64 : -128; - if (! strcmp(dev_ptr->enc_type, "blowfish-cbc")) - dev_ptr->key_size = 128; - if (! strcmp(dev_ptr->enc_type, "3des-cbc")) - dev_ptr->key_size = 192; - return 0; - case PMC_MENU_IVTYPE: - process_menu(MENU_cgd_ivtype, &retstring); - dev_ptr->iv_type = retstring; - return 0; - case PMC_MENU_KEYGENTYPE: - process_menu(MENU_cgd_keygentype, &retstring); - dev_ptr->keygen_type = retstring; - return 0; - case PMC_MENU_VERIFYTYPE: - process_menu(MENU_cgd_verifytype, &retstring); - dev_ptr->verify_type = retstring; - return 0; - case PMC_MENU_REMOVE: - dev_ptr->enabled = 0; - return 0; - } - return -1; -} - -static void -pm_cgd_init(void *arg1, void *arg2) -{ - struct cgd_desc *dev_ptr = arg1; - struct part_entry *disk_entrie = arg2; - - memset(dev_ptr, 0, sizeof(*dev_ptr)); - *dev_ptr = (struct cgd_desc) { - .enabled = 1, - .blocked = 0, - .pm = NULL, - .pm_name[0] = '\0', - .pm_part = 0, - .keygen_type = "pkcs5_pbkdf2/sha1", - .verify_type = "disklabel", - .enc_type = "aes-xts", - .iv_type = "encblkno1", - .key_size = 256, - }; - if (disk_entrie != NULL) { - disk_entrie->parts->pscheme->get_part_device( - disk_entrie->parts, disk_entrie->id, - disk_entrie->fullname, sizeof(disk_entrie->fullname), - NULL, logical_name, false, true); - pm_cgd_disk_set(dev_ptr, disk_entrie); - } -} - -static int -pm_cgd_check(void *arg) -{ - struct cgd_desc *dev_ptr = arg; - - if (dev_ptr->blocked) - return 0; - if (dev_ptr->pm == NULL) - dev_ptr->enabled = 0; - else { - pm_manage_getfreenode(&(dev_ptr->node), "cgd", &cgds_t_info); - if (dev_ptr->node < 0) - dev_ptr->enabled = 0; - } - return dev_ptr->enabled; -} - -static int -pm_cgd_disk_set(struct cgd_desc *dev_ptr, struct part_entry *disk_entrie) -{ - int alloc_disk_entrie = 0; - - if (disk_entrie == NULL) { - alloc_disk_entrie = 1; - disk_entrie = malloc (sizeof(struct part_entry)); - if (disk_entrie == NULL) - return -2; - *disk_entrie = pm_dev_list(PM_CGD); - if (pm_retvalue < 0) { - free(disk_entrie); - return -1; - } - } - dev_ptr->pm = disk_entrie->dev_ptr; - dev_ptr->pm_part = disk_entrie->id; - strlcpy(dev_ptr->pm_name, disk_entrie->fullname, SSTRSIZE); - - if (alloc_disk_entrie) - free(disk_entrie); - return 0; -} - -int -pm_cgd_edit_new(struct pm_devs *mypm, part_id id) -{ - struct part_entry pe = { .id = id, .parts = mypm->parts, - .dev_ptr = mypm, .type = PM_CGD }; - - return pm_edit(PMC_MENU_END, pm_cgd_edit_menufmt, - pm_cgd_set_value, pm_cgd_check, pm_cgd_init, - &pe, NULL, 0, &cgds_t_info); -} - -int -pm_cgd_edit_old(struct part_entry *pe) -{ - return pm_edit(PMC_MENU_END, pm_cgd_edit_menufmt, - pm_cgd_set_value, pm_cgd_check, pm_cgd_init, - pe->dev_ptr != NULL ? pe : NULL, - pe->dev_ptr, 0, &cgds_t_info); -} - -static int -pm_cgd_commit(void) -{ - char devname[STRSIZE]; - int i, error = 0; - - if (!have_cgd) - return 0; - for (i = 0; i < MAX_CGD; i++) { - if (! pm_cgd_check(&cgds[i])) - continue; - if (run_program(RUN_DISPLAY | RUN_PROGRESS, - "cgdconfig -g -V %s -i %s -k %s -o /tmp/cgd.%d.conf" - " %s %d", cgds[i].verify_type, - cgds[i].iv_type, cgds[i].keygen_type, cgds[i].node, - cgds[i].enc_type, cgds[i].key_size) != 0) { - error++; - continue; - } - if (cgds[i].pm != NULL && cgds[i].pm->parts != NULL) { - /* wedge device names may have changed */ - cgds[i].pm->parts->pscheme->get_part_device( - cgds[i].pm->parts, cgds[i].pm_part, - devname, sizeof devname, NULL, - logical_name, true, true); - cgds[i].pm->parts->pscheme->get_part_device( - cgds[i].pm->parts, cgds[i].pm_part, - cgds[i].pm_name, sizeof cgds[i].pm_name, NULL, - plain_name, false, true); - } else { - continue; - } - if (run_program(RUN_DISPLAY | RUN_PROGRESS, - "cgdconfig -V re-enter cgd%d '%s' /tmp/cgd.%d.conf", - cgds[i].node, devname, cgds[i].node) != 0) { - error++; - continue; - } - cgds[i].pm->blocked++; - cgds[i].blocked = 1; - } - return error; -} - -/*** - LVM - ***/ - -/* Add lvm logical volumes to pm list */ -/* XXX: rewrite */ -static void -pm_lvm_find(void) -{ - int i, ii, already_found; - char dev[STRSIZE]; - struct pm_devs *pm_i; - - for (i = 0; i < MAX_LVM_VG; i++) { - if (! lvms[i].blocked) - continue; - for (ii = 0; ii < MAX_LVM_LV; ii++) { - if (! lvms[i].lv[ii].blocked || lvms[i].lv[ii].size < 1) - continue; - snprintf(dev, STRSIZE, "%s/%s", lvms[i].name, - lvms[i].lv[ii].name); - already_found = 0; - SLIST_FOREACH(pm_i, &pm_head, l) - if (!already_found && strcmp(pm_i->diskdev, - dev) == 0) { - pm_i->found = 1; - already_found = 1; - } - if (already_found) - /* We already added this device, skipping */ - continue; - pm_new->found = 1; - pm_new->ptstart = 0; - pm_new->ptsize = 0; - pm_new->no_part = true; - pm_new->refdev = &lvms[i].lv[ii]; - pm_new->sectorsize = 1; - pm_new->dlcylsize = MEG; - strlcpy(pm_new->diskdev, dev, SSTRSIZE); - strlcpy(pm_new->diskdev_descr, dev, STRSIZE); - - if (SLIST_EMPTY(&pm_head)) - SLIST_INSERT_HEAD(&pm_head, pm_new, l); - else - SLIST_INSERT_AFTER(pm_i, pm_new, l); - pm_new = malloc(sizeof (struct pm_devs)); - memset(pm_new, 0, sizeof *pm_new); - } - } -} - -static int -pm_lvm_disk_add(menudesc *m, void *arg) -{ - int i; - lvms_t *dev_ptr = arg; - struct part_entry disk_entrie = pm_dev_list(PM_LVM); - if (pm_retvalue < 0) - return pm_retvalue; - - for (i = 0; i < MAX_LVM_PV; i++) { - if (dev_ptr->pv[i].pm == NULL) { - dev_ptr->pv[i].pm = disk_entrie.dev_ptr; - dev_ptr->pv[i].pm_part = disk_entrie.id; - strlcpy(dev_ptr->pv[i].pm_name, disk_entrie.fullname, - sizeof(dev_ptr->pv[i].pm_name)); - break; - } - } - pm_retvalue = 1; - return 0; -} - -static int -pm_lvm_disk_del(menudesc *m, void *arg) -{ - int retvalue = -1, num_devs = 0; - size_t i; - int menu_no; - lvms_t *dev_ptr = arg; - menu_ent menu_entries[MAX_LVM_PV]; - struct part_entry submenu_args[MAX_LVM_PV]; - - for (i = 0; i < MAX_LVM_PV; i++) { - if (dev_ptr->pv[i].pm == NULL) - continue; - menu_entries[num_devs] = (struct menu_ent) { - .opt_name = dev_ptr->pv[i].pm_name, - .opt_action = set_menu_select, - .opt_flags = OPT_EXIT, - }; - submenu_args[num_devs].index = i; - num_devs++; - } - - menu_no = new_menu(MSG_lvm_disks, - menu_entries, num_devs, -1, -1, - (num_devs+1<3)?3:num_devs+1, 13, - MC_SCROLL | MC_NOCLEAR, NULL, NULL, NULL, NULL, MSG_cancel); - if (menu_no == -1) - return -1; - process_menu(menu_no, &retvalue); - free_menu(menu_no); - - if (retvalue < 0 || retvalue >= num_devs) - return -1; - - dev_ptr->pv[submenu_args[retvalue].index].pm = NULL; - - return 0; -} - -static void -pm_lvm_menufmt(menudesc *m, int opt, void *arg) -{ - int i, ok = 0; - daddr_t used_size = 0; - char buf1[STRSIZE]; buf1[0] = 0; - char buf2[STRSIZE]; buf2[0] = 0; - char devs[STRSIZE]; devs[0] = 0; - lvms_t *dev_ptr = ((struct part_entry *)arg)[opt].dev_ptr; - - if (dev_ptr->enabled == 0) - return; - snprintf(buf1, STRSIZE, "VG '%s'", dev_ptr->name); - for (i = 0; i < MAX_LVM_PV; i++) - if (dev_ptr->pv[i].pm != NULL) { - strlcat(devs, dev_ptr->pv[i].pm_name, STRSIZE); - strlcat(devs, " ", STRSIZE); - ok = 1; - } - for (i = 0; i < MAX_LVM_LV; i++) - used_size += dev_ptr->lv[i].size; - if (ok) { - snprintf(buf2, STRSIZE, "%" PRIi64 "/%" PRIi64, - dev_ptr->total_size - used_size, dev_ptr->total_size); - pm_fmt_disk_line(m->mw, buf1, devs, 0, buf2); - } else { - pm_fmt_disk_line(m->mw, buf1, NULL, 0, - msg_string(MSG_lvm_err_menufmt)); - } -} - -static void -pm_lvm_edit_menufmt(menudesc *m, int opt, void *arg) -{ - int i; - char buf[STRSIZE]; - lvms_t *dev_ptr = arg; - strlcpy(buf, msg_string(MSG_auto), sizeof buf); - - switch (opt) { - case PML_MENU_PV: - buf[0] = '\0'; - for (i = 0; i < MAX_LVM_PV; i++) { - if (dev_ptr->pv[i].pm != NULL) { - strlcat(buf, " ", sizeof buf); - strlcat(buf, dev_ptr->pv[i].pm_name, - sizeof buf); - } - } - wprintw(m->mw, "%-20s: %s", - msg_string(MSG_lvm_disks_fmt), buf); - break; - case PML_MENU_NAME: - wprintw(m->mw, "%-20s: %s", - msg_string(MSG_lvm_name_fmt), dev_ptr->name); - break; - case PML_MENU_MAXLOGICALVOLUMES: - if (dev_ptr->maxlogicalvolumes > 0) - snprintf(buf, STRSIZE, "%d", - dev_ptr->maxlogicalvolumes); - wprintw(m->mw, "%-20s: %s", - msg_string(MSG_lvm_maxlv_fmt), buf); - break; - case PML_MENU_MAXPHYSICALVOLUMES: - if (dev_ptr->maxphysicalvolumes > 0) - snprintf(buf, STRSIZE, "%d", - dev_ptr->maxphysicalvolumes); - wprintw(m->mw, "%-20s: %s", - msg_string(MSG_lvm_maxpv_fmt), buf); - break; - case PML_MENU_PHYSICALEXTENTSIZE: - if (dev_ptr->physicalextentsize > 0) - snprintf(buf, STRSIZE, "%dM", - dev_ptr->physicalextentsize); - wprintw(m->mw, "%-20s: %s", - msg_string(MSG_lvm_extsiz_fmt), buf); - break; - } -} - -static int -pm_lvm_set_value(menudesc *m, void *arg) -{ - char buf[STRSIZE]; - const char *msg_to_show = NULL; - int *out_var = NULL; - lvms_t *dev_ptr = arg; - - static menu_ent menuent_disk_adddel[] = { - { .opt_name=MSG_add, .opt_flags=OPT_EXIT, - .opt_action=pm_lvm_disk_add }, - { .opt_name=MSG_remove, .opt_flags=OPT_EXIT, - .opt_action=pm_lvm_disk_del } - }; - static int menu_disk_adddel = -1; - if (menu_disk_adddel == -1) { - menu_disk_adddel = new_menu(NULL, menuent_disk_adddel, - __arraycount(menuent_disk_adddel), - -1, -1, 0, 10, MC_NOCLEAR, NULL, NULL, NULL, NULL, - MSG_cancel); - } - - switch (m->cursel) { - case PML_MENU_PV: - process_menu(menu_disk_adddel, arg); - return 0; - case PML_MENU_NAME: - msg_prompt_win(MSG_lvm_name_ask, -1, 18, 0, 0, - dev_ptr->name, dev_ptr->name, SSTRSIZE); - return 0; - case PML_MENU_MAXLOGICALVOLUMES: - msg_to_show = MSG_lvm_maxlv_ask; - out_var = &(dev_ptr->maxlogicalvolumes); - break; - case PML_MENU_MAXPHYSICALVOLUMES: - msg_to_show = MSG_lvm_maxpv_ask; - out_var = &(dev_ptr->maxphysicalvolumes); - break; - case PML_MENU_PHYSICALEXTENTSIZE: - msg_to_show = MSG_lvm_extsiz_ask; - out_var = &(dev_ptr->physicalextentsize); - break; - case PML_MENU_REMOVE: - dev_ptr->enabled = 0; - return 0; - } - if (out_var == NULL || msg_to_show == NULL) - return -1; - snprintf(buf, SSTRSIZE, "%d", *out_var); - msg_prompt_win(msg_to_show, -1, 18, 0, 0, buf, buf, SSTRSIZE); - if (atoi(buf) >= 0) - *out_var = atoi(buf); - return 0; -} - -static void -pm_lvm_init(void *arg, void* none) -{ - lvms_t *dev_ptr = arg; - - memset(dev_ptr, 0, sizeof *dev_ptr); - *dev_ptr = (struct lvms_t) { - .enabled = 1, - .blocked = 0, - .maxlogicalvolumes = MAX_LVM_PV, - .maxphysicalvolumes = MAX_LVM_LV, - .physicalextentsize = -1, - }; - sprintf(dev_ptr->name, "vg%.2d", rand()%100); -} - -static int -pm_lvm_check(void *arg) -{ - size_t i; - bool ok = false; - lvms_t *dev_ptr = arg; - dev_ptr->total_size = 0; - struct disk_part_info info; - - for (i = 0; i < MAX_LVM_PV; i++) { - if (dev_ptr->pv[i].pm != NULL) { - if (!dev_ptr->pv[i].pm->parts->pscheme->get_part_info( - dev_ptr->pv[i].pm->parts, dev_ptr->pv[i].pm_part, - &info)) - continue; - ok = 1; - dev_ptr->total_size += info.size; - } - } - if (!ok) - dev_ptr->enabled = 0; - return dev_ptr->enabled; -} - -static void -pm_lvmlv_menufmt(menudesc *m, int opt, void *arg) -{ - char buf[STRSIZE]; - lv_t *dev_ptr = ((struct part_entry *)arg)[opt].dev_ptr; - - if (dev_ptr->size > 0) { - snprintf(buf, STRSIZE, "'%s'", dev_ptr->name); - pm_fmt_disk_line(m->mw, buf, NULL, dev_ptr->size, NULL); - } -} - -static void -pm_lvmlv_edit_menufmt(menudesc *m, int opt, void *arg) -{ - - lv_t *dev_ptr = arg; - char buf[STRSIZE]; - strlcpy(buf, msg_string(MSG_auto), STRSIZE); - - switch (opt) { - case PMLV_MENU_NAME: - wprintw(m->mw, "%-20s: %s", - msg_string(MSG_lvmlv_name_fmt), dev_ptr->name); - break; - case PMLV_MENU_SIZE: - wprintw(m->mw, "%-20s: %" PRIi64, - msg_string(MSG_lvmlv_size_fmt), dev_ptr->size); - break; - case PMLV_MENU_READONLY: - wprintw(m->mw, "%-20s: %s", - msg_string(MSG_lvmlv_ro_fmt), - dev_ptr->readonly? msg_string(MSG_Yes) : msg_string(MSG_No)); - break; - case PMLV_MENU_CONTIGUOUS: - wprintw(m->mw, "%-20s: %s", - msg_string(MSG_lvmlv_cont_fmt), - dev_ptr->contiguous? msg_string(MSG_Yes) : msg_string(MSG_No)); - break; - case PMLV_MENU_EXTENTS: - wprintw(m->mw, "%-20s: %s", - msg_string(MSG_lvmlv_extnum_fmt), - (strlen(dev_ptr->extents) > 0) ? - dev_ptr->extents : msg_string(MSG_auto)); - break; - case PMLV_MENU_MINOR: - if (dev_ptr->minor > 0) - snprintf(buf, STRSIZE, "%dK", dev_ptr->minor); - wprintw(m->mw, "%-20s: %s", - msg_string(MSG_lvmlv_minor_fmt), buf); - break; - case PMLV_MENU_MIRRORS: - wprintw(m->mw, "%-20s: %d", - msg_string(MSG_lvmlv_mirrors_fmt), - dev_ptr->mirrors); - break; - case PMLV_MENU_REGIONSIZE: - if (dev_ptr->regionsize > 0) - snprintf(buf, STRSIZE, "%dM", - dev_ptr->regionsize); - wprintw(m->mw, "%-20s: %s", - msg_string(MSG_lvmlv_regsiz_fmt), buf); - break; - case PMLV_MENU_PERSISTENT: - wprintw(m->mw, "%-20s: %s", - msg_string(MSG_lvmlv_pers_fmt), - dev_ptr->persistent ? - msg_string(MSG_Yes) : msg_string(MSG_No)); - break; - case PMLV_MENU_READAHEAD: - if (dev_ptr->readahead > 0) - snprintf(buf, STRSIZE, "%d", - dev_ptr->readahead); - wprintw(m->mw, "%-20s: %s", - msg_string(MSG_lvmlv_readahsect_fmt), buf); - break; - case PMLV_MENU_STRIPES: - if (dev_ptr->stripes > 0) - snprintf(buf, STRSIZE, "%d", dev_ptr->stripes); - wprintw(m->mw, "%-20s: %s", - msg_string(MSG_lvmlv_stripes_fmt), buf); - break; - case PMLV_MENU_STRIPESIZE: - if (dev_ptr->stripesize > 0) - snprintf(buf, STRSIZE, "%dK", dev_ptr->stripesize); - wprintw(m->mw, "%-20s: %s", - msg_string(MSG_lvmlv_stripesiz_fmt), buf); - break; - case PMLV_MENU_ZERO: - wprintw(m->mw, "%-20s: %s", - msg_string(MSG_lvmlv_zero_fmt), - dev_ptr->zero ? - msg_string(MSG_Yes) : msg_string(MSG_No)); - break; - } -} - -static int -pm_lvmlv_set_value(menudesc *m, void *arg) -{ - char buf[STRSIZE]; - const char *msg_to_show = NULL; - int *out_var = NULL; - lv_t *dev_ptr = arg; - - switch (m->cursel) { - case PMLV_MENU_NAME: - msg_prompt_win(MSG_lvmlv_name_ask, -1, 18, 0, 0, - dev_ptr->name, dev_ptr->name, SSTRSIZE); - return 0; - case PMLV_MENU_SIZE: - pm_edit_size_value(MSG_lvmlv_size_ask, - pm->sectorsize, pm->dlcylsize, - &dev_ptr->size); /* XXX cylsize? */ - break; - case PMLV_MENU_READONLY: - dev_ptr->readonly = !dev_ptr->readonly; - return 0; - case PMLV_MENU_CONTIGUOUS: - dev_ptr->contiguous = !dev_ptr->contiguous; - return 0; - case PMLV_MENU_EXTENTS: - msg_prompt_win(MSG_lvmlv_extnum_ask, -1, 18, 0, 0, - dev_ptr->extents, dev_ptr->extents, SSTRSIZE); - return 0; - case PMLV_MENU_MINOR: - msg_to_show = MSG_lvmlv_minor_ask; - out_var = &(dev_ptr->minor); - break; - case PMLV_MENU_MIRRORS: - msg_to_show = MSG_lvmlv_mirrors_ask; - out_var = &(dev_ptr->mirrors); - break; - case PMLV_MENU_REGIONSIZE: - msg_to_show = MSG_lvmlv_regsiz_ask; - out_var = &(dev_ptr->regionsize); - break; - case PMLV_MENU_PERSISTENT: - dev_ptr->persistent = !dev_ptr->persistent; - return 0; - case PMLV_MENU_READAHEAD: - msg_to_show = MSG_lvmlv_readahsect_ask; - out_var = &(dev_ptr->readahead); - break; - case PMLV_MENU_STRIPES: - msg_to_show = MSG_lvmlv_stripes_ask; - out_var = &(dev_ptr->stripes); - break; - case PMLV_MENU_STRIPESIZE: - if (dev_ptr->stripesize << 1 > 512) - dev_ptr->stripesize = 4; - else - dev_ptr->stripesize <<= 1; - return 0; - case PMLV_MENU_ZERO: - dev_ptr->zero = !dev_ptr->zero; - return 0; - case PMLV_MENU_REMOVE: - dev_ptr->size = 0; - return 0; - } - if (out_var == NULL || msg_to_show == NULL) - return -1; - snprintf(buf, SSTRSIZE, "%d", *out_var); - msg_prompt_win(msg_to_show, -1, 18, 0, 0, buf, buf, SSTRSIZE); - if (atoi(buf) >= 0) - *out_var = atoi(buf); - return 0; -} - -static void -pm_lvmlv_init(void *arg, void *none) -{ - lv_t *dev_ptr = arg; - memset(dev_ptr, 0, sizeof *(dev_ptr)); - *dev_ptr = (struct lv_t) { - .blocked = 0, - .size = 1024, - .stripesize = 64, - }; - sprintf (dev_ptr->name, "lvol%.2d", rand()%100); -} - -static int -pm_lvmlv_check(void *arg) -{ - lv_t *dev_ptr = arg; - if (dev_ptr->size > 0 && strlen(dev_ptr->name) > 0) - return 1; - else { - dev_ptr->size = 0; - return 0; - } -} - -static int -pm_lvm_commit(void) -{ - int i, ii, error; - uint used_size = 0; - char params[STRSIZE*3], devs[STRSIZE*3], arg[STRSIZE]; - - if (!have_lvm) - return 0; - for (i = 0; i < MAX_LVM_VG; i++) { - /* Stage 0: checks */ - if (! pm_lvm_check(&lvms[i])) - continue; - for (ii = 0; ii < MAX_LVM_LV; ii++) - used_size += lvms[i].lv[ii].size; - if (used_size > lvms[i].total_size) - continue; - - params[0] = '\0'; - devs[0] = '\0'; - error = 0; - /* Stage 1: creating Physical Volumes (PV's) */ - for (ii = 0; ii < MAX_LVM_PV && ! error; ii++) - if (lvms[i].pv[ii].pm != NULL) { - run_program(RUN_SILENT | RUN_ERROR_OK, - "lvm pvremove -ffy /dev/r%s", - (char*)lvms[i].pv[ii].pm_name); - error += run_program(RUN_DISPLAY | RUN_PROGRESS, - "lvm pvcreate -ffy /dev/r%s", - (char*)lvms[i].pv[ii].pm_name); - if (error) - break; - strlcat(devs, " /dev/r", sizeof devs); - strlcat(devs, lvms[i].pv[ii].pm_name, - sizeof devs); - } - if (error) - continue; - /* Stage 2: creating Volume Groups (VG's) */ - if (lvms[i].maxlogicalvolumes > 0) { - snprintf(arg, sizeof arg, " -l %d", - lvms[i].maxlogicalvolumes); - strlcat(params, arg, sizeof params); - } - if (lvms[i].maxphysicalvolumes > 0) { - snprintf(arg, sizeof arg, " -p %d", - lvms[i].maxphysicalvolumes); - strlcat(params, arg, sizeof params); - } - if (lvms[i].physicalextentsize > 0) { - snprintf(arg, sizeof arg, " -s %d", - lvms[i].physicalextentsize); - strlcat(params, arg, sizeof params); - } - error += run_program(RUN_DISPLAY | RUN_PROGRESS, - "lvm vgcreate %s %s %s", params, lvms[i].name, devs); - if (error) - continue; - /* Stage 3: creating Logical Volumes (LV's) */ - for (ii = 0; ii < MAX_LVM_LV; ii++) { - if (lvms[i].lv[ii].size <= 0) - continue; - - params[0] = '\0'; - snprintf(arg, sizeof arg, " -C %c", - lvms[i].lv[ii].contiguous?'y':'n'); - strlcat(params, arg, sizeof params); - snprintf(arg, sizeof arg, " -M %c", - lvms[i].lv[ii].persistent?'y':'n'); - strlcat(params, arg, sizeof params); - snprintf(arg, sizeof arg, " -p %s", - lvms[i].lv[ii].readonly?"r":"rw"); - strlcat(params, arg, sizeof params); - snprintf(arg, sizeof arg, " -Z %c", - lvms[i].lv[ii].zero?'y':'n'); - strlcat(params, arg, sizeof params); - if (strlen(lvms[i].lv[ii].name) > 0) { - snprintf(arg, sizeof arg, " -n %s", - lvms[i].lv[ii].name); - strlcat(params, arg, sizeof params); - } - if (strlen(lvms[i].lv[ii].extents) > 0) { - snprintf(arg, sizeof arg, " -l %s", - lvms[i].lv[ii].extents); - strlcat(params, arg, sizeof params); - } - if (lvms[i].lv[ii].minor > 0) { - snprintf(arg, sizeof arg, " --minor %d", - lvms[i].lv[ii].minor); - strlcat(params, arg, sizeof params); - } - if (lvms[i].lv[ii].mirrors > 0) { - snprintf(arg, sizeof arg, " -m %d", - lvms[i].lv[ii].mirrors); - strlcat(params, arg, sizeof params); - if (lvms[i].lv[ii].regionsize > 0) { - snprintf(arg, sizeof arg, " -R %d", - lvms[i].lv[ii].regionsize); - strlcat(params, arg, sizeof params); - } - } - if (lvms[i].lv[ii].readahead > 0) { - snprintf(arg, sizeof arg, " -r %d", - lvms[i].lv[ii].readahead); - strlcat(params, arg, sizeof params); - } - if (lvms[i].lv[ii].stripes > 0) { - snprintf(arg, sizeof arg, " -i %d", - lvms[i].lv[ii].stripes); - strlcat(params, arg, sizeof params); - if (lvms[i].lv[ii].stripesize > 0) { - snprintf(arg, sizeof arg, " -I %d", - lvms[i].lv[ii].stripesize); - strlcat(params, arg, sizeof params); - } - } - snprintf(arg, sizeof arg, " -L %" PRIi64 "M", - lvms[i].lv[ii].size); - strlcat(params, arg, sizeof params); - - error += run_program(RUN_DISPLAY | RUN_PROGRESS, - "lvm lvcreate %s %s", params, lvms[i].name); - } - if (! error) { - lvms[i].blocked = 1; - for (ii = 0; ii < MAX_LVM_PV; ii++) - if (lvms[i].pv[ii].pm != NULL) - lvms[i].pv[ii].pm->blocked++; - for (ii = 0; ii < MAX_LVM_LV; ii++) - if (lvms[i].lv[ii].size > 0) - lvms[i].lv[ii].blocked = 1; - } - } - - return 0; -} - -/*** - Partman generic functions - ***/ - -int -pm_getrefdev(struct pm_devs *pm_cur) -{ - int i, ii, dev_num, num_devs, num_devs_s; - char descr[MENUSTRSIZE], dev[MENUSTRSIZE] = ""; - - pm_cur->refdev = NULL; - if (have_cgd && strncmp(pm_cur->diskdev, "cgd", 3) == 0) { - dev_num = pm_cur->diskdev[3] - '0'; - for (i = 0; i < MAX_CGD; i++) - if (cgds[i].blocked && cgds[i].node == dev_num) { - pm_cur->refdev = &cgds[i]; - snprintf(descr, sizeof descr, - " (%s, %s-%d)", cgds[i].pm_name, - cgds[i].enc_type, cgds[i].key_size); - strlcat(pm_cur->diskdev_descr, descr, - sizeof(pm_cur->diskdev_descr)); - break; - } - } else if (have_vnd && strncmp(pm_cur->diskdev, "vnd", 3) == 0) { - dev_num = pm_cur->diskdev[3] - '0'; - for (i = 0; i < MAX_VND; i++) - if (vnds[i].blocked && vnds[i].node == dev_num) { - pm_cur->refdev = &vnds[i]; - vnds[i].pm->parts->pscheme->get_part_device( - vnds[i].pm->parts, vnds[i].pm_part, - dev, sizeof dev, NULL, plain_name, false, - true); - snprintf(descr, sizeof descr, " (%s, %s)", - dev, vnds[i].filepath); - strlcat(pm_cur->diskdev_descr, descr, - sizeof(pm_cur->diskdev_descr)); - break; - } - } else if (have_raid && strncmp(pm_cur->diskdev, "raid", 4) == 0) { - dev_num = pm_cur->diskdev[4] - '0'; - for (i = 0; i < MAX_RAID; i++) - if (raids[i].blocked && raids[i].node == dev_num) { - pm_cur->refdev = &raids[i]; - num_devs = 0; num_devs_s = 0; - for (ii = 0; ii < MAX_IN_RAID; ii++) - if (raids[i].comp[ii].parts != NULL) { - if(raids[i].comp[ii].is_spare) - num_devs_s++; - else - num_devs++; - } - snprintf(descr, sizeof descr, - " (lvl %d, %d disks, %d spare)", - raids[i].raid_level, num_devs, - num_devs_s); - strlcat(pm_cur->diskdev_descr, descr, - sizeof(pm_cur->diskdev_descr)); - break; - } - } else - return -1; - return 0; -} - -/* - * Enable/disable items in the extended partition disk/partition action - * menu - */ -void -pmdiskentry_enable(menudesc *menu, struct part_entry *pe) -{ - int i; - menu_ent *m; - bool enable; - - for (i = 0; i < menu->numopts; i++) { - m = &menu->opts[i]; - - enable = false; - if (m->opt_name == MSG_unconfig) { - if (pe->type == PM_DISK) - enable = ((struct pm_devs *)pe->dev_ptr) - ->refdev != NULL; - } else if (m->opt_name == MSG_undo) { - if (pe->type != PM_DISK) - continue; - enable = ((struct pm_devs *)pe->dev_ptr)->unsaved; - } else if (m->opt_name == MSG_switch_parts) { - enable = pm_from_pe(pe)->parts != NULL; - } else { - continue; - } - - if (enable) - m->opt_flags &= ~OPT_IGNORE; - else - m->opt_flags |= OPT_IGNORE; - } -} - -/* Detect that partition is in use */ -int -pm_partusage(struct pm_devs *pm_cur, int part_num, int do_del) -{ - int i, ii, retvalue = 0; - struct disk_part_info info; - part_id id; - - if (pm_cur->parts == NULL) - return -1; /* nothing can be in use */ - - if (part_num < 0) { - /* Check all partitions on device */ - for (id = 0; id < pm_cur->parts->num_part; id++) { - if (!pm_cur->parts->pscheme->get_part_info( - pm_cur->parts, id, &info)) - continue; - if (info.flags & (PTI_SEC_CONTAINER| - PTI_WHOLE_DISK|PTI_PSCHEME_INTERNAL| - PTI_RAW_PART)) - continue; - retvalue += pm_partusage(pm_cur, id, do_del); - } - return retvalue; - } - - id = (part_id)part_num; - if (id >= pm_cur->parts->num_part) - return 0; - - for (i = 0; have_cgd && i < MAX_CGD; i++) - if (cgds[i].enabled && - cgds[i].pm == pm_cur && - cgds[i].pm_part == id) { - if (do_del) { - cgds[i].pm = NULL; - cgds[i].pm_name[0] = '\0'; - } - return 1; - } - for (i = 0; have_raid && i < MAX_RAID; i++) - for (ii = 0; ii < MAX_IN_RAID; ii++) - if (raids[i].enabled && - raids[i].comp[ii].parts == pm_cur->parts && - raids[i].comp[ii].id == id) { - if (do_del) - raids[i].comp[ii].parts = NULL; - return 1; - } - for (i = 0; have_lvm && i < MAX_LVM_VG; i++) - for (ii = 0; ii < MAX_LVM_PV; ii++) - if (lvms[i].enabled && - lvms[i].pv[ii].pm == pm_cur && - lvms[i].pv[ii].pm_part == id) { - if (do_del) - lvms[i].pv[ii].pm = NULL; - return 1; - } - - return 0; -} - -static void -pm_destroy_one(struct pm_devs *pm_i) -{ - part_id i; - - if (pm_i->parts != NULL) { - if (pm_i->mounted != NULL) { - for (i = 0; i < pm_i->parts->num_part; i++) - free(pm_i->mounted[i]); - } - - pm_i->parts->pscheme->free(pm_i->parts); - } - free(pm_i); -} - -/* Clean up removed devices */ -static int -pm_clean(void) -{ - int count = 0; - struct pm_devs *pm_i, *tmp; - - SLIST_FOREACH_SAFE(pm_i, &pm_head, l, tmp) - if (! pm_i->found) { - count++; - SLIST_REMOVE(&pm_head, pm_i, pm_devs, l); - pm_destroy_one(pm_i); - } - return count; -} - -/* Free all pm storage */ -void -pm_destroy_all(void) -{ - struct pm_devs *pm_i, *tmp; - - if (pm_new != pm) - pm_destroy_one(pm_new); - SLIST_FOREACH_SAFE(pm_i, &pm_head, l, tmp) { - SLIST_REMOVE(&pm_head, pm_i, pm_devs, l); - pm_destroy_one(pm_i); - } -} - -void -pm_set_lvmpv(struct pm_devs *my_pm, part_id pno, bool add) -{ - size_t i; - struct disk_part_info info; - - if (!my_pm->parts->pscheme->get_part_info(my_pm->parts, pno, &info)) - return; - - if (add) { - for (i = 0; i < __arraycount(lvm_pvs); i++) - if (lvm_pvs[i].pm == NULL && lvm_pvs[i].start == 0) - break; - if (i >= __arraycount(lvm_pvs)) - return; - lvm_pvs[i].pm = my_pm; - lvm_pvs[i].start = info.start; - return; - } else { - for (i = 0; i < __arraycount(lvm_pvs); i++) - if (lvm_pvs[i].pm == my_pm && - lvm_pvs[i].start == info.start) - break; - if (i >= __arraycount(lvm_pvs)) - return; - lvm_pvs[i].pm = NULL; - lvm_pvs[i].start = 0; - } -} - -bool -pm_is_lvmpv(struct pm_devs *my_pm, part_id id, - const struct disk_part_info *info) -{ - size_t i; - - for (i = 0; i < __arraycount(lvm_pvs); i++) { - if (lvm_pvs[i].pm != my_pm) - continue; - if (lvm_pvs[i].start == info->start) - return true; - } - - return false; -} - -void -pm_setfstype(struct pm_devs *pm_cur, part_id id, int fstype, int fs_subtype) -{ - struct disk_part_info info; - - if (!pm_cur->parts->pscheme->get_part_info(pm_cur->parts, id, &info)) - return; - - info.nat_type = pm_cur->parts->pscheme->get_fs_part_type(PT_root, - fstype, fs_subtype); - if (info.nat_type == NULL) - return; - info.fs_type = fstype; - info.fs_sub_type = fs_subtype; - pm_cur->parts->pscheme->set_part_info(pm_cur->parts, id, &info, NULL); -} - -static void -pm_select(struct pm_devs *pm_devs_in) -{ - pm = pm_devs_in; - if (logfp) - (void)fprintf(logfp, "Partman device: %s\n", pm->diskdev); -} - -void -pm_rename(struct pm_devs *pm_cur) -{ -#if 0 // XXX - convert to custom attribute or handle similar - pm_select(pm_cur); - msg_prompt_win(MSG_packname, -1, 18, 0, 0, pm_cur->bsddiskname, - pm_cur->bsddiskname, sizeof pm_cur->bsddiskname); -#ifndef NO_DISKLABEL - (void) savenewlabel(pm_cur->bsdlabel, MAXPARTITIONS); -#endif -#endif -} - -int -pm_editpart(int part_num) -{ - struct partition_usage_set pset = {}; - - usage_set_from_parts(&pset, pm->parts); - edit_ptn(&(struct menudesc){.cursel = part_num}, &pset); - free_usage_set(&pset); - if (checkoverlap(pm->parts)) { - hit_enter_to_continue(MSG_cantsave, NULL); - return -1; - } - pm->unsaved = 1; - return 0; -} - -/* Safe erase of disk */ -void -pm_shred(struct part_entry *pe, int shredtype) -{ - const char *srcdev; - char dev[SSTRSIZE]; - struct pm_devs *my_pm; - - my_pm = pe->dev_ptr; - if (pe->type == PM_DISK) { - snprintf(dev, sizeof dev, - _PATH_DEV "r%s%c", my_pm->diskdev, 'a' + RAW_PART); - if (pe->parts != NULL) { - pe->parts->pscheme->free(pe->parts); - pe->parts = NULL; - my_pm->parts = NULL; - } - } else if (pe->type == PM_PART) { - pe->parts->pscheme->get_part_device(pe->parts, pe->id, - dev, sizeof dev, NULL, raw_dev_name, true, true); - } - - switch (shredtype) { - case SHRED_ZEROS: - srcdev = _PATH_DEVZERO; - break; - case SHRED_RANDOM: - srcdev = _PATH_URANDOM; - break; - default: - return; - } - run_program(RUN_DISPLAY | RUN_PROGRESS, - "progress -f %s -b 1m dd bs=1m of=%s", srcdev, dev); - pm_partusage(my_pm, -1, 1); -} - -#if 0 // XXX -static int -pm_mountall_sort(const void *a, const void *b) -{ - return strcmp(mnts[*(const int *)a].on, mnts[*(const int *)b].on); -} -#endif - -#if 0 // XXX -/* Mount all available partitions */ -static int -pm_mountall(void) -{ - int num_devs = 0; - int mnts_order[MAX_MNTS]; - int i, ii, error, ok; - char dev[SSTRSIZE]; dev[0] = '\0'; - struct pm_devs *pm_i; - - localfs_dev[0] = '\0'; - if (mnts == NULL) - mnts = calloc(MAX_MNTS, sizeof(*mnts)); - - SLIST_FOREACH(pm_i, &pm_head, l) { - ok = 0; - for (i = 0; i < MAXPARTITIONS; i++) { - if (!(pm_i->bsdlabel[i].pi_flags & PIF_MOUNT && - pm_i->bsdlabel[i].mnt_opts != NULL)) - continue; - mnts[num_devs].mnt_opts = pm_i->bsdlabel[i].mnt_opts; - if (strlen(pm_i->bsdlabel[i].mounted) > 0) { - /* Device is already mounted. So, doing mount_null */ - strlcpy(mnts[num_devs].dev, pm_i->bsdlabel[i].mounted, MOUNTLEN); - mnts[num_devs].mnt_opts = "-t null"; - } else { - pm_getdevstring(dev, SSTRSIZE, pm_i, i); - snprintf(mnts[num_devs].dev, STRSIZE, "/dev/%s", dev); - } - mnts[num_devs].on = pm_i->bsdlabel[i].pi_mount; - if (strcmp(pm_i->bsdlabel[i].pi_mount, "/") == 0) { - /* Use disk with / as a default if the user has - the sets on a local disk */ - strlcpy(localfs_dev, pm_i->diskdev, SSTRSIZE); - } - num_devs++; - ok = 1; - } - if (ok) - md_pre_mount(NULL, 0); - } - if (strlen(localfs_dev) < 1) { - hit_enter_to_continue(MSG_noroot, NULL); - return -1; - } - for (i = 0; i < num_devs; i++) - mnts_order[i] = i; - qsort(mnts_order, num_devs, sizeof mnts_order[0], pm_mountall_sort); - - for (i = 0; i < num_devs; i++) { - ii = mnts_order[i]; - make_target_dir(mnts[ii].on); - error = target_mount_do(mnts[ii].mnt_opts, mnts[ii].dev, mnts[ii].on); - if (error) - return error; - } - return 0; -} -#endif - -/* Mount partition bypassing ordinary order */ -static int -pm_mount(struct pm_devs *pm_cur, int part_num) -{ - int error = 0; -#if 0 // XXX - char buf[MOUNTLEN]; - - if (strlen(pm_cur->bsdlabel[part_num].mounted) > 0) - return 0; - - snprintf(buf, sizeof(buf), "/tmp/%s%c", pm_cur->diskdev, - part_num + 'a'); - if (! dir_exists_p(buf)) - run_program(RUN_DISPLAY | RUN_PROGRESS, "/bin/mkdir -p %s", buf); - if (pm_cur->bsdlabel[part_num].pi_flags & PIF_MOUNT && - pm_cur->bsdlabel[part_num].mnt_opts != NULL && - strlen(pm_cur->bsdlabel[part_num].mounted) < 1) - error += run_program(RUN_DISPLAY | RUN_PROGRESS, "/sbin/mount %s /dev/%s%c %s", - pm_cur->bsdlabel[part_num].mnt_opts, - pm_cur->diskdev, part_num + 'a', buf); - - if (error) - pm_cur->bsdlabel[part_num].mounted[0] = '\0'; - else { - strlcpy(pm_cur->bsdlabel[part_num].mounted, buf, MOUNTLEN); - pm_cur->blocked++; - } -#endif - return error; -} - -void -pm_umount(struct pm_devs *pm_cur, int part_num) -{ - char buf[SSTRSIZE]; buf[0] = '\0'; - part_id id; - - if (part_num < 0) - return; - id = (part_id)part_num; - - pm_cur->parts->pscheme->get_part_device(pm_cur->parts, id, buf, - sizeof buf, NULL, plain_name, false, true); - - if (run_program(RUN_DISPLAY | RUN_PROGRESS, - "umount -f /dev/%s", buf) == 0) { - free(pm_cur->mounted[id]); - pm_cur->mounted[id] = NULL; - if (pm_cur->blocked > 0) - pm_cur->blocked--; - } -} - -int -pm_unconfigure(struct pm_devs *pm_cur) -{ - int error = 0; - if (! strncmp(pm_cur->diskdev, "cgd", 3)) { - error = run_program(RUN_DISPLAY | RUN_PROGRESS, "cgdconfig -u %s", pm_cur->diskdev); - if (! error && pm_cur->refdev != NULL) { - ((struct cgd_desc*)pm_cur->refdev)->pm->blocked--; - ((struct cgd_desc*)pm_cur->refdev)->blocked = 0; - } - } else if (! strncmp(pm_cur->diskdev, "vnd", 3)) { - error = run_program(RUN_DISPLAY | RUN_PROGRESS, "vndconfig -u %s", pm_cur->diskdev); - if (! error && pm_cur->refdev != NULL) { - ((struct vnd_desc*)pm_cur->refdev)->pm->blocked--; - ((struct vnd_desc*)pm_cur->refdev)->blocked = 0; - } - } else if (! strncmp(pm_cur->diskdev, "raid", 4)) { - error = run_program(RUN_DISPLAY | RUN_PROGRESS, "raidctl -u %s", pm_cur->diskdev); - if (! error && pm_cur->refdev != NULL) { - ((struct raid_desc*)pm_cur->refdev)->blocked = 0; -#if 0 // XXX - for (i = 0; i < MAX_IN_RAID; i++) - if (((struct raid_desc*)pm_cur->refdev)->comp[i].parts != NULL) - ((raids_t*)pm_cur->refdev)->pm[i]->blocked--; -#endif - } - } else if (! strncmp(pm_cur->diskdev, "dk", 2)) { - if (pm_cur->refdev == NULL) - return -2; - /* error = */ - run_program(RUN_DISPLAY | RUN_PROGRESS, "dkctl %s delwedge %s", - ((struct pm_devs*)pm_cur->refdev)->diskdev, pm_cur->diskdev); -#if 0 // XXX - if (! error) { - if (pm_cur->refdev != NULL && ((struct pm_devs*)pm_cur->refdev)->blocked > 0) - ((struct pm_devs*)pm_cur->refdev)->blocked--; - sscanf(pm_cur->diskdev, "dk%d", &num); - if (num >= 0 && num < MAX_WEDGES) - wedges[num].allocated = 0; - } -#endif - } /* XXX: lvm */ - else - error = run_program(RUN_DISPLAY | RUN_PROGRESS, "eject -t disk /dev/%sd", - pm_cur->diskdev); - if (!error) - pm_cur->found = 0; - return error; -} - -/* Last checks before leaving partition manager */ -#if 0 -static int -pm_lastcheck(void) -{ - FILE *file_tmp = fopen(concat_paths(targetroot_mnt, "/etc/fstab"), "r"); - if (file_tmp == NULL) - return 1; - fclose(file_tmp); - return 0; -} -#endif - -/* Are there unsaved changes? */ -static int -pm_needsave(void) -{ - struct pm_devs *pm_i; - SLIST_FOREACH(pm_i, &pm_head, l) - if (pm_i->unsaved) { - /* Oops, we have unsaved changes */ - pm_changed = 1; - msg_display(MSG_saveprompt); - return ask_yesno(NULL); - } - return 0; -} - -/* Write all changes to disk */ -static int -pm_commit(menudesc *m, void *arg) -{ - int retcode; - struct pm_devs *pm_i; - struct disk_partitions *secondary; - - pm_retvalue = -1; - SLIST_FOREACH(pm_i, &pm_head, l) { - if (! pm_i->unsaved) - continue; - if (pm_i->parts == NULL) { - pm_i->unsaved = false; - continue; - } - if (!pm_i->parts->pscheme->write_to_disk(pm_i->parts)) { - if (logfp) - fprintf(logfp, "partitining error %s\n", - pm_i->diskdev); - return -1; - } - if (pm_i->parts->pscheme->secondary_scheme != NULL) { - secondary = pm_i->parts->pscheme-> - secondary_partitions(pm_i->parts, -1, false); - if (secondary != NULL) { - if (!secondary->pscheme->write_to_disk( - secondary)) { - if (logfp) - fprintf(logfp, - "partitining error %s\n", - pm_i->diskdev); - return -1; - } - } - } - } - - /* Call all functions that may create new devices */ - if ((retcode = pm_raid_commit()) != 0) { - if (logfp) - fprintf(logfp, "RAIDframe configuring error #%d\n", retcode); - return -1; - } - if ((retcode = pm_cgd_commit()) != 0) { - if (logfp) - fprintf(logfp, "CGD configuring error #%d\n", retcode); - return -1; - } - if ((retcode = pm_lvm_commit()) != 0) { - if (logfp) - fprintf(logfp, "LVM configuring error #%d\n", retcode); - return -1; - } - if ((retcode = pm_vnd_commit()) != 0) { - if (logfp) - fprintf(logfp, "VND configuring error #%d\n", retcode); - return -1; - } - if (m != NULL && arg != NULL) - pm_do_upddevlist(m, arg); - if (logfp) - fflush (logfp); - - pm_retvalue = 0; - return 0; -} - -#if 0 // XXX -static int -pm_savebootsector(void) -{ - struct pm_devs *pm_i; - SLIST_FOREACH(pm_i, &pm_head, l) - if (pm_i->bootable) { - if (! strncmp("raid", pm_i->diskdev, 4)) - if (run_program(RUN_DISPLAY | RUN_PROGRESS, - "raidctl -v -A root %s", pm_i->diskdev) != 0) { - if (logfp) - fprintf(logfp, "Error writing RAID bootsector to %s\n", - pm_i->diskdev); - continue; - } - if (pm_i->no_part) { - if (pm_i->rootpart < 0 || - run_program(RUN_DISPLAY | RUN_PROGRESS, - "gpt biosboot -i %d %s", - pm_i->rootpart + 1, pm_i->diskdev) != 0) { - if (logfp) - fprintf(logfp, "Error writing GPT bootsector to %s\n", - pm_i->diskdev); - continue; - } - } else { - pm_select(pm_i); - if ( -#ifndef NO_DISKLABEL - !check_partitions(pm_i, pm_i->parts) || -#endif - md_post_newfs() != 0) { - if (logfp) - fprintf(logfp, "Error writing bootsector to %s\n", - pm_i->diskdev); - continue; - } - } - } - return 0; -} -#endif - -/* Function for 'Enter'-menu */ -static int -pm_submenu(menudesc *m, void *arg) -{ - struct pm_devs *pm_cur = NULL; - pm_retvalue = m->cursel + 1; - struct part_entry *cur_pe = (struct part_entry *)arg + m->cursel; - - switch (cur_pe->type) { - case PM_DISK: - case PM_PART: - case PM_SPEC: - if (cur_pe->dev_ptr != NULL) { - pm_cur = cur_pe->dev_ptr; - if (pm_cur == NULL) - return -1; - if (pm_cur->blocked) { - clear(); - refresh(); - msg_display(MSG_wannaunblock); - if (!ask_noyes(NULL)) - return -2; - pm_cur->blocked = 0; - } - pm_select(pm_cur); - } - default: - break; - } - - switch (cur_pe->type) { - case PM_DISK: - process_menu(MENU_pmdiskentry, cur_pe); - break; - case PM_PART: - process_menu(MENU_pmpartentry, cur_pe); - break; - case PM_SPEC: - process_menu(MENU_pmpartentry, cur_pe); - break; - case PM_RAID: - pm_edit(PMR_MENU_END, pm_raid_edit_menufmt, - pm_raid_set_value, pm_raid_check, pm_raid_init, - NULL, cur_pe->dev_ptr, 0, &raids_t_info); - break; - case PM_VND: - return pm_edit(PMV_MENU_END, pm_vnd_edit_menufmt, - pm_vnd_set_value, pm_vnd_check, pm_vnd_init, - NULL, cur_pe->dev_ptr, 0, &vnds_t_info); - case PM_CGD: - pm_cgd_edit_old(cur_pe); - break; - case PM_LVM: - return pm_edit(PML_MENU_END, pm_lvm_edit_menufmt, - pm_lvm_set_value, pm_lvm_check, pm_lvm_init, - NULL, cur_pe->dev_ptr, 0, &lvms_t_info); - case PM_LVMLV: - return pm_edit(PMLV_MENU_END, pm_lvmlv_edit_menufmt, - pm_lvmlv_set_value, pm_lvmlv_check, pm_lvmlv_init, - NULL, cur_pe->dev_ptr, - cur_pe->dev_ptr_delta, &lv_t_info); - } - return 0; -} - -/* Functions that generate menu entries text */ -static void -pm_menufmt(menudesc *m, int opt, void *arg) -{ - const char *dev_status = ""; - char buf[STRSIZE], dev[STRSIZE]; - part_id part_num = ((struct part_entry *)arg)[opt].id; - struct pm_devs *pm_cur = ((struct part_entry *)arg)[opt].dev_ptr; - struct disk_partitions *parts = ((struct part_entry *)arg)[opt].parts; - struct disk_part_info info; - const char *mount_point, *fstype; - - switch (((struct part_entry *)arg)[opt].type) { - case PM_DISK: - if (pm_cur->blocked) - dev_status = msg_string(MSG_pmblocked); - else if (! pm_cur->unsaved) - dev_status = msg_string(MSG_pmunchanged); - else - dev_status = msg_string(MSG_pmused); - wprintw(m->mw, "%-43.42s %25.24s", - pm_cur->diskdev_descr, - dev_status); - break; - case PM_PART: - if (parts->pscheme->get_part_device == NULL || - !parts->pscheme->get_part_device( - parts, part_num, - dev, sizeof dev, NULL, plain_name, false, - true)) - strcpy(dev, "-"); - - parts->pscheme->get_part_info(parts, - part_num, &info); - if (pm_cur->mounted != NULL && - pm_cur->mounted[part_num] != NULL && - pm_cur->mounted[part_num][0] != 0) - mount_point = msg_string(MSG_pmmounted); - else - mount_point = msg_string(MSG_pmunused); - fstype = getfslabelname(info.fs_type, - info.fs_sub_type); - if (info.last_mounted != NULL) { - snprintf(buf, STRSIZE, "%s (%s) %s", - info.last_mounted, fstype, - mount_point); - pm_fmt_disk_line(m->mw, dev, buf, - info.size, NULL); - } else { - if (fstype != NULL) { - strlcat(dev, " (", sizeof(dev)); - strlcat(dev, fstype, sizeof(dev)); - strlcat(dev, ")", sizeof(dev)); - } - pm_fmt_disk_line(m->mw, dev, NULL, - info.size, NULL); - } - break; - case PM_SPEC: - /* XXX ? */ - pm_fmt_disk_line(m->mw, pm_cur->diskdev_descr, NULL, - pm_cur->dlsize, NULL); - break; - case PM_RAID: - pm_raid_menufmt(m, opt, arg); - break; - case PM_VND: - pm_vnd_menufmt(m, opt, arg); - break; - case PM_CGD: - pm_cgd_menufmt(m, opt, arg); - break; - case PM_LVM: - pm_lvm_menufmt(m, opt, arg); - break; - case PM_LVMLV: - pm_lvmlv_menufmt(m, opt, arg); - break; - } -} - -/* Submenu for RAID/LVM/CGD/VND */ -static void -pm_upddevlist_adv(menudesc *m, void *arg, int *i, - pm_upddevlist_adv_t *d) -{ - int ii; - if (d->create_msg != NULL) { - /* We want to have menu entry that creates a new device */ - ((struct part_entry *)arg)[*i].type = d->pe_type; - ((struct part_entry *)arg)[*i].dev_ptr = NULL; - ((struct part_entry *)arg)[*i].dev_ptr_delta = d->s->parent_size * d->sub_num; - m->opts[(*i)++] = (struct menu_ent) { - .opt_name = d->create_msg, - .opt_action = pm_submenu, - }; - } - for (ii = 0; ii < d->s->max; ii++) { - if (d->s->entry_enabled == NULL || - d->s->entry_blocked == NULL || - *(int*)((char*)d->s->entry_enabled + d->s->entry_size * ii + - d->s->parent_size * d->sub_num) == 0 || - *(int*)((char*)d->s->entry_blocked + d->s->entry_size * ii + - d->s->parent_size * d->sub_num) != 0) - continue; - /* We have a entry for displaying */ - pm_changed = 1; - m->opts[*i] = (struct menu_ent) { - .opt_name = NULL, - .opt_action = pm_submenu, - }; - ((struct part_entry *)arg)[*i].type = d->pe_type; - ((struct part_entry *)arg)[*i].dev_ptr = (char*)d->s->entry_first + - d->s->entry_size * ii + d->s->parent_size * d->sub_num; - (*i)++; - /* We should show submenu for current entry */ - if (d->sub != NULL) { - d->sub->sub_num = ii; - pm_upddevlist_adv(m, arg, i, d->sub); - } - } -} - -/* Update partman main menu with devices list */ -static int -pm_upddevlist(menudesc *m, void *arg, struct install_partition_desc *install) -{ - int i = 0; - size_t ii; - struct pm_devs *pm_i; - struct disk_partitions *secondary; - const struct disk_partitioning_scheme *ps; - struct disk_part_info info; - - if (arg != NULL) - pm_retvalue = m->cursel + 1; - - pm_changed = 0; - /* Mark all devices as not found */ - SLIST_FOREACH(pm_i, &pm_head, l) { - if (pm_i->parts != NULL && !pm_i->unsaved) { - pm_i->parts->pscheme->free(pm_i->parts); - pm_i->parts = NULL; - } - if (pm_i->found > 0) - pm_i->found = 0; - } - - /* Detect all present devices */ - (void)find_disks("partman", false); - if (have_lvm) - pm_lvm_find(); - pm_clean(); - - if (m == NULL || arg == NULL) - return -1; - - SLIST_FOREACH(pm_i, &pm_head, l) { - struct part_entry *cur_entry = ((struct part_entry *)arg)+i; - memset(&m->opts[i], 0, sizeof m->opts[i]); - m->opts[i].opt_action = pm_submenu; - cur_entry->dev_ptr = pm_i; - cur_entry->id = NO_PART; - cur_entry->install = install; - if (pm_i->no_part) - cur_entry->type = PM_SPEC; - else { - ps = pm_i->parts != NULL ? pm_i->parts->pscheme : NULL; - secondary = NULL; - - cur_entry->type = PM_DISK; - - for (ii = 0; pm_i->parts != NULL && - ii < pm_i->parts->num_part; ii++) { - if (!ps->get_part_info( - pm_i->parts, ii, &info)) - continue; - if (info.flags & PTI_SEC_CONTAINER) { - if (secondary == NULL && - ps->secondary_scheme != NULL) - secondary = ps-> - secondary_partitions( - pm_i->parts, - info.start, false); - continue; - } - if (info.flags & (PTI_WHOLE_DISK| - PTI_PSCHEME_INTERNAL|PTI_RAW_PART)) - continue; - if (info.fs_type == FS_UNUSED) - continue; - if (i >= MAX_ENTRIES) - break; - i++; - cur_entry = ((struct part_entry *)arg)+i; - memset(&m->opts[i], 0, sizeof m->opts[i]); - m->opts[i].opt_action = pm_submenu; - cur_entry->parts = pm_i->parts; - cur_entry->dev_ptr = pm_i; - cur_entry->install = install; - cur_entry->id = ii; - cur_entry->type = PM_PART; - } - - for (ii = 0; secondary != NULL && - ii < secondary->num_part; ii++) { - if (!secondary->pscheme->get_part_info( - secondary, ii, &info)) - continue; - if (info.flags & (PTI_WHOLE_DISK| - PTI_PSCHEME_INTERNAL|PTI_RAW_PART)) - continue; - if (info.fs_type == FS_UNUSED) - continue; - if (i >= MAX_ENTRIES) - break; - i++; - cur_entry = ((struct part_entry *)arg)+i; - memset(&m->opts[i], 0, sizeof m->opts[i]); - m->opts[i].opt_action = pm_submenu; - cur_entry->parts = secondary; - cur_entry->dev_ptr = pm_i; - cur_entry->install = install; - cur_entry->id = ii; - cur_entry->type = PM_PART; - } - } - i++; - } - for (ii = 0; ii <= (size_t)i; ii++) { - m->opts[ii].opt_flags = OPT_EXIT; - } - if (have_cgd) { - pm_upddevlist_adv(m, arg, &i, - &(pm_upddevlist_adv_t) {MSG_create_cgd, PM_CGD, - &cgds_t_info, 0, NULL}); - } - pm_upddevlist_adv(m, arg, &i, - &(pm_upddevlist_adv_t) {MSG_create_vnd, PM_VND, - &vnds_t_info, 0, NULL}); - if (have_lvm) { - pm_upddevlist_adv(m, arg, &i, - &(pm_upddevlist_adv_t) {MSG_create_vg, PM_LVM, - &lvms_t_info, 0, - &(pm_upddevlist_adv_t) {MSG_create_lv, PM_LVMLV, - &lv_t_info, 0, - NULL}}); - } - if (have_raid) { - pm_upddevlist_adv(m, arg, &i, - &(pm_upddevlist_adv_t) {MSG_create_raid, PM_RAID, &raids_t_info, 0, NULL}); - } - - m->opts[i++] = (struct menu_ent) { - .opt_name = MSG_updpmlist, - .opt_action = pm_do_upddevlist, - }; - m->opts[i ] = (struct menu_ent) { - .opt_name = MSG_savepm, - .opt_action = pm_commit, - }; - - if (pm_retvalue >= 0) - m->cursel = pm_retvalue - 1; - return i; -} - -static void -pm_menuin(menudesc *m, void *arg) -{ - if (pm_cursel > m->numopts) - m->cursel = m->numopts; - else if (pm_cursel < 0) - m->cursel = 0; - else - m->cursel = pm_cursel; -} - -static void -pm_menuout(menudesc *m, void *arg) -{ - pm_cursel = m->cursel; -} - -/* Main partman function */ -int -partman(struct install_partition_desc *install) -{ - int menu_no, menu_num_entries; - static int firstrun = 1; - menu_ent menu_entries[MAX_ENTRIES+6]; - struct part_entry args[MAX_ENTRIES] = { 0 }; - - if (firstrun) { - check_available_binaries(); - - if (!have_raid) - remove_raid_options(); - else if (!(raids = calloc(MAX_RAID, sizeof(*raids)))) - have_raid = 0; - -#define remove_vnd_options() (void)0 - if (!have_vnd) - remove_vnd_options(); - else if (!(vnds = calloc(MAX_VND, sizeof(*vnds)))) - have_vnd = 0; - - if (!have_cgd) - remove_cgd_options(); - else if (!(cgds = calloc(MAX_CGD, sizeof(*cgds)))) - have_cgd = 0; - - if (!have_lvm) - remove_lvm_options(); - else if (!(lvms = calloc(MAX_LVM_VG, sizeof(*lvms)))) - have_lvm = 0; - - raids_t_info = (structinfo_t) { - .max = MAX_RAID, - .entry_size = sizeof raids[0], - .entry_first = &raids[0], - .entry_enabled = &(raids[0].enabled), - .entry_blocked = &(raids[0].blocked), - .entry_node = &(raids[0].node), - }; - vnds_t_info = (structinfo_t) { - .max = MAX_VND, - .entry_size = sizeof vnds[0], - .entry_first = &vnds[0], - .entry_enabled = &(vnds[0].enabled), - .entry_blocked = &(vnds[0].blocked), - .entry_node = &(vnds[0].node), - }; - cgds_t_info = (structinfo_t) { - .max = MAX_CGD, - .entry_size = sizeof cgds[0], - .entry_first = &cgds[0], - .entry_enabled = &(cgds[0].enabled), - .entry_blocked = &(cgds[0].blocked), - .entry_node = &(cgds[0].node), - }; - lvms_t_info = (structinfo_t) { - .max = MAX_LVM_VG, - .entry_size = sizeof lvms[0], - .entry_first = &lvms[0], - .entry_enabled = &(lvms[0].enabled), - .entry_blocked = &(lvms[0].blocked), - .entry_node = NULL, - }; - lv_t_info = (structinfo_t) { - .max = MAX_LVM_LV, - .entry_size = sizeof lvms[0].lv[0], - .entry_first = &lvms[0].lv[0], - .entry_enabled = &(lvms[0].lv[0].size), - .entry_blocked = &(lvms[0].lv[0].blocked), - .parent_size = sizeof lvms[0], - }; - - pm_cursel = 0; - pm_changed = 0; - firstrun = 0; - } - - do { - menu_num_entries = pm_upddevlist(&(menudesc){.opts = menu_entries}, - args, install); - menu_no = new_menu(MSG_partman_header, - menu_entries, menu_num_entries+1, 1, 1, 0, 75, /* Fixed width */ - MC_ALWAYS_SCROLL | MC_NOBOX | MC_NOCLEAR, - pm_menuin, pm_menufmt, pm_menuout, NULL, MSG_finishpm); - if (menu_no == -1) - pm_retvalue = -1; - else { - pm_retvalue = 0; - clear(); - refresh(); - process_menu(menu_no, &args); - free_menu(menu_no); - } - - if (pm_retvalue == 0 && pm != NULL && pm->parts != NULL) - if (pm_needsave()) - pm_commit(NULL, NULL); - - } while (pm_retvalue > 0); - - /* retvalue <0 - error, retvalue ==0 - user quits, retvalue >0 - all ok */ - return (pm_retvalue >= 0)?0:-1; -} - -void -update_wedges(const char *disk) -{ - check_available_binaries(); - - if (!have_dk) - return; - - run_program(RUN_SILENT | RUN_ERROR_OK, - "dkctl %s makewedges", disk); -} - -bool -pm_force_parts(struct pm_devs *my_pm) -{ - if (my_pm == NULL) - return false; - if (my_pm->parts != NULL) - return true; - - const struct disk_partitioning_scheme *ps = - select_part_scheme(my_pm, NULL, false, NULL); - if (ps == NULL) - return false; - - struct disk_partitions *parts = - (*ps->create_new_for_disk)(my_pm->diskdev, 0, - my_pm->dlsize, false, NULL); - if (parts == NULL) - return false; - - my_pm->parts = parts; - if (pm->dlsize > ps->size_limit) - pm->dlsize = ps->size_limit; - - return true; -} - -void -pm_edit_partitions(struct part_entry *pe) -{ - struct pm_devs *my_pm = pm_from_pe(pe); - struct partition_usage_set pset = { 0 }; - struct disk_partitions *parts, *np; - - if (!my_pm) - return; - - if (!pm_force_parts(my_pm)) - return; - parts = my_pm->parts; - - clear(); - refresh(); - - if (my_pm->parts->pscheme->secondary_scheme != NULL) { - if (!edit_outer_parts(my_pm->parts)) - goto done; - np = get_inner_parts(parts); - if (np != NULL) - parts = np; - } - - if (parts != NULL) { - if (!pe->install || - !usage_set_from_install_desc(&pset, pe->install, parts)) - usage_set_from_parts(&pset, parts); - edit_and_check_label(my_pm, &pset, false); - - if (pe->install) - merge_usage_set_into_install_desc(pe->install, - &pset); - free_usage_set(&pset); - } - -done: - pm_partusage(my_pm, -1, -1); - my_pm->unsaved = true; - pm_retvalue = 1; -} - -part_id -pm_whole_disk(struct part_entry *pe, int t) -{ - struct pm_devs *my_pm = pm_from_pe(pe); - struct disk_partitions *parts, *outer; - struct disk_part_info info, oinfo; - struct disk_part_free_space space; - daddr_t align; - int fst; - struct partition_usage_set pset = { 0 }; - part_id new_part, id; - size_t i, cnt; - - if (!my_pm) - return NO_PART; - - if (!pm_force_parts(my_pm)) - return NO_PART; - - parts = my_pm->parts; - parts->pscheme->delete_all_partitions(parts); - if (parts->pscheme->secondary_scheme != NULL) { - outer = parts; - parts = parts->pscheme->secondary_partitions(outer, - 0, true); - if (parts == NULL) { - parts = outer; - } else { - if (outer->pscheme->write_to_disk(outer)) - my_pm->parts = parts; - } - } - - align = parts->pscheme->get_part_alignment(parts); - - memset(&info, 0, sizeof info); - switch (t) { - case SY_NEWRAID: - fst = FS_RAID; - break; - case SY_NEWLVM: - fst = FS_BSDFFS; - break; - case SY_NEWCGD: - fst = FS_CGD; - break; - default: - assert(false); - return NO_PART; - } - info.nat_type = parts->pscheme->get_fs_part_type(PT_root, fst, 0); - if (info.nat_type != NULL && parts->pscheme->get_default_fstype != NULL) - parts->pscheme->get_default_fstype(info.nat_type, - &info.fs_type, &info.fs_sub_type); - if (parts->pscheme->get_free_spaces(parts, &space, 1, - 5*align, align, -1, -1) != 1) - return NO_PART; - info.start = space.start; - info.size = space.size; - new_part = parts->pscheme->add_partition(parts, &info, NULL); - if (new_part == NO_PART) - return NO_PART; - - parts->pscheme->get_part_info(parts, new_part, &oinfo); - - clear(); - refresh(); - - usage_set_from_parts(&pset, parts); - edit_and_check_label(my_pm, &pset, false); - free_usage_set(&pset); - - /* - * Try to match our new partition after user edit - */ - new_part = NO_PART; - for (cnt = i = 0; i < parts->num_part; i++) { - if (!parts->pscheme->get_part_info(parts,i, &info)) - continue; - if (info.flags & (PTI_SEC_CONTAINER|PTI_WHOLE_DISK| - PTI_PSCHEME_INTERNAL|PTI_RAW_PART)) - continue; - if (info.nat_type != oinfo.nat_type) - continue; - if (new_part == NO_PART) - new_part = i; - cnt++; - } - if (cnt > 1) { - /* multiple matches, retry matching with start */ - id = NO_PART; - for (cnt = i = 0; i < parts->num_part; i++) { - if (!parts->pscheme->get_part_info(parts, i, &info)) - continue; - if (info.flags & (PTI_SEC_CONTAINER|PTI_WHOLE_DISK| - PTI_PSCHEME_INTERNAL|PTI_RAW_PART)) - continue; - if (info.nat_type != oinfo.nat_type) - continue; - if (info.start != oinfo.start) - continue; - if (id == NO_PART) - id = i; - cnt++; - } - if (id != NO_PART) - new_part = id; - } - - clear(); - refresh(); - - pm_partusage(my_pm, -1, -1); - my_pm->unsaved = true; - pm_retvalue = 1; - - return new_part; -} - -struct pm_devs * -pm_from_pe(struct part_entry *pe) -{ - switch (pe->type) { - case PM_DISK: - return pe->dev_ptr; - default: - assert(false); - } - return NULL; -} diff --git a/overlay/usr.sbin/sysinst/run.c b/overlay/usr.sbin/sysinst/run.c deleted file mode 100644 index 56695184e5..0000000000 --- a/overlay/usr.sbin/sysinst/run.c +++ /dev/null @@ -1,803 +0,0 @@ -/* $NetBSD: run.c,v 1.17 2026/06/28 11:03:14 gson Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* run.c -- routines to interact with other programs. */ - -/* XXX write return codes ignored. XXX */ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include "defs.h" - -#include "menu_defs.h" -#include "msg_defs.h" - -#define MAXBUF 256 - -#if defined(DEBUG) && defined(DEBUG_SYSTEM) -static inline int -Xsystem(const char *y) -{ - printf ("%s\n", y); - return 0; -} -#else -#define Xsystem(y) system(y) -#endif - -/* - * local prototypes - */ -int log_flip (menudesc *, void *); -static int script_flip (menudesc *, void *); - -#define BUFSIZE 4096 - -menu_ent logmenu [2] = { - { .opt_action=log_flip}, - { .opt_action=script_flip} -}; - -static void -log_menu_label(menudesc *m, int opt, void *arg) -{ - wprintw(m->mw, "%s: %s", - msg_string(opt ? MSG_Scripting : MSG_Logging), - msg_string((opt ? script != NULL : logfp != NULL) ? - MSG_On : MSG_Off)); -} - -void -do_logging(void) -{ - int menu_no; - - menu_no = new_menu(MSG_Logging_functions, logmenu, 2, -1, 12, - 0, 20, MC_SCROLL, NULL, log_menu_label, NULL, - MSG_Pick_an_option, MSG_exit_menu_generic); - - if (menu_no < 0) { - (void)fprintf(stderr, "Dynamic menu creation failed.\n"); - if (logfp) - (void)fprintf(logfp, "Dynamic menu creation failed.\n"); - exit(EXIT_FAILURE); - } - process_menu(menu_no, NULL); - free_menu(menu_no); -} - -int -/*ARGSUSED*/ -log_flip(menudesc *m, void *arg) -{ - time_t tloc; - - (void)time(&tloc); - if (logfp) { - fprintf(logfp, "Log ended at: %s\n", safectime(&tloc)); - fflush(logfp); - fclose(logfp); - logfp = NULL; - } else { - logfp = fopen("/tmp/sysinst.log", "a"); - if (logfp != NULL) { - fprintf(logfp, - "Log started at: %s\n", safectime(&tloc)); - fflush(logfp); - } else { - if (mainwin) { - msg_fmt_display(MSG_openfail, "%s%s", - "log file", strerror(errno)); - } else { - fprintf(stderr, "could not open /tmp/sysinst.log: %s\n", - strerror(errno)); - exit(1); - } - } - } - return(0); -} - -static int -/*ARGSUSED*/ -script_flip(menudesc *m, void *arg) -{ - time_t tloc; - - (void)time(&tloc); - if (script) { - scripting_fprintf(NULL, "# Script ended at: %s\n", - safectime(&tloc)); - fflush(script); - fclose(script); - script = NULL; - } else { - script = fopen("/tmp/sysinst.sh", "w"); - if (script != NULL) { - scripting_fprintf(NULL, "#!/bin/sh\n"); - scripting_fprintf(NULL, "# Script started at: %s\n", - safectime(&tloc)); - fflush(script); - } else { - msg_fmt_display(MSG_openfail, "%s%s", "script file", - strerror(errno)); - } - } - return(0); -} - -int -collect(int kind, char **buffer, const char *name, ...) -{ - size_t nbytes; /* Number of bytes in buffer. */ - size_t fbytes; /* Number of bytes in file. */ - size_t abytes; /* allocated size of buffer */ - struct stat st; /* stat information. */ - int ch; - FILE *f; - char fileorcmd[STRSIZE]; - va_list ap; - char *cp; - - va_start(ap, name); - vsnprintf(fileorcmd, sizeof fileorcmd, name, ap); - va_end(ap); - - if (kind == T_FILE) { - /* Get the file information. */ - if (stat(fileorcmd, &st)) { - *buffer = NULL; - return -1; - } - fbytes = (size_t)st.st_size; - - /* Open the file. */ - f = fopen(fileorcmd, "r"); - if (f == NULL) { - if (logfp) - fprintf(logfp, "%s: failed to open %s\n", - __func__, fileorcmd); - *buffer = NULL; - return -1; - } - } else { - /* Open the program. */ - f = popen(fileorcmd, "r"); - if (f == NULL) { - if (logfp) - fprintf(logfp, "%s: failed to open %s\n", - __func__, fileorcmd); - *buffer = NULL; - return -1; - } - fbytes = 0; - } - - if (fbytes == 0) - abytes = BUFSIZE; - else - abytes = fbytes+1; - - /* Allocate the buffer size. */ - *buffer = cp = malloc(abytes); - if (!cp) - nbytes = -1; - else { - /* Read the buffer. */ - nbytes = 0; - while ((ch = fgetc(f)) != EOF) { - if (nbytes >= abytes-1) { - if (fbytes > 0 || abytes >= 512*BUFSIZE) { - free(cp); - *buffer = cp = NULL; - nbytes = -1; - break; - } - abytes *= 2; - *buffer = cp = realloc(cp, abytes); - if (!cp) { - nbytes = -1; - break; - } - - } - cp[nbytes++] = ch; - } - if (cp) - cp[nbytes] = 0; - } - - if (kind == T_FILE) - fclose(f); - else - pclose(f); - - if (nbytes <= 0 && logfp) - fprintf(logfp, "%s: failed for %s\n", __func__, fileorcmd); - - return nbytes; -} - - -/* - * system(3), but with a debug wrapper. - * use only for curses sub-applications. - */ -int -do_system(const char *execstr) -{ - register int ret; - - /* - * The following may be more than one function call. Can't just - * "return Xsystem (command);" - */ - - ret = Xsystem(execstr); - return (ret); - -} - -static char ** -make_argv(char *cmd) -{ - char **argv = 0; - int argc = 0; - char *cp, *dp, *fn; - DIR *dir; - struct dirent *dirent; - int l; - - for (; *cmd != 0; cmd = cp + strspn(cp, " "), argc++) { - if (*cmd == '\'') - cp = strchr(++cmd, '\''); - else - cp = strchr(cmd, ' '); - if (cp == NULL) - cp = strchr(cmd, 0); - argv = realloc(argv, (argc + 2) * sizeof *argv); - if (argv == NULL) - err(1, "realloc(argv) for %s", cmd); - asprintf(argv + argc, "%.*s", (int)(cp - cmd), cmd); - /* Hack to remove %xx encoded ftp password */ - dp = strstr(cmd, ":%"); - if (dp != NULL && dp < cp) { - for (fn = dp + 4; *fn == '%'; fn += 3) - continue; - if (*fn == '@') - memset(dp + 1, '*', fn - dp - 1); - } - if (*cp == '\'') - cp++; - if (cp[-1] != '*') - continue; - /* do limited filename globbing */ - dp = argv[argc]; - fn = strrchr(dp, '/'); - if (fn != NULL) - *fn = 0; - dir = opendir(dp); - if (fn != NULL) - *fn++ = '/'; - else - fn = dp; - if (dir == NULL) - continue; - l = strlen(fn) - 1; - while ((dirent = readdir(dir))) { - if (dirent->d_name[0] == '.') - continue; - if (strncmp(dirent->d_name, fn, l) != 0) - continue; - if (dp != argv[argc]) - argc++; - argv = realloc(argv, (argc + 2) * sizeof *argv); - if (argv == NULL) - err(1, "realloc(argv) for %s", cmd); - asprintf(argv + argc, "%.*s%s", (int)(fn - dp), dp, - dirent->d_name); - } - if (dp != argv[argc]) - free(dp); - closedir(dir); - } - argv[argc] = NULL; - return argv; -} - -static void -free_argv(char **argv) -{ - char **n, *a; - - for (n = argv; (a = *n++);) - free(a); - free(argv); -} - -static WINDOW * -show_cmd(const char *scmd, struct winsize *win) -{ - WINDOW *actionwin; - int nrow; - - wclear(stdscr); - clearok(stdscr, 1); - touchwin(stdscr); - refresh(); - - mvaddstr(0, 4, msg_string(MSG_Status)); - standout(); - addstr(msg_string(MSG_Running)); - standend(); - mvaddstr(1, 4, msg_string(MSG_Command)); - standout(); - printw("%s", scmd); - standend(); - addstr("\n\n"); - hline(0, win->ws_col); - refresh(); - - nrow = getcury(stdscr) + 1; - - actionwin = subwin(stdscr, win->ws_row - nrow, win->ws_col, nrow, 0); - if (actionwin == NULL) { - fprintf(stderr, "sysinst: failed to allocate output window.\n"); - exit(1); - } - scrollok(actionwin, TRUE); - if (has_colors()) { - wbkgd(actionwin, getbkgd(stdscr)); - wattrset(actionwin, getattrs(stdscr)); - } - - wmove(actionwin, 0, 0); - wrefresh(actionwin); - - return actionwin; -} - -/* - * launch a program inside a subwindow, and report its return status when done - */ -/* - * Makronix: the tail of what the last command printed, for the message when it - * fails. A RUN_SILENT command shows nothing on the screen, and "Command - * failed" alone does not say why (a MacBook refused to partition its disk, - * 2026-11-08, and the screen said only that). The status line now says the - * exit status and the last line the command printed; the log has all of it. - */ -static char cmd_tail[512]; -static size_t cmd_tail_len; -static char cmd_errstr[256]; - -static void -cmd_tail_add(const char *str) -{ - size_t n = strlen(str); - - if (n >= sizeof(cmd_tail) - 1) { - str += n - (sizeof(cmd_tail) - 1); - n = sizeof(cmd_tail) - 1; - } - if (cmd_tail_len + n >= sizeof(cmd_tail)) { - size_t drop = cmd_tail_len + n - (sizeof(cmd_tail) - 1); - - memmove(cmd_tail, cmd_tail + drop, cmd_tail_len - drop); - cmd_tail_len -= drop; - } - memcpy(cmd_tail + cmd_tail_len, str, n); - cmd_tail_len += n; - cmd_tail[cmd_tail_len] = 0; -} - -/* the last line the command printed, without the line end; "" if none */ -static const char * -cmd_tail_last_line(void) -{ - static char line[72]; - const char *end = cmd_tail + cmd_tail_len, *beg; - size_t n; - - while (end > cmd_tail && - (end[-1] == '\n' || end[-1] == '\r' || end[-1] == ' ')) - end--; - beg = end; - while (beg > cmd_tail && beg[-1] != '\n' && beg[-1] != '\r') - beg--; - n = end - beg; - if (n >= sizeof(line)) - n = sizeof(line) - 1; - memcpy(line, beg, n); - line[n] = 0; - return line; -} - - -static int -launch_subwin(WINDOW **actionwin, char **args, struct winsize *win, int flags, - const char *scmd, const char **errstr) -{ - int n, i; - int selectfailed; - int status, master, slave; - fd_set active_fd_set, read_fd_set; - pid_t child, pid; - char ibuf[MAXBUF]; - char pktdata; - char *cp, *ncp; - struct termios rtt, tt; - struct timeval tmo; - - (void)tcgetattr(STDIN_FILENO, &tt); - if (openpty(&master, &slave, NULL, &tt, win) == -1) { - *errstr = "openpty() failed"; - return -1; - } - - rtt = tt; - - /* ignore tty signals until we're done with subprocess setup */ - ttysig_ignore = 1; - ioctl(master, TIOCPKT, &ttysig_ignore); - - redirect_console(master, slave); - - if (logfp) - fflush(logfp); - if (script) - fflush(script); - - child = fork(); - switch (child) { - case -1: - ttysig_ignore = 0; - refresh(); - *errstr = "fork() failed"; - return -1; - case 0: /* child */ - (void)close(STDIN_FILENO); - /* silently stop curses */ - (void)close(STDOUT_FILENO); - (void)open("/dev/null", O_RDWR, 0); - dup2(STDIN_FILENO, STDOUT_FILENO); - endwin(); - (void)close(master); - rtt = tt; - rtt.c_lflag |= (ICANON|ECHO); - (void)tcsetattr(slave, TCSANOW, &rtt); - login_tty(slave); - if (logfp) { - fprintf(logfp, "executing: %s\n", scmd); - fclose(logfp); - logfp = NULL; - } - if (script) { - fprintf(script, "%s\n", scmd); - fclose(script); - script = NULL; - } - if (strcmp(args[0], "cd") == 0 && strcmp(args[2], "&&") == 0) { - target_chdir_or_die(args[1]); - args += 3; - } - if (flags & RUN_XFER_DIR) - target_chdir_or_die(xfer_dir); - /* - * If target_prefix == "", the chroot will fail, but - * that's ok, since we don't need it then. - */ - if (flags & RUN_CHROOT && *target_prefix() - && chroot(target_prefix()) != 0) - warn("chroot(%s) for %s", target_prefix(), *args); - else { - execvp(*args, args); - warn("execvp %s", *args); - } - _exit(EXIT_FAILURE); - // break; /* end of child */ - default: - /* - * parent: we've set up the subprocess. - * forward tty signals to its process group. - */ - ttysig_forward = child; - ttysig_ignore = 0; - break; - } - - /* - * Now loop transferring program output to screen, and keyboard - * input to the program. - */ - - FD_ZERO(&active_fd_set); - FD_SET(master, &active_fd_set); - FD_SET(STDIN_FILENO, &active_fd_set); - - for (selectfailed = 0;;) { - if (selectfailed) { - const char mmsg[] = - "select(2) failed but no child died?"; - if (logfp) - (void)fprintf(logfp, mmsg); - errx(1, mmsg); - } - read_fd_set = active_fd_set; - tmo.tv_sec = flags & RUN_SILENT ? 20 : 2; - tmo.tv_usec = 0; - i = select(FD_SETSIZE, &read_fd_set, NULL, NULL, &tmo); - if (i == 0 && *actionwin == NULL && (flags & RUN_SILENT) == 0) - *actionwin = show_cmd(scmd, win); - if (i < 0) { - if (errno != EINTR) { - warn("select"); - if (logfp) - (void)fprintf(logfp, - "select failure: %s\n", - strerror(errno)); - selectfailed = 1; - } - } else for (i = 0; i < FD_SETSIZE; ++i) { - if (!FD_ISSET(i, &read_fd_set)) - continue; - n = read(i, ibuf, sizeof ibuf - 1); - if (n <= 0) { - if (n < 0) - warn("read"); - continue; - } - ibuf[n] = 0; - cp = ibuf; - if (i == STDIN_FILENO) { - (void)write(master, ibuf, (size_t)n); - if (!(rtt.c_lflag & ECHO)) - continue; - } else { - pktdata = ibuf[0]; - if (pktdata != 0) { - if (pktdata & TIOCPKT_IOCTL) - memcpy(&rtt, ibuf, sizeof(rtt)); - continue; - } - cp += 1; - } - if (i != STDIN_FILENO && *cp != 0) { - cmd_tail_add(cp); - if (logfp && (flags & RUN_SILENT)) { - fprintf(logfp, "%s", cp); - fflush(logfp); - } - } - if (*cp == 0 || flags & RUN_SILENT) - continue; - if (logfp) { - fprintf(logfp, "%s", cp); - fflush(logfp); - } - if (*actionwin == NULL) - *actionwin = show_cmd(scmd, win); - /* posix curses is braindead wrt \r\n so... */ - for (ncp = cp; (ncp = strstr(ncp, "\r\n")); ncp += 2) { - ncp[0] = '\n'; - ncp[1] = '\r'; - } - waddstr(*actionwin, cp); - wrefresh(*actionwin); - } - pid = wait4(child, &status, WNOHANG, 0); - if (pid == child && (WIFEXITED(status) || WIFSIGNALED(status))) - break; - } - close(master); - close(slave); - discard_console_output(); - if (logfp) - fflush(logfp); - - /* from here on out, we take tty signals ourselves */ - ttysig_forward = 0; - - reset_prog_mode(); - - if (WIFEXITED(status)) { - *errstr = msg_string(MSG_Command_failed); - return WEXITSTATUS(status); - } - if (WIFSIGNALED(status)) { - *errstr = msg_string(MSG_Command_ended_on_signal); - return WTERMSIG(status); - } - return 0; -} - -/* - * generic program runner. - * flags: - * RUN_DISPLAY display command name and output - * RUN_FATAL program errors are fatal - * RUN_CHROOT chroot to target before the exec - * RUN_FULLSCREEN display output only - * RUN_SILENT do not display program output - * RUN_ERROR_OK don't wait for key if program fails - * RUN_PROGRESS don't wait for key if program has output - * If both RUN_DISPLAY and RUN_SILENT are clear then the program name will - * be displayed as soon as it generates output. - * Steps are taken to collect console messages, they will be interleaved - * into the program output - but not upset curses. - */ - - -int -run_program(int flags, const char *cmd, ...) -{ - va_list ap; - struct winsize win; - int ret; - WINDOW *actionwin = NULL; - char *scmd; - char **args; - const char *errstr = NULL; - - va_start(ap, cmd); - vasprintf(&scmd, cmd, ap); - va_end(ap); - if (scmd == NULL) - err(1, "vasprintf(&scmd, \"%s\", ...)", cmd); - - args = make_argv(scmd); - cmd_tail_len = 0; - cmd_tail[0] = 0; - - /* Make curses save tty settings */ - def_prog_mode(); - - (void)ioctl(STDIN_FILENO, TIOCGWINSZ, &win); - /* Apparently, we sometimes get 0x0 back, and that's not useful */ - if (win.ws_row == 0) - win.ws_row = 24; - if (win.ws_col == 0) - win.ws_col = 80; - - if ((flags & RUN_DISPLAY) != 0) { - if (flags & RUN_STDSCR) { - actionwin = stdscr; - wmove(stdscr, msg_row()+2, 0); - wrefresh(stdscr); - } else if (flags & RUN_FULLSCREEN) { - wclear(stdscr); - clearok(stdscr, 1); - touchwin(stdscr); - refresh(); - actionwin = stdscr; - } else { - actionwin = show_cmd(scmd, &win); - } - } else - win.ws_row -= 4; - - ret = launch_subwin(&actionwin, args, &win, flags, scmd, &errstr); - if (ret != 0 && errstr != NULL) { - const char *last = cmd_tail_last_line(); - - snprintf(cmd_errstr, sizeof(cmd_errstr), "%s (%d)%s%s", - errstr, ret, *last ? ": " : "", last); - errstr = cmd_errstr; - if (logfp) { - fprintf(logfp, "failed (%d): %s\n%s\n", ret, scmd, - cmd_tail); - fflush(logfp); - } - } - fpurge(stdin); - - /* If the command failed, show command name */ - if (actionwin == NULL && ret != 0 && !(flags & RUN_ERROR_OK)) - actionwin = show_cmd(scmd, &win); - - if (actionwin != NULL) { - int y, x; - getyx(actionwin, y, x); - if (actionwin != stdscr) - mvaddstr(0, 4, msg_string(MSG_Status)); - if (ret != 0) { - if (actionwin == stdscr && x != 0) - addstr("\n"); - x = 1; /* force newline below */ - standout(); - addstr(errstr); - standend(); - } else { - if (actionwin != stdscr) { - standout(); - addstr(msg_string(MSG_Finished)); - standend(); - } - } - clrtoeol(); - refresh(); - if ((ret != 0 && !(flags & RUN_ERROR_OK)) || - (y + x != 0 && !(flags & RUN_PROGRESS))) { - if (actionwin != stdscr) - move(getbegy(actionwin) - 2, 5); - else if (x != 0) - addstr("\n"); - addstr(msg_string(MSG_Hit_enter_to_continue)); - refresh(); - getchar(); - } else { - if (y + x != 0) { - /* give user 1 second to see messages */ - refresh(); - sleep(1); - } - } - } - - /* restore tty setting we saved earlier */ - reset_prog_mode(); - - /* clean things up */ - if (actionwin != NULL) { - if (actionwin != stdscr) - delwin(actionwin); - if (errstr == 0 || !(flags & RUN_NO_CLEAR)) { - wclear(stdscr); - touchwin(stdscr); - clearok(stdscr, 1); - refresh(); - } - } - - free(scmd); - free_argv(args); - - if (ret != 0 && flags & RUN_FATAL) - exit(ret); - return ret; -} diff --git a/overlay/usr.sbin/sysinst/setup.c b/overlay/usr.sbin/sysinst/setup.c deleted file mode 100644 index ff61df2d35..0000000000 --- a/overlay/usr.sbin/sysinst/setup.c +++ /dev/null @@ -1,273 +0,0 @@ -/* $NetBSD$ */ - -/* - * Makronix: the last step of the simple installation. - * - * NetBSD's sysinst ends with a long menu of things to configure and leaves - * the root password to passwd(1) on the console. The simple mode asks, in - * sysinst's own screen, the few things that make a computer a desktop - * computer, and does the rest itself: - * - * the name of the computer, the network (DHCP), the time zone, - * the password of the administrator (root), - * the user of the computer: name, login, password, member of the groups - * that matter (wheel, operator, staff, users, dialer, games, wsrc), - * - * and enables what a desktop needs at boot: dhcpcd, ntpdate and ntpd, sshd, and - * dtlogin, the CDE login screen, instead of xdm. The advanced mode keeps the - * configuration menu (configmenu.c) as it is. - * - * Passwords are never put on a command line: the password goes to the - * chrooted command in an environment variable and pwhash(1) makes the hash - * (usr.bin/pwhash, in the base set), usermod(8) -p stores it. - */ - -#include -#include -#include -#include -#include -#include -#include - -#include "defs.h" -#include "msg_defs.h" -#include "menu_defs.h" - -/* the groups of the user of the computer: all NetBSD groups of a desktop user */ -/* wsrc: /usr/src, /usr/xsrc and /usr/msrc are root:wsrc, group-writable */ -#define USER_GROUPS "wheel,operator,staff,users,dialer,games,wsrc" - -/* dtlogin's rc script and PAM file come with the pkgsrc package as examples */ -#define DT_RC_EXAMPLE "/usr/pkg/share/examples/rc.d/dtlogin" -#define DT_PAM_EXAMPLE "/usr/pkg/share/examples/pam.d/dtlogin" - -static bool -valid_hostname(const char *s) -{ - - if (*s == '\0' || strlen(s) > 63 || !isalnum((unsigned char)*s)) - return false; - for (; *s != '\0'; s++) - if (!isalnum((unsigned char)*s) && *s != '-') - return false; - return true; -} - -static void -set_rc(const char *var, const char *value) -{ - - (void)del_rc_conf(var); - add_rc_conf("%s=%s\n", var, value); -} - -/* - * The firewall: npf(7), /etc/rc.d/npf. Nothing comes in that was not asked - * for; the computer's own connections work with their replies, DHCP and IPv6 - * neighbour discovery work, ping works, ssh is open, and so is mDNS (the - * multicast announcements of avahi). Plain npf.conf(5), checked with - * `npfctl validate' on NetBSD 11.99.9 (docs/reference/npf-default.conf). - */ -static void -write_npf_conf(void) -{ - FILE *f; - - scripting_fprintf(NULL, "cat </etc/npf.conf\n"); - if ((f = target_fopen("/etc/npf.conf", "w")) == NULL) - return; - scripting_fprintf(f, - "# Makronix: nothing comes in that was not asked for.\n" - "#\n" - "# Written by the installer. Everything this computer starts is let out\n" - "# and the replies come back (stateful); the network set-up (DHCP, IPv6\n" - "# neighbour and router discovery), ping, ssh and mDNS work.\n" - "# Edit this file and run `/etc/rc.d/npf reload'. See npf.conf(5).\n" - "\n" - "alg \"icmp\"\n" - "\n" - "group default {\n" - "\tpass final on lo0 all\n" - "\n" - "\t# out: everything, with the replies\n" - "\tpass stateful out final all\n" - "\n" - "\t# DHCP replies (a broadcast, so no state) and IPv6 set-up\n" - "\tpass in final proto udp from any port 67 to any port 68\n" - "\tpass final family inet6 proto ipv6-icmp all\n" - "\n" - "\t# ping\n" - "\tpass stateful in final family inet4 proto icmp all\n" - "\n" - "\t# remote login\n" - "\tpass stateful in final proto tcp to any port ssh\n" - "\n" - "\t# mDNS and DNS-SD (avahi): the multicast announcements, port 5353\n" - "\tpass in final proto udp to any port 5353\n" - "\n" - "\tblock in final all\n" - "}\n"); - scripting_fprintf(NULL, "EOF\n"); - fclose(f); -} - -/* - * Remote login is on, and root may log in with the password (the decision of - * the owner of the project, 2026-11-07: "default on, root with a password"). - * NetBSD's sshd_config has PasswordAuthentication at its default, yes, and - * PermitRootLogin at prohibit-password, in comments; sshd_config(5) takes the - * first value it reads, so a line at the end is the one that counts. - */ -static void -set_ssh(void) -{ - - set_rc("sshd", "YES"); - run_program(RUN_SILENT | RUN_CHROOT | RUN_ERROR_OK, - "sh -c 'printf \"\\n# Makronix: root may log in with the password\\n" - "PermitRootLogin yes\\n\" >> /etc/ssh/sshd_config'"); - write_npf_conf(); - set_rc("npf", "YES"); -} - -/* - * Multicast DNS and DNS service discovery ("Bonjour"), all in the base system: - * mdnsd(8) (Apple's mDNSResponder, usr.sbin/mdnsd, rc.d/mdnsd, rc.conf - * mdnsd=YES) and its name service module, which nsswitch.conf(5) names mdnsd: - * `hosts: files mdnsd dns' makes name.local resolve, for every program that - * uses getaddrinfo(3). The module answers only .local names and says "not - * found" to the rest at once, so it can come before dns. The firewall lets UDP - * 5353 in (write_npf_conf). - */ -static void -set_mdns(void) -{ - - set_rc("mdnsd", "YES"); - run_program(RUN_SILENT | RUN_CHROOT | RUN_ERROR_OK, - "sed -i.orig 's/^hosts:.*/hosts: files mdnsd dns/' /etc/nsswitch.conf"); -} - -/* - * Packages and their security, the NetBSD way: - * - * - /etc/pkg_install.conf (pkg_install.conf(5), the variables in - * external/bsd/pkg_install/dist/lib/parse-config.c): PKG_PATH names the - * repository, so that `pkg_add firefox' and `pkg_add -u' work without an - * environment variable. It is the project's binary repository for the - * release the packages of the media come from; the line is the one place - * to change when that moves. CHECK_OS_VERSION=no: Makronix is NetBSD - * 11.99.9 (-current) and those packages are built for 11.0, which pkg_add - * would warn about for every package. That is a decision, not an oversight. - * - /etc/daily.conf (daily.conf(5)): fetch_pkg_vulnerabilities=YES, which - * daily(8) asks for itself when packages are installed ("You should set it - * to YES to enable vulnerability checks", etc/daily); security(8) then runs - * `pkg_admin audit'. - */ -#define PKG_REPOSITORY "https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/x86_64/11.0_2026Q3/All" - -static void -set_pkg_defaults(void) -{ - - if (strcmp(machine, "amd64") == 0) - run_program(RUN_SILENT | RUN_CHROOT | RUN_ERROR_OK, - "sh -c 'printf \"# Makronix: the binary packages of the " - "NetBSD project\\nPKG_PATH=" PKG_REPOSITORY "\\n" - "CHECK_OS_VERSION=no\\n\" >> /etc/pkg_install.conf'"); - run_program(RUN_SILENT | RUN_CHROOT | RUN_ERROR_OK, - "sh -c 'echo fetch_pkg_vulnerabilities=YES >> /etc/daily.conf'"); -} - -/* - * add_new_user (configmenu.c) puts a user into wheel at most; give every - * ordinary user (uid 1000..59999, useradd.conf(5)) the groups of a desktop - * user and return the last name for the closing message. - */ -static void -user_groups(char *user, size_t len) -{ - FILE *f; - char line[STRSIZE], *name, *p; - long uid; - - user[0] = '\0'; - if ((f = fopen(target_expand("/etc/passwd"), "r")) == NULL) - return; - while (fgets(line, sizeof line, f) != NULL) { - name = line; - if ((p = strchr(name, ':')) == NULL) - continue; - *p++ = '\0'; - if ((p = strchr(p, ':')) == NULL) - continue; - uid = strtol(p + 1, NULL, 10); - if (uid < 1000 || uid > 59999) - continue; - run_program(RUN_SILENT | RUN_CHROOT | RUN_ERROR_OK, - "/usr/sbin/usermod -G " USER_GROUPS " %s", name); - strlcpy(user, name, len); - } - fclose(f); -} - -void -makronix_setup(void) -{ - char host[STRSIZE] = "", user[STRSIZE] = ""; - - msg_display(MSG_setup_intro); - hit_enter_to_continue(NULL, NULL); - - /* the name of the computer */ - for (;;) { - msg_prompt(MSG_setup_hostname, "makronix", host, - sizeof host - 1); - if (valid_hostname(host)) - break; - hit_enter_to_continue(MSG_setup_hostname_invalid, NULL); - } - set_rc("hostname", host); - - /* net.c fills its form from gethostname() */ - (void)sethostname(host, strlen(host)); - - /* the network: the entry of the configuration menu (configmenu.c) */ - makronix_config_network(); - if (!network_up) - set_rc("dhcpcd", "YES"); - - /* the time zone: sysinst's own list (util.c, set_timezone) */ - (void)set_timezone(); - - /* the administrator and the user: the configuration menu again */ - root_pw_setup(); - makronix_config_user(); - user_groups(user, sizeof user); - - /* what a desktop computer runs at boot */ - set_rc("ntpdate", "YES"); - set_rc("ntpd", "YES"); - /* remote login and the firewall that goes with it */ - set_ssh(); - set_mdns(); - set_pkg_defaults(); - if (target_file_exists_p(DT_RC_EXAMPLE)) { - /* - * pkg_add would have put these in place; the set is unpacked - * without it. dtlogin takes the place of xdm. - */ - run_program(RUN_SILENT | RUN_CHROOT | RUN_ERROR_OK, - "sh -c 'cp " DT_RC_EXAMPLE " /etc/rc.d/dtlogin &&" - " chmod 555 /etc/rc.d/dtlogin'"); - if (target_file_exists_p(DT_PAM_EXAMPLE)) - run_program(RUN_SILENT | RUN_CHROOT | RUN_ERROR_OK, - "cp " DT_PAM_EXAMPLE " /etc/pam.d/dtlogin"); - set_rc("dtlogin", "YES"); - set_rc("xdm", "NO"); - } - - msg_fmt_display(MSG_setup_done, "%s", user); - hit_enter_to_continue(NULL, NULL); -} diff --git a/overlay/usr.sbin/sysinst/sizemultname.c b/overlay/usr.sbin/sysinst/sizemultname.c deleted file mode 100644 index 86bbc03e2e..0000000000 --- a/overlay/usr.sbin/sysinst/sizemultname.c +++ /dev/null @@ -1,83 +0,0 @@ -/* $NetBSD: sizemultname.c,v 1.4 2020/01/27 21:21:22 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include "defs.h" -#include "md.h" -#include "msg_defs.h" -#include "menu_defs.h" - -void -set_sizemult(daddr_t unit, uint bps) -{ - if (unit == 0 || bps == 0) - return; - - sizemult = unit/bps; - - if (sizemult == 1) - multname = msg_string(MSG_secname); - else if (unit == MEG) - multname = msg_string(MSG_megname); - else if (unit == GIG) - multname = msg_string(MSG_gigname); - else - multname = msg_string(MSG_cylname); -} - -/* - * Only first call sets it - */ -void -set_default_sizemult(const char *disk, daddr_t unit, uint bps) -{ - static char last_dev[40]; - - if (strcmp(disk, last_dev) == 0) - return; - - strlcpy(last_dev, disk, sizeof last_dev); - set_sizemult(unit, bps); -} - diff --git a/overlay/usr.sbin/sysinst/sysinst.8 b/overlay/usr.sbin/sysinst/sysinst.8 deleted file mode 100644 index bb581d0b95..0000000000 --- a/overlay/usr.sbin/sysinst/sysinst.8 +++ /dev/null @@ -1,198 +0,0 @@ -.\" $NetBSD: sysinst.8,v 1.5 2022/01/28 19:36:00 wiz Exp $ -.\" -.\" Copyright (c) 2007 The NetBSD Foundation, Inc. -.\" All rights reserved. -.\" -.\" Redistribution and use in source and binary forms, with or without -.\" modification, are permitted provided that the following conditions -.\" are met: -.\" 1. Redistributions of source code must retain the above copyright -.\" notice, this list of conditions and the following disclaimer. -.\" 2. Redistributions in binary form must reproduce the above copyright -.\" notice, this list of conditions and the following disclaimer in the -.\" documentation and/or other materials provided with the distribution. -.\" -.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS -.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED -.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS -.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -.\" POSSIBILITY OF SUCH DAMAGE. -.\" -.Dd January 28, 2022 -.Dt SYSINST 8 -.Os -.Sh NAME -.Nm sysinst -.Nd install or upgrade a NetBSD system -.Sh SYNOPSIS -.Nm -.Op Fl Dp -.Op Fl C Ar bg:fg -.Op Fl f Ar definition_file -.Op Fl m Ar message_catalog_dir -.Sh DESCRIPTION -.Nm -is a menu-based program that may be used to install or upgrade a -.Nx -system. -It -is usually invoked automatically when the system is booted -from appropriate installation media. -.Pp -When a new system is installed, -.Nm -first asks for the installation mode. -In the simple mode the user chooses the disk; the whole disk is then -partitioned with the default layout (GPT where the machine can boot from -it) and all sets are installed, without further questions about the layout -or the sets. -The questions that protect existing data are still asked. -If the installation medium carries the source sets (the DVD made with -.Dq make isosrc ) , -they are installed as well: the -.Nx -sets -.Sy src , -.Sy gnusrc , -.Sy syssrc , -.Sy sharesrc -and -.Sy xsrc , -and -.Sy msrc -with pkgsrc, the patches, the tools and the archives of the Makronix packages, -so that the system can rebuild itself without a network. -The trees come with their git repositories. -A source set that is not on the medium is skipped silently. -The Makronix installation is on two CDs: the first carries the system, the -second the -.Sy makronix -set. -The installer on the first CD runs from a RAM disk, so the CD can be taken -out; when a set is not on the CD in the drive, sysinst asks for the next CD, -mounts it and goes on. -The DVD carries every set and needs no second medium. -The extra programs (Firefox, Thunderbird, QEMU) are binary packages on a third -CD and on the DVD; the simple mode offers to install them with -.Xr pkg_add 1 . -The simple mode ends with a few questions in the installer's own screen -instead of the configuration menu: the name of the computer, whether to -configure the network with DHCP, the time zone, the password of the administrator, and the -user of the computer (full name, login name, password), who becomes a member -of the groups wheel, operator, staff, users, dialer, games and wsrc (the group that owns the source trees). -The installed system starts dhcpcd, ntpdate, ntpd and -.Xr dtlogin -(the CDE login screen, in place of -.Xr xdm 1 ) -at boot. -The installed system also starts -.Xr sshd 8 -(the administrator may log in with the password), the multicast DNS responder -.Xr mdnsd 8 -(with its name service module, so that name.local resolves), and a firewall, -.Xr npf 7 , -with rules that let in nothing that was not asked for: its own connections and -the replies, the network set-up, ping, ssh and mDNS. -The rules are in -.Pa /etc/npf.conf . -If the extra programs are installed (Firefox, Thunderbird, QEMU, the sound -daemon PulseAudio, printing with CUPS), the message bus and the print service -start at boot as well. -In the advanced mode the partitioning and the sets are chosen as usual. -.Pp -The following options are available: -.Bl -tag -width 24n -.It Fl C Ar bg:fg -Use the ansi colors (see -.In curses.h ) -bg as background (default: 7 for white) -and fg as foreground/text color (default: 0 for black). -This is the look of the CDE default palette; where the terminal can redefine -colors, the white background is set to the CDE window color. -.It Fl D -Switch on debugging. -.It Fl f Ar definition_file -Use -.Ar definition_file -as a file for definitions other than the defaults. -See the -.Sx DEFINITION FILE -section for its format. -.It Fl m Ar message_catalog_dir -Search for available language files in -.Ar message_catalog_dir . -If this argument is missing and there are -.Pa sysinstmsgs.* -files in the current directory, those are used. -If no such files are found, a compiled in default catalog directory -is used. -.It Fl p -Start the extended partition editor instead of the installer. -This option is not available on some versions compiled for space limited -install media. -.El -.Sh DEFINITION FILE -A definition file can be used with -.Nm -to control several aspects of the installation or upgrade process. -Options can be stored within the file as -.Dl option = value -pairs. -Options include the following, shown with their defaults -as well as a description -.Dq ( REL -and -.Dq MACH -are the release and architecture -respectively, as determined by the image -.Nm -is used on): -.Bl -column "targetroot mount" "pub/NetBSD/NetBSD-REL" -.It Sy "option name" Ta Sy "default value" Ta Sy "description" -.It machine Ta MACH Ta Machine architecture -.It xfer dir Ta /usr/INSTALL Ta Transfer dir -.It ext dir Ta "" Ta Extract dir (will usually be set later on) -.It ftp host Ta "ftp.NetBSD.org" Ta FTP host for fetching files -.It ftp dir Ta "pub/NetBSD/NetBSD-REL" Ta FTP directory for fetching files -.It ftp prefix Ta "/MACH/binary/sets" Ta Directory to look for sets, -used for all methods of fetching (i.e., not just FTP) -.It ftp user Ta "ftp" Ta FTP user for connecting -.It ftp pass Ta "-" Ta FTP password -.It ftp proxy Ta "-" Ta FTP proxy -.It nfs host Ta "-" Ta NFS host for fetching via NFS -.It nfs dir Ta "/bsd/release" Ta NFS directory for fetching files -.It cd dev Ta "cd0a" Ta Name of CD device for fetching files -.It fd dev Ta "/dev/fd0a" Ta Name of floppy device for fetching files -.It local dev Ta "-" Ta Other device to be mounted for fetching files -.It local fs Ta "ffs" Ta File system type for local device -.It local dir Ta "release" Ta Directory to look for in the mounted local file system -.It targetroot mount Ta "/targetroot" Ta Directory to mount target root dir to -.It dist postfix Ta ".tgz" Ta Suffix of set files to be extracted -.It diskname Ta "mydisk" Ta Xr disktab 5 diskname to use for target disk -.El -.Sh SEE ALSO -.Xr release 7 , -.Xr afterboot 8 , -.Xr boot 8 , -.Xr diskless 8 -.Pp -.Em Ns Pa /INSTALL.* -files on CD-ROM installation media -.Pa .../NetBSD- Ns Em Ns Pa / Ns Em Ns Pa /INSTALL.* -files in -.Nx -releases or snapshots. -.Pp -The default message catalog files are installed in -.Pa /usr/share/sysinst/catalog . -.Sh HISTORY -A -.Nm -command appeared in -.Nx 1.3 . diff --git a/overlay/usr.sbin/sysinst/target.c b/overlay/usr.sbin/sysinst/target.c deleted file mode 100644 index 6fc154136f..0000000000 --- a/overlay/usr.sbin/sysinst/target.c +++ /dev/null @@ -1,715 +0,0 @@ -/* $NetBSD: target.c,v 1.18 2022/02/10 16:11:41 martin Exp $ */ - -/* - * Copyright 1997 Jonathan Stone - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed for the NetBSD Project by - * Jonathan Stone. - * 4. The name of Jonathan Stone may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY JONATHAN STONE ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Copyright below applies to the realpath() code */ - -/* - * Copyright (c) 1989, 1991, 1993, 1995 - * The Regents of the University of California. All rights reserved. - * - * This code is derived from software contributed to Berkeley by - * Jan-Simon Pendry. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - */ - - -#include -#if defined(LIBC_SCCS) && !defined(lint) -__RCSID("$NetBSD: target.c,v 1.18 2022/02/10 16:11:41 martin Exp $"); -#endif - -/* - * target.c -- path-prefixing routines to access the target installation - * filesystems. Makes the install tools more independent of whether - * we're installing into a separate filesystem hierarchy mounted under - * /targetroot, or into the currently active root mounted on /. - */ - -#include /* XXX vm_param.h always defines TRUE*/ -#include -#include -#include -#include /* stat() */ -#include /* statfs() */ - -#include -#include -#include -#include -#include /* defines TRUE, but checks */ -#include -#include - -#include "defs.h" -#include "md.h" -#include "msg_defs.h" -#include "menu_defs.h" - -/* - * local prototypes - */ - -static void make_prefixed_dir (const char *prefix, const char *path); -static int do_target_chdir (const char *dir, int flag); -int target_test(unsigned int mode, const char *path); -int target_test_dir (const char *path); /* deprecated */ -int target_test_file (const char *path); /* deprecated */ -int target_test_symlink (const char *path); /* deprecated */ - -void unwind_mounts(void); - -/* Record a mount for later unwinding of target mounts. */ -struct unwind_mount { - struct unwind_mount *um_prev; - char um_mountpoint[4]; /* Allocated longer... */ -}; - -/* Record a wedge for later deletion after all file systems have been unmounted */ -struct umount_delwedge { - struct umount_delwedge *next; - char disk[DISKNAMESIZE], wedge[DISKNAMESIZE]; -}; -struct umount_delwedge *post_umount_dwlist = NULL; - -/* Unwind-mount stack */ -struct unwind_mount *unwind_mountlist = NULL; - -/* - * Debugging options - */ -/*#define DEBUG_ROOT*/ /* turn on what-is-root? debugging. */ -/*#define DEBUG_UNWIND*/ /* turn on unwind-target-mount debugging. */ - -/* - * debugging helper. curses... - */ -#if defined(DEBUG) || defined(DEBUG_ROOT) -void -backtowin(void) -{ - - fflush(stdout); /* curses does not leave stdout linebuffered. */ - getchar(); /* wait for user to press return */ - wrefresh(stdscr); -} -#endif - - -/* - * Is the root partition we're running from the same as the root - * which the user has selected to install/upgrade? - * Uses global variable "pm->diskdev" to find the selected device for - * install/upgrade. - */ -int -target_already_root(void) -{ - char dev[PATH_MAX]; - int rootpart = -1; - static struct pm_devs *last_pm; - static int last_res; - part_id ptn; - struct disk_partitions *parts, *inner; - struct disk_part_info info; - - if (pm == NULL) - return 1; - - if (pm == last_pm) - return last_res; - - if (pm->cur_system) - return 1; - - last_pm = pm; - last_res = 0; - - parts = pm->parts; - if (parts == NULL) { - last_res = 0; - return 0; - } - - if (pm->no_part) { - last_res = is_active_rootpart(pm->diskdev, -1); - return last_res; - } - - if (pm->parts->pscheme->secondary_partitions != NULL) { - inner = pm->parts->pscheme->secondary_partitions(parts, - pm->ptstart, false); - if (inner != NULL) - parts = inner; - } - - for (ptn = 0; ptn < parts->num_part; ptn++) { - if (!parts->pscheme->get_part_info(parts, ptn, &info)) - continue; - if (info.nat_type->generic_ptype != PT_root) - continue; - if (!is_root_part_mount(info.last_mounted)) - continue; - if (!parts->pscheme->get_part_device(parts, ptn, - dev, sizeof dev, &rootpart, plain_name, false, true)) - continue; - - last_res = is_active_rootpart(dev, rootpart); - break; - } - - return last_res; -} - -/* - * Could something with this "last mounted on" information be a potential - * root partition? - */ -bool -is_root_part_mount(const char *last_mounted) -{ - if (last_mounted == NULL) - return false; - - return strcmp(last_mounted, "/") == 0 || - strcmp(last_mounted, "/targetroot") == 0 || - strcmp(last_mounted, "/altroot") == 0; -} - -/* - * Is this device partition (e.g., "sd0a") mounted as root? - */ -int -is_active_rootpart(const char *dev, int ptn) -{ - int mib[2]; - char rootdev[SSTRSIZE]; - int rootptn; - size_t varlen; - - mib[0] = CTL_KERN; - mib[1] = KERN_ROOT_DEVICE; - varlen = sizeof(rootdev); - if (sysctl(mib, 2, rootdev, &varlen, NULL, 0) < 0) - return 1; - - if (strcmp(dev, rootdev) != 0) - return 0; - - if (ptn < 0) - return 1; /* device only check, or wedge */ - - mib[1] = KERN_ROOT_PARTITION; - varlen = sizeof rootptn; - rootptn = -1; - if (sysctl(mib, 2, &rootptn, &varlen, NULL, 0) < 0) - return 1; - - return ptn == rootptn; -} - -/* - * Pathname prefixing glue to support installation either - * from in-ramdisk miniroots or on-disk diskimages. - * If our root is on the target disk, the install target is mounted - * on /targetroot and we need to prefix installed pathnames with /targetroot. - * otherwise we are installing to the currently-active root and - * no prefix is needed. - */ -const char * -target_prefix(void) -{ - /* - * XXX fetch sysctl variable for current root, and compare - * to the devicename of the install target disk. - */ - return(target_already_root() ? "" : targetroot_mnt); -} - -/* - * concatenate two pathnames. - * XXX returns either input args or result in a static buffer. - * The caller must copy if it wants to use the pathname past the - * next call to a target-prefixing function, or to modify the inputs. - * Used only internally so this is probably safe. - */ -const char * -concat_paths(const char *prefix, const char *suffix) -{ - static char real_path[MAXPATHLEN]; - - /* absolute prefix and null suffix? */ - if (prefix[0] == '/' && suffix[0] == 0) - return prefix; - - /* null prefix and absolute suffix? */ - if (prefix[0] == 0 && suffix[0] == '/') - return suffix; - - /* avoid "//" */ - if (suffix[0] == '/' || suffix[0] == 0) - snprintf(real_path, sizeof(real_path), "%s%s", prefix, suffix); - else - snprintf(real_path, sizeof(real_path), "%s/%s", - prefix, suffix); - return (real_path); -} - -/* - * Do target prefix expansion on a pathname. - * XXX uses concat_paths and so returns result in a static buffer. - * The caller must copy if it wants to use the pathname past the - * next call to a target-prefixing function, or to modify the inputs. - * Used only internally so this is probably safe. - * - * Not static so other functions can generate target related file names. - */ -const char * -target_expand(const char *tgtpath) -{ - - return concat_paths(target_prefix(), tgtpath); -} - -/* Make a directory, with a prefix like "/targetroot" or possibly just "". */ -static void -make_prefixed_dir(const char *prefix, const char *path) -{ - - run_program(0, "/bin/mkdir -p %s", concat_paths(prefix, path)); -} - -/* Make a directory with a pathname relative to the installation target. */ -void -make_target_dir(const char *path) -{ - - make_prefixed_dir(target_prefix(), path); -} - - -static int -do_target_chdir(const char *dir, int must_succeed) -{ - const char *tgt_dir; - int error; - - error = 0; - tgt_dir = target_expand(dir); - -#ifdef DEBUG - printf("target_chdir (%s)\n", tgt_dir); - //return (0); -#endif - /* chdir returns -1 on error and sets errno. */ - if (chdir(tgt_dir) < 0) - error = errno; - if (logfp) { - fprintf(logfp, "cd to %s\n", tgt_dir); - fflush(logfp); - } - if (script) { - scripting_fprintf(NULL, "cd %s\n", tgt_dir); - fflush(script); - } - - if (error && must_succeed) { - const char *args[] = { target_prefix(), strerror(error) }; - char *err = str_arg_subst(msg_string(MSG_realdir), - __arraycount(args), args); - fprintf(stderr, "%s\n", err); - if (logfp) - fprintf(logfp, "%s\n", err); - free(err); - exit(1); - } - errno = error; - return (error); -} - -void -target_chdir_or_die(const char *dir) -{ - - (void)do_target_chdir(dir, 1); -} - -#ifdef notdef -int -target_chdir(const char *dir) -{ - - return do_target_chdir(dir, 0); -} -#endif - -/* - * Copy a file from the current root into the target system, - * where the destination pathname is relative to the target root. - * Does not check for copy-to-self when target is current root. - */ -int -cp_to_target(const char *srcpath, const char *tgt_path) -{ - const char *real_path = target_expand(tgt_path); - - return run_program(0, "/bin/cp %s %s", srcpath, real_path); -} - -/* - * Duplicate a file from the current root to the same pathname - * in the target system. Pathname must be an absolute pathname. - * If we're running in the target, do nothing. - */ -void -dup_file_into_target(const char *filename) -{ - - if (!target_already_root() && access(filename, R_OK) == 0) - cp_to_target(filename, filename); -} - - -/* - * Do a mv where both pathnames are within the target filesystem. - */ -void -mv_within_target_or_die(const char *frompath, const char *topath) -{ - char realfrom[STRSIZE]; - char realto[STRSIZE]; - - strlcpy(realfrom, target_expand(frompath), sizeof realfrom); - strlcpy(realto, target_expand(topath), sizeof realto); - - run_program(RUN_FATAL, "mv %s %s", realfrom, realto); -} - -/* Do a cp where both pathnames are within the target filesystem. */ -int -cp_within_target(const char *frompath, const char *topath, int optional) -{ - char realfrom[STRSIZE]; - char realto[STRSIZE]; - - strlcpy(realfrom, target_expand(frompath), sizeof realfrom); - strlcpy(realto, target_expand(topath), sizeof realto); - - if (access(realfrom, R_OK) == -1 && optional) - return 0; - return (run_program(0, "cp -p %s %s", realfrom, realto)); -} - -/* fopen a pathname in the target. */ -FILE * -target_fopen(const char *filename, const char *type) -{ - - return fopen(target_expand(filename), type); -} - -/* - * Do a mount onto a mountpoint in the install target. - * Record mountpoint so we can unmount when finished. - * NB: does not prefix mount-from, which probably breaks nullfs mounts. - */ -int -target_mount_do(const char *opts, const char *from, const char *on) -{ - struct unwind_mount *m; - int error; - int len; - - len = strlen(on); - m = malloc(sizeof *m + len); - if (m == 0) - return (ENOMEM); /* XXX */ - - memcpy(m->um_mountpoint, on, len + 1); - -#ifdef DEBUG_UNWIND - endwin(); - fprintf(stderr, "mounting %s with unwind\n", on); - backtowin(); -#endif - - error = run_program(0, "/sbin/mount %s %s %s%s", - opts, from, target_prefix(), on); - if (error) { - free(m); - return error; - } - m->um_prev = unwind_mountlist; - unwind_mountlist = m; - return 0; -} - -/* - * Special case - we have mounted the target / readonly - * to peek at etc/fstab, and now want it undone. - */ -void -umount_root(void) -{ - - /* verify this is the only mount */ - if (unwind_mountlist == NULL) - return; - if (unwind_mountlist->um_prev != NULL) - return; - - if (run_program(0, "/sbin/umount %s", target_prefix()) != 0) - return; - - free(unwind_mountlist); - unwind_mountlist = NULL; -} - - -int -target_mount(const char *opts, const char *from, const char *on) -{ - return target_mount_do(opts, from, on); -} - -int -target_unmount(const char *mount_point) -{ - struct unwind_mount *m, *prev = NULL; - int error; - - for (m = unwind_mountlist; m != NULL; prev = m, m = m->um_prev) - if (strcmp(m->um_mountpoint, mount_point) == 0) - break; - - if (m == NULL) - return ENOTDIR; - - error = run_program(0, "/sbin/umount %s%s", - target_prefix(), m->um_mountpoint); - if (error) - return error; - - if (m == unwind_mountlist) - unwind_mountlist = m->um_prev; - else - prev->um_prev = m->um_prev; - free(m); - - return 0; -} - -static bool -delete_wedge(const char *disk, const char *wedge) -{ - struct dkwedge_info dkw; - char diskpath[MAXPATHLEN]; - int fd, error; - - fd = opendisk(disk, O_RDWR, diskpath, sizeof(diskpath), 0); - if (fd < 0) - return false; - memset(&dkw, 0, sizeof(dkw)); - strlcpy(dkw.dkw_devname, wedge, sizeof(dkw.dkw_devname)); - error = ioctl(fd, DIOCDWEDGE, &dkw); - close(fd); - return error == 0; -} - -void -register_post_umount_delwedge(const char *disk, const char *wedge) -{ - struct umount_delwedge *dw; - - if (unwind_mountlist == NULL) { - /* we have nothing mounted, can delete it right now */ - delete_wedge(disk, wedge); - return; - } - - dw = calloc(1, sizeof(*dw)); - dw->next = post_umount_dwlist; - strlcpy(dw->disk, disk, sizeof(dw->disk)); - strlcpy(dw->wedge, wedge, sizeof(dw->wedge)); - post_umount_dwlist = dw; -} - -/* - * unwind the mount stack, unmounting mounted filesystems. - * For now, ignore any errors in unmount. - * (Why would we be unable to unmount? The user has suspended - * us and forked shell sitting somewhere in the target root?) - */ -void -unwind_mounts(void) -{ - struct unwind_mount *m; - struct umount_delwedge *dw; - static volatile int unwind_in_progress = 0; - - /* signal safety */ - if (unwind_in_progress) - return; - unwind_in_progress = 1; - - while ((m = unwind_mountlist) != NULL) { - unwind_mountlist = m->um_prev; -#ifdef DEBUG_UNWIND - endwin(); - fprintf(stderr, "unmounting %s\n", m->um_mountpoint); - backtowin(); -#endif - run_program(0, "/sbin/umount %s%s", - target_prefix(), m->um_mountpoint); - free(m); - } - while ((dw = post_umount_dwlist) != NULL) { - post_umount_dwlist = dw->next; - delete_wedge(dw->disk, dw->wedge); - free(dw); - } - unwind_in_progress = 0; -} - -int -target_collect_file(int kind, char **buffer, const char *name) -{ - const char *realname = target_expand(name); - -#ifdef DEBUG - printf("collect real name %s\n", realname); -#endif - return collect(kind, buffer, "%s", realname); -} - -/* - * Verify a pathname already exists in the target root filesystem, - * by running test "testflag" on the expanded target pathname. - */ -int -target_test(unsigned int mode, const char *path) -{ - const char *real_path = target_expand(path); - register int result; - - result = !file_mode_match(real_path, mode); - scripting_fprintf(NULL, "if [ $? != 0 ]; then echo \"%s does not exist!\"; fi\n", real_path); - -#if defined(DEBUG) - printf("target_test(%o, %s) returning %d\n", mode, real_path, result); -#endif - return (result); -} - -/* - * Verify a directory already exists in the target root - * filesystem. Do not create the directory if it doesn't exist. - * Assumes that sysinst has already mounted the target root. - */ -int -target_test_dir(const char *path) -{ - - return target_test(S_IFDIR, path); -} - -/* - * Verify an ordinary file already exists in the target root - * filesystem. Do not create the directory if it doesn't exist. - * Assumes that sysinst has already mounted the target root. - */ -int -target_test_file(const char *path) -{ - - return target_test(S_IFREG, path); -} - -int -target_test_symlink(const char *path) -{ - - return target_test(S_IFLNK, path); -} - -int -target_file_exists_p(const char *path) -{ - - return (target_test_file(path) == 0); -} - -int -target_dir_exists_p(const char *path) -{ - - return (target_test_dir(path) == 0); -} - -int -target_symlink_exists_p(const char *path) -{ - - return (target_test_symlink(path) == 0); -} - -int -target_mounted(void) -{ - return (unwind_mountlist != NULL); -} diff --git a/overlay/usr.sbin/sysinst/txtwalk.c b/overlay/usr.sbin/sysinst/txtwalk.c deleted file mode 100644 index 82d6102720..0000000000 --- a/overlay/usr.sbin/sysinst/txtwalk.c +++ /dev/null @@ -1,276 +0,0 @@ -/* $NetBSD: txtwalk.c,v 1.5 2021/01/31 22:45:47 rillig Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, item list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, item list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from item software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* - * walk a text buffer, processing matched lines - * - * Written by Philip A. Nelson. - * 7/29/97 - * - */ - -#undef DEBUG - -#include -#include -#include -#include -#include - -#include "txtwalk.h" - -/* prototypes */ - -static int process(const struct lookfor *, char *); -static int match(char *, const struct lookfor *, size_t); -static int finddata(const struct lookfor *, char *, struct data *, size_t *); - -/* - * Walk the buffer, call match for each line. - */ -int -walk(char *buffer, size_t size, const struct lookfor *these, size_t numthese) -{ - size_t i = 0; - size_t len; - int line = 1; - int error; - - while (i < size) { - /* Ignore zero characters. */ - if (*buffer == '\0') { - buffer++; - i++; - } else { - /* Assume item starts a line. */ - len = 0; - while (buffer[len] != '\n' && buffer[len] != '\0') - len++; - buffer[len] = '\0'; -#ifdef DEBUG - printf ("%5d: %s\n", line, buffer); -#endif - error = match(buffer, these, numthese); - if (error != 0) - return error; - buffer += len+1; - i += len+1; - line++; - } - } - return 0; -} - -/* - * Match the current line with a string of interest. - * For each match in these, process the match. - */ -static int -match(char *line, const struct lookfor *these, size_t numthese) -{ - size_t linelen; /* Line length */ - size_t patlen; /* Pattern length */ - size_t which; /* Which pattern we are using */ - int error; - - linelen = strlen(line); - - for (which = 0; which < numthese; which++) { - patlen = strlen(these[which].head); - if (linelen < patlen) - continue; - if (strncmp(these[which].head, line, patlen) == 0) { - error = process(&these[which], line); - if (error != 0) - return error; - } - } - return 0; -} - - -/* process the matched line. */ -static int -process(const struct lookfor *item, char *line) -{ - struct data found[MAXDATA]; - size_t numfound = 0; - const char *p; - char *np; - size_t i, j; - int error; - - if (finddata(item, line, found, &numfound)) { -#ifdef DEBUG - printf("process: \"%s\"\n", line); - for (i = 0; i < numfound; i++) { - printf ("\t%d: ", i); - switch (found[i].what) { - case INT: - printf ("%d\n", found[i].u.i_val); - break; - case STR: - printf ("'%s'\n", found[i].u.s_val); - break; - } - } -#endif - /* Process the stuff. */ - switch (item->todo[0]) { - case 'a': /* Assign data */ - p = item->todo; - j = 0; - while (*p && *p != '$') - p++; - if (*p) - p++; - for (;;) { - i = strtoul(p, &np, 10); - if (p == np) - break; - p = np; - switch (found[i].what) { - case INT: - *((int *)item->var+j) - = found[i].u.i_val; - break; - case STR: - strlcpy(*((char **)item->var+j), - found[i].u.s_val, - item->size); - break; - } - while (*p && *p != '$') - p++; - if (*p) - p++; - j++; - if (j >= item->nument) - break; - } - break; - case 'c': /* Call a function with data. */ - error = (*item->func)(found, numfound, item); - if (error != 0) - return error; - break; - } - } - return 0; -} - -/* - * find the expected data. Return 1 if successful, return 0 if not. - * Successful means running into the end of the expect string before - * running out of line data or encountering other bad data. - * - * Side Effect -- sets numfound and found. - */ -static int -finddata(const struct lookfor *item, char *line, struct data *found, size_t *numfound) -{ - const char *fmt; - size_t len; - char *np; - int i; - - *numfound = 0; - for (fmt = item->fmt; *fmt; fmt++) { - if (!*line && *fmt) - return 0; - if (*fmt == '%') { - fmt++; - if (!*fmt) - return 0; - switch (*fmt) { - case '%': /* The char %. */ - if (*line != '%') - return 0; - line++; - break; - case 'i': /* Ignore characters */ - if (!fmt[1]) - return 1; - if (fmt[1] == ' ') - while (*line && !isspace((unsigned char)*line)) - line++; - else - while (*line && *line != fmt[1]) - line++; - break; - case 'd': /* Nextoken should be an integer. */ - i = strtoul(line, &np, 10); - if (line == np) - return 0; - found[*numfound].what = INT; - found[(*numfound)++].u.i_val = i; - line = np; - break; - case 's': /* Matches a 'space' separated string. */ - len = 0; - while (line[len] - && !isspace((unsigned char)line[len]) - && line[len] != fmt[1]) { - if (line[len] == '\\' - && line[len+1] != 0) - len++; - len++; - } - found[*numfound].what = STR; - found[(*numfound)++].u.s_val = line; - line[len] = 0; - line += len + 1; - break; - default: - return 0; - } - continue; - - } - if (*fmt == ' ') { - while (isspace((unsigned char)*line)) - line++; - continue; - } - if (*line == *fmt) { - line++; - continue; - } - /* Mis match! */ - return 0; - } - - /* Ran out of fmt. */ - return 1; -} diff --git a/overlay/usr.sbin/sysinst/txtwalk.h b/overlay/usr.sbin/sysinst/txtwalk.h deleted file mode 100644 index ce844f2ff3..0000000000 --- a/overlay/usr.sbin/sysinst/txtwalk.h +++ /dev/null @@ -1,84 +0,0 @@ -/* $NetBSD: txtwalk.h,v 1.2 2019/08/07 10:08:04 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* txtwalk.h - definitions for textwalk to be useful! */ - -/* data extractions */ -enum kind {INT, STR}; - -struct data { - enum kind what; - union udata { - int i_val; - char *s_val; - } u; -}; - -/* Strings of interest! */ -struct lookfor { - const char *head; /* Line starts this way. */ - const char *fmt; /* Expected format. */ - const char *todo; /* What to do ... */ - void *var; /* Possible var or additional args */ - size_t nument; /* Number of entries in the "array" */ - size_t size; /* size of string variables */ - int (*func) (struct data *list, size_t num, const struct lookfor*); - /* function to call */ -}; - -/* Format string for the expected string: - * space => skip white space - * %ic => skip until you find char c, if c == space, matches any white space - * %d => expect an integer - * %s => expect a non-white space string - * \0 => ignore remainder of line - * %% => match a % - * - */ - -/* What to do .... - * - * a -- assign to var, $n is data from the expect strings. - * c -- call the function - * - */ - -/* prototypes */ - -int walk(char *, size_t, const struct lookfor *, size_t); - - -/* Maximum number of matched data elements per line! */ -#define MAXDATA 20 - diff --git a/overlay/usr.sbin/sysinst/unif.awk b/overlay/usr.sbin/sysinst/unif.awk deleted file mode 100644 index 7c9adb302c..0000000000 --- a/overlay/usr.sbin/sysinst/unif.awk +++ /dev/null @@ -1,98 +0,0 @@ -# $NetBSD: unif.awk,v 1.1 2014/07/26 19:30:44 dholland Exp $ - -# Copyright (c) 2003 The NetBSD Foundation, Inc. -# All rights reserved. -# -# This code is derived from software contributed to The NetBSD Foundation -# by David Laight. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS -# ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED -# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS -# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. - -# 'unif' lines of file -# -# usage: awk -f unif.awk -v defines=varlist file -# -# looks for blocks of the form: -# -# .if var [|| var] -# ... -# .else -# ... -# .endif -# -# and removes the unwanted lines -# There is some error detection... - -BEGIN { - split(defines, defns) - for (v in defns) - deflist[defns[v]] = 1 - delete defns - nested = 0 - skip = 0 -} - -/^\.if/ { - nested++ - else_ok[nested] = 1 - if (skip) - next - for (i = 2; i <= NF; i += 2) { - if ($i in deflist) - next - if ($(i+1) != "" && $(i+1) != "||") - exit 1 - } - if (!skip) - skip = nested - next -} - -/^\.else/ { - if (!else_ok[nested]) - exit 1 - else_ok[nested] = 0 - if (skip == nested) - skip = 0 - else if (!skip) - skip = nested - next -} - -/^\.endif/ { - if (nested == 0) - exit 1 - if (skip == nested) - skip = 0 - nested-- - next -} - -{ - if (skip == 0) - print -} - -END { - if (nested != 0) - exit 1 -} diff --git a/overlay/usr.sbin/sysinst/upgrade.c b/overlay/usr.sbin/sysinst/upgrade.c deleted file mode 100644 index 46d49364e1..0000000000 --- a/overlay/usr.sbin/sysinst/upgrade.c +++ /dev/null @@ -1,241 +0,0 @@ -/* $NetBSD: upgrade.c,v 1.22 2026/06/25 16:46:56 martin Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* upgrade.c -- upgrade an installation. */ - -#include -#include -#include -#include -#include "defs.h" -#include "msg_defs.h" -#include "menu_defs.h" - -/* - * local prototypes - */ -static int save_X(const char *); -static int merge_X(const char *); - -/* - * Do the system upgrade. - */ -void -do_upgrade(void) -{ - struct install_partition_desc install = {}; - int retcode = 0; - partman_go = 0; - - msg_display(MSG_upgradeusure); - if (!ask_noyes(NULL)) - return; - - if (find_disks(msg_string(MSG_upgrade), !root_is_read_only()) < 0) - return; - - if (pm->parts == NULL && !pm->cur_system && !pm->no_part) { - hit_enter_to_continue(MSG_noroot, NULL); - return; - } - - if (!pm->cur_system && pm->parts != NULL) { - if (pm->parts->pscheme->pre_update_verify) { - if (pm->parts->pscheme->pre_update_verify(pm->parts)) - pm->parts->pscheme->write_to_disk(pm->parts); - } - - install_desc_from_parts(&install, pm->parts); - } else if (pm->cur_system) { - install.cur_system = true; - } - - set_swap_if_low_ram(&install); - - if (md_pre_update(&install) < 0) - goto free_install; - - if (mount_disks(&install) != 0) - goto free_install; - - - /* - * Save X symlink, ... - */ - if (save_X("/usr/X11R6")) - goto free_install; - if (save_X("/usr/X11R7")) - goto free_install; - -#ifdef AOUT2ELF - move_aout_libs(); -#endif - /* Do any md updating of the file systems ... e.g. bootblocks, - copy file systems ... */ - if (!md_update(&install)) - goto free_install; - - wrefresh(curscr); - wmove(stdscr, 0, 0); - wclear(stdscr); - wrefresh(stdscr); - - /* Done with disks. Ready to get and unpack tarballs. */ - process_menu(MENU_distset, &retcode); - if (retcode == 0) - goto free_install; - if (get_and_unpack_sets(1, MSG_disksetupdoneupdate, - MSG_upgrcomplete, MSG_abortupgr) != 0) - goto free_install; - - if (md_post_extract(&install, true)) - goto free_install; - - /* we have now installed our own trust anchors, so make use of them! */ - unsetenv("FTPSSLNOVERIFY"); - - merge_X("/usr/X11R6"); - merge_X("/usr/X11R7"); - -#if CHECK_ENTROPY - do_add_entropy(); -#endif - - sanity_check(); - -free_install: - free_install_desc(&install); -} - -/* - * Save X symlink to X.old so it can be recovered later - */ -static int -save_X(const char *xroot) -{ - char newx[MAXPATHLEN], oldx[MAXPATHLEN]; - - strlcpy(newx, xroot, sizeof(newx)); - strlcat(newx, "/bin/X", sizeof(newx)); - strlcpy(oldx, newx, sizeof(oldx)); - strlcat(oldx, ".old", sizeof(oldx)); - - /* Only care for X if it's a symlink */ - if (target_symlink_exists_p(newx)) { - if (target_symlink_exists_p(oldx)) { - msg_fmt_display(MSG_X_oldexists, - "%s%s%s%s%s%s%s%s%s%s%s", - xroot, xroot, xroot, xroot, xroot, xroot, xroot, - xroot, xroot, xroot, xroot); - hit_enter_to_continue(NULL, NULL); - return EEXIST; - } - -#ifdef DEBUG - printf("saving %s as %s ...", newx, oldx); -#endif - - /* Move target .../X to .../X.old. Abort on error. */ - mv_within_target_or_die(newx, oldx); - } - - return 0; -} - -/* - * Merge back saved target X files after unpacking the new - * sets has completed. - */ -static int -merge_X(const char *xroot) -{ - char newx[MAXPATHLEN], oldx[MAXPATHLEN]; - - strlcpy(newx, xroot, sizeof(newx)); - strlcat(newx, "/bin/X", sizeof(newx)); - strlcpy(oldx, newx, sizeof(oldx)); - strlcat(oldx, ".old", sizeof(oldx)); - - if (target_symlink_exists_p(oldx)) { - /* Only move back X if it's a symlink - we don't want - * to restore old binaries */ - mv_within_target_or_die(oldx, newx); - } - - return 0; -} - -/* - * Unpacks sets, clobbering existing contents. - */ -void -do_reinstall_sets(void) -{ - struct install_partition_desc install = {}; - int retcode = 0; - partman_go = 0; - - unwind_mounts(); - msg_display(MSG_reinstallusure); - if (!ask_noyes(NULL)) - return; - - if (find_disks(msg_string(MSG_reinstall), !root_is_read_only()) < 0) - return; - - if (!pm->cur_system && pm->parts != NULL) { - install_desc_from_parts(&install, pm->parts); - } else if (pm->cur_system) { - install.cur_system = true; - } - - if (mount_disks(&install) != 0) - goto free_install; - - /* Unpack the distribution. */ - process_menu(MENU_distset, &retcode); - if (retcode == 0) - goto free_install; - if (get_and_unpack_sets(0, NULL, MSG_unpackcomplete, MSG_abortunpack) != 0) - goto free_install; - -#if CHECK_ENTROPY - do_add_entropy(); -#endif - - sanity_check(); - -free_install: - free_install_desc(&install); -} diff --git a/overlay/usr.sbin/sysinst/util.c b/overlay/usr.sbin/sysinst/util.c deleted file mode 100644 index 2210bdde24..0000000000 --- a/overlay/usr.sbin/sysinst/util.c +++ /dev/null @@ -1,2942 +0,0 @@ -/* $NetBSD: util.c,v 1.85 2026/06/28 11:03:14 gson Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* util.c -- routines that don't really fit anywhere else... */ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include "defs.h" -#include "md.h" -#include "defsizes.h" -#include "msg_defs.h" -#include "menu_defs.h" -#ifdef MD_MAY_SWAP_TO -#include -#endif -#ifdef CHECK_ENTROPY -#include -#include -#endif - -#define MAX_CD_DEVS 256 /* how many cd drives do we expect to attach */ -#define ISO_BLKSIZE ISO_DEFAULT_BLOCK_SIZE - -static const char *msg_yes, *msg_no, *msg_all, *msg_some, *msg_none; -static int select_menu_width; - -static uint8_t set_status[SET_GROUP_END]; -#define SET_VALID 0x01 -#define SET_SELECTED 0x02 -#define SET_SKIPPED 0x04 -#define SET_INSTALLED 0x08 -#define SET_NO_EXTRACT 0x10 - -struct tarstats { - int nselected; - int nfound; - int nnotfound; - int nerror; - int nsuccess; - int nskipped; -} tarstats; - -distinfo dist_list[] = { -#ifdef SET_KERNEL_1_NAME - {SET_KERNEL_1_NAME, SET_KERNEL_1, false, MSG_set_kernel_1, NULL}, -#endif -#ifdef SET_KERNEL_2_NAME - {SET_KERNEL_2_NAME, SET_KERNEL_2, false, MSG_set_kernel_2, NULL}, -#endif -#ifdef SET_KERNEL_3_NAME - {SET_KERNEL_3_NAME, SET_KERNEL_3, false, MSG_set_kernel_3, NULL}, -#endif -#ifdef SET_KERNEL_4_NAME - {SET_KERNEL_4_NAME, SET_KERNEL_4, false, MSG_set_kernel_4, NULL}, -#endif -#ifdef SET_KERNEL_5_NAME - {SET_KERNEL_5_NAME, SET_KERNEL_5, false, MSG_set_kernel_5, NULL}, -#endif -#ifdef SET_KERNEL_6_NAME - {SET_KERNEL_6_NAME, SET_KERNEL_6, false, MSG_set_kernel_6, NULL}, -#endif -#ifdef SET_KERNEL_7_NAME - {SET_KERNEL_7_NAME, SET_KERNEL_7, false, MSG_set_kernel_7, NULL}, -#endif -#ifdef SET_KERNEL_8_NAME - {SET_KERNEL_8_NAME, SET_KERNEL_8, false, MSG_set_kernel_8, NULL}, -#endif -#ifdef SET_KERNEL_9_NAME - {SET_KERNEL_9_NAME, SET_KERNEL_9, false, MSG_set_kernel_9, NULL}, -#endif - -#ifdef HAVE_MODULES - {"modules", SET_MODULES, false, MSG_set_modules, NULL}, -#endif - {"base", SET_BASE, false, MSG_set_base, NULL}, -#ifdef HAVE_BASE32 - {"base32", SET_BASE32, false, MSG_set_base32, NULL}, -#endif -#ifdef HAVE_BASE64 - {"base64", SET_BASE64, false, MSG_set_base64, NULL}, -#endif -#ifdef HAVE_DTB - {"dtb", SET_DTB, false, MSG_set_dtb, NULL}, -#endif - {"etc", SET_ETC, false, MSG_set_system, NULL}, - {"comp", SET_COMPILER, false, MSG_set_compiler, NULL}, - {"games", SET_GAMES, false, MSG_set_games, NULL}, - {"gpufw", SET_GPUFW, false, MSG_set_gpufw, NULL}, - {"man", SET_MAN_PAGES, false, MSG_set_man_pages, NULL}, - {"manhtml", SET_MAN_PAGES_HTML, false, MSG_set_man_pages_html, NULL}, - {"misc", SET_MISC, false, MSG_set_misc, NULL}, - {"rescue", SET_RESCUE, false, MSG_set_rescue, NULL}, - {"tests", SET_TESTS, false, MSG_set_tests, NULL}, - {"text", SET_TEXT_TOOLS, false, MSG_set_text_tools, NULL}, - - {NULL, SET_GROUP, false, MSG_set_X11, NULL}, - {"xbase", SET_X11_BASE, false, MSG_set_X11_base, NULL}, - {"xcomp", SET_X11_PROG, false, MSG_set_X11_prog, NULL}, - {"xetc", SET_X11_ETC, false, MSG_set_X11_etc, NULL}, - {"xfont", SET_X11_FONTS, false, MSG_set_X11_fonts, NULL}, - {"xserver", SET_X11_SERVERS, false, MSG_set_X11_servers, NULL}, - {NULL, SET_GROUP_END, false, NULL, NULL}, - -#ifdef SET_MD_1_NAME - {SET_MD_1_NAME, SET_MD_1, false, MSG_set_md_1, NULL}, -#endif -#ifdef SET_MD_2_NAME - {SET_MD_2_NAME, SET_MD_2, false, MSG_set_md_2, NULL}, -#endif -#ifdef SET_MD_3_NAME - {SET_MD_3_NAME, SET_MD_3, false, MSG_set_md_3, NULL}, -#endif -#ifdef SET_MD_4_NAME - {SET_MD_4_NAME, SET_MD_4, false, MSG_set_md_4, NULL}, -#endif - - {NULL, SET_GROUP, true, MSG_set_source, NULL}, - {"syssrc", SET_SYSSRC, true, MSG_set_syssrc, NULL}, - {"src", SET_SRC, true, MSG_set_src, NULL}, - {"sharesrc", SET_SHARESRC, true, MSG_set_sharesrc, NULL}, - {"gnusrc", SET_GNUSRC, true, MSG_set_gnusrc, NULL}, - {"xsrc", SET_XSRC, true, MSG_set_xsrc, NULL}, - {"msrc", SET_MSRC, true, MSG_set_msrc, NULL}, - {"debug", SET_DEBUG, false, MSG_set_debug, NULL}, -#ifdef HAVE_DEBUG32 - {"debug32", SET_DEBUG32, false, MSG_set_debug32, NULL}, -#endif -#ifdef HAVE_DEBUG64 - {"debug64", SET_DEBUG64, false, MSG_set_debug64, NULL}, -#endif - {"xdebug", SET_X11_DEBUG, false, MSG_set_xdebug, NULL}, - {NULL, SET_GROUP_END, false, NULL, NULL}, - - /* - * Last: on the two-CD installation the set is on the second CD, the - * others on the first; one change of CD, not one per set. - */ - {"makronix", SET_MAKRONIX, false, MSG_set_makronix, NULL}, - - {NULL, SET_LAST, false, NULL, NULL}, -}; - -#define MAX_CD_INFOS 16 /* how many media can be found? */ -struct cd_info { - char device_name[16]; - char menu[100]; -}; -static struct cd_info cds[MAX_CD_INFOS]; -#ifdef HAVE_DVD_IMAGE -static bool have_warned_compat_missing; -#endif - -/* flags whether to offer the respective options (depending on helper - programs available on install media */ -int have_raid, have_vnd, have_cgd, have_lvm, have_gpt, have_dk; - -int console_tty = -1; /* tty where console is currently redirected */ - -/* - * local prototypes - */ - -static int check_for(unsigned int mode, const char *pathname); -static int get_iso9660_volname(int dev, int sess, char *volname, - size_t volnamelen); -static int get_available_cds(void); -static int binary_available(const char *prog); - -void -init_set_status(int flags) -{ - static const uint8_t sets_valid[] = {MD_SETS_VALID}; - static const uint8_t sets_selected_full[] = {MD_SETS_SELECTED}; - static const uint8_t sets_selected_minimal[] = {MD_SETS_SELECTED_MINIMAL}; - static const uint8_t sets_selected_nox[] = {MD_SETS_SELECTED_NOX}; - static const uint8_t *sets_selected; - unsigned int nelem_selected; - unsigned int i, len; - const char *longest; - - if (flags & SFLAG_MINIMAL) { - sets_selected = sets_selected_minimal; - nelem_selected = __arraycount(sets_selected_minimal); - } else if (flags & SFLAG_NOX) { - sets_selected = sets_selected_nox; - nelem_selected = __arraycount(sets_selected_nox); - } else { - sets_selected = sets_selected_full; - nelem_selected = __arraycount(sets_selected_full); - } - - for (i = 0; i < __arraycount(sets_valid); i++) - set_status[sets_valid[i]] = SET_VALID; - for (i = 0; i < nelem_selected; i++) { -#ifdef MD_ALLOW_DEFAULT_SET - if (!MD_ALLOW_DEFAULT_SET(sets_selected[i])) - continue; -#endif - - set_status[sets_selected[i]] |= SET_SELECTED; - } - - set_status[SET_GROUP] = SET_VALID; - - /* Lookup some strings we need lots of times */ - msg_yes = msg_string(MSG_Yes); - msg_no = msg_string(MSG_No); - msg_all = msg_string(MSG_All); - msg_some = msg_string(MSG_Some); - msg_none = msg_string(MSG_None); - - /* Find longest and use it to determine width of selection menu */ - len = strlen(msg_no); longest = msg_no; - i = strlen(msg_yes); if (i > len) {len = i; longest = msg_yes; } - i = strlen(msg_all); if (i > len) {len = i; longest = msg_all; } - i = strlen(msg_some); if (i > len) {len = i; longest = msg_some; } - i = strlen(msg_none); if (i > len) {len = i; longest = msg_none; } - select_menu_width = snprintf(NULL, 0, "%-40s %s", "", longest); - - /* Give the md code a chance to choose the right kernel, etc. */ - md_init_set_status(flags); -} - -int -dir_exists_p(const char *path) -{ - - return file_mode_match(path, S_IFDIR); -} - -int -file_exists_p(const char *path) -{ - - return file_mode_match(path, S_IFREG); -} - -int -file_mode_match(const char *path, unsigned int mode) -{ - struct stat st; - - return (stat(path, &st) == 0 && (st.st_mode & S_IFMT) == mode); -} - -/* return ram size in MB */ -uint64_t -get_ramsize(void) -{ - static uint64_t ramsize; - - if (ramsize == 0) { - size_t len = sizeof ramsize; - int mib[2] = {CTL_HW, HW_PHYSMEM64}; - - sysctl(mib, 2, &ramsize, &len, NULL, 0); - } - - /* Find out how many Megs ... round up. */ - return (ramsize + MEG - 1) / MEG; -} - -void -run_makedev(void) -{ - char *owd; - - msg_display_add("\n\n"); - msg_display_add(MSG_makedev); - - owd = getcwd(NULL, 0); - - /* make /dev, in case the user didn't extract it. */ - make_target_dir("/dev"); - target_chdir_or_die("/dev"); - run_program(0, "/bin/sh MAKEDEV all"); - - chdir(owd); - free(owd); -} - -/* - * Performs in-place replacement of a set of patterns in a file that lives - * inside the installed system. The patterns must be separated by a semicolon. - * For example: - * - * replace("/etc/some-file.conf", "s/prop1=NO/prop1=YES/;s/foo/bar/"); - */ -void -replace(const char *path, const char *patterns, ...) -{ - char *spatterns; - va_list ap; - - va_start(ap, patterns); - vasprintf(&spatterns, patterns, ap); - va_end(ap); - if (spatterns == NULL) - err(1, "vasprintf(&spatterns, \"%s\", ...)", patterns); - - run_program(RUN_CHROOT, "sed -an -e '%s;H;$!d;g;w %s' %s", spatterns, - path, path); - - free(spatterns); -} - -static int -floppy_fetch(const char *set_name) -{ - char post[4]; - msg errmsg; - int menu; - int status; - const char *write_mode = ">"; - - strcpy(post, "aa"); - - errmsg = ""; - menu = MENU_fdok; - for (;;) { - umount_mnt2(); - msg_display(errmsg); - msg_fmt_display_add(MSG_fdmount, "%s%s", set_name, post); - process_menu(menu, &status); - if (status != SET_CONTINUE) - return status; - menu = MENU_fdremount; - errmsg = MSG_fdremount; - if (run_program(0, "/sbin/mount -r -t %s %s /mnt2", - fd_type, fd_dev)) - continue; - mnt2_mounted = 1; - errmsg = MSG_fdnotfound; - - /* Display this because it might take a while.... */ - if (run_program(RUN_DISPLAY, - "sh -c '/bin/cat /mnt2/%s.%s %s %s/%s/%s%s'", - set_name, post, write_mode, - target_prefix(), xfer_dir, set_name, - set_postfix(set_name))) - /* XXX: a read error will give a corrupt file! */ - continue; - - /* We got that file, advance to next fragment */ - if (post[1] < 'z') - post[1]++; - else - post[1] = 'a', post[0]++; - write_mode = ">>"; - errmsg = ""; - menu = MENU_fdok; - } -} - -/* - * Load files from floppy. Requires a /mnt2 directory for mounting them. - */ -int -get_via_floppy(void) -{ - int rv = -1; - - process_menu(MENU_floppysource, &rv); - if (rv == SET_RETRY) - return SET_RETRY; - - fetch_fn = floppy_fetch; - - /* Set ext_dir for absolute path. */ - snprintf(ext_dir_bin, sizeof ext_dir_bin, "%s/%s", target_prefix(), xfer_dir); - snprintf(ext_dir_src, sizeof ext_dir_src, "%s/%s", target_prefix(), xfer_dir); - - return SET_OK; -} - -/* - * Get the volume name of a ISO9660 file system - */ -static int -get_iso9660_volname(int dev, int sess, char *volname, size_t volnamelen) -{ - int blkno, error, last; - static char buf[ISO_BLKSIZE] __aligned(8); - struct iso_volume_descriptor *vd = NULL; - struct iso_primary_descriptor *pd = NULL; - - for (blkno = sess+16; blkno < sess+16+100; blkno++) { - error = pread(dev, buf, ISO_BLKSIZE, blkno*ISO_BLKSIZE); - if (error == -1) - return -1; - vd = (struct iso_volume_descriptor *)&buf; - if (memcmp(vd->id, ISO_STANDARD_ID, sizeof(vd->id)) != 0) - return -1; - if (isonum_711((const unsigned char *)&vd->type) - == ISO_VD_PRIMARY) { - pd = (struct iso_primary_descriptor*)buf; - strncpy(volname, pd->volume_id, volnamelen - 1); - volname[volnamelen - 1] = '\0'; - last = volnamelen - 1; - while (last >= 0 - && (volname[last] == ' ' || volname[last] == 0)) - last--; - volname[last+1] = 0; - return 0; - } - } - return -1; -} - -/* - * Local state while iterating CDs and collecting volumes - */ -struct get_available_cds_state { - size_t num_mounted; - struct statvfs *mounted; - struct cd_info *info; - size_t count; -}; - -/* - * Callback function: if this is a CD, enumerate all volumes on it - */ -static bool -get_available_cds_helper(void *arg, const char *device) -{ - struct get_available_cds_state *state = arg; - char dname[16], tname[16], volname[80], *t; - struct disklabel label; - int part, dev, error, sess, ready, tlen; - - if (!is_cdrom_device(device, false)) - return true; - - sprintf(dname, "/dev/r%s%c", device, 'a'+RAW_PART); - tlen = sprintf(tname, "/dev/%s", device); - - /* check if this is mounted already */ - for (size_t i = 0; i < state->num_mounted; i++) { - if (strncmp(state->mounted[i].f_mntfromname, tname, tlen) - == 0) { - t = state->mounted[i].f_mntfromname + tlen; - if (t[0] >= 'a' && t[0] <= 'z' && t[1] == 0) - return true; - } - } - - dev = open(dname, O_RDONLY, 0); - if (dev == -1) - return true; - - ready = 0; - error = ioctl(dev, DIOCTUR, &ready); - if (error != 0 || ready == 0) { - close(dev); - return true; - } - error = ioctl(dev, DIOCGDINFO, &label); - close(dev); - if (error != 0) - return true; - - for (part = 0; part < label.d_npartitions; part++) { - - if (label.d_partitions[part].p_fstype == FS_UNUSED - || label.d_partitions[part].p_size == 0) - continue; - - if (label.d_partitions[part].p_fstype == FS_ISO9660) { - sess = label.d_partitions[part].p_cdsession; - sprintf(dname, "/dev/r%s%c", device, 'a'+part); - dev = open(dname, O_RDONLY, 0); - if (dev == -1) - continue; - error = get_iso9660_volname(dev, sess, volname, - sizeof volname); - close(dev); - if (error) - continue; - sprintf(state->info->device_name, - "%s%c", device, 'a'+part); - sprintf(state->info->menu, "%s (%s)", - state->info->device_name, volname); - } else { - /* - * All install CDs use partition - * a for the sets. - */ - if (part > 0) - continue; - sprintf(state->info->device_name, - "%s%c", device, 'a'+part); - strcpy(state->info->menu, state->info->device_name); - } - state->info++; - if (++state->count >= MAX_CD_INFOS) - return false; - } - - return true; -} - -/* - * Get a list of all available CD media (not drives!), return - * the number of entries collected. - */ -static int -get_available_cds(void) -{ - struct get_available_cds_state data; - int n, m; - - memset(&data, 0, sizeof data); - data.info = cds; - - n = getvfsstat(NULL, 0, ST_NOWAIT); - if (n > 0) { - data.mounted = calloc(n, sizeof(*data.mounted)); - m = getvfsstat(data.mounted, n*sizeof(*data.mounted), - ST_NOWAIT); - assert(m >= 0 && m <= n); - data.num_mounted = m; - } - - enumerate_disks(&data, get_available_cds_helper); - - free(data.mounted); - - return data.count; -} - -static int -cd_has_sets(void) -{ - - /* sanity check */ - if (cdrom_dev[0] == 0) - return 0; - - /* Mount it */ - if (run_program(RUN_SILENT, "/sbin/mount -rt cd9660 /dev/%s /mnt2", - cdrom_dev) != 0) - return 0; - - mnt2_mounted = 1; - - snprintf(ext_dir_bin, sizeof ext_dir_bin, "%s/%s", "/mnt2", set_dir_bin); - snprintf(ext_dir_src, sizeof ext_dir_src, "%s/%s", "/mnt2", set_dir_src); - return dir_exists_p(ext_dir_bin); -} - -/* - * Check whether we can remove the boot media. - * If it is not a local filesystem, return -1. - * If we can not decide for sure (can not tell MD content from plain ffs - * on hard disk, for example), return 0. - * If it is a CD/DVD, return 1. - */ -int -boot_media_still_needed(void) -{ - struct statvfs sb; - - if (statvfs("/", &sb) == 0) { - if (!(sb.f_flag & ST_LOCAL)) - return -1; - if (strcmp(sb.f_fstypename, MOUNT_CD9660) == 0 - || strcmp(sb.f_fstypename, MOUNT_UDF) == 0) - return 1; - } - - return 0; -} - -/* - * Makronix: does the installer run from a RAM disk (root is md(4))? Then the - * CD can be taken out and another one put in; with the CD as the root file - * system, as on the DVD, it can not. The same test get_via_cdrom() makes. - */ -bool -root_is_ramdisk(void) -{ - char rootdev[SSTRSIZE] = ""; - size_t varlen = sizeof(rootdev); - int mib[2] = { CTL_KERN, KERN_ROOT_DEVICE }; - - (void)sysctl(mib, 2, rootdev, &varlen, NULL, 0); - return strncmp("md", rootdev, 2) == 0; -} - -bool -root_is_read_only(void) -{ - struct statvfs sb; - - if (statvfs("/", &sb) == 0) - return sb.f_flag & ST_RDONLY; - - return false; -} - -/* - * Get from a CDROM distribution. - * Also used on "installation using bootable install media" - * as the default option in the "distmedium" menu. - */ -int -get_via_cdrom(void) -{ - menu_ent cd_menu[MAX_CD_INFOS]; - struct stat sb; - int rv, num_cds, menu_cd, i, selected_cd = 0; - int mib[2]; - char rootdev[SSTRSIZE] = ""; - size_t varlen; - - /* If root is not md(4) and we have set dir, skip this step. */ - mib[0] = CTL_KERN; - mib[1] = KERN_ROOT_DEVICE; - varlen = sizeof(rootdev); - (void)sysctl(mib, 2, rootdev, &varlen, NULL, 0); - if (stat(set_dir_bin, &sb) == 0 && S_ISDIR(sb.st_mode) && - strncmp("md", rootdev, 2) != 0) { - strlcpy(ext_dir_bin, set_dir_bin, sizeof ext_dir_bin); - strlcpy(ext_dir_src, set_dir_src, sizeof ext_dir_src); - return SET_OK; - } - - memset(cd_menu, 0, sizeof(cd_menu)); - num_cds = get_available_cds(); - if (num_cds <= 0) { - msg_display(MSG_No_cd_found); - cdrom_dev[0] = 0; - } else if (num_cds == 1) { - /* single CD found, check for sets on it */ - strcpy(cdrom_dev, cds[0].device_name); - if (cd_has_sets()) - return SET_OK; - } else { - for (i = 0; i< num_cds; i++) { - cd_menu[i].opt_name = cds[i].menu; - cd_menu[i].opt_flags = OPT_EXIT; - cd_menu[i].opt_action = set_menu_select; - } - /* create a menu offering available choices */ - menu_cd = new_menu(MSG_Available_cds, - cd_menu, num_cds, -1, 4, 0, 0, - MC_SCROLL | MC_NOEXITOPT, - NULL, NULL, NULL, NULL, NULL); - if (menu_cd == -1) - return SET_RETRY; - msg_display(MSG_ask_cd); - process_menu(menu_cd, &selected_cd); - free_menu(menu_cd); - strcpy(cdrom_dev, cds[selected_cd].device_name); - if (cd_has_sets()) - return SET_OK; - } - - if (num_cds >= 1 && mnt2_mounted) { - umount_mnt2(); - hit_enter_to_continue(MSG_cd_path_not_found, NULL); - } - - /* ask for paths on the CD */ - rv = -1; - process_menu(MENU_cdromsource, &rv); - if (rv == SET_RETRY || rv == SET_ABANDON) - return rv; - - if (cd_has_sets()) - return SET_OK; - - return SET_RETRY; -} - - -/* - * Get from a pathname inside an unmounted local filesystem - * (e.g., where sets were preloaded onto a local DOS partition) - */ -int -get_via_localfs(void) -{ - int rv = -1; - - /* Get device, filesystem, and filepath */ - process_menu (MENU_localfssource, &rv); - if (rv == SET_RETRY) - return SET_RETRY; - - /* Mount it */ - if (run_program(0, "/sbin/mount -rt %s /dev/%s /mnt2", - localfs_fs, localfs_dev)) - return SET_RETRY; - - mnt2_mounted = 1; - - snprintf(ext_dir_bin, sizeof ext_dir_bin, "%s/%s/%s", - "/mnt2", localfs_dir, set_dir_bin); - snprintf(ext_dir_src, sizeof ext_dir_src, "%s/%s/%s", - "/mnt2", localfs_dir, set_dir_src); - - return SET_OK; -} - -/* - * Get from an already-mounted pathname. - */ - -int -get_via_localdir(void) -{ - int rv = -1; - - /* Get filepath */ - process_menu(MENU_localdirsource, &rv); - if (rv == SET_RETRY) - return SET_RETRY; - - /* - * We have to have an absolute path ('cos pax runs in a - * different directory), make it so. - */ - snprintf(ext_dir_bin, sizeof ext_dir_bin, "/%s/%s", localfs_dir, set_dir_bin); - snprintf(ext_dir_src, sizeof ext_dir_src, "/%s/%s", localfs_dir, set_dir_src); - - return SET_OK; -} - - -/* - * Support for custom distribution fetches / unpacks. - */ - -unsigned int -set_X11_selected(void) -{ - int i; - - for (i = SET_X11_FIRST; ++i < SET_X11_LAST;) - if (set_status[i] & SET_SELECTED) - return 1; - return 0; -} - -unsigned int -get_kernel_set(void) -{ - int i; - - for (i = SET_KERNEL_FIRST; ++i < SET_KERNEL_LAST;) - if (set_status[i] & SET_SELECTED) - return i; - return SET_NONE; -} - -void -set_kernel_set(unsigned int kernel_set) -{ - int i; - - /* only one kernel set is allowed */ - for (i = SET_KERNEL_FIRST; ++i < SET_KERNEL_LAST;) - set_status[i] &= ~SET_SELECTED; - set_status[kernel_set] |= SET_SELECTED; -} - -void -set_noextract_set(unsigned int set) -{ - - set_status[set] |= SET_NO_EXTRACT; -} - -static int -set_toggle(menudesc *menu, void *arg) -{ - distinfo **distp = arg; - int set = distp[menu->cursel]->set; - - if (set > SET_KERNEL_FIRST && set < SET_KERNEL_LAST && - !(set_status[set] & SET_SELECTED)) - set_kernel_set(set); - else - set_status[set] ^= SET_SELECTED; - return 0; -} - -static int -set_all_none(menudesc *menu, void *arg, int set, int clr) -{ - distinfo **distp = arg; - distinfo *dist = *distp; - int nested; - - for (nested = 0; dist->set != SET_GROUP_END || nested--; dist++) { - if (dist->set == SET_GROUP) { - nested++; - continue; - } -#ifdef MD_ALLOW_DEFAULT_SET - if (set) - if (!MD_ALLOW_DEFAULT_SET(set)) - continue; -#endif - set_status[dist->set] = (set_status[dist->set] & ~clr) | set; - } - return 0; -} - -static int -set_all(menudesc *menu, void *arg) -{ - return set_all_none(menu, arg, SET_SELECTED, 0); -} - -static int -set_none(menudesc *menu, void *arg) -{ - return set_all_none(menu, arg, 0, SET_SELECTED); -} - -static void -set_label(menudesc *menu, int opt, void *arg) -{ - distinfo **distp = arg; - distinfo *dist = distp[opt]; - const char *selected; - const char *desc; - int nested; - - desc = dist->desc; - - if (dist->set != SET_GROUP) - selected = set_status[dist->set] & SET_SELECTED ? msg_yes : msg_no; - else { - /* sub menu - display None/Some/All */ - nested = 0; - selected = "unknown"; - while ((++dist)->set != SET_GROUP_END || nested--) { - if (dist->set == SET_GROUP) { - nested++; - continue; - } - if (!(set_status[dist->set] & SET_VALID)) - continue; - if (set_status[dist->set] & SET_SELECTED) { - if (selected == msg_none) { - selected = msg_some; - break; - } - selected = msg_all; - } else { - if (selected == msg_all) { - selected = msg_some; - break; - } - selected = msg_none; - } - } - } - - wprintw(menu->mw, "%-40s %s", msg_string(desc), selected); -} - -static int set_sublist(menudesc *menu, void *arg); - -static int -initialise_set_menu(distinfo *dist, menu_ent *me, distinfo **de, int all_none) -{ - int set; - int sets; - int nested; - - for (sets = 0; ; dist++) { - set = dist->set; - if (set == SET_LAST || set == SET_GROUP_END) - break; - if (!(set_status[set] & SET_VALID)) - continue; - *de = dist; - memset(me, 0, sizeof(*me)); - if (set != SET_GROUP) - me->opt_action = set_toggle; - else { - /* Collapse sublist */ - nested = 0; - while ((++dist)->set != SET_GROUP_END || nested--) { - if (dist->set == SET_GROUP) - nested++; - } - me->opt_action = set_sublist; - } - sets++; - de++; - me++; - } - - if (all_none) { - me->opt_name = MSG_select_all; - me->opt_action = set_all; - me++; - me->opt_name = MSG_select_none; - me->opt_action = set_none; - sets += 2; - } - - return sets; -} - -static int -set_sublist(menudesc *menu, void *arg) -{ - distinfo *de[SET_LAST]; - menu_ent me[SET_LAST]; - distinfo **dist = arg; - int menu_no; - int sets; - - memset(me, 0, sizeof(me)); - sets = initialise_set_menu(dist[menu->cursel] + 1, me, de, 1); - - menu_no = new_menu(NULL, me, sets, 20, 10, 0, select_menu_width, - MC_SUBMENU | MC_SCROLL | MC_DFLTEXIT, - NULL, set_label, NULL, NULL, - MSG_install_selected_sets); - - process_menu(menu_no, de); - free_menu(menu_no); - - return 0; -} - -void -customise_sets(void) -{ - distinfo *de[SET_LAST]; - menu_ent me[SET_LAST]; - int sets; - int menu_no; - - msg_display(MSG_cur_distsets); - msg_table_add(MSG_cur_distsets_header); - - memset(me, 0, sizeof(me)); - sets = initialise_set_menu(dist_list, me, de, 0); - - menu_no = new_menu(NULL, me, sets, 0, 5, 0, select_menu_width, - MC_SCROLL | MC_NOBOX | MC_DFLTEXIT | MC_NOCLEAR, - NULL, set_label, NULL, NULL, - MSG_install_selected_sets); - - process_menu(menu_no, de); - free_menu(menu_no); -} - -#ifdef HAVE_DVD_IMAGE -static bool -is_compat_or_debug_set(distinfo *dist) -{ -#ifdef HAVE_BASE32 - if (strcmp(dist->name, "base32") == 0) return true; -#endif -#ifdef HAVE_BASE64 - if (strcmp(dist->name, "base64") == 0) return true; -#endif -#ifdef HAVE_DEBUG32 - if (strcmp(dist->name, "debug32") == 0) return true; -#endif -#ifdef HAVE_DEBUG64 - if (strcmp(dist->name, "debug64") == 0) return true; -#endif - if (strcmp(dist->name, "debug") == 0) return true; - if (strcmp(dist->name, "tests") == 0) return true; - if (strcmp(dist->name, "manhtml") == 0) return true; - - return false; -} -#endif - -/* - * Extract_file **REQUIRES** an absolute path in ext_dir. Any code - * that sets up xfer_dir for use by extract_file needs to put in the - * full path name to the directory. - */ - -int -extract_file(distinfo *dist, int update) -{ - const char *dest_dir = NULL; - - if (update && (dist->set == SET_ETC || dist->set == SET_X11_ETC)) { - dest_dir = "/.sysinst"; - make_target_dir(dest_dir); - } else if (dist->set == SET_PKGSRC) - dest_dir = "/usr"; - else - dest_dir = "/"; - - return extract_file_to(dist, update, dest_dir, NULL, true); -} - -int -extract_file_to(distinfo *dist, int update, const char *dest_dir, - const char *extr_pattern, bool do_stats) -{ - char path[STRSIZE]; - char *owd; - int rval; - - /* If we might need to tidy up, ensure directory exists */ - if (fetch_fn != NULL) - make_target_dir(xfer_dir); - - (void)snprintf(path, sizeof path, "%s/%s%s", - ext_dir_for_set(dist->name), dist->name, set_postfix(dist->name)); - - owd = getcwd(NULL, 0); - - /* Do we need to fetch the file now? */ - if (fetch_fn != NULL) { - rval = fetch_fn(dist->name); - if (rval != SET_OK) - return rval; - } - - /* - * Makronix: the set may be on another CD (CD 1 carries the system, - * CD 2 the makronix set). When the installer runs from RAM the CD can - * be changed: ask for it, mount it, look again -- and again if it is - * not the right one. Optional sets (the compat and debug sets) that a - * medium does not carry are not looked for on another CD. - */ - if (fetch_fn == NULL && mnt2_mounted && cdrom_dev[0] != '\0' && - !file_exists_p(path) && root_is_ramdisk()) { - bool optional = false; - -#ifdef HAVE_DVD_IMAGE - optional = is_compat_or_debug_set(dist); -#endif - while (!optional && !file_exists_p(path)) { - int sel = 0; - - umount_mnt2(); - msg_fmt_display(MSG_nextcd, "%s", dist->name); - process_menu(MENU_nextcd, &sel); - if (sel == 1) { - set_status[dist->set] |= SET_SKIPPED; - tarstats.nskipped++; - free(owd); - return SET_OK; - } - /* - * The drive needs a moment to see the new disc, and - * the first open often fails. Look quietly a few - * times (cd_has_sets mounts it and sets ext_dir_*); - * if it is not there, the loop asks again. - */ - if (cdrom_dev[0] != '\0') { - int tries; - - for (tries = 0; tries < 8; tries++) { - sleep(2); - if (cd_has_sets()) - break; - umount_mnt2(); - } - } else - (void)get_via_cdrom(); - (void)snprintf(path, sizeof path, "%s/%s%s", - ext_dir_for_set(dist->name), dist->name, - set_postfix(dist->name)); - } - } - - /* check tarfile exists */ - if (!file_exists_p(path)) { - -#ifdef SUPPORT_8_3_SOURCE_FILESYSTEM - /* - * Update path to use dist->name truncated to the first eight - * characters and check again - */ - (void)snprintf(path, sizeof path, - "%s/%.8s%.4s", /* 4 as includes '.' */ - ext_dir_for_set(dist->name), dist->name, - set_postfix(dist->name)); - - if (!file_exists_p(path)) { -#endif /* SUPPORT_8_3_SOURCE_FILESYSTEM */ - -#ifdef HAVE_DVD_IMAGE - if (fetch_fn == NULL && is_compat_or_debug_set(dist)) { - if (!have_warned_compat_missing) { - have_warned_compat_missing = true; - - char *err = str_arg_subst( - msg_string(MSG_opt_set_not_found), - 1, &dist->name); - hit_enter_to_continue(err, NULL); - free(err); - } - goto set_ok; - } -#endif - - if (do_stats) - tarstats.nnotfound++; - - char *err = str_arg_subst(msg_string(MSG_notarfile), - 1, &dist->name); - hit_enter_to_continue(err, NULL); - free(err); - free(owd); - return SET_RETRY; - } -#ifdef SUPPORT_8_3_SOURCE_FILESYSTEM - } -#endif /* SUPPORT_8_3_SOURCE_FILESYSTEM */ - - if (do_stats) - tarstats.nfound++; - /* cd to the target root. */ - target_chdir_or_die(dest_dir); - - /* - * /usr/X11R7/lib/X11/xkb/symbols/pc was a directory in 5.0 - * but is a file in 5.1 and beyond, so on upgrades we need to - * delete it before extracting the xbase set. - */ - if (update && dist->set == SET_X11_BASE) - run_program(0, "rm -rf usr/X11R7/lib/X11/xkb/symbols/pc"); - - /* now extract set files into "./". */ - if (extr_pattern != NULL) { - rval = run_program(RUN_DISPLAY | RUN_PROGRESS, - "progress -zf %s tar --chroot " - TAR_EXTRACT_FLAGS " - '%s'", - path, extr_pattern); - } else { - rval = run_program(RUN_DISPLAY | RUN_PROGRESS, - "progress -zf %s tar --chroot " - TAR_EXTRACT_FLAGS " -", path); - } - - chdir(owd); - free(owd); - - /* Check rval for errors and give warning. */ - if (rval != 0) { - if (do_stats) - tarstats.nerror++; - msg_fmt_display(MSG_tarerror, "%s", path); - hit_enter_to_continue(NULL, NULL); - return SET_RETRY; - } - - if (fetch_fn != NULL && clean_xfer_dir) { - run_program(0, "rm %s", path); - /* Plausibly we should unlink an empty xfer_dir as well */ - } - -#ifdef HAVE_DVD_IMAGE -set_ok: -#endif - - set_status[dist->set] |= SET_INSTALLED; - if (do_stats) - tarstats.nsuccess++; - return SET_OK; -} - -static void -skip_set(distinfo *dist, int skip_type) -{ - int nested; - int set; - - nested = 0; - while ((++dist)->set != SET_GROUP_END || nested--) { - set = dist->set; - if (set == SET_GROUP) { - nested++; - continue; - } - if (set == SET_LAST) - break; - if (set_status[set] == (SET_SELECTED | SET_VALID)) - set_status[set] |= SET_SKIPPED; - tarstats.nskipped++; - } -} - -distinfo* -get_set_distinfo(int opt) -{ - distinfo *dist; - int set; - - for (dist = dist_list; (set = dist->set) != SET_LAST; dist++) { - if (set != opt) - continue; - if (dist->name == NULL) - continue; - if ((set_status[set] & (SET_VALID | SET_SELECTED)) - != (SET_VALID | SET_SELECTED)) - continue; - return dist; - } - - return NULL; -} - -#ifdef CHECK_ENTROPY - -char entropy_file[PATH_MAX]; - -/* - * Are we short of entropy? - */ -size_t -entropy_needed(void) -{ - int needed; - size_t len; - - len = sizeof(needed); - if (sysctlbyname("kern.entropy.needed", &needed, &len, NULL, 0)) - return 0; - - if (needed < 0) - return 0; - - return needed; -} - -static void -entropy_write_to_kernel(const uint8_t *data, size_t len) -{ - int fd; - - fd = open(_PATH_RANDOM, O_RDWR, 0); - if (fd >= 0) { - write(fd, data, len); - close(fd); - } -} - -static void -entropy_add_manual(void) -{ - SHA256_CTX ctx; - char buf[256]; - uint8_t digest[SHA256_DIGEST_LENGTH]; - static const char prompt[] = "> "; - size_t l; - int txt_y; - - msg_display(MSG_entropy_enter_manual1); - msg_printf("\n\n"); - msg_display_add(MSG_entropy_enter_manual2); - msg_printf("\n\n dd if=/dev/random bs=32 count=1 | openssl base64\n\n"); - msg_display_add(MSG_entropy_enter_manual3); - msg_printf("\n\n"); - SHA256_Init(&ctx); - txt_y = getcury(mainwin)+1; - - echo(); - wmove(mainwin, txt_y, 0); - msg_fmt_table_add(prompt, prompt); - mvwgetnstr(mainwin, txt_y, 2, buf, sizeof buf); - l = strlen(buf); - if (l > 0) - SHA256_Update(&ctx, (const uint8_t*)buf, l); - noecho(); - SHA256_Final(digest, &ctx); - - wmove(mainwin, txt_y-1, 0); - wclrtobot(mainwin); - wrefresh(mainwin); - - entropy_write_to_kernel(digest, sizeof digest); -} - -/* - * Get a file by some means and return a (potentially only - * temporary valid) path to the local copy. - * If mountpt is nonempty, the caller should unmount that - * directory after processing the file. - * Return success if the file is available, or failure if - * the user cancelled the request or network transfer failed. - */ -static bool -entropy_get_file(bool use_netbsd_seed, char *path) -{ - static struct ftpinfo server = { .user = "ftp" }; - char url[STRSIZE], tmpf[PATH_MAX], mountpt[PATH_MAX]; - const char *ftp_opt; - arg_rv arg; - int rv = 0; - const char *file_desc = msg_string(use_netbsd_seed ? - MSG_entropy_seed : MSG_entropy_data); - char *dir; - - path[0] = 0; - mountpt[0] = 0; - - sprintf(tmpf, "/tmp/entr.%06x", getpid()); - - msg_display(use_netbsd_seed ? - MSG_entropy_seed_hdr : MSG_entropy_data_hdr); - msg_printf("\n\n %s\n\n", - use_netbsd_seed ? - "rndctl -S /tmp/entropy-file" : - "dd if=/dev/random bs=32 count=1 of=/tmp/random.tmp"); - strcpy(entropy_file, use_netbsd_seed ? - "entropy-file" : "random.tmp"); - process_menu(MENU_entropy_select_file, &rv); - switch (rv) { - case 1: - case 2: -#ifndef DEBUG - if (!network_up) - config_network(0); -#endif - server.xfer = rv == 1 ? XFER_HTTP : XFER_FTP; - arg.arg = &server; - arg.rv = -1; - msg_display_add_subst(MSG_entropy_via_download, 1, file_desc); - msg_printf("\n\n"); - process_menu(MENU_entropy_ftpsource, &arg); - if (arg.rv == SET_RETRY) - return false; - make_url(url, &server, entropy_file); - if (server.xfer == XFER_FTP && - strcmp("ftp", server.user) == 0 && server.pass[0] == 0) { - /* do anon ftp */ - ftp_opt = "-a "; - } else { - ftp_opt = ""; - } - rv = run_program(RUN_DISPLAY | RUN_PROGRESS, - "/usr/bin/ftp %s -o %s %s", - ftp_opt, tmpf, url); - strcpy(path, tmpf); - return rv == 0; - case 3: -#ifndef DEBUG - if (!network_up) - config_network(0); -#endif - rv = -1; - msg_display_add_subst(MSG_entropy_via_nfs, 1, file_desc); - msg_printf("\n\n"); - process_menu(MENU_entropy_nfssource, &rv); - if (rv == SET_RETRY) - return false; - if (nfs_host[0] != 0 && nfs_dir[0] != 0 && - entropy_file[0] != 0) { - strcpy(mountpt, "/tmp/ent-mnt.XXXXXX"); - dir = mkdtemp(mountpt); - if (dir == NULL) - return false; - sprintf(path, "%s/%s", mountpt, entropy_file); - if (run_program(RUN_SILENT, - "mount -t nfs -r %s:/%s %s", - nfs_host, nfs_dir, mountpt) == 0) { - run_program(RUN_SILENT, - "cp %s %s", path, tmpf); - run_program(RUN_SILENT, - "umount %s", mountpt); - rmdir(mountpt); - strcpy(path, tmpf); - } - } - break; - case 4: - rv = -1; - /* Get device, filesystem, and filepath */ - process_menu (MENU_entropy_localfs, &rv); - if (rv == SET_RETRY) - return false; - if (localfs_dev[0] != 0 && localfs_fs[0] != 0 && - entropy_file[0] != 0) { - strcpy(mountpt, "/tmp/ent-mnt.XXXXXX"); - dir = mkdtemp(mountpt); - if (dir == NULL) - return false; - sprintf(path, "%s/%s", mountpt, entropy_file); - if (run_program(RUN_SILENT, - "mount -t %s -r /dev/%s %s", - localfs_fs, localfs_dev, mountpt) == 0) { - run_program(RUN_SILENT, - "cp %s %s", path, tmpf); - run_program(RUN_SILENT, - "umount %s", mountpt); - rmdir(mountpt); - strcpy(path, tmpf); - } - } - break; - } - return path[0] != 0; -} - -static void -entropy_add_bin_file(void) -{ - char fname[PATH_MAX]; - - if (!entropy_get_file(false, fname)) - return; - if (access(fname, R_OK) == 0) - run_program(RUN_SILENT, "dd if=%s of=" _PATH_RANDOM, - fname); -} - -static void -entropy_add_seed(void) -{ - char fname[PATH_MAX]; - - if (!entropy_get_file(true, fname)) - return; - if (access(fname, R_OK) == 0) - run_program(RUN_SILENT, "rndctl -L %s", fname); -} - -/* - * return true if we have enough entropy - */ -bool -do_add_entropy(void) -{ - int rv; - - if (entropy_needed() == 0) - return true; - - for (;;) { - if (entropy_needed() == 0) - break; - - msg_clear(); - rv = 0; - process_menu(MENU_not_enough_entropy, &rv); - switch (rv) { - case 0: - return false; - case 1: - entropy_add_manual(); - break; - case 2: - entropy_add_seed(); - break; - case 3: - entropy_add_bin_file(); - break; - default: - /* - * retry after small delay to give a new USB device - * a chance to attach and do deliver some - * entropy - */ - msg_display("."); - for (size_t i = 0; i < 10; i++) { - if (entropy_needed() == 0) - return true; - sleep(1); - msg_display_add("."); - } - } - } - - /* - * Save entropy (maybe again) to give the seed file a good - * entropy estimate. - */ - run_program(RUN_SILENT | RUN_CHROOT | RUN_ERROR_OK, - "/etc/rc.d/random_seed stop"); - - return true; -} -#endif - -/* - * Makronix simple installation: the source sets (NetBSD's src, gnusrc, syssrc, - * sharesrc, xsrc, and msrc) are installed by default, so that the system - * can rebuild itself without a network -- but only the ones the install medium - * carries. A CD does not hold them, the DVD made by `make isosrc' does; a set - * that is not there is not asked for and not reported. Selected after the - * medium is known, because only then is it known what is on it. - */ -static void -select_source_sets_present(void) -{ - const struct distinfo *dist; - char path[PATH_MAX]; - - for (dist = dist_list; dist->set != SET_LAST; dist++) { - if (dist->name == NULL || !set_is_source(dist->name)) - continue; - if ((set_status[dist->set] & (SET_VALID | SET_SELECTED)) - != SET_VALID) - continue; - (void)snprintf(path, sizeof path, "%s/%s%s", - ext_dir_for_set(dist->name), dist->name, - set_postfix(dist->name)); - if (!file_exists_p(path)) - continue; - set_status[dist->set] |= SET_SELECTED; - tarstats.nselected++; - } -} - -/* - * Get and unpack the distribution. - * Show success_msg if installation completes. - * Otherwise show failure_msg and wait for the user to ack it before continuing. - * success_msg and failure_msg must both be 0-adic messages. - */ -int -get_and_unpack_sets(int update, msg setupdone_msg, msg success_msg, msg failure_msg) -{ - distinfo *dist; - int status; - int set, olderror, oldfound; - bool entropy_loaded = false; - bool tried_cdrom = false; - - /* Ensure mountpoint for distribution files exists in current root. */ - (void)mkdir("/mnt2", S_IRWXU| S_IRGRP|S_IXGRP | S_IROTH|S_IXOTH); - if (script) - (void)fprintf(script, "mkdir -m 755 /mnt2\n"); - - /* reset failure/success counters */ - memset(&tarstats, 0, sizeof(tarstats)); -#ifdef HAVE_DVD_IMAGE - have_warned_compat_missing = false; -#endif - - /* Find out which files to "get" if we get files. */ - - /* Accurately count selected sets */ - for (dist = dist_list; (set = dist->set) != SET_LAST; dist++) { - if (dist->name == NULL) - continue; - if (set_status[set] & SET_NO_EXTRACT) - continue; - if ((set_status[set] & (SET_VALID | SET_SELECTED)) - == (SET_VALID | SET_SELECTED)) - tarstats.nselected++; - } - - status = SET_RETRY; - for (dist = dist_list; (set = dist->set) != SET_LAST; dist++) { - if (dist->name == NULL) - continue; - if (set_status[set] != (SET_VALID | SET_SELECTED)) - continue; - - /* save stats, in case we will retry */ - oldfound = tarstats.nfound; - olderror = tarstats.nerror; - - if (status != SET_OK) { - /* This might force a redraw.... */ - clearok(curscr, 1); - touchwin(stdscr); - wrefresh(stdscr); - /* Sort out the location of the set files */ - do { - umount_mnt2(); - fetch_fn = NULL; - if (simple_install && !tried_cdrom) { - /* - * Makronix simple installation: take - * the sets from the install medium, - * as the "CD-ROM" entry of the menu - * below would. If that does not work - * the menu is shown after all. - */ - tried_cdrom = true; - status = get_via_cdrom(); - if (status == SET_OK) { - select_source_sets_present(); - continue; - } - } - msg_fmt_display(MSG_distmedium, "%d%d%s", - tarstats.nselected, - tarstats.nsuccess + tarstats.nskipped, - dist->name); - process_menu(MENU_distmedium, &status); - } while (status == SET_RETRY); - - if (status == SET_SKIP) { - set_status[set] |= SET_SKIPPED; - tarstats.nskipped++; - continue; - } - if (status == SET_SKIP_GROUP) { - skip_set(dist, status); - continue; - } - if (status != SET_OK) { - hit_enter_to_continue(failure_msg, NULL); - return 1; - } - } - - if (set_status[set] & SET_NO_EXTRACT) - continue; - - /* Try to extract this set */ - status = extract_file(dist, update); - if (status == SET_RETRY) { - /* do this set again */ - dist--; - /* and reset statistics to what we had before this - * set */ - tarstats.nfound = oldfound; - tarstats.nerror = olderror; - } - } - -#ifdef MD_SET_EXTRACT_FINALIZE - MD_SET_EXTRACT_FINALIZE(update); -#endif - - if (tarstats.nerror == 0 && tarstats.nsuccess == tarstats.nselected) { - msg_display(MSG_endtarok); - /* Give user a chance to see the success message */ - sleep(1); - } else { - /* We encountered errors. Let the user know. */ - msg_fmt_display(MSG_endtar, "%d%d%d%d%d%d", - tarstats.nselected, tarstats.nnotfound, tarstats.nskipped, - tarstats.nfound, tarstats.nsuccess, tarstats.nerror); - hit_enter_to_continue(NULL, NULL); - } - - /* - * postinstall needs to be run after extracting all sets, because - * otherwise /var/db/obsolete will only have current information - * from the base, comp, and etc sets. - */ - if (update && (set_status[SET_ETC] & SET_INSTALLED)) { - int oldsendmail; - oldsendmail = run_program(RUN_DISPLAY | RUN_CHROOT | - RUN_ERROR_OK | RUN_PROGRESS, - "/usr/sbin/postinstall -s /.sysinst -d / check mailerconf"); - if (oldsendmail == 1) { - msg_display(MSG_oldsendmail); - if (ask_yesno(NULL)) { - run_program(RUN_DISPLAY | RUN_CHROOT, - "/usr/sbin/postinstall -s /.sysinst -d / fix mailerconf"); - } - } - run_program(RUN_DISPLAY | RUN_CHROOT, - "/usr/sbin/postinstall -s /.sysinst -d / fix"); - - /* Don't discard the system's old entropy if any */ - run_program(RUN_CHROOT | RUN_SILENT, - "/etc/rc.d/random_seed start"); - entropy_loaded = true; - } - - /* Configure the system */ - if (set_status[SET_BASE] & SET_INSTALLED) { - run_makedev(); - if (!update) { - run_program(RUN_CHROOT|RUN_DISPLAY, - "/usr/sbin/certctl rehash"); - } - } - - if (!update) { - struct stat sb1, sb2; - - if (stat(target_expand("/"), &sb1) == 0 - && stat(target_expand("/var"), &sb2) == 0 - && sb1.st_dev != sb2.st_dev) { - add_rc_conf("random_file=/etc/entropy-file\n"); - if (target_file_exists_p("/boot.cfg")) { - run_program(RUN_CHROOT|RUN_FATAL, - "sh -c 'sed -e s./var/db/./etc/. " - "< /boot.cfg " - "> /tmp/boot.cfg.tmp'"); - mv_within_target_or_die("/tmp/boot.cfg.tmp", - "/boot.cfg"); - - } - } - -#ifdef MD_BOOT_CFG_FINALIZE - if (target_file_exists_p("/boot.cfg")) { - MD_BOOT_CFG_FINALIZE("/boot.cfg"); - } -#endif - - /* Save keyboard type */ - save_kb_encoding(); - - /* Other configuration. */ - mnt_net_config(); - } - - /* Mounted dist dir? */ - umount_mnt2(); - -#ifdef CHECK_ENTROPY - entropy_loaded |= entropy_needed() == 0; -#endif - - /* Save entropy -- on some systems it's ~all we'll ever get */ - if (!update || entropy_loaded) - run_program(RUN_SILENT | RUN_CHROOT | RUN_ERROR_OK, - "/etc/rc.d/random_seed stop"); - /* Install/Upgrade complete ... reboot or exit to script */ - hit_enter_to_continue(success_msg, NULL); - return 0; -} - -void -umount_mnt2(void) -{ - if (!mnt2_mounted) - return; - run_program(RUN_SILENT, "/sbin/umount /mnt2"); - mnt2_mounted = 0; -} - - -/* - * Do a quick sanity check that the target can reboot. - * return 1 if everything OK, 0 if there is a problem. - * Uses a table of files we expect to find after a base install/upgrade. - */ - -/* test flag and pathname to check for after unpacking. */ -struct check_table { unsigned int mode; const char *path;} checks[] = { - { S_IFREG, "/netbsd" }, - { S_IFDIR, "/etc" }, - { S_IFREG, "/etc/fstab" }, - { S_IFREG, "/sbin/init" }, - { S_IFREG, "/bin/sh" }, - { S_IFREG, "/etc/rc" }, - { S_IFREG, "/etc/rc.subr" }, - { S_IFREG, "/etc/rc.conf" }, - { S_IFDIR, "/dev" }, - { S_IFCHR, "/dev/console" }, -/* XXX check for rootdev in target /dev? */ - { S_IFREG, "/sbin/fsck" }, - { S_IFREG, "/sbin/fsck_ffs" }, - { S_IFREG, "/sbin/mount" }, - { S_IFREG, "/sbin/mount_ffs" }, - { S_IFREG, "/sbin/mount_nfs" }, -#if defined(DEBUG) || defined(DEBUG_CHECK) - { S_IFREG, "/foo/bar" }, /* bad entry to exercise warning */ -#endif - { 0, 0 } - -}; - -/* - * Check target for a single file. - */ -static int -check_for(unsigned int mode, const char *pathname) -{ - int found; - - found = (target_test(mode, pathname) == 0); - if (found == 0) - msg_fmt_display(MSG_rootmissing, "%s", pathname); - return found; -} - -/* - * Check that all the files in check_table are present in the - * target root. Warn if not found. - */ -int -sanity_check(void) -{ - int target_ok = 1; - struct check_table *p; - - for (p = checks; p->path; p++) { - target_ok = target_ok && check_for(p->mode, p->path); - } - if (target_ok) - return 0; - - /* Uh, oh. Something's missing. */ - hit_enter_to_continue(MSG_badroot, NULL); - return 1; -} - -/* - * Some globals to pass things back from callbacks - */ -static char zoneinfo_dir[STRSIZE]; -static int zonerootlen; -static char *tz_selected; /* timezonename (relative to share/zoneinfo */ -const char *tz_default; /* UTC, or whatever /etc/localtime points to */ -static char tz_env[STRSIZE]; -static int save_cursel, save_topline; -static int time_menu = -1; - -static void -update_time_display(void) -{ - time_t t; - struct tm *tm; - char cur_time[STRSIZE], *p; - - t = time(NULL); - tm = localtime(&t); - strlcpy(cur_time, safectime(&t), sizeof cur_time); - p = strchr(cur_time, '\n'); - if (p != NULL) - *p = 0; - - msg_clear(); - msg_fmt_table_add(MSG_choose_timezone, "%s%s%s%s", - tz_default, tz_selected, cur_time, tm ? tm->tm_zone : "?"); -} - -/* - * Callback from timezone menu - */ -static int -set_tz_select(menudesc *m, void *arg) -{ - char *new; - - if (m && strcmp(tz_selected, m->opts[m->cursel].opt_name) != 0) { - /* Change the displayed timezone */ - new = strdup(m->opts[m->cursel].opt_name); - if (new == NULL) - return 0; - free(tz_selected); - tz_selected = new; - snprintf(tz_env, sizeof tz_env, "%.*s%s", - zonerootlen, zoneinfo_dir, tz_selected); - setenv("TZ", tz_env, 1); - } - if (m) - /* Warp curser to 'Exit' line on menu */ - m->cursel = -1; - - update_time_display(); - if (time_menu >= 1) { - WINDOW *w = get_menudesc(time_menu)->mw; - if (w != NULL) { - touchwin(w); - wrefresh(w); - } - } - return 0; -} - -static int -set_tz_back(menudesc *m, void *arg) -{ - - zoneinfo_dir[zonerootlen] = 0; - m->cursel = save_cursel; - m->topline = save_topline; - return 0; -} - -static int -set_tz_dir(menudesc *m, void *arg) -{ - - strlcpy(zoneinfo_dir + zonerootlen, m->opts[m->cursel].opt_name, - sizeof zoneinfo_dir - zonerootlen); - save_cursel = m->cursel; - save_topline = m->topline; - m->cursel = 0; - m->topline = 0; - return 0; -} - -/* - * Alarm-handler to update example-display - */ -static void -/*ARGSUSED*/ -timezone_sig(int sig) -{ - - set_tz_select(NULL, NULL); - alarm(60); -} - -static int -tz_sort(const void *a, const void *b) -{ - return strcmp(((const menu_ent *)a)->opt_name, ((const menu_ent *)b)->opt_name); -} - -static void -tzm_set_names(menudesc *m, void *arg) -{ - DIR *dir; - struct dirent *dp; - static int nfiles; - static int maxfiles = 32; - static menu_ent *tz_menu; - static char **tz_names; - void *p; - int maxfname; - char *fp; - struct stat sb; - - if (tz_menu == NULL) - tz_menu = calloc(maxfiles, sizeof *tz_menu); - if (tz_names == NULL) - tz_names = malloc(maxfiles * sizeof *tz_names); - if (tz_menu == NULL || tz_names == NULL) - return; /* error - skip timezone setting */ - while (nfiles > 0) - free(tz_names[--nfiles]); - - dir = opendir(zoneinfo_dir); - fp = strchr(zoneinfo_dir, 0); - if (fp != zoneinfo_dir + zonerootlen) { - tz_names[0] = 0; - tz_menu[0].opt_name = msg_string(MSG_tz_back); - tz_menu[0].opt_action = set_tz_back; - nfiles = 1; - } - maxfname = zoneinfo_dir + sizeof zoneinfo_dir - fp - 1; - if (dir != NULL) { - while ((dp = readdir(dir)) != NULL) { - if (dp->d_namlen > maxfname || dp->d_name[0] == '.') - continue; - strlcpy(fp, dp->d_name, maxfname); - if (stat(zoneinfo_dir, &sb) == -1) - continue; - if (nfiles >= maxfiles) { - p = realloc(tz_menu, - 2 * maxfiles * sizeof *tz_menu); - if (p == NULL) - break; - tz_menu = p; - memset(tz_menu + maxfiles, 0, - maxfiles * sizeof *tz_menu); - p = realloc(tz_names, - 2 * maxfiles * sizeof *tz_names); - if (p == NULL) - break; - tz_names = p; - memset(tz_names + maxfiles, 0, - maxfiles * sizeof *tz_names); - maxfiles *= 2; - } - if (S_ISREG(sb.st_mode)) - tz_menu[nfiles].opt_action = set_tz_select; - else if (S_ISDIR(sb.st_mode)) { - tz_menu[nfiles].opt_action = set_tz_dir; - strlcat(fp, "/", - sizeof(zoneinfo_dir) - (fp - zoneinfo_dir)); - } else - continue; - tz_names[nfiles] = strdup(zoneinfo_dir + zonerootlen); - tz_menu[nfiles].opt_name = tz_names[nfiles]; - nfiles++; - } - closedir(dir); - } - *fp = 0; - - m->opts = tz_menu; - m->numopts = nfiles; - qsort(tz_menu, nfiles, sizeof *tz_menu, tz_sort); -} - -void -get_tz_default(void) -{ - char localtime_link[STRSIZE]; - static char localtime_target[STRSIZE]; - int rc; - - strlcpy(localtime_link, target_expand("/etc/localtime"), - sizeof localtime_link); - - /* Add sanity check that /mnt/usr/share/zoneinfo contains - * something useful - */ - - rc = readlink(localtime_link, localtime_target, - sizeof(localtime_target) - 1); - if (rc < 0) { - /* error, default to UTC */ - tz_default = "UTC"; - } else { - localtime_target[rc] = '\0'; - tz_default = strchr(strstr(localtime_target, "zoneinfo"), '/') + 1; - } -} - -/* - * Choose from the files in usr/share/zoneinfo and set etc/localtime - */ -int -set_timezone(void) -{ - char localtime_link[STRSIZE]; - char localtime_target[STRSIZE]; - int menu_no; - - strlcpy(zoneinfo_dir, target_expand("/usr/share/zoneinfo/"), - sizeof zoneinfo_dir - 1); - zonerootlen = strlen(zoneinfo_dir); - - get_tz_default(); - - tz_selected = strdup(tz_default); - snprintf(tz_env, sizeof(tz_env), "%s%s", zoneinfo_dir, tz_selected); - setenv("TZ", tz_env, 1); - update_time_display(); - - signal(SIGALRM, timezone_sig); - alarm(60); - - menu_no = new_menu(NULL, NULL, 14, 23, 9, - 12, 32, MC_ALWAYS_SCROLL | MC_NOSHORTCUT, - tzm_set_names, NULL, NULL, - "\nPlease consult the install documents.", - MSG_exit_menu_generic); - if (menu_no >= 0) { - time_menu = menu_no; - process_menu(menu_no, NULL); - time_menu = -1; - - free_menu(menu_no); - } - - alarm(0); - signal(SIGALRM, SIG_IGN); - - if (menu_no >= 0) { - snprintf(localtime_target, sizeof(localtime_target), - "/usr/share/zoneinfo/%s", tz_selected); - strlcpy(localtime_link, target_expand("/etc/localtime"), - sizeof localtime_link); - unlink(localtime_link); - symlink(localtime_target, localtime_link); - } - - return 1; -} - -void -scripting_vfprintf(FILE *f, const char *fmt, va_list ap) -{ - va_list ap2; - - va_copy(ap2, ap); - if (f) - (void)vfprintf(f, fmt, ap); - if (script) - (void)vfprintf(script, fmt, ap2); -} - -void -scripting_fprintf(FILE *f, const char *fmt, ...) -{ - va_list ap; - - va_start(ap, fmt); - scripting_vfprintf(f, fmt, ap); - va_end(ap); -} - -void -add_rc_conf(const char *fmt, ...) -{ - FILE *f; - va_list ap; - - va_start(ap, fmt); - f = target_fopen("/etc/rc.conf", "a"); - if (f != 0) { - scripting_fprintf(NULL, "cat <>%s/etc/rc.conf\n", - target_prefix()); - scripting_vfprintf(f, fmt, ap); - fclose(f); - scripting_fprintf(NULL, "EOF\n"); - } - va_end(ap); -} - -int -del_rc_conf(const char *value) -{ - FILE *fp, *nfp; - char buf[4096]; /* Ridiculously high, but should be enough in any way */ - char *rcconf, *tempname = NULL, *bakname = NULL; - char *cp; - int done = 0; - int fd; - int retval = 0; - - /* The paths might seem strange, but using /tmp would require copy instead - * of rename operations. */ - if (asprintf(&rcconf, "%s", target_expand("/etc/rc.conf")) < 0 - || asprintf(&tempname, "%s", target_expand("/etc/rc.conf.tmp.XXXXXX")) < 0 - || asprintf(&bakname, "%s", target_expand("/etc/rc.conf.bak.XXXXXX")) < 0) { - if (rcconf) - free(rcconf); - if (tempname) - free(tempname); - msg_fmt_display(MSG_rcconf_delete_failed, "%s", value); - hit_enter_to_continue(NULL, NULL); - return -1; - } - - if ((fd = mkstemp(bakname)) < 0) { - msg_fmt_display(MSG_rcconf_delete_failed, "%s", value); - hit_enter_to_continue(NULL, NULL); - return -1; - } - close(fd); - - if (!(fp = fopen(rcconf, "r+")) || (fd = mkstemp(tempname)) < 0) { - if (fp) - fclose(fp); - msg_fmt_display(MSG_rcconf_delete_failed, "%s", value); - hit_enter_to_continue(NULL, NULL); - return -1; - } - - nfp = fdopen(fd, "w"); - if (!nfp) { - fclose(fp); - close(fd); - msg_fmt_display(MSG_rcconf_delete_failed, "%s", value); - hit_enter_to_continue(NULL, NULL); - return -1; - } - - while (fgets(buf, sizeof buf, fp) != NULL) { - - cp = buf + strspn(buf, " \t"); /* Skip initial spaces */ - if (strncmp(cp, value, strlen(value)) == 0) { - cp += strlen(value); - if (*cp != '=') - scripting_fprintf(nfp, "%s", buf); - else - done = 1; - } else { - scripting_fprintf(nfp, "%s", buf); - } - } - fclose(fp); - fclose(nfp); - - if (done) { - if (rename(rcconf, bakname)) { - msg_display(MSG_rcconf_backup_failed); - if (!ask_noyes(NULL)) { - retval = -1; - goto done; - } - } - - if (rename(tempname, rcconf)) { - if (rename(bakname, rcconf)) { - hit_enter_to_continue(MSG_rcconf_restore_failed, - NULL); - } else { - hit_enter_to_continue(MSG_rcconf_delete_failed, - NULL); - } - } - } - -done: - (void)unlink(bakname); - (void)unlink(tempname); - free(rcconf); - free(tempname); - free(bakname); - return retval; -} - -void -add_sysctl_conf(const char *fmt, ...) -{ - FILE *f; - va_list ap; - - va_start(ap, fmt); - f = target_fopen("/etc/sysctl.conf", "a"); - if (f != 0) { - scripting_fprintf(NULL, "cat <>%s/etc/sysctl.conf\n", - target_prefix()); - scripting_vfprintf(f, fmt, ap); - fclose(f); - scripting_fprintf(NULL, "EOF\n"); - } - va_end(ap); -} - -void -enable_rc_conf(void) -{ - - replace("/etc/rc.conf", "s/^rc_configured=NO/rc_configured=YES/"); -} - -int -check_lfs_progs(void) -{ - -#ifndef NO_LFS - return binary_available("fsck_lfs") && binary_available("mount_lfs") - && binary_available("newfs_lfs"); -#else - return 0; -#endif -} - -int -set_is_source(const char *set_name) { - int len = strlen(set_name); - return len >= 3 && memcmp(set_name + len - 3, "src", 3) == 0; -} - -const char * -set_dir_for_set(const char *set_name) { - if (strcmp(set_name, "pkgsrc") == 0) - return pkgsrc_dir; - return set_is_source(set_name) ? set_dir_src : set_dir_bin; -} - -const char * -ext_dir_for_set(const char *set_name) { - if (strcmp(set_name, "pkgsrc") == 0) - return ext_dir_pkgsrc; - return set_is_source(set_name) ? ext_dir_src : ext_dir_bin; -} - -/* - * Makronix: the colours of the release palette (palette.dp, Makefile.inc makes - * palette.h from it): CDE_BG_* is slot 5, the window colour that dtsession sets - * as `*background' for every window (proven on a running CDE with the default - * palette, docs/reference/cde-colours.txt); CDE_SEL_* is slot 4, the selected - * line and the box -- a design choice, not proven. curses takes 0..1000. - */ -#include "palette.h" - -void -do_coloring(unsigned int fg, unsigned int bg) { - if (bg > COLOR_WHITE) - bg = COLOR_BLUE; - if (fg > COLOR_WHITE) - fg = COLOR_WHITE; - if (fg != bg && has_colors()) { - /* - * The default pair is white background, black text: where the - * terminal can redefine a colour, make that white the CDE one. - */ - if (bg == COLOR_WHITE && fg == COLOR_BLACK) { - /* - * More pairs for the menus (menuc, patch 0009): 2 is the - * selected line, 3 the box. With a redefinable palette: - * white text (COLOR_CYAN made white) on the slate of CDE - * palette slot 4, the box in that slate; with the eight - * fixed colours: white on blue, blue box. - */ - short sel_fg = COLOR_WHITE; - - if (can_change_color()) { - (void)init_color(COLOR_WHITE, CDE_BG_R, - CDE_BG_G, CDE_BG_B); - (void)init_color(COLOR_BLUE, CDE_SEL_R, - CDE_SEL_G, CDE_SEL_B); - (void)init_color(COLOR_CYAN, 1000, 1000, 1000); - sel_fg = COLOR_CYAN; - } - init_pair(2, sel_fg, COLOR_BLUE); - init_pair(3, COLOR_BLUE, COLOR_WHITE); - } - init_pair(1, fg, bg); - wbkgd(stdscr, COLOR_PAIR(1)); - wbkgd(mainwin, COLOR_PAIR(1)); - wattrset(stdscr, COLOR_PAIR(1)); - wattrset(mainwin, COLOR_PAIR(1)); - } - /* redraw screen */ - touchwin(stdscr); - touchwin(mainwin); - wrefresh(stdscr); - wrefresh(mainwin); - return; -} - -int -set_menu_select(menudesc *m, void *arg) -{ - *(int *)arg = m->cursel; - return 1; -} - -/* - * check whether a binary is available somewhere in PATH, - * return 1 if found, 0 if not. - */ -static int -binary_available(const char *prog) -{ - char *p, tmp[MAXPATHLEN], *path = getenv("PATH"), *opath; - - if (path == NULL) - return access(prog, X_OK) == 0; - path = strdup(path); - if (path == NULL) - return 0; - - opath = path; - - while ((p = strsep(&path, ":")) != NULL) { - if (strlcpy(tmp, p, MAXPATHLEN) >= MAXPATHLEN) - continue; - if (strlcat(tmp, "/", MAXPATHLEN) >= MAXPATHLEN) - continue; - if (strlcat(tmp, prog, MAXPATHLEN) >= MAXPATHLEN) - continue; - if (access(tmp, X_OK) == 0) { - free(opath); - return 1; - } - } - free(opath); - return 0; -} - -const char * -safectime(time_t *t) -{ - const char *s = ctime(t); - if (s != NULL) - return s; - - // Debugging. - fprintf(stderr, "Can't convert to localtime 0x%jx (%s)\n", - (intmax_t)*t, strerror(errno)); - /*123456789012345678901234*/ - return "preposterous clock time\n"; -} - -int -ask_yesno(const char* msgtxt) -{ - arg_rv p; - - p.arg = __UNCONST(msgtxt); - p.rv = -1; - - process_menu(MENU_yesno, &p); - return p.rv; -} - -int -ask_noyes(const char *msgtxt) -{ - arg_rv p; - - p.arg = __UNCONST(msgtxt); - p.rv = -1; - - process_menu(MENU_noyes, &p); - return p.rv; -} - -int -ask_reedit(const struct disk_partitions *parts) -{ - const char *args[2]; - arg_rep_int arg; - - args[0] = msg_string(parts->pscheme->name); - args[1] = msg_string(parts->pscheme->short_name); - arg.args.argv = args; - arg.args.argc = 2; - arg.rv = 0; - process_menu(MENU_reedit, &arg); - - return arg.rv; -} - -bool -use_tgz_for_set(const char *set_name) -{ - const struct distinfo *dist; - - for (dist = dist_list; dist->set != SET_LAST; dist++) { - if (dist->name == NULL) - continue; - if (strcmp(set_name, dist->name) == 0) - return dist->force_tgz; - } - - return true; -} - -/* Return the postfix used for a given set */ -const char * -set_postfix(const char *set_name) -{ - return use_tgz_for_set(set_name) ? dist_tgz_postfix : dist_postfix; -} - -/* - * Replace positional arguments (encoded as $0 .. $N) in the string - * passed by the contents of the passed argument array. - * Caller must free() the result string. - */ -char* -str_arg_subst(const char *src, size_t argc, const char **argv) -{ - const char *p, *last; - char *out, *t; - size_t len; - - len = strlen(src); - for (p = strchr(src, '$'); p; p = strchr(p+1, '$')) { - char *endp = NULL; - size_t n; - int e; - - /* $ followed by a correct numeric position? */ - n = strtou(p+1, &endp, 10, 0, INT_MAX, &e); - if ((e == 0 || e == ENOTSUP) && n < argc) { - len += strlen(argv[n]); - len -= endp-p; - p = endp-1; - } - } - - out = malloc(len+1); - if (out == NULL) - return NULL; - - t = out; - for (last = src, p = strchr(src, '$'); p; p = strchr(p+1, '$')) { - char *endp = NULL; - size_t n; - int e; - - /* $ followed by a correct numeric position? */ - n = strtou(p+1, &endp, 10, 0, INT_MAX, &e); - if ((e == 0 || e == ENOTSUP) && n < argc) { - size_t l = p-last; - memcpy(t, last, l); - t += l; - strcpy(t, argv[n]); - t += strlen(argv[n]); - last = endp; - } - } - if (*last) { - strcpy(t, last); - t += strlen(last); - } else { - *t = 0; - } - assert((size_t)(t-out) == len); - - return out; -} - -/* - * Does this string have any positional args that need expanding? - */ -bool -needs_expanding(const char *src, size_t argc) -{ - const char *p; - - for (p = strchr(src, '$'); p; p = strchr(p+1, '$')) { - char *endp = NULL; - size_t n; - int e; - - /* $ followed by a correct numeric position? */ - n = strtou(p+1, &endp, 10, 0, INT_MAX, &e); - if ((e == 0 || e == ENOTSUP) && n < argc) - return true; - } - return false; -} - -/* - * Replace positional arguments (encoded as $0 .. $N) in the - * message by the strings passed as ... and call outfunc - * with the result. - */ -static void -msg_display_subst_internal(void (*outfunc)(msg), - const char *master, size_t argc, va_list ap) -{ - const char **args, **arg; - char *out; - - args = calloc(argc, sizeof(*args)); - if (args == NULL) - return; - - arg = args; - for (size_t i = 0; i < argc; i++) - *arg++ = va_arg(ap, const char*); - - out = str_arg_subst(msg_string(master), argc, args); - if (out != NULL) { - outfunc(out); - free(out); - } - free(args); -} - -/* - * Replace positional arguments (encoded as $0 .. $N) in the - * message by the strings passed as ... - */ -void -msg_display_subst(const char *master, size_t argc, ...) -{ - va_list ap; - - va_start(ap, argc); - msg_display_subst_internal(msg_display, master, argc, ap); - va_end(ap); -} - -/* - * Same as above, but add to message instead of starting a new one - */ -void -msg_display_add_subst(const char *master, size_t argc, ...) -{ - va_list ap; - - va_start(ap, argc); - msg_display_subst_internal(msg_display_add, master, argc, ap); - va_end(ap); -} - -/* initialize have_* variables */ -void -check_available_binaries(void) -{ - static int did_test = false; - - if (did_test) return; - did_test = 1; - - have_raid = binary_available("raidctl"); - have_vnd = binary_available("vndconfig"); - have_cgd = binary_available("cgdconfig"); - have_lvm = binary_available("lvm"); - have_gpt = binary_available("gpt"); - have_dk = binary_available("dkctl"); -} - -/* - * Wait for enter and immediately clear the screen after user response - * (in case some longer action follows, so the user has instant feedback) - */ -void -hit_enter_to_continue(const char *prompt, const char *title) -{ - if (prompt != NULL) - msg_display(prompt); - process_menu(MENU_ok, __UNCONST(title)); - msg_clear(); - wrefresh(mainwin); -} - -/* - * On auto pilot: - * convert an existing set of partitions ot a list of part_usage_info - * so that we "want" exactly what is there already. - */ -static bool -usage_info_list_from_parts(struct part_usage_info **list, size_t *count, - struct disk_partitions *parts) -{ - struct disk_part_info info; - part_id pno; - size_t no, num; - - num = 0; - for (pno = 0; pno < parts->num_part; pno++) { - if (!parts->pscheme->get_part_info(parts, pno, &info)) - continue; - num++; - } - - *list = calloc(num, sizeof(**list)); - if (*list == NULL) - return false; - - *count = num; - for (no = pno = 0; pno < parts->num_part && no < num; pno++) { - if (!parts->pscheme->get_part_info(parts, pno, &info)) - continue; - (*list)[no].size = info.size; - if (info.last_mounted != NULL && *info.last_mounted != 0) { - strlcpy((*list)[no].mount, info.last_mounted, - sizeof((*list)[no].mount)); - (*list)[no].instflags |= PUIINST_MOUNT; - } - (*list)[no].parts = parts; - (*list)[no].cur_part_id = pno; - (*list)[no].cur_start = info.start; - (*list)[no].cur_flags = info.flags; - (*list)[no].type = info.nat_type->generic_ptype; - if ((*list)[no].type == PT_swap) { - (*list)[no].fs_type = FS_SWAP; - (*list)[no].fs_version = 0; - } else { - (*list)[no].fs_type = info.fs_type; - (*list)[no].fs_version = info.fs_sub_type; - } - (*list)[no].fs_opt1 = info.fs_opt1; - (*list)[no].fs_opt2 = info.fs_opt2; - (*list)[no].fs_opt3 = info.fs_opt3; - no++; - } - return true; -} - -bool -empty_usage_set_from_parts(struct partition_usage_set *wanted, - struct disk_partitions *parts) -{ - usage_set_from_parts(wanted, parts); - return true; -} - -bool -usage_set_from_parts(struct partition_usage_set *wanted, - struct disk_partitions *parts) -{ - memset(wanted, 0, sizeof(*wanted)); - wanted->parts = parts; - - return usage_info_list_from_parts(&wanted->infos, &wanted->num, parts); -} - -bool -usage_set_from_install_desc(struct partition_usage_set *pset, - const struct install_partition_desc *install, - struct disk_partitions *parts) -{ - size_t cnt, i; - - memset(pset, 0, sizeof(*pset)); - pset->parts = parts; - - if (!install->infos || !install->num) - return false; - - for (cnt = 0, i = 0; i < install->num; i++) { - if (install->infos[i].parts != parts) - continue; - cnt++; - } - if (!cnt) - return false; - pset->num = cnt; - pset->infos = calloc(cnt, sizeof(*pset->infos)); - if (!pset->infos) - return false; - for (cnt = 0, i = 0; i < install->num; i++) { - if (install->infos[i].parts != parts) - continue; - pset->infos[cnt] = install->infos[i]; - cnt++; - } - return true; -} - -bool -merge_usage_set_into_install_desc(struct install_partition_desc *install, - const struct partition_usage_set *pset) -{ - // XXX - return false; -} - -struct disk_partitions * -get_inner_parts(struct disk_partitions *parts) -{ - daddr_t start, size; - part_id pno; - struct disk_part_info info; - - if (parts->pscheme->secondary_scheme == NULL) - return NULL; - - start = -1; - size = -1; - if (parts->pscheme->guess_install_target == NULL || - !parts->pscheme->guess_install_target(parts, &start, &size)) { - for (pno = 0; pno < parts->num_part; pno++) { - if (!parts->pscheme->get_part_info(parts, pno, &info)) - continue; - if (!(info.flags & PTI_SEC_CONTAINER)) - continue; - start = info.start; - size = info.size; - } - } - - if (size > 0) - return parts->pscheme->secondary_partitions(parts, start, - false); - - return NULL; -} - -bool -install_desc_from_parts(struct install_partition_desc *install, - struct disk_partitions *parts) -{ - struct disk_partitions *inner_parts; - - memset(install, 0, sizeof(*install)); - inner_parts = get_inner_parts(parts); - if (inner_parts != NULL) - parts = inner_parts; - - return usage_info_list_from_parts(&install->infos, &install->num, - parts); -} - -void -free_usage_set(struct partition_usage_set *wanted) -{ - /* XXX - free parts? free clone src? */ - free(wanted->write_back); - free(wanted->menu_opts); - free(wanted->infos); -} - -void -free_install_desc(struct install_partition_desc *install) -{ - size_t i, j; - -#ifndef NO_CLONES - for (i = 0; i < install->num; i++) { - struct selected_partitions *src = install->infos[i].clone_src; - if (!(install->infos[i].flags & PUIFLG_CLONE_PARTS) || - src == NULL) - continue; - free_selected_partitions(src); - for (j = i+1; j < install->num; j++) - if (install->infos[j].clone_src == src) - install->infos[j].clone_src = NULL; - } -#endif - - for (i = 0; i < install->num; i++) { - struct disk_partitions * parts = install->infos[i].parts; - - if (parts == NULL) - continue; - - if (parts->pscheme->free) - parts->pscheme->free(parts); - - /* NULL all other references to this parts */ - for (j = i+1; j < install->num; j++) - if (install->infos[j].parts == parts) - install->infos[j].parts = NULL; - } - - free(install->write_back); - free(install->infos); -} - -#ifdef MD_MAY_SWAP_TO -bool -may_swap_if_not_sdmmc(const char *disk) -{ - int fd, res; - prop_dictionary_t command_dict, args_dict, results_dict, data_dict; - prop_string_t string; - prop_number_t number; - const char *parent = ""; - - fd = open(DRVCTLDEV, O_RDONLY, 0); - if (fd == -1) - return true; - - command_dict = prop_dictionary_create(); - args_dict = prop_dictionary_create(); - - string = prop_string_create_nocopy("get-properties"); - prop_dictionary_set(command_dict, "drvctl-command", string); - prop_object_release(string); - - string = prop_string_create_copy(disk); - prop_dictionary_set(args_dict, "device-name", string); - prop_object_release(string); - - prop_dictionary_set(command_dict, "drvctl-arguments", - args_dict); - prop_object_release(args_dict); - - res = prop_dictionary_sendrecv_ioctl(command_dict, fd, - DRVCTLCOMMAND, &results_dict); - prop_object_release(command_dict); - close(fd); - if (res) - return true; - - number = prop_dictionary_get(results_dict, "drvctl-error"); - if (prop_number_signed_value(number) == 0) { - data_dict = prop_dictionary_get(results_dict, - "drvctl-result-data"); - if (data_dict != NULL) { - string = prop_dictionary_get(data_dict, - "device-parent"); - if (string != NULL) - parent = prop_string_value(string); - } - } - - prop_object_release(results_dict); - - if (parent == NULL) - return true; - - return strncmp(parent, "sdmmc", 5) != 0; -} -#endif - -/* - * Redirect console output to the pty associated with master/slave - */ -void -redirect_console(int master, int slave) { - static int do_tioccons = 2; - /* Try to get console output into our pipe */ - if (do_tioccons) { - /* Turn off any existing console redirection */ - if (console_tty != -1) { - int off = 0; - ioctl(console_tty, TIOCCONS, &off); - console_tty = -1; - } - if (ioctl(slave, TIOCCONS, &do_tioccons) == 0) { - console_tty = slave; - if (do_tioccons == 2) { - /* test our output - we don't want it grabbed */ - write(1, " \b", 2); - ioctl(master, FIONREAD, &do_tioccons); - if (do_tioccons != 0) { - do_tioccons = 0; - ioctl(slave, TIOCCONS, &do_tioccons); - console_tty = -1; - } else - do_tioccons = 1; - } - } - } -} - -/* - * Redirect console output to nowhere - */ -void -discard_console_output(void) { - static int master = -1, slave = -1; - if (slave == -1) - /* Return value ignored */ - openpty(&master, &slave, NULL, NULL, NULL); - if (slave == -1) - return; - redirect_console(master, slave); -} diff --git a/overlay/usr.sbin/sysinst/wskbd.c b/overlay/usr.sbin/sysinst/wskbd.c deleted file mode 100644 index a8b4faa454..0000000000 --- a/overlay/usr.sbin/sysinst/wskbd.c +++ /dev/null @@ -1,153 +0,0 @@ -/* $NetBSD: wskbd.c,v 1.5 2021/01/31 22:45:47 rillig Exp $ */ - -/*- - * Copyright (c) 2003 The NetBSD Foundation, Inc. - * All rights reserved. - * - * This code is derived from software contributed to The NetBSD Foundation - * by David Laight. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ - -#include -__RCSID("$NetBSD: wskbd.c,v 1.5 2021/01/31 22:45:47 rillig Exp $"); - -#include -#include -#include -#include -#include -#include - -#include "defs.h" -#include "menu_defs.h" -#include "msg_defs.h" -void save_kb_encoding(void); - -/* wscons setup for sysinst */ - -static const char *kbd_name = 0; -static int kb_default = 0; - -struct kb_types { - kbd_t kb_encoding; - const char *kb_enc_txt; - const char *kb_name; -}; - -/* Types and names of keyboards, maybe the names should be translated... */ -static const struct kb_types kb_types[] = { -#define KB_sysinst(tag, tagf, value, cc, ccf, country) \ - {tag | tagf, cc ccf, country}, -KB_ENC_FUN(KB_sysinst) -{KB_US | KB_COLEMAK, "us" ".colemak", "US-Colemak"}, -{KB_US | KB_DVORAK, "us" ".dvorak", "US-Dvorak"} -}; - -static int -set_kb_encoding(menudesc *m, void *arg) -{ - int fd = *(int *)arg; - const struct kb_types *kbt = kb_types + m->cursel; - - if (kbt->kb_encoding != KB_USER) { - ioctl(fd, WSKBDIO_SETENCODING, &kbt->kb_encoding); - kbd_name = kbt->kb_enc_txt; - } - return 1; -} - -static void -set_kb_default(menudesc *m, void *arg) -{ - m->cursel = kb_default; -} - -void -get_kb_encoding(void) -{ - int fd; - unsigned int i; - int kb_menu; - kbd_t kbdencoding; - menu_ent opt[__arraycount(kb_types)]; - const char *dflt = msg_string(MSG_kb_default); - - /* - * Check if we are running on a wscons keyboard at all, - * do not bother to try changing the layout if not. - */ - if (ioctl(0, WSKBDIO_GTYPE, &i) == -1) - return; - - memset(opt, 0, sizeof(opt)); - fd = open("/dev/wskbd0", O_WRONLY); - if (fd < 0) - return; - if (ioctl(fd, WSKBDIO_GETENCODING, &kbdencoding) >= 0) { - memset(&opt, 0, sizeof opt); - for (i = 0; i < __arraycount(opt); i++) { - if (kb_types[i].kb_encoding == KB_USER) - opt[0].opt_name = MSG_unchanged; - else { - opt[i].opt_name = kb_types[i].kb_name; - if (strcmp(kb_types[i].kb_name, dflt) == 0) - kb_default = i; - } - opt[i].opt_action = set_kb_encoding; - } - kb_menu = new_menu(MSG_Keyboard_type, opt, __arraycount(opt), - -1, -8, 0, 0, - MC_SCROLL | MC_NOEXITOPT, - set_kb_default, NULL, NULL, NULL, NULL); - if (kb_menu != -1) { - msg_display(MSG_hello); - process_menu(kb_menu, &fd); - free_menu(kb_menu); - } - } - close(fd); -} - -void -save_kb_encoding(void) -{ - const char *tp = target_prefix(); - - if (kbd_name == NULL) - return; - /* - * Put the keyboard encoding into the wscons.conf file. Either: - * 1) replace an existing line - * 2) replace a commented out line - * or - * 3) add a line to the end of the file - */ - run_program(0, "sed -an -e 'H;$!d;g'" - " -e 's/\\nencoding [a-zA-Z0-9.]*\\n/\\\nencoding %s\\\n/; t done'" - " -e 's/\\n#encoding [a-zA-Z0-9.]*\\n/\\\nencoding %s\\\n/; t done'" - " -e 's/$/\\\nencoding %s/'" - " -e ':done'" - " -e 'w %s/etc/wscons.conf' %s/etc/wscons.conf", - kbd_name, kbd_name, kbd_name, tp, tp); -} diff --git a/packages.list b/packages.list index 2feb0a5215..496c6f8de8 100644 --- a/packages.list +++ b/packages.list @@ -6,3 +6,13 @@ devel/flex editors/vim wm/cde devel/git-base + +# X comes from pkgsrc (X11_TYPE=modular): the base has no xsrc any more. +x11/xorg-server +x11/xinit +x11/xterm +x11/xauth +x11/xrdb +x11/xsetroot +x11/xmodmap +x11/xhost diff --git a/patches/AGENTS.md b/patches/AGENTS.md deleted file mode 100644 index fd3a11ce02..0000000000 --- a/patches/AGENTS.md +++ /dev/null @@ -1,36 +0,0 @@ -# patches/ -- everything we change in the imports - -`src/`, `xsrc/` and `pkgsrc/` are upstream imports at a pinned commit -(root `AGENTS.md`, "The imports"). We never edit them without recording the -edit here. A change that is not in a patch does not exist: an upgrade of the -import is a rebase of this directory. - -A directory we really rework is not a patch but an overlay unit -(`../overlay/AGENTS.md`); a patch is for a small edit to a file NetBSD owns. -Never both for the same directory. - -## Layout - -- `src/` -- patches for `src/` (NetBSD), applied in filename order. -- `xsrc/` -- patches for `xsrc/`. Empty today. -- `unused/` -- patches that are not applied; kept as reference. -- There is no `pkgsrc/` here: pkgsrc is configured from outside - (`tools/pkgsrc-cross.mk.conf`), not patched. - -## Rules - -- File name `NNNN-short-description.patch`, numbers ascending, never reused. -- Format: `patch -p1` from the root of the tree it targets, `a/` and `b/` - prefixes. A new patch starts with a comment that says which NetBSD pattern - the change follows, with file and line, and why a patch is needed at all - (0007 is the model). 0004 predates the rule: its reasoning is a comment - inside the diff, with no header. -- A patch changes one thing. Patches may stack on one file; then they are - applied and reversed in order (reverse: last first, `--dry-run` before). -- Check before you commit one: `patch -p1 --dry-run` on the tree without it - applied, and the build. -- A patch that breaks a NetBSD convention is a finding for the report, not a - quiet change. -- Never apply, remove or edit by `git checkout|reset|clean` in an import. - -See `tools/apply-patches.sh` and its defect (`tools/AGENTS.md`). diff --git a/patches/src/0001-sets-makronix-set.patch b/patches/src/0001-sets-makronix-set.patch deleted file mode 100644 index 60e6eb4368..0000000000 --- a/patches/src/0001-sets-makronix-set.patch +++ /dev/null @@ -1,2264 +0,0 @@ -# sets: a "makronix" set for what pkgsrc installs under /usr/pkg. -# -# NetBSD pattern: a set is a row in distrib/sets/sets.subr and a generated -# list under distrib/sets/lists/; checkflist is the gate, and anything no set -# lists is reported as extra. /usr/pkg/pkgdb is ignored the way var/db/syspkg -# is, because it is the registration database of the build, not a set member. -# -# Applies to src/ at the pinned import with patch -p1. -diff --git a/distrib/sets/checkflist b/distrib/sets/checkflist -index b6124f433..969048e0c 100755 ---- a/distrib/sets/checkflist -+++ b/distrib/sets/checkflist -@@ -93,18 +93,25 @@ shift $((${OPTIND} - 1)) - # Exceptions to flist checking (all begin with "./"): - # - # * ignore var/db/syspkg and its contents -+# * ignore usr/pkg/pkgdb and its contents - # * ignore METALOG and METALOG.* - # * ignore etc/mtree/set.* - # - ignore_exceptions() - { - IGNORE_REGEXP_SYSPKG="^\./var/db/syspkg(\$|/)" -+# usr/pkg/pkgdb is pkgsrc's registration database for the build, in the same -+# way var/db/syspkg is syspkg's: it is written by pkg_add -p while packages are -+# installed into the sysroot and belongs to no set. The "makronix" set lists -+# what the packages install, not what the build registered. -+IGNORE_REGEXP_PKGDB="^\./usr/pkg/pkgdb(\$|/)" - IGNORE_REGEXP_METALOG="^\./METALOG(\..*)?\$" - IGNORE_REGEXP_SETS="^\./SETS\..*\$" - IGNORE_REGEXP_MTREE="^\./etc/mtree/set\.[a-z]*\$" - - ${EGREP} -v \ - -e "${IGNORE_REGEXP_SYSPKG}" \ -+ -e "${IGNORE_REGEXP_PKGDB}" \ - -e "${IGNORE_REGEXP_METALOG}" \ - -e "${IGNORE_REGEXP_SETS}" \ - -e "${IGNORE_REGEXP_MTREE}" -diff --git a/distrib/sets/lists/makronix/mi b/distrib/sets/lists/makronix/mi -new file mode 100644 -index 000000000..eab09bfea ---- /dev/null -+++ b/distrib/sets/lists/makronix/mi -@@ -0,0 +1,2203 @@ -+# $Makronix$ -+# -+# The "makronix" set: what pkgsrc built for the target and installed under -+# /usr/pkg. Generated by tools/makronix-set.sh -- do not edit by hand, the -+# file follows the installed packages. Entries are kept when a package is -+# removed, marked "obsolete", as in the NetBSD lists. -+# -+# Note: ./usr/pkg/pkgdb is deliberately absent: it is pkgsrc's registration -+# database for the build, not part of the distribution (checkflist -+# ignores it, like var/db/syspkg). -+# -+./etc/mtree/set.makronix makronix-sys-root -+./usr/pkg makronix-sys-root -+./usr/pkg/bin makronix-sys-root -+./usr/pkg/bin/rview makronix-util-bin -+./usr/pkg/bin/rvim makronix-util-bin -+./usr/pkg/bin/vim makronix-util-bin -+./usr/pkg/bin/vimdiff makronix-util-bin -+./usr/pkg/bin/vimtutor makronix-util-bin -+./usr/pkg/bin/xxd makronix-util-bin -+./usr/pkg/man makronix-sys-root -+./usr/pkg/man/man1 makronix-sys-root -+./usr/pkg/man/man1/evim.1 makronix-util-data -+./usr/pkg/man/man1/vim.1 makronix-util-data -+./usr/pkg/man/man1/vimdiff.1 makronix-util-data -+./usr/pkg/man/man1/vimtutor.1 makronix-util-data -+./usr/pkg/man/man1/xxd.1 makronix-util-data -+./usr/pkg/share makronix-sys-root -+./usr/pkg/share/vim makronix-sys-root -+./usr/pkg/share/vim/vim92 makronix-sys-root -+./usr/pkg/share/vim/vim92/LICENSE makronix-util-data -+./usr/pkg/share/vim/vim92/README.txt makronix-util-data -+./usr/pkg/share/vim/vim92/autoload makronix-sys-root -+./usr/pkg/share/vim/vim92/autoload/README.txt makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/RstFold.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/ada.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/adacomplete.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/beancount.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/beancountcomplete.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/bitbake.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/cargo makronix-sys-root -+./usr/pkg/share/vim/vim92/autoload/cargo.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/cargo/quickfix.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/ccomplete.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/clojurecomplete.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/context.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/contextcomplete.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/csscomplete.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/decada.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/dist makronix-sys-root -+./usr/pkg/share/vim/vim92/autoload/dist/ft.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/dist/json.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/dist/man.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/dist/script.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/dist/vim.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/dist/vim9.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/dist/vimindent.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/freebasic.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/getscript.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/gnat.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/gzip.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/hare.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/haskellcomplete.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/hcl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/htmlcomplete.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/htmlfold.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/javaformat.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/javascriptcomplete.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/modula2.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/paste.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/phpcomplete.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/python.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/python3complete.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/pythoncomplete.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/racket.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/rubycomplete.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/rust makronix-sys-root -+./usr/pkg/share/vim/vim92/autoload/rust.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/rust/debugging.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/rustfmt.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/spellfile.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/spotbugs.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/sqlcomplete.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/syntaxcomplete.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/tar.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/tohtml.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/tutor.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/typeset.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/typst.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/vimball.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/vimcomplete.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/vimgoto.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/xml makronix-sys-root -+./usr/pkg/share/vim/vim92/autoload/xml/html32.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/xml/html401f.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/xml/html401s.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/xml/html401t.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/xml/html40f.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/xml/html40s.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/xml/html40t.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/xml/xhtml10f.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/xml/xhtml10s.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/xml/xhtml10t.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/xml/xhtml11.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/xml/xsd.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/xml/xsl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/xmlcomplete.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/xmlformat.vim makronix-util-data -+./usr/pkg/share/vim/vim92/autoload/zip.vim makronix-util-data -+./usr/pkg/share/vim/vim92/bugreport.vim makronix-util-data -+./usr/pkg/share/vim/vim92/colors makronix-sys-root -+./usr/pkg/share/vim/vim92/colors/README.txt makronix-util-data -+./usr/pkg/share/vim/vim92/colors/blue.vim makronix-util-data -+./usr/pkg/share/vim/vim92/colors/catppuccin.vim makronix-util-data -+./usr/pkg/share/vim/vim92/colors/darkblue.vim makronix-util-data -+./usr/pkg/share/vim/vim92/colors/default.vim makronix-util-data -+./usr/pkg/share/vim/vim92/colors/delek.vim makronix-util-data -+./usr/pkg/share/vim/vim92/colors/desert.vim makronix-util-data -+./usr/pkg/share/vim/vim92/colors/elflord.vim makronix-util-data -+./usr/pkg/share/vim/vim92/colors/evening.vim makronix-util-data -+./usr/pkg/share/vim/vim92/colors/habamax.vim makronix-util-data -+./usr/pkg/share/vim/vim92/colors/industry.vim makronix-util-data -+./usr/pkg/share/vim/vim92/colors/koehler.vim makronix-util-data -+./usr/pkg/share/vim/vim92/colors/lists makronix-sys-root -+./usr/pkg/share/vim/vim92/colors/lists/csscolors.vim makronix-util-data -+./usr/pkg/share/vim/vim92/colors/lists/default.vim makronix-util-data -+./usr/pkg/share/vim/vim92/colors/lunaperche.vim makronix-util-data -+./usr/pkg/share/vim/vim92/colors/morning.vim makronix-util-data -+./usr/pkg/share/vim/vim92/colors/murphy.vim makronix-util-data -+./usr/pkg/share/vim/vim92/colors/novum.vim makronix-util-data -+./usr/pkg/share/vim/vim92/colors/pablo.vim makronix-util-data -+./usr/pkg/share/vim/vim92/colors/peachpuff.vim makronix-util-data -+./usr/pkg/share/vim/vim92/colors/quiet.vim makronix-util-data -+./usr/pkg/share/vim/vim92/colors/retrobox.vim makronix-util-data -+./usr/pkg/share/vim/vim92/colors/ron.vim makronix-util-data -+./usr/pkg/share/vim/vim92/colors/shine.vim makronix-util-data -+./usr/pkg/share/vim/vim92/colors/slate.vim makronix-util-data -+./usr/pkg/share/vim/vim92/colors/sorbet.vim makronix-util-data -+./usr/pkg/share/vim/vim92/colors/tools makronix-sys-root -+./usr/pkg/share/vim/vim92/colors/tools/check_colors.vim makronix-util-data -+./usr/pkg/share/vim/vim92/colors/torte.vim makronix-util-data -+./usr/pkg/share/vim/vim92/colors/unokai.vim makronix-util-data -+./usr/pkg/share/vim/vim92/colors/wildcharm.vim makronix-util-data -+./usr/pkg/share/vim/vim92/colors/zaibatsu.vim makronix-util-data -+./usr/pkg/share/vim/vim92/colors/zellner.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler makronix-sys-root -+./usr/pkg/share/vim/vim92/compiler/README.txt makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/ant.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/bash.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/bcc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/bdf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/bean_check.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/biome.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/cabal.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/cargo.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/checkstyle.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/cm3.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/context.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/cppcheck.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/cs.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/csslint.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/cucumber.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/dart.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/dart2js.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/dart2native.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/dartanalyser.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/dartdevc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/dartdoc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/dartfmt.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/decada.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/dot.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/dotnet.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/erlang.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/eruby.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/eslint.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/fbc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/fortran_F.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/fortran_cv.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/fortran_elf90.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/fortran_g77.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/fortran_lf95.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/fpc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/g95.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/gawk.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/gcc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/gfortran.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/ghc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/gjs.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/gleam_build.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/gm2.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/gnat.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/go.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/groff.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/haml.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/hare.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/hp_acc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/iar.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/icc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/icon.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/ifort.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/intel.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/irix5_c.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/irix5_cpp.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/javac.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/jest.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/jikes.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/jjs.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/jq.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/jshint.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/jsonlint.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/just.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/make.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/maven.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/mcs.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/mips_c.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/mipspro_c89.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/mipspro_cpp.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/modelsim_vcom.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/msbuild.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/msvc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/mypy.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/neato.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/ocaml.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/onsgmls.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/pandoc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/pbx.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/perl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/perlcritic.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/php.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/phpstan.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/pip_compile.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/podchecker.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/powershell.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/pylint.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/pyright.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/pytest.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/pyunit.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/raco.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/racomake.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/racosetup.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/racotest.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/rake.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/rhino.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/rime_deployer.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/rspec.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/rst.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/rubocop.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/ruby.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/rubyunit.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/ruff.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/rustc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/sass.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/scdoc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/se.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/shellcheck.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/sml.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/spectral.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/splint.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/spotbugs.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/stack.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/standard.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/stylelint.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/svelte-check.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/tcl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/tex.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/tidy.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/tombi.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/ts-node.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/tsc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/ty.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/typedoc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/typst.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/vimdoc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/xbuild.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/xmllint.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/xmlwf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/xo.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/yamllint.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/zig.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/zig_build.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/zig_build_exe.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/zig_cc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/zig_test.vim makronix-util-data -+./usr/pkg/share/vim/vim92/compiler/zsh.vim makronix-util-data -+./usr/pkg/share/vim/vim92/defaults.vim makronix-util-data -+./usr/pkg/share/vim/vim92/delmenu.vim makronix-util-data -+./usr/pkg/share/vim/vim92/doc makronix-sys-root -+./usr/pkg/share/vim/vim92/doc/arabic.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/autocmd.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/builtin.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/change.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/channel.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/cmdline.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/debug.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/debugger.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/develop.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/diff.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/digraph.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/editing.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/eval.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/farsi.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/filetype.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/fold.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/ft_ada.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/ft_context.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/ft_hare.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/ft_mp.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/ft_ps1.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/ft_raku.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/ft_rust.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/ft_sql.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/gui.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/gui_w32.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/gui_x11.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/hangulin.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/hebrew.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/help.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/helphelp.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/howto.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/if_cscop.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/if_lua.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/if_mzsch.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/if_ole.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/if_perl.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/if_pyth.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/if_ruby.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/if_sniff.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/if_tcl.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/indent.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/index.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/insert.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/intro.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/map.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/mbyte.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/message.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/mlang.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/motion.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/netbeans.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/options.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/os_390.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/os_amiga.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/os_beos.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/os_dos.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/os_haiku.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/os_mac.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/os_mint.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/os_msdos.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/os_os2.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/os_qnx.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/os_risc.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/os_unix.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/os_vms.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/os_win32.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/pattern.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/pi_getscript.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/pi_gzip.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/pi_logipat.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/pi_netrw.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/pi_paren.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/pi_spec.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/pi_tar.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/pi_tutor.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/pi_vimball.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/pi_zip.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/popup.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/print.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/quickfix.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/quickref.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/quotes.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/recover.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/remote.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/repeat.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/rileft.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/russian.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/scroll.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/sign.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/spell.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/sponsor.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/starting.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/syntax.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/tabpage.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/tags makronix-util-data -+./usr/pkg/share/vim/vim92/doc/tagsrch.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/term.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/terminal.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/testing.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/textprop.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/tips.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/todo.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/uganda.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/undo.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/userfunc.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/usr_01.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/usr_02.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/usr_03.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/usr_04.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/usr_05.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/usr_06.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/usr_07.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/usr_08.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/usr_09.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/usr_10.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/usr_11.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/usr_12.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/usr_20.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/usr_21.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/usr_22.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/usr_23.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/usr_24.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/usr_25.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/usr_26.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/usr_27.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/usr_28.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/usr_29.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/usr_30.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/usr_31.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/usr_32.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/usr_40.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/usr_41.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/usr_42.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/usr_43.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/usr_44.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/usr_45.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/usr_50.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/usr_51.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/usr_52.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/usr_90.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/usr_toc.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/various.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/version4.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/version5.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/version6.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/version7.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/version8.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/version9.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/vi_diff.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/vietnamese.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/vim2html.pl makronix-util-data -+./usr/pkg/share/vim/vim92/doc/vim9.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/vim9class.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/visual.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/wayland.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/windows.txt makronix-util-data -+./usr/pkg/share/vim/vim92/doc/workshop.txt makronix-util-data -+./usr/pkg/share/vim/vim92/evim.vim makronix-util-data -+./usr/pkg/share/vim/vim92/filetype.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftoff.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin makronix-sys-root -+./usr/pkg/share/vim/vim92/ftplugin.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/8th.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/README.txt makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/a2ps.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/aap.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/abap.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/abaqus.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/abnf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/ada.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/algol68.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/alsaconf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/ant.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/antlr4.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/apache.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/arch.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/arduino.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/art.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/asciidoc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/asm.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/aspvbs.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/astro.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/asy.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/autohotkey.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/automake.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/autopkgtest.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/awk.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/bash.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/basic.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/bazelrc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/bdf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/beancount.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/bicep-params.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/bicep.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/bindzone.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/bitbake.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/bp.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/bpftrace.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/brighterscript.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/brightscript.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/bst.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/btm.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/bzl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/c.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/c3.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/cabal.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/calendar.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/cdrdaoconf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/cedar.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/cfg.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/cgdbrc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/ch.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/changelog.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/chatito.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/chicken.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/clojure.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/cmake.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/cmakecache.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/cobol.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/codeowners.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/conf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/config.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/confini.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/context.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/cook.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/corn.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/cpp.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/crm.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/crontab.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/cs.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/csc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/csh.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/css.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/csv.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/cucumber.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/cuda.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/cvsrc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/dart.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/dax.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/deb822sources.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/debchangelog.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/debcontrol.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/debsources.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/denyhosts.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/desktop.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/dictconf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/dictdconf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/diff.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/dircolors.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/dnsmasq.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/docbk.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/dockerfile.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/dosbatch.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/dosini.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/dtd.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/dtrace.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/dts.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/dune.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/editorconfig.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/eiffel.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/elinks.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/elixir.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/elm.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/env.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/erlang.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/eruby.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/eterm.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/expect.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/exports.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/falcon.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/fennel.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/fetchmail.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/fga.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/fish.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/flexwiki.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/forth.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/fortran.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/fpcmake.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/framescript.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/freebasic.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/fstab.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/fvwm.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/gdb.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/gdscript.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/gdshader.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/gel.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/ghostty.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/git.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/gitattributes.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/gitcommit.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/gitconfig.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/gitignore.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/gitrebase.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/gitrevlist.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/gitsendemail.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/gleam.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/go.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/goaccess.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/gomod.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/gpg.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/gprof.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/graphql.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/groff.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/groovy.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/group.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/grub.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/gyp.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/haml.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/hamster.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/hare.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/haredoc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/haskell.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/hcl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/heex.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/help.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/hgcommit.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/hip.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/hlsl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/hlsplaylist.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/hog.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/hostconf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/hostsaccess.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/html.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/htmlangular.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/htmldjango.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/http.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/hurl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/hyprlang.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/i3config.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/icalendar.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/icon.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/idris2.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/indent.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/initex.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/ipkg.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/ishd.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/j.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/java.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/javacc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/javascript.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/javascriptreact.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/jinja.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/jjdescription.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/jproperties.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/jq.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/json.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/json5.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/jsonc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/jsonld.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/jsonnet.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/jsp.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/julia.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/just.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/karel.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/kconfig.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/kdl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/kerml.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/kitty.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/kivy.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/kotlin.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/kwt.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/lc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/ld.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/ldapconf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/leex.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/leo.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/less.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/lex.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/lf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/lftp.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/libao.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/limits.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/liquid.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/lisp.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/livebook.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/llvm.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/lnk.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/lnkmap.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/logcheck.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/loginaccess.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/logindefs.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/logtalk.dict makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/logtalk.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/lprolog.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/lua.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/luau.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/lynx.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/m17ndb.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/m3build.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/m3quake.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/m4.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/mail.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/mailaliases.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/mailcap.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/make.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/man.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/manconf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/markdown.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/masm.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/matlab.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/mbsync.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/mediawiki.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/mermaid.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/meson.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/mf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/mlir.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/mma.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/modconf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/modula2.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/modula3.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/mojo.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/mp.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/mplayerconf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/mrxvtrc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/msmessages.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/mss.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/muttrc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/mysql.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/nanorc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/nasm.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/neomuttrc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/netrc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/nginx.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/nickel.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/nim.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/nix.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/nroff.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/nsis.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/nu.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/objc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/objcpp.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/objdump.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/obse.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/ocaml.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/occam.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/octave.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/odin.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/ondir.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/opencl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/openscad.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/openvpn.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/org.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/pamconf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/pascal.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/passwd.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/pbtxt.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/pdf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/perl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/php.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/pinfo.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/pkl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/plaintex.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/plsql.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/pod.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/poefilter.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/poke.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/postscr.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/pq.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/prisma.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/procmail.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/prolog.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/proto.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/protocols.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/ps1.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/ps1xml.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/ptx.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/purescript.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/pymanifest.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/pyrex.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/python.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/qb64.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/qf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/qml.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/quake.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/quarto.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/r.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/racc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/racket.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/radvd.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/raku.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/rasi.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/readline.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/registry.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/remind.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/requirements.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/rescript.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/reva.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/rhelp.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/rmd.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/rnc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/rnoweb.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/robot.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/roc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/routeros.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/rpl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/rrst.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/rst.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/ruby.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/rust.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/samba.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/sass.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/sbt.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/scala.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/scdoc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/scheme.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/screen.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/scss.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/sed.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/sensors.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/services.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/setserial.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/sexplib.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/sgml.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/sh.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/shaderslang.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/sieve.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/skhd.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/slint.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/slpconf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/slpreg.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/slpspi.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/sml.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/snakemake.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/solidity.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/solution.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/soy.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/spajson.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/spec.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/sql.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/squirrel.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/ssa.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/sshconfig.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/sshdconfig.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/stylus.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/sudoers.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/svelte.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/svg.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/sway.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/swayconfig.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/swift.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/swiftgyb.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/swig.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/sysctl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/sysml.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/systemd.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/systemverilog.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/tap.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/tcl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/tcsh.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/tera.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/terminfo.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/terraform.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/tex.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/text.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/tf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/thrift.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/tiasm.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/tidy.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/tmux.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/tolk.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/toml.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/treetop.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/tt2html.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/tutor.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/twig.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/typescript.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/typescriptreact.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/typst.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/uc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/uci.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/udevconf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/udevperm.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/udevrules.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/unison.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/updatedb.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/urlshortcut.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/usd.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/v.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/vb.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/vdf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/verilog.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/vhdl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/vim.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/vroom.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/vue.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/wat.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/wget.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/wget2.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/wks.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/xcompose.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/xdefaults.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/xf86conf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/xhtml.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/xinetd.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/xkb.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/xml.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/xmodmap.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/xs.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/xsd.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/xslt.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/yacc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/yaml.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/yara.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/zathurarc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/zig.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/zimbu.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugin/zsh.vim makronix-util-data -+./usr/pkg/share/vim/vim92/ftplugof.vim makronix-util-data -+./usr/pkg/share/vim/vim92/gvimrc_example.vim makronix-util-data -+./usr/pkg/share/vim/vim92/import makronix-sys-root -+./usr/pkg/share/vim/vim92/import/dist makronix-sys-root -+./usr/pkg/share/vim/vim92/import/dist/vimhelp.vim makronix-util-data -+./usr/pkg/share/vim/vim92/import/dist/vimhighlight.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent makronix-sys-root -+./usr/pkg/share/vim/vim92/indent.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/README.txt makronix-util-data -+./usr/pkg/share/vim/vim92/indent/aap.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/ada.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/ant.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/arduino.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/astro.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/automake.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/awk.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/bash.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/basic.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/beancount.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/bib.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/bitbake.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/bpftrace.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/bst.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/bzl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/c.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/cabal.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/cdl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/ch.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/chaiscript.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/changelog.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/chatito.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/clojure.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/cmake.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/cobol.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/config.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/context.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/cpp.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/cs.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/css.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/cucumber.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/cuda.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/d.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/dictconf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/dictdconf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/docbk.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/dosbatch.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/dtd.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/dtrace.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/dts.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/dune.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/dylan.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/eiffel.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/elm.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/erlang.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/eruby.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/eterm.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/expect.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/falcon.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/fennel.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/fish.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/fortran.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/framescript.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/freebasic.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/gdscript.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/gitconfig.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/gitolite.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/glsl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/go.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/graphql.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/gyp.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/haml.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/hamster.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/handlebars.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/hare.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/hcl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/hip.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/hlsl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/hog.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/html.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/htmldjango.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/idlang.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/idris2.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/ishd.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/j.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/java.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/javascript.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/javascriptreact.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/json.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/json5.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/jsonc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/jsonld.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/jsp.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/julia.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/just.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/karel.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/kdl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/kotlin.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/krl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/ld.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/less.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/lf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/lifelines.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/liquid.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/lisp.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/livebook.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/logtalk.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/lua.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/luau.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/m17ndb.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/mail.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/make.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/matlab.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/meson.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/mf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/mma.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/mojo.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/mp.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/nginx.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/nsis.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/nu.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/objc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/obse.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/ocaml.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/occam.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/odin.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/pascal.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/perl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/php.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/postscr.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/pov.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/prolog.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/proto.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/ps1.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/pyrex.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/python.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/qb64.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/qml.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/quarto.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/r.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/racket.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/raku.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/raml.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/rapid.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/readline.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/rhelp.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/rmd.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/rnoweb.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/rpl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/rrst.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/rst.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/ruby.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/rust.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/sas.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/sass.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/scala.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/scheme.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/scss.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/sdl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/sh.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/sml.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/solidity.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/spajson.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/sql.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/sqlanywhere.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/sshconfig.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/stylus.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/systemverilog.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/tcl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/tcsh.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/teraterm.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/terraform.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/tex.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/tf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/thrift.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/tilde.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/treetop.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/typescript.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/typescriptreact.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/typst.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/vb.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/verilog.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/vhdl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/vim.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/vroom.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/vue.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/wat.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/xf86conf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/xhtml.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/xinetd.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/xml.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/xsd.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/xslt.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/yacc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/yaml.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/zig.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/zimbu.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indent/zsh.vim makronix-util-data -+./usr/pkg/share/vim/vim92/indoff.vim makronix-util-data -+./usr/pkg/share/vim/vim92/macros makronix-sys-root -+./usr/pkg/share/vim/vim92/macros/README.txt makronix-util-data -+./usr/pkg/share/vim/vim92/macros/editexisting.vim makronix-util-data -+./usr/pkg/share/vim/vim92/macros/hanoi makronix-sys-root -+./usr/pkg/share/vim/vim92/macros/hanoi/click.me makronix-util-data -+./usr/pkg/share/vim/vim92/macros/hanoi/hanoi.vim makronix-util-data -+./usr/pkg/share/vim/vim92/macros/hanoi/poster makronix-util-data -+./usr/pkg/share/vim/vim92/macros/justify.vim makronix-util-data -+./usr/pkg/share/vim/vim92/macros/less.bat makronix-util-data -+./usr/pkg/share/vim/vim92/macros/less.sh makronix-util-data -+./usr/pkg/share/vim/vim92/macros/less.vim makronix-util-data -+./usr/pkg/share/vim/vim92/macros/life makronix-sys-root -+./usr/pkg/share/vim/vim92/macros/life/click.me makronix-util-data -+./usr/pkg/share/vim/vim92/macros/life/life.vim makronix-util-data -+./usr/pkg/share/vim/vim92/macros/matchit.vim makronix-util-data -+./usr/pkg/share/vim/vim92/macros/maze makronix-sys-root -+./usr/pkg/share/vim/vim92/macros/maze/Makefile makronix-util-data -+./usr/pkg/share/vim/vim92/macros/maze/README.txt makronix-util-data -+./usr/pkg/share/vim/vim92/macros/maze/maze.c makronix-util-data -+./usr/pkg/share/vim/vim92/macros/maze/maze_5.78 makronix-util-data -+./usr/pkg/share/vim/vim92/macros/maze/maze_mac makronix-util-data -+./usr/pkg/share/vim/vim92/macros/maze/mazeansi.c makronix-util-data -+./usr/pkg/share/vim/vim92/macros/maze/mazeclean.c makronix-util-data -+./usr/pkg/share/vim/vim92/macros/maze/poster makronix-util-data -+./usr/pkg/share/vim/vim92/macros/shellmenu.vim makronix-util-data -+./usr/pkg/share/vim/vim92/macros/swapmous.vim makronix-util-data -+./usr/pkg/share/vim/vim92/macros/urm makronix-sys-root -+./usr/pkg/share/vim/vim92/macros/urm/README.txt makronix-util-data -+./usr/pkg/share/vim/vim92/macros/urm/examples makronix-util-data -+./usr/pkg/share/vim/vim92/macros/urm/urm makronix-util-data -+./usr/pkg/share/vim/vim92/macros/urm/urm.vim makronix-util-data -+./usr/pkg/share/vim/vim92/menu.vim makronix-util-data -+./usr/pkg/share/vim/vim92/mswin.vim makronix-util-data -+./usr/pkg/share/vim/vim92/optwin.vim makronix-util-data -+./usr/pkg/share/vim/vim92/pack makronix-sys-root -+./usr/pkg/share/vim/vim92/pack/dist makronix-sys-root -+./usr/pkg/share/vim/vim92/pack/dist/opt makronix-sys-root -+./usr/pkg/share/vim/vim92/pack/dist/opt/cfilter makronix-sys-root -+./usr/pkg/share/vim/vim92/pack/dist/opt/cfilter/plugin makronix-sys-root -+./usr/pkg/share/vim/vim92/pack/dist/opt/cfilter/plugin/cfilter.vim makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/comment makronix-sys-root -+./usr/pkg/share/vim/vim92/pack/dist/opt/comment/autoload makronix-sys-root -+./usr/pkg/share/vim/vim92/pack/dist/opt/comment/autoload/comment.vim makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/comment/doc makronix-sys-root -+./usr/pkg/share/vim/vim92/pack/dist/opt/comment/doc/comment.txt makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/comment/doc/tags makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/comment/plugin makronix-sys-root -+./usr/pkg/share/vim/vim92/pack/dist/opt/comment/plugin/comment.vim makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/dvorak makronix-sys-root -+./usr/pkg/share/vim/vim92/pack/dist/opt/dvorak/dvorak makronix-sys-root -+./usr/pkg/share/vim/vim92/pack/dist/opt/dvorak/dvorak/disable.vim makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/dvorak/dvorak/enable.vim makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/dvorak/plugin makronix-sys-root -+./usr/pkg/share/vim/vim92/pack/dist/opt/dvorak/plugin/dvorak.vim makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/editexisting makronix-sys-root -+./usr/pkg/share/vim/vim92/pack/dist/opt/editexisting/plugin makronix-sys-root -+./usr/pkg/share/vim/vim92/pack/dist/opt/editexisting/plugin/editexisting.vim makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/editorconfig makronix-sys-root -+./usr/pkg/share/vim/vim92/pack/dist/opt/editorconfig/.editorconfig makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/editorconfig/CONTRIBUTORS makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/editorconfig/LICENSE makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/editorconfig/LICENSE.PSF makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/editorconfig/README.md makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/editorconfig/autoload makronix-sys-root -+./usr/pkg/share/vim/vim92/pack/dist/opt/editorconfig/autoload/editorconfig.vim makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/editorconfig/autoload/editorconfig_core makronix-sys-root -+./usr/pkg/share/vim/vim92/pack/dist/opt/editorconfig/autoload/editorconfig_core.vim makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/editorconfig/autoload/editorconfig_core/fnmatch.vim makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/editorconfig/autoload/editorconfig_core/handler.vim makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/editorconfig/autoload/editorconfig_core/ini.vim makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/editorconfig/autoload/editorconfig_core/util.vim makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/editorconfig/doc makronix-sys-root -+./usr/pkg/share/vim/vim92/pack/dist/opt/editorconfig/doc/editorconfig.txt makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/editorconfig/doc/tags makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/editorconfig/ftdetect makronix-sys-root -+./usr/pkg/share/vim/vim92/pack/dist/opt/editorconfig/ftdetect/editorconfig.vim makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/editorconfig/plugin makronix-sys-root -+./usr/pkg/share/vim/vim92/pack/dist/opt/editorconfig/plugin/editorconfig.vim makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/helpcurwin makronix-sys-root -+./usr/pkg/share/vim/vim92/pack/dist/opt/helpcurwin/autoload makronix-sys-root -+./usr/pkg/share/vim/vim92/pack/dist/opt/helpcurwin/autoload/helpcurwin.vim makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/helpcurwin/doc makronix-sys-root -+./usr/pkg/share/vim/vim92/pack/dist/opt/helpcurwin/doc/helpcurwin.txt makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/helpcurwin/doc/tags makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/helpcurwin/plugin makronix-sys-root -+./usr/pkg/share/vim/vim92/pack/dist/opt/helpcurwin/plugin/helpcurwin.vim makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/helptoc makronix-sys-root -+./usr/pkg/share/vim/vim92/pack/dist/opt/helptoc/autoload makronix-sys-root -+./usr/pkg/share/vim/vim92/pack/dist/opt/helptoc/autoload/helptoc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/helptoc/doc makronix-sys-root -+./usr/pkg/share/vim/vim92/pack/dist/opt/helptoc/doc/helptoc.txt makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/helptoc/doc/tags makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/helptoc/plugin makronix-sys-root -+./usr/pkg/share/vim/vim92/pack/dist/opt/helptoc/plugin/helptoc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/hlyank makronix-sys-root -+./usr/pkg/share/vim/vim92/pack/dist/opt/hlyank/plugin makronix-sys-root -+./usr/pkg/share/vim/vim92/pack/dist/opt/hlyank/plugin/hlyank.vim makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/justify makronix-sys-root -+./usr/pkg/share/vim/vim92/pack/dist/opt/justify/plugin makronix-sys-root -+./usr/pkg/share/vim/vim92/pack/dist/opt/justify/plugin/justify.vim makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/matchit makronix-sys-root -+./usr/pkg/share/vim/vim92/pack/dist/opt/matchit/autoload makronix-sys-root -+./usr/pkg/share/vim/vim92/pack/dist/opt/matchit/autoload/matchit.vim makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/matchit/doc makronix-sys-root -+./usr/pkg/share/vim/vim92/pack/dist/opt/matchit/doc/matchit.txt makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/matchit/doc/tags makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/matchit/plugin makronix-sys-root -+./usr/pkg/share/vim/vim92/pack/dist/opt/matchit/plugin/matchit.vim makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/netrw makronix-sys-root -+./usr/pkg/share/vim/vim92/pack/dist/opt/netrw/LICENSE.txt makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/netrw/README.md makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/netrw/autoload makronix-sys-root -+./usr/pkg/share/vim/vim92/pack/dist/opt/netrw/autoload/netrw makronix-sys-root -+./usr/pkg/share/vim/vim92/pack/dist/opt/netrw/autoload/netrw.vim makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/netrw/autoload/netrw/fs.vim makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/netrw/autoload/netrw/msg.vim makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/netrw/autoload/netrw/os.vim makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/netrw/autoload/netrw_gitignore.vim makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/netrw/doc makronix-sys-root -+./usr/pkg/share/vim/vim92/pack/dist/opt/netrw/doc/netrw.txt makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/netrw/plugin makronix-sys-root -+./usr/pkg/share/vim/vim92/pack/dist/opt/netrw/plugin/netrwPlugin.vim makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/netrw/syntax makronix-sys-root -+./usr/pkg/share/vim/vim92/pack/dist/opt/netrw/syntax/netrw.vim makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/nohlsearch makronix-sys-root -+./usr/pkg/share/vim/vim92/pack/dist/opt/nohlsearch/plugin makronix-sys-root -+./usr/pkg/share/vim/vim92/pack/dist/opt/nohlsearch/plugin/nohlsearch.vim makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/osc52 makronix-sys-root -+./usr/pkg/share/vim/vim92/pack/dist/opt/osc52/autoload makronix-sys-root -+./usr/pkg/share/vim/vim92/pack/dist/opt/osc52/autoload/osc52.vim makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/osc52/doc makronix-sys-root -+./usr/pkg/share/vim/vim92/pack/dist/opt/osc52/doc/osc52.txt makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/osc52/doc/tags makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/osc52/plugin makronix-sys-root -+./usr/pkg/share/vim/vim92/pack/dist/opt/osc52/plugin/osc52.vim makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/shellmenu makronix-sys-root -+./usr/pkg/share/vim/vim92/pack/dist/opt/shellmenu/plugin makronix-sys-root -+./usr/pkg/share/vim/vim92/pack/dist/opt/shellmenu/plugin/shellmenu.vim makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/swapmouse makronix-sys-root -+./usr/pkg/share/vim/vim92/pack/dist/opt/swapmouse/plugin makronix-sys-root -+./usr/pkg/share/vim/vim92/pack/dist/opt/swapmouse/plugin/swapmouse.vim makronix-util-data -+./usr/pkg/share/vim/vim92/pack/dist/opt/termdebug makronix-sys-root -+./usr/pkg/share/vim/vim92/pack/dist/opt/termdebug/plugin makronix-sys-root -+./usr/pkg/share/vim/vim92/pack/dist/opt/termdebug/plugin/termdebug.vim makronix-util-data -+./usr/pkg/share/vim/vim92/plugin makronix-sys-root -+./usr/pkg/share/vim/vim92/plugin/README.txt makronix-util-data -+./usr/pkg/share/vim/vim92/plugin/getscriptPlugin.vim makronix-util-data -+./usr/pkg/share/vim/vim92/plugin/gzip.vim makronix-util-data -+./usr/pkg/share/vim/vim92/plugin/logiPat.vim makronix-util-data -+./usr/pkg/share/vim/vim92/plugin/manpager.vim makronix-util-data -+./usr/pkg/share/vim/vim92/plugin/matchparen.vim makronix-util-data -+./usr/pkg/share/vim/vim92/plugin/netrwPlugin.vim makronix-util-data -+./usr/pkg/share/vim/vim92/plugin/openPlugin.vim makronix-util-data -+./usr/pkg/share/vim/vim92/plugin/rrhelper.vim makronix-util-data -+./usr/pkg/share/vim/vim92/plugin/spellfile.vim makronix-util-data -+./usr/pkg/share/vim/vim92/plugin/tarPlugin.vim makronix-util-data -+./usr/pkg/share/vim/vim92/plugin/tohtml.vim makronix-util-data -+./usr/pkg/share/vim/vim92/plugin/tutor.vim makronix-util-data -+./usr/pkg/share/vim/vim92/plugin/vimballPlugin.vim makronix-util-data -+./usr/pkg/share/vim/vim92/plugin/zipPlugin.vim makronix-util-data -+./usr/pkg/share/vim/vim92/print makronix-sys-root -+./usr/pkg/share/vim/vim92/print/ascii.ps makronix-util-data -+./usr/pkg/share/vim/vim92/print/cidfont.ps makronix-util-data -+./usr/pkg/share/vim/vim92/print/cns_roman.ps makronix-util-data -+./usr/pkg/share/vim/vim92/print/cp1250.ps makronix-util-data -+./usr/pkg/share/vim/vim92/print/cp1251.ps makronix-util-data -+./usr/pkg/share/vim/vim92/print/cp1252.ps makronix-util-data -+./usr/pkg/share/vim/vim92/print/cp1253.ps makronix-util-data -+./usr/pkg/share/vim/vim92/print/cp1254.ps makronix-util-data -+./usr/pkg/share/vim/vim92/print/cp1255.ps makronix-util-data -+./usr/pkg/share/vim/vim92/print/cp1257.ps makronix-util-data -+./usr/pkg/share/vim/vim92/print/dec-mcs.ps makronix-util-data -+./usr/pkg/share/vim/vim92/print/ebcdic-uk.ps makronix-util-data -+./usr/pkg/share/vim/vim92/print/gb_roman.ps makronix-util-data -+./usr/pkg/share/vim/vim92/print/hp-roman8.ps makronix-util-data -+./usr/pkg/share/vim/vim92/print/iso-8859-10.ps makronix-util-data -+./usr/pkg/share/vim/vim92/print/iso-8859-11.ps makronix-util-data -+./usr/pkg/share/vim/vim92/print/iso-8859-13.ps makronix-util-data -+./usr/pkg/share/vim/vim92/print/iso-8859-14.ps makronix-util-data -+./usr/pkg/share/vim/vim92/print/iso-8859-15.ps makronix-util-data -+./usr/pkg/share/vim/vim92/print/iso-8859-2.ps makronix-util-data -+./usr/pkg/share/vim/vim92/print/iso-8859-3.ps makronix-util-data -+./usr/pkg/share/vim/vim92/print/iso-8859-4.ps makronix-util-data -+./usr/pkg/share/vim/vim92/print/iso-8859-5.ps makronix-util-data -+./usr/pkg/share/vim/vim92/print/iso-8859-7.ps makronix-util-data -+./usr/pkg/share/vim/vim92/print/iso-8859-8.ps makronix-util-data -+./usr/pkg/share/vim/vim92/print/iso-8859-9.ps makronix-util-data -+./usr/pkg/share/vim/vim92/print/jis_roman.ps makronix-util-data -+./usr/pkg/share/vim/vim92/print/koi8-r.ps makronix-util-data -+./usr/pkg/share/vim/vim92/print/koi8-u.ps makronix-util-data -+./usr/pkg/share/vim/vim92/print/ks_roman.ps makronix-util-data -+./usr/pkg/share/vim/vim92/print/latin1.ps makronix-util-data -+./usr/pkg/share/vim/vim92/print/mac-roman.ps makronix-util-data -+./usr/pkg/share/vim/vim92/print/prolog.ps makronix-util-data -+./usr/pkg/share/vim/vim92/scripts.vim makronix-util-data -+./usr/pkg/share/vim/vim92/spell makronix-sys-root -+./usr/pkg/share/vim/vim92/spell/check_locales.vim makronix-util-data -+./usr/pkg/share/vim/vim92/spell/cleanadd.vim makronix-util-data -+./usr/pkg/share/vim/vim92/spell/en.ascii.spl makronix-util-data -+./usr/pkg/share/vim/vim92/spell/en.ascii.sug makronix-util-data -+./usr/pkg/share/vim/vim92/spell/en.latin1.spl makronix-util-data -+./usr/pkg/share/vim/vim92/spell/en.latin1.sug makronix-util-data -+./usr/pkg/share/vim/vim92/spell/en.utf-8.spl makronix-util-data -+./usr/pkg/share/vim/vim92/spell/en.utf-8.sug makronix-util-data -+./usr/pkg/share/vim/vim92/spell/fixdup.vim makronix-util-data -+./usr/pkg/share/vim/vim92/spell/he.vim makronix-util-data -+./usr/pkg/share/vim/vim92/spell/spell.vim makronix-util-data -+./usr/pkg/share/vim/vim92/spell/yi.vim makronix-util-data -+./usr/pkg/share/vim/vim92/synmenu.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax makronix-sys-root -+./usr/pkg/share/vim/vim92/syntax/2html.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/8th.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/README.txt makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/a2ps.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/a65.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/aap.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/abap.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/abaqus.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/abc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/abel.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/abnf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/acedb.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/ada.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/aflex.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/ahdl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/aidl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/algol68.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/alsaconf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/amiga.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/aml.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/ampl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/ant.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/antlr.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/antlr4.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/apache.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/apachestyle.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/apkbuild.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/aptconf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/arch.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/arduino.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/art.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/asciidoc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/asm.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/asm68k.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/asmh8300.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/asn.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/aspperl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/aspvbs.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/asterisk.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/asteriskvm.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/astro.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/asy.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/atlas.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/autodoc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/autohotkey.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/autoit.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/automake.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/autopkgtest.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/ave.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/avra.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/awk.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/ayacc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/b.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/baan.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/bash.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/basic.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/bazelrc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/bc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/bdf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/beancount.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/bib.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/bindzone.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/bitbake.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/blank.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/bpftrace.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/bsdl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/bst.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/btm.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/bzl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/bzr.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/c.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/cabal.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/cabalconfig.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/cabalproject.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/calendar.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/cangjie.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/catalog.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/cdl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/cdrdaoconf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/cdrtoc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/cf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/cfg.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/cgdbrc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/ch.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/chaiscript.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/change.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/changelog.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/chaskell.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/chatito.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/cheetah.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/chicken.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/chill.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/chordpro.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/chuck.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/cl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/clean.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/clipper.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/clojure.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/cmacro.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/cmake.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/cmakecache.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/cmod.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/cmusrc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/cobol.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/coco.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/codeowners.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/colortest.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/conaryrecipe.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/conf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/config.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/confini.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/context.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/cpp.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/crm.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/crontab.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/cs.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/csc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/csdl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/csh.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/csp.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/css.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/csv.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/cterm.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/ctrlh.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/cucumber.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/cuda.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/cupl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/cuplsim.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/cvs.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/cvsrc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/cweb.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/cynlib.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/cynpp.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/d.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/dart.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/datascript.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/dax.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/dcd.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/dcl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/deb822sources.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/debchangelog.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/debcontrol.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/debcopyright.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/debsources.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/def.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/denyhosts.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/dep3patch.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/desc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/desktop.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/dictconf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/dictdconf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/diff.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/dircolors.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/dirpager.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/diva.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/django.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/dns.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/dnsmasq.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/docbk.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/docbksgml.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/docbkxml.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/dockerfile.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/dosbatch.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/dosini.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/dot.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/doxygen.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/dracula.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/dsl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/dtd.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/dtml.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/dtrace.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/dts.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/dune.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/dylan.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/dylanintr.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/dylanlid.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/ecd.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/ed.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/edif.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/editorconfig.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/eiffel.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/elf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/elinks.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/elm.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/elmfilt.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/env.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/erlang.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/eruby.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/esmtprc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/esqlc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/esterel.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/eterm.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/euphoria3.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/euphoria4.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/eviews.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/exim.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/expect.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/exports.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/falcon.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/fan.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/fasm.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/fdcc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/fetchmail.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/fgl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/fish.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/flexwiki.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/focexec.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/form.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/forth.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/fortran.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/foxpro.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/fpcmake.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/framescript.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/freebasic.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/fstab.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/fvwm.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/fvwm2m4.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/gdb.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/gdmo.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/gdresource.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/gdscript.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/gdshader.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/gedcom.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/gel.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/gemtext.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/gift.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/git.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/gitattributes.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/gitcommit.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/gitconfig.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/gitignore.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/gitolite.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/gitrebase.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/gitrevlist.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/gitsendemail.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/gkrellmrc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/gleam.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/glimmer.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/glsl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/gnash.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/gnuplot.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/go.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/goaccess.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/godoc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/gp.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/gpg.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/gprof.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/grads.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/graphql.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/gretl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/groff.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/groovy.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/group.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/grub.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/gsp.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/gtkrc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/gvpr.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/gyp.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/haml.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/hamster.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/handlebars.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/hare.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/haredoc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/haskell.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/haste.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/hastepreproc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/hb.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/hcl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/help.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/help_it.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/help_ru.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/hercules.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/hex.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/hgcommit.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/hip.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/hitest.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/hlsl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/hlsplaylist.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/hog.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/hollywood.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/hostconf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/hostsaccess.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/html.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/htmlangular.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/htmlcheetah.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/htmldjango.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/htmlm4.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/htmlos.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/hyprlang.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/i3config.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/ia64.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/ibasic.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/icalendar.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/icemenu.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/icon.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/idl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/idlang.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/idris2.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/indent.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/inform.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/initex.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/initng.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/inittab.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/ipfilter.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/ipkg.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/ishd.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/iss.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/ist.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/j.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/jal.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/jam.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/jargon.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/java.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/javacc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/javascript.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/javascriptreact.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/jess.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/jgraph.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/jinja.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/jjdescription.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/jovial.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/jproperties.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/jq.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/json.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/json5.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/jsonc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/jsonld.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/jsp.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/julia.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/just.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/karel.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/kconfig.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/kdl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/kitty.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/kivy.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/kix.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/kotlin.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/krl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/kscript.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/kwt.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/lace.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/latte.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/lc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/ld.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/ldapconf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/ldif.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/leex.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/less.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/lex.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/lf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/lftp.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/lhaskell.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/libao.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/lidris2.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/lifelines.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/lilo.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/limits.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/liquid.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/lisp.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/lite.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/litestep.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/livebook.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/lnk.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/lnkmap.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/log.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/loginaccess.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/logindefs.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/logtalk.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/lotos.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/lout.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/lpc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/lprolog.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/lscript.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/lsl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/lss.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/lua.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/luau.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/lynx.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/lyrics.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/m17ndb.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/m3build.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/m3quake.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/m4.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/mail.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/mailaliases.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/mailcap.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/make.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/mallard.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/man.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/manconf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/manual.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/maple.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/markdown.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/marko.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/masm.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/mason.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/master.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/matlab.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/maxima.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/mbsync.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/mediawiki.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/mel.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/mermaid.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/meson.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/messages.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/mf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/mgl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/mgp.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/mib.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/mix.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/mma.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/mmix.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/mmp.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/modconf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/model.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/modsim3.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/modula2 makronix-sys-root -+./usr/pkg/share/vim/vim92/syntax/modula2.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/modula2/opt makronix-sys-root -+./usr/pkg/share/vim/vim92/syntax/modula2/opt/iso.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/modula2/opt/pim.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/modula2/opt/r10.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/modula3.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/mojo.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/monk.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/moo.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/mp.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/mplayerconf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/mrxvtrc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/msidl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/msmessages.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/msql.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/mss.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/mupad.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/murphi.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/mush.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/muttrc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/mysql.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/n1ql.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/named.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/nanorc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/nasm.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/nastran.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/natural.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/ncf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/neomuttlog.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/neomuttrc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/netrc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/nginx.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/ninja.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/nix.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/nosyntax.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/nqc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/nroff.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/nsis.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/nu.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/obj.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/objc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/objcpp.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/obse.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/ocaml.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/occam.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/odin.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/omnimark.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/ondir.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/opam.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/opencl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/openroad.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/openscad.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/openvpn.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/opl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/ora.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/org.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/pacmanlog.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/pamconf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/pamenv.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/pandoc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/papp.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/pascal.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/passwd.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/pbtxt.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/pcap.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/pccts.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/pdf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/perl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/pf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/pfmain.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/php.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/phtml.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/pic.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/pike.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/pilrc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/pine.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/pinfo.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/pkl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/plaintex.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/pli.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/plm.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/plp.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/plsql.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/po.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/pod.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/poefilter.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/poke.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/postscr.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/pov.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/povini.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/ppd.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/ppwiz.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/pq.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/prescribe.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/privoxy.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/procmail.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/progress.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/prolog.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/promela.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/proto.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/protocols.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/prql.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/ps1.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/ps1xml.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/psf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/psl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/ptcap.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/ptx.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/purifylog.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/pymanifest.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/pyrex.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/python.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/python2.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/qb64.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/qf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/qml.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/quake.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/quarto.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/r.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/racc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/racket.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/radiance.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/radvd.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/raku.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/raml.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/rapid.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/rasi.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/ratpoison.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/rc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/rcs.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/rcslog.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/readline.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/rebol.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/redif.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/registry.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/rego.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/remind.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/requirements.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/resolv.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/reva.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/rexx.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/rhelp.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/rib.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/rmd.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/rnc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/rng.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/rnoweb.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/robots.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/routeros.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/rpcgen.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/rpl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/rrst.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/rst.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/rtf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/ruby.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/rust.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/salt.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/samba.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/sas.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/sass.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/sather.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/sbt.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/scala.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/scdoc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/scheme.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/scilab.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/screen.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/scss.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/sd.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/sdc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/sdl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/sed.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/sendpr.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/sensors.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/services.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/setserial.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/sexplib.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/sgf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/sgml.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/sgmldecl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/sgmllnx.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/sh.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/shaderslang.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/shared makronix-sys-root -+./usr/pkg/share/vim/vim92/syntax/shared/README.txt makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/shared/debarchitectures.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/shared/debversions.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/shared/hgcommitDiff.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/shared/typescriptcommon.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/sicad.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/sieve.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/sil.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/simula.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/sinda.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/sindacmp.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/sindaout.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/sisu.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/skhd.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/skill.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/sl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/slang.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/slice.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/slpconf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/slpreg.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/slpspi.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/slrnrc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/slrnsc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/sm.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/smarty.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/smcl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/smil.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/smith.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/sml.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/snnsnet.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/snnspat.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/snnsres.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/snobol4.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/solidity.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/spajson.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/spec.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/specman.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/spice.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/splint.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/spup.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/spyce.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/sql.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/sqlanywhere.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/sqlforms.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/sqlhana.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/sqlinformix.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/sqlj.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/sqloracle.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/sqr.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/squid.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/squirrel.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/srec.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/srt.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/ssa.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/sshallowedsigners.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/sshauthorizedkeys.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/sshconfig.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/sshdconfig.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/sshknownhosts.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/sshpublickey.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/st.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/stata.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/stp.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/strace.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/structurizr.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/stylus.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/sudoers.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/svelte.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/svg.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/svn.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/swayconfig.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/swift.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/swiftgyb.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/swig.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/syncolor.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/synload.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/syntax.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/sysctl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/systemd.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/systemverilog.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/tads.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/tags.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/tak.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/takcmp.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/takout.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/tap.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/tar.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/taskdata.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/taskedit.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/tasm.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/tcl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/tcsh.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/template.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/tera.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/teraterm.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/terminfo.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/terraform.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/tex.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/texinfo.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/texmf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/tf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/thrift.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/tiasm.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/tidy.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/tilde.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/tli.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/tmux.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/tolk.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/toml.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/tpp.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/trasys.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/treetop.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/trustees.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/tsalt.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/tsscl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/tssgm.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/tssop.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/tsv.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/tt2.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/tt2html.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/tt2js.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/tutor.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/typescript.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/typescriptreact.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/typst.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/uc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/uci.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/udevconf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/udevperm.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/udevrules.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/uil.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/unison.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/updatedb.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/upstart.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/upstreamdat.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/upstreaminstalllog.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/upstreamlog.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/upstreamrpt.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/urlshortcut.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/usserverlog.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/usw2kagtlog.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/valgrind.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/vb.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/vdf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/vera.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/verilog.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/verilogams.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/vgrindefs.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/vhdl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/vim.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/viminfo.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/vimnormal.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/virata.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/vmasm.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/voscm.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/vrml.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/vroom.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/vsejcl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/vue.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/wat.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/wdiff.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/wdl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/web.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/webmacro.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/wget.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/wget2.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/whitespace.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/winbatch.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/wks.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/wml.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/wsh.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/wsml.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/wvdial.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/xbl.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/xcompose.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/xdefaults.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/xf86conf.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/xhtml.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/xinetd.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/xkb.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/xmath.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/xml.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/xmodmap.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/xpm.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/xpm2.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/xquery.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/xs.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/xsd.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/xslt.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/xxd.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/yacc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/yaml.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/z8a.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/zathurarc.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/zig.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/zimbu.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/zir.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/zserio.vim makronix-util-data -+./usr/pkg/share/vim/vim92/syntax/zsh.vim makronix-util-data -+./usr/pkg/share/vim/vim92/tools makronix-sys-root -+./usr/pkg/share/vim/vim92/tools/README.txt makronix-util-data -+./usr/pkg/share/vim/vim92/tools/blink.c makronix-util-data -+./usr/pkg/share/vim/vim92/tools/ccfilter.1 makronix-util-data -+./usr/pkg/share/vim/vim92/tools/ccfilter.c makronix-util-data -+./usr/pkg/share/vim/vim92/tools/ccfilter_README.txt makronix-util-data -+./usr/pkg/share/vim/vim92/tools/demoserver.py makronix-util-data -+./usr/pkg/share/vim/vim92/tools/efm_filter.pl makronix-util-data -+./usr/pkg/share/vim/vim92/tools/efm_filter.txt makronix-util-data -+./usr/pkg/share/vim/vim92/tools/efm_perl.pl makronix-util-data -+./usr/pkg/share/vim/vim92/tools/emoji_list.vim makronix-util-data -+./usr/pkg/share/vim/vim92/tools/mve.awk makronix-util-data -+./usr/pkg/share/vim/vim92/tools/mve.txt makronix-util-data -+./usr/pkg/share/vim/vim92/tools/pltags.pl makronix-util-data -+./usr/pkg/share/vim/vim92/tools/preproc_indent.vim makronix-util-data -+./usr/pkg/share/vim/vim92/tools/ref makronix-util-data -+./usr/pkg/share/vim/vim92/tools/shtags.1 makronix-util-data -+./usr/pkg/share/vim/vim92/tools/shtags.pl makronix-util-data -+./usr/pkg/share/vim/vim92/tools/unicode.vim makronix-util-data -+./usr/pkg/share/vim/vim92/tools/vim132 makronix-util-data -+./usr/pkg/share/vim/vim92/tools/vim_vs_net.cmd makronix-util-data -+./usr/pkg/share/vim/vim92/tools/vimm makronix-util-data -+./usr/pkg/share/vim/vim92/tools/vimspell.sh makronix-util-data -+./usr/pkg/share/vim/vim92/tools/vimspell.txt makronix-util-data -+./usr/pkg/share/vim/vim92/tools/xcmdsrv_client.c makronix-util-data -+./usr/pkg/share/vim/vim92/tutor makronix-sys-root -+./usr/pkg/share/vim/vim92/tutor/README.el.txt makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/README.it.txt makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/README.ru.txt makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/README.sv.txt makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/README.txt makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/en makronix-sys-root -+./usr/pkg/share/vim/vim92/tutor/en/vim-01-beginner.tutor makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/en/vim-01-beginner.tutor.json makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/en/vim-02-beginner.tutor makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/en/vim-02-beginner.tutor.json makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/it makronix-sys-root -+./usr/pkg/share/vim/vim92/tutor/it/vim-01-beginner.tutor makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/it/vim-01-beginner.tutor.json makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/ru makronix-sys-root -+./usr/pkg/share/vim/vim92/tutor/ru/vim-01-beginner.tutor makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/ru/vim-01-beginner.tutor.json makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/ru/vim-02-beginner.tutor makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/ru/vim-02-beginner.tutor.json makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/sr makronix-sys-root -+./usr/pkg/share/vim/vim92/tutor/sr/vim-01-beginner.tutor makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/sr/vim-01-beginner.tutor.json makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/sr/vim-02-beginner.tutor makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/sr/vim-02-beginner.tutor.json makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/sv makronix-sys-root -+./usr/pkg/share/vim/vim92/tutor/sv/vim-01-beginner.tutor makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/sv/vim-01-beginner.tutor.json makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/sv/vim-02-beginner.tutor makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/sv/vim-02-beginner.tutor.json makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/tutor.tutor makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/tutor.tutor.json makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/tutor.vim makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/tutor1 makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/tutor1.bar makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/tutor1.bg makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/tutor1.ca makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/tutor1.cs makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/tutor1.da makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/tutor1.de makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/tutor1.el makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/tutor1.eo makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/tutor1.es makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/tutor1.fr makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/tutor1.gl makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/tutor1.hr makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/tutor1.hu makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/tutor1.it makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/tutor1.ja makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/tutor1.ko makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/tutor1.lt makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/tutor1.lv makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/tutor1.nb makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/tutor1.nl makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/tutor1.no makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/tutor1.pl makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/tutor1.pt makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/tutor1.ru makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/tutor1.sk makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/tutor1.sr makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/tutor1.sv makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/tutor1.tr makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/tutor1.uk makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/tutor1.vi makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/tutor1.zh_cn makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/tutor1.zh_tw makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/tutor2 makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/tutor2.es makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/tutor2.fr makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/tutor2.gl makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/tutor2.it makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/tutor2.ja makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/tutor2.ru makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/tutor2.sr makronix-util-data -+./usr/pkg/share/vim/vim92/tutor/tutor2.sv makronix-util-data -+./usr/pkg/share/vim/vim92/vimrc_example.vim makronix-util-data -+./usr/pkg/share/vim/vim92/xdg.vim makronix-util-data -diff --git a/distrib/sets/sets.subr b/distrib/sets/sets.subr -index 298389e28..ab13a46b2 100644 ---- a/distrib/sets/sets.subr -+++ b/distrib/sets/sets.subr -@@ -238,7 +238,11 @@ stlib=$shlib - if [ "${MKPIC}" = "no" ]; then - shlib=no - fi --nlists="base $base32set $base64set comp $debugset $debug32set $debug64set $dtbset etc games gpufw man $manhtmlset misc $modset rescue $testset text" -+# "makronix" is this tree's own set: the part of the distribution that pkgsrc -+# installs under /usr/pkg. Its file list is generated by tools/makronix-set.sh. -+# It is one of the base sets so that build.sh's checkflist (-L base,x) and the -+# release tarballs pick it up without a second flag. -+nlists="base $base32set $base64set comp $debugset $debug32set $debug64set $dtbset etc games gpufw makronix man $manhtmlset misc $modset rescue $testset text" - xlists="xbase xcomp $xdebugset xetc xfont xserver" - - OSRELEASE=$(${HOST_SH} ${NETBSDSRCDIR}/sys/conf/osrelease.sh -k) diff --git a/patches/src/0002-sets-cde-closure.patch b/patches/src/0002-sets-cde-closure.patch deleted file mode 100644 index abd68cece3..0000000000 --- a/patches/src/0002-sets-cde-closure.patch +++ /dev/null @@ -1,8669 +0,0 @@ -# sets: cde-2.5.3 and its runtime closure in the makronix set. -# -# NetBSD pattern: the list under distrib/sets/lists/makronix/mi is generated -# from the installed tree and stays the only place that says what a set holds. -# -# Applies to src/ with patch -p1. -diff --git a/distrib/sets/lists/makronix/mi b/distrib/sets/lists/makronix/mi -index eab09bfea..eddbc4223 100644 ---- a/distrib/sets/lists/makronix/mi -+++ b/distrib/sets/lists/makronix/mi -@@ -12,20 +12,8651 @@ - ./etc/mtree/set.makronix makronix-sys-root - ./usr/pkg makronix-sys-root - ./usr/pkg/bin makronix-sys-root -+./usr/pkg/bin/brotli makronix-util-bin -+./usr/pkg/bin/cjpeg makronix-util-bin -+./usr/pkg/bin/djpeg makronix-util-bin -+./usr/pkg/bin/fc-cache makronix-util-bin -+./usr/pkg/bin/fc-cat makronix-util-bin -+./usr/pkg/bin/fc-conflist makronix-util-bin -+./usr/pkg/bin/fc-genconf makronix-util-bin -+./usr/pkg/bin/fc-list makronix-util-bin -+./usr/pkg/bin/fc-match makronix-util-bin -+./usr/pkg/bin/fc-pattern makronix-util-bin -+./usr/pkg/bin/fc-query makronix-util-bin -+./usr/pkg/bin/fc-scan makronix-util-bin -+./usr/pkg/bin/fc-validate makronix-util-bin -+./usr/pkg/bin/flex makronix-util-bin -+./usr/pkg/bin/flex++ makronix-util-bin -+./usr/pkg/bin/freetype-config makronix-util-bin -+./usr/pkg/bin/jpegtran makronix-util-bin -+./usr/pkg/bin/ksh93 makronix-util-bin -+./usr/pkg/bin/libpng-config makronix-util-bin -+./usr/pkg/bin/libpng16-config makronix-util-bin -+./usr/pkg/bin/mdb_copy makronix-util-bin -+./usr/pkg/bin/mdb_drop makronix-util-bin -+./usr/pkg/bin/mdb_dump makronix-util-bin -+./usr/pkg/bin/mdb_load makronix-util-bin -+./usr/pkg/bin/mdb_stat makronix-util-bin -+./usr/pkg/bin/mwm makronix-util-bin -+./usr/pkg/bin/onsgmls makronix-util-bin -+./usr/pkg/bin/osgmlnorm makronix-util-bin -+./usr/pkg/bin/ospam makronix-util-bin -+./usr/pkg/bin/ospcat makronix-util-bin -+./usr/pkg/bin/ospent makronix-util-bin -+./usr/pkg/bin/osx makronix-util-bin -+./usr/pkg/bin/png-fix-itxt makronix-util-bin -+./usr/pkg/bin/pngfix makronix-util-bin -+./usr/pkg/bin/rdjpgcom makronix-util-bin - ./usr/pkg/bin/rview makronix-util-bin - ./usr/pkg/bin/rvim makronix-util-bin -+./usr/pkg/bin/shcomp makronix-util-bin -+./usr/pkg/bin/sqlite3 makronix-util-bin -+./usr/pkg/bin/sqlite3_analyzer makronix-util-bin -+./usr/pkg/bin/startcde makronix-util-bin -+./usr/pkg/bin/tclsh makronix-util-bin -+./usr/pkg/bin/tclsh8.6 makronix-util-bin -+./usr/pkg/bin/tjbench makronix-util-bin -+./usr/pkg/bin/uil makronix-util-bin - ./usr/pkg/bin/vim makronix-util-bin - ./usr/pkg/bin/vimdiff makronix-util-bin - ./usr/pkg/bin/vimtutor makronix-util-bin -+./usr/pkg/bin/wrjpgcom makronix-util-bin -+./usr/pkg/bin/xmbind makronix-util-bin - ./usr/pkg/bin/xxd makronix-util-bin -+./usr/pkg/dt makronix-sys-root -+./usr/pkg/dt/app-defaults makronix-sys-root -+./usr/pkg/dt/app-defaults/C makronix-sys-root -+./usr/pkg/dt/app-defaults/C/Dt makronix-util-data -+./usr/pkg/dt/app-defaults/C/Dtbuilder makronix-util-data -+./usr/pkg/dt/app-defaults/C/Dtcalc makronix-util-data -+./usr/pkg/dt/app-defaults/C/Dtcm makronix-util-data -+./usr/pkg/dt/app-defaults/C/Dtcreate makronix-util-data -+./usr/pkg/dt/app-defaults/C/Dtfile makronix-util-data -+./usr/pkg/dt/app-defaults/C/Dthello makronix-util-data -+./usr/pkg/dt/app-defaults/C/Dthelpview makronix-util-data -+./usr/pkg/dt/app-defaults/C/Dticon makronix-util-data -+./usr/pkg/dt/app-defaults/C/Dtimsstart makronix-util-data -+./usr/pkg/dt/app-defaults/C/Dtinfo makronix-util-data -+./usr/pkg/dt/app-defaults/C/Dtlogin makronix-util-data -+./usr/pkg/dt/app-defaults/C/Dtmail makronix-util-data -+./usr/pkg/dt/app-defaults/C/Dtpad makronix-util-data -+./usr/pkg/dt/app-defaults/C/Dtscreen makronix-util-data -+./usr/pkg/dt/app-defaults/C/Dtsession makronix-util-data -+./usr/pkg/dt/app-defaults/C/Dtstyle makronix-util-data -+./usr/pkg/dt/app-defaults/C/Dtterm makronix-util-data -+./usr/pkg/dt/app-defaults/C/Dtudcfonted makronix-util-data -+./usr/pkg/dt/app-defaults/C/Dtwm makronix-util-data -+./usr/pkg/dt/app-defaults/C/Ttsnoop makronix-util-data -+./usr/pkg/dt/app-defaults/en_US.UTF-8 makronix-util-data -+./usr/pkg/dt/appconfig makronix-sys-root -+./usr/pkg/dt/appconfig/appmanager makronix-sys-root -+./usr/pkg/dt/appconfig/appmanager/C makronix-sys-root -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Apps makronix-sys-root -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Apps/DtLoadInfoLib makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Apps/DtPrintManager makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Apps/Dtappbuild makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Apps/Dtcalc makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Apps/Dtcm makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Apps/Dtcreate makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Apps/Dtfile makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Apps/Dthelpview makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Apps/Dticon makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Apps/Dtmail makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Apps/Dtmanpageview makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Apps/Dtpad makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Apps/Dtstyle makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Apps/Dtterm makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Apps/Dttrash makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Tools makronix-sys-root -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Tools/Bitmap makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Tools/CodeGen makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Tools/Compress makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Tools/Df makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Tools/Diff makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Tools/DtImsMode makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Tools/DttermConsole makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Tools/DttermDtspcd makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Tools/DttermErrorlog makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Tools/DttermRlogin makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Tools/Dttypes makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Tools/DtwmrcEdit makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Tools/DuSort makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Tools/Env makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Tools/ExecuteCmd makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Tools/File makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Tools/Grep makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Tools/Make makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Tools/Nm makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Tools/ReloadActions makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Tools/ReloadApps makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Tools/ReloadResources makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Tools/RestorePanel makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Tools/Rm makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Tools/SaveSession makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Tools/Spell makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Tools/Tar makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Tools/TarList makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Tools/TarUnpack makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Tools/Uncompress makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Tools/Vi makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Tools/Wc makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Tools/Xclipboard makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Tools/XclockDig makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Tools/Xdpyinfo makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Tools/Xfd makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Tools/Xload makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Tools/Xlsfonts makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Tools/Xprop makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Tools/Xrefresh makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Tools/Xterm makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Tools/XtermDtspcd makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Tools/XtermRlogin makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Tools/Xwd makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Tools/Xwininfo makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Desktop_Tools/Xwud makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Education makronix-sys-root -+./usr/pkg/dt/appconfig/appmanager/C/Education/gcompris makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Education/geogebra makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Education/stellarium makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Education/tuxpaint makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Games makronix-sys-root -+./usr/pkg/dt/appconfig/appmanager/C/Games/dreamchess makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Games/eboard makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Games/gcompris makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Games/ktuberling makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Games/lbreakout2 makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Games/powermanga makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Games/pychess makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Games/supertux makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Games/xboard makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Graphics makronix-sys-root -+./usr/pkg/dt/appconfig/appmanager/C/Graphics/fontforge makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Graphics/gimp makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Graphics/inkscape makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Graphics/okular makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Graphics/xv makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Information makronix-sys-root -+./usr/pkg/dt/appconfig/appmanager/C/Information/OpenDtIntro makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Internet makronix-sys-root -+./usr/pkg/dt/appconfig/appmanager/C/Internet/chromium makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Internet/firefox makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Internet/nxclient makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Internet/skype makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Internet/thunderbird makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Media_Tools makronix-sys-root -+./usr/pkg/dt/appconfig/appmanager/C/Media_Tools/amarok makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Media_Tools/brasero makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Media_Tools/k3b makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Media_Tools/k9copy makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Media_Tools/pavucontrol makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Media_Tools/rhythmbox makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Media_Tools/rosegarden makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Media_Tools/sound-juicer makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Media_Tools/vlc makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Media_Tools/xine makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Office makronix-sys-root -+./usr/pkg/dt/appconfig/appmanager/C/Office/acroread makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Office/libreoffice-base makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Office/libreoffice-calc makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Office/libreoffice-draw makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Office/libreoffice-impress makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Office/libreoffice-main makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Office/libreoffice-math makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Office/libreoffice-writer makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Office/nedit makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Office/xournal makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Office/xpdf makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/System makronix-sys-root -+./usr/pkg/dt/appconfig/appmanager/C/System/caja makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/System/engrampa makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/System/file-roller makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/System/firestarter makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/System/pgadmin makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/System/synaptic makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/System/virtualbox makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/System/wicd makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Tex makronix-sys-root -+./usr/pkg/dt/appconfig/appmanager/C/Tex/TeX makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Tex/acroread makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Tex/emacs makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Tex/gv makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Tex/kile makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Tex/mgv makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Tex/xdvi makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Tex/xournal makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/C/Tex/xpdf makronix-util-data -+./usr/pkg/dt/appconfig/appmanager/en_US.UTF-8 makronix-util-data -+./usr/pkg/dt/appconfig/help makronix-sys-root -+./usr/pkg/dt/appconfig/help/C makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8 makronix-sys-root -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder makronix-sys-root -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder.sdl makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics makronix-sys-root -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/abicon.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/align.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/attbot.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/attcent.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/atted.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/attnone.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/attprcent.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/attprtop.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/atttop.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/atttwo.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/basewin.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/browser.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/button.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/cgoption.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/cgoptmen.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/checkbox.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/codegen.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/color.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/combobox.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/conned.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/contain.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/cpanel.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/cpanelio.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/custicon.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/dapane.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/dareaio.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/distmenu.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/dnded.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/drawarea.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/dropcust.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/dropfile.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/dropmain.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/drwareai.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/edit.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/editmenu.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/edsep.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/edsmenu.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/environ.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/eunsaved.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/execute.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/file.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/filemenu.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/fmenutop.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/fpwab.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/frmwrked.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/fsb.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/fsdio.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/fsdopen.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/group.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/grouped.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/guage.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/helped.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/helpmenu.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/label.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/layout.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/maincall.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/mainwin.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/mainwio.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/menubar.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/menubart.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/menubut.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/message.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/modarray.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/modebar.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/modmenu.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/msged.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/mwcpage.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/namemod.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/nameproj.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/objinfo.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/optmenu.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/palette.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/panes.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/popbrowse.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/popui.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/popupwin.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/projmenu.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/projorg.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/punsaved.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/pwedpane.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/radiobox.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/scale.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/scrlist.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/separat.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/spinbox.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/termp.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/termpi.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/termpio.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/textp.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/textpi.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/textpio.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/tfield.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/titlebar.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/unsaved.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/view.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/viewmenu.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/viewmods.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/AppBuilder/graphics/windows.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Appmanager makronix-sys-root -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Appmanager.sdl makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Appmanager/graphics makronix-sys-root -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Appmanager/graphics/actions.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Appmanager/graphics/addappfp.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Appmanager/graphics/appgroup.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Appmanager/graphics/appman.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Appmanager/graphics/control.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Appmanager/graphics/copyfile.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Appmanager/graphics/filename.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Appmanager/graphics/filter.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Appmanager/graphics/help.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Appmanager/graphics/linkfile.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Appmanager/graphics/movefile.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Appmanager/graphics/newfile.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Appmanager/graphics/newfold.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Appmanager/graphics/openfile.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calculator makronix-sys-root -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calculator.sdl makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calculator/graphics makronix-sys-root -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calculator/graphics/calcarea.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calculator/graphics/calcpop.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calculator/graphics/constant.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calculator/graphics/dispmode.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calculator/graphics/finregs.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calculator/graphics/getascii.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calculator/graphics/memregs.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calculator/graphics/modeoptm.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calculator/graphics/nconst1.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calculator/graphics/nconst2.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calculator/graphics/nfunct1.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calculator/graphics/nfunct2.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calculator/graphics/numbase.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calculator/graphics/trigbase.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calendar makronix-sys-root -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calendar.sdl makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calendar/graphics makronix-sys-root -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calendar/graphics/accesalt.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calendar/graphics/access.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calendar/graphics/apped.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calendar/graphics/appedpln.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calendar/graphics/appicon.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calendar/graphics/applist.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calendar/graphics/appopts.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calendar/graphics/browmenu.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calendar/graphics/calparts.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calendar/graphics/compare.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calendar/graphics/datefmt.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calendar/graphics/dayicon.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calendar/graphics/dayvw.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calendar/graphics/defaults.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calendar/graphics/display.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calendar/graphics/editmenu.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calendar/graphics/erroradv.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calendar/graphics/errordaf.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calendar/graphics/errormif.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calendar/graphics/filemenu.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calendar/graphics/find.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calendar/graphics/fpanel.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calendar/graphics/goto.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calendar/graphics/group.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calendar/graphics/helpmenu.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calendar/graphics/menuedit.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calendar/graphics/mnthicon.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calendar/graphics/monthvw.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calendar/graphics/nextvw.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calendar/graphics/options.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calendar/graphics/prevvw.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calendar/graphics/print.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calendar/graphics/printer.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calendar/graphics/schedapp.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calendar/graphics/shwother.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calendar/graphics/standaln.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calendar/graphics/timezone.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calendar/graphics/today.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calendar/graphics/todoed.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calendar/graphics/todoedlg.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calendar/graphics/todoicon.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calendar/graphics/todolist.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calendar/graphics/toolbar.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calendar/graphics/viewmenu.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calendar/graphics/weekicon.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calendar/graphics/weekvw.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calendar/graphics/yearicon.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Calendar/graphics/yearvw.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/CreatAct makronix-sys-root -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/CreatAct.sdl makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/CreatAct/graphics makronix-sys-root -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/CreatAct/graphics/addtypes.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/CreatAct/graphics/advance.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/CreatAct/graphics/create.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/CreatAct/graphics/findset.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/CreatAct/graphics/idfolder.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/CreatAct/graphics/idname.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/CreatAct/graphics/idperm.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/CreatAct/graphics/idwindow.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/CreatAct/graphics/mainwin.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Desktop.hf makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/DesktopIntro.hf makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/FPanel makronix-sys-root -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/FPanel.sdl makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/FPanel/graphics makronix-sys-root -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/FPanel/graphics/arrowbut.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/FPanel/graphics/clock.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/FPanel/graphics/copymain.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/FPanel/graphics/date.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/FPanel/graphics/editor.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/FPanel/graphics/exit.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/FPanel/graphics/filemgr.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/FPanel/graphics/fpappmgr.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/FPanel/graphics/fphelp.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/FPanel/graphics/fpico.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/FPanel/graphics/fponitem.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/FPanel/graphics/helpintr.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/FPanel/graphics/helpmgr.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/FPanel/graphics/iconedit.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/FPanel/graphics/install.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/FPanel/graphics/light.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/FPanel/graphics/lock.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/FPanel/graphics/mail.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/FPanel/graphics/mainfp.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/FPanel/graphics/mainsub.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/FPanel/graphics/minimize.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/FPanel/graphics/movehand.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/FPanel/graphics/onitemcn.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/FPanel/graphics/persapps.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/FPanel/graphics/popupctl.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/FPanel/graphics/popupsub.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/FPanel/graphics/popupswi.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/FPanel/graphics/popupwsb.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/FPanel/graphics/printer.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/FPanel/graphics/printmgr.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/FPanel/graphics/smallhelp.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/FPanel/graphics/smallinf.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/FPanel/graphics/smallprt.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/FPanel/graphics/stylemgr.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/FPanel/graphics/subclose.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/FPanel/graphics/terminal.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/FPanel/graphics/trash.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/FPanel/graphics/wholefp.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/FPanel/graphics/wsswitch.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Filemgr makronix-sys-root -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Filemgr.sdl makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Filemgr/graphics makronix-sys-root -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Filemgr/graphics/chdir.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Filemgr/graphics/copy.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Filemgr/graphics/copydir.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Filemgr/graphics/copylink.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Filemgr/graphics/copyovwr.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Filemgr/graphics/copywarn.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Filemgr/graphics/cpfstat.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Filemgr/graphics/cpfwarn.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Filemgr/graphics/create.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Filemgr/graphics/createf.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Filemgr/graphics/dragicon.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Filemgr/graphics/dtpopup.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Filemgr/graphics/filter.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Filemgr/graphics/find.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Filemgr/graphics/fpctl.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Filemgr/graphics/move.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Filemgr/graphics/multicol.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Filemgr/graphics/overview.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Filemgr/graphics/preferen.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Filemgr/graphics/property.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Filemgr/graphics/quickcd.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Filemgr/graphics/rename.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Filemgr/graphics/replace.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Filemgr/graphics/selected.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Help4Help makronix-sys-root -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Help4Help.sdl makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Help4Help/graphics makronix-sys-root -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Help4Help/graphics/execute.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Help4Help/graphics/genhlp.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Help4Help/graphics/helpctl.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Help4Help/graphics/helpmgr.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Help4Help/graphics/helporg.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Help4Help/graphics/history.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Help4Help/graphics/hlinkd.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Help4Help/graphics/hlinks.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Help4Help/graphics/home.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Help4Help/graphics/iderr.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Help4Help/graphics/indexdlg.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Help4Help/graphics/indexpre.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Help4Help/graphics/indextop.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Help4Help/graphics/popupmen.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Help4Help/graphics/printdlg.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Help4Help/graphics/quickhlp.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Help4Help/graphics/search.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Help4Help/graphics/seltopic.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Help4Help/graphics/topicerr.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Help4Help/graphics/topics.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Help4Help/graphics/volerr.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Iconed makronix-sys-root -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Iconed.sdl makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Iconed/graphics makronix-sys-root -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Iconed/graphics/circle.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Iconed/graphics/ellipse.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Iconed/graphics/erase.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Iconed/graphics/flood.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Iconed/graphics/line.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Iconed/graphics/main.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Iconed/graphics/pencil.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Iconed/graphics/polygon.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Iconed/graphics/polyline.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Iconed/graphics/rectang.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Iconed/graphics/select.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr makronix-sys-root -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr.sdl makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics makronix-sys-root -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/addinfo.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/addlib.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/bklist1.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/bkmark.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/bkmkedit.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/bknote.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/browmenu.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/brwsbuts.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/confirm.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/dgrafico.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/disbklst.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/display.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/editmenu.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/filemenu.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/fpico.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/gmap.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/gomenu.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/graffile.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/grafpanr.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/grafview.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/graphmap.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/graphwin.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/helpmenu.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/histlist.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/histpref.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/hsarrows.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/ilibico.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/infolib1.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/infosub.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/mappref.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/markmenu.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/nxthist.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/nxtsect.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/nxtsrch.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/openloca.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/optbmenu.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/optrmenu.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/prefwin.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/printer.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/printwin.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/prvhist.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/prvsect.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/prvsrch.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/pushpin.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/qedit.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/qeditwin.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/readwin1.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/rminfo.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/savescop.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/scopedit.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/searchin.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/sectitle.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/serchprf.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/serchres.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/shistwin.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/srchmenu.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/winbmenu.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Infomgr/graphics/winrmenu.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Intromgr makronix-sys-root -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Intromgr.sdl makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Intromgr/graphics makronix-sys-root -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Intromgr/graphics/appmenu.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Intromgr/graphics/appmgr.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Intromgr/graphics/bklist.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Intromgr/graphics/brwsbuts.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Intromgr/graphics/click1.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Intromgr/graphics/drag1.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Intromgr/graphics/filemgr.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Intromgr/graphics/focus.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Intromgr/graphics/fpexit.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Intromgr/graphics/fphelp.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Intromgr/graphics/fpico.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Intromgr/graphics/fplock.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Intromgr/graphics/helpbut.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Intromgr/graphics/helpmenu.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Intromgr/graphics/helpmgr.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Intromgr/graphics/hticons.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Intromgr/graphics/ilibico.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Intromgr/graphics/infosub.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Intromgr/graphics/infosubp.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Intromgr/graphics/keyboard.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Intromgr/graphics/listsel.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Intromgr/graphics/mappmgr.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Intromgr/graphics/maxbut.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Intromgr/graphics/mdticon.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Intromgr/graphics/menubut.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Intromgr/graphics/mfilemgr.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Intromgr/graphics/mfpanel.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Intromgr/graphics/minbut.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Intromgr/graphics/minimize.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Intromgr/graphics/mminicon.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Intromgr/graphics/movewin.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Intromgr/graphics/mstylmgr.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Intromgr/graphics/occupyws.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Intromgr/graphics/readwin.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Intromgr/graphics/resize.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Intromgr/graphics/resizebd.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Intromgr/graphics/sclick1.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Intromgr/graphics/screen.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Intromgr/graphics/scrollb.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Intromgr/graphics/sdrag1.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Intromgr/graphics/selected.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Intromgr/graphics/stylemgr.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Intromgr/graphics/switchws.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Intromgr/graphics/textfld.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Intromgr/graphics/threebut.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Intromgr/graphics/titlebar.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Intromgr/graphics/winmenu.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Intromgr/graphics/wsmenu.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Intromgr/graphics/wsobmenu.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/LibDtPrint makronix-sys-root -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/LibDtPrint.sdl makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/LibDtPrint/graphics makronix-sys-root -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/LibDtPrint/graphics/filselec.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/LibDtPrint/graphics/prninfo.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/LibDtPrint/graphics/prnselec.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Loginmgr.sdl makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Mailer makronix-sys-root -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Mailer.sdl makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Mailer/graphics makronix-sys-root -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Mailer/graphics/advopts.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Mailer/graphics/aliopts.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Mailer/graphics/attach.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Mailer/graphics/attfsb.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Mailer/graphics/attmenu.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Mailer/graphics/attsmenu.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Mailer/graphics/compatt.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Mailer/graphics/compbut.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Mailer/graphics/compedit.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Mailer/graphics/compfile.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Mailer/graphics/compfmt.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Mailer/graphics/compmenu.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Mailer/graphics/compopts.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Mailer/graphics/compwin.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Mailer/graphics/editmenu.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Mailer/graphics/fileopts.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Mailer/graphics/hdropts.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Mailer/graphics/headers.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Mailer/graphics/helpmenu.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Mailer/graphics/mailbox.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Mailer/graphics/mailicon.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Mailer/graphics/mainwin.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Mailer/graphics/mboxbut.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Mailer/graphics/mboxmenu.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Mailer/graphics/movemenu.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Mailer/graphics/mprndial.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Mailer/graphics/mprnops.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Mailer/graphics/msgmenu.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Mailer/graphics/msgvw.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Mailer/graphics/options.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Mailer/graphics/tmplopts.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Mailer/graphics/vacopts.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Mailer/graphics/viewmenu.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Mailer/graphics/viewopts.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Printmgr makronix-sys-root -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Printmgr.sdl makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Printmgr/graphics makronix-sys-root -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Printmgr/graphics/dojob.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Printmgr/graphics/find.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Printmgr/graphics/findset.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Printmgr/graphics/flagdown.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Printmgr/graphics/helpmenu.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Printmgr/graphics/mainwin.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Printmgr/graphics/minus.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Printmgr/graphics/pjicon.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Printmgr/graphics/pjlaunch.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Printmgr/graphics/pjmain.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Printmgr/graphics/pjprops.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Printmgr/graphics/pjselect.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Printmgr/graphics/plus.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Printmgr/graphics/pmlaunch.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Printmgr/graphics/pmopts.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Printmgr/graphics/pmselect.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Printmgr/graphics/props.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Printmgr/graphics/prticon.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Printmgr/graphics/prtmenu.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Printmgr/graphics/showprt.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Printmgr/graphics/viewmenu.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/PrnSetup makronix-sys-root -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/PrnSetup.sdl makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/PrnSetup/graphics makronix-sys-root -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/PrnSetup/graphics/pdmjob.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/PrnSetup/graphics/pdmmain.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/PrnSetup/graphics/pdmprint.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Stylemgr makronix-sys-root -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Stylemgr.sdl makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Stylemgr/graphics makronix-sys-root -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Stylemgr/graphics/addpal.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Stylemgr/graphics/audio.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Stylemgr/graphics/audiodlg.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Stylemgr/graphics/backddlg.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Stylemgr/graphics/backdrop.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Stylemgr/graphics/color.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Stylemgr/graphics/colordlg.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Stylemgr/graphics/cousedlg.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Stylemgr/graphics/delpal.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Stylemgr/graphics/font.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Stylemgr/graphics/fontdlg.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Stylemgr/graphics/intldial.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Stylemgr/graphics/intlicon.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Stylemgr/graphics/keybdlg.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Stylemgr/graphics/keyboard.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Stylemgr/graphics/modifdlg.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Stylemgr/graphics/mouse.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Stylemgr/graphics/mousedlg.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Stylemgr/graphics/scrextdlg.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Stylemgr/graphics/scricon.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Stylemgr/graphics/snoextdlg.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Stylemgr/graphics/startdlg.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Stylemgr/graphics/startup.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Stylemgr/graphics/stylemgr.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Stylemgr/graphics/windlg.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Stylemgr/graphics/winmgr.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Terminal makronix-sys-root -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Terminal.sdl makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Terminal/graphics makronix-sys-root -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Terminal/graphics/bell.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Terminal/graphics/color.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Terminal/graphics/cursor.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Terminal/graphics/fpterm.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Terminal/graphics/globopts.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Terminal/graphics/keyboard.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Terminal/graphics/open.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Terminal/graphics/options.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Terminal/graphics/prompt.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Terminal/graphics/screen.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Terminal/graphics/scroll.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Textedit makronix-sys-root -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Textedit.sdl makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Textedit/graphics makronix-sys-root -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Textedit/graphics/button.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Textedit/graphics/confirm.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Textedit/graphics/copy.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Textedit/graphics/create.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Textedit/graphics/exists.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Textedit/graphics/find.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Textedit/graphics/include.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Textedit/graphics/open.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Textedit/graphics/print.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Textedit/graphics/save.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Textedit/graphics/saveas.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Textedit/graphics/settings.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Textedit/graphics/spell.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Textedit/graphics/status.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Textedit/graphics/subpanel.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Textedit/graphics/window.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/Textedit/graphics/wordwrap.tif makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/graphics makronix-sys-root -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/graphics/cauticon.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/graphics/cdelogo.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/graphics/noteicon.pm makronix-util-data -+./usr/pkg/dt/appconfig/help/en_US.UTF-8/graphics/warnicon.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons makronix-sys-root -+./usr/pkg/dt/appconfig/icons/C makronix-sys-root -+./usr/pkg/dt/appconfig/icons/C/DtABa0.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABabF.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABabW.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABabf.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABabp.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABabw.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABalF.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABalH.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABalL.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABalV.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABalW.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABalb.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABalc.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABalf.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABalg.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABall.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABalp.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABalr.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABalt.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABalw.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABarF.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABarW.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABarf.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABarp.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABarw.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABatF.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABatW.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABatc.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABatf.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABatp.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABatw.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABbil.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABbil.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABbil.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABbil.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABbil.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABbil.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABbil.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABbil.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABbil.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABbip.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABbip.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABbip.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABbip.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABbip.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABbip.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABbip.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABbip.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABbip.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABbix.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABbix.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABbix.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABbix.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABbix.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABbix.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABbix.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABbix.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABbix.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABbrw.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABbrw.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABbrw.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABbrw.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABbtn.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABbtn.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABbw.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABbw.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABbw2.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABbw2.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABcas.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABcas.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABccp.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABchk.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABchk.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABcmb.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABcmb.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABcmv.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABcnt.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABcnt.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABcnt2.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABcnt2.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABdfl.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABdfl.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABdh.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABdhc.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABdrw.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABdrw.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABdrw2.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABdrw2.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABdv.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABdvc.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABfsb.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABfsb.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABfsb2.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABfsb2.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABgai.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABgau.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABgau.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABgco.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABgrc.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABgro.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABgrp.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABgrp.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABitm.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABitm.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABlbl.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABlbl.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABlll.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABllr.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABlst.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABlst.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABlul.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABlur.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABlyr.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABlyr.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABmbr.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABmbr.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABmbt.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABmbt.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABmbx.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABmbx.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABmdl.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABmdl.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABmer.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABmin.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABmqs.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABmwk.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABmwn.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABopm.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABopm.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABpnw.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABpnw.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABpum.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABpum.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABpuw.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABpuw.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABpuw2.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABpuw2.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABrad.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABrad.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABsep.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABsep.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABsld.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABsld.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABspb.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABspb.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABtmp.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABtmp.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABtmp2.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABtmp2.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABtxf.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABtxf.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABtxp.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABtxp.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABtxp2.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtABtxp2.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtBeep.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtBeep.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtBeep_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtBento.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtBento.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtBento.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtBento.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtBento.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtBento.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtBento.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtBento.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtBento.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtBkdrp.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtBkdrp.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtBkdrp_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtBldr.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtBldr.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtBldr.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtBldr.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtBldr.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtBldr.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtBldr.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtBldr.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtBldr.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtBldrA.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtBldrA.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtBldrA_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtC++.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtC++.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtC++.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtC++.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtC++.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtC++.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCM.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCM.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCM.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCM.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCM.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCM.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCM.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCM.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCM.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCMa.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCMa.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCMa_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCMapt.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCMapt.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCMapt.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCMapt.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCMapt.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCMapt.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCMapt.s.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCMapt.s.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCMapt.s_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCMapt.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCMapt.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCMapt.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCMark.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCMark.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCMark.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCMark.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCMark.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCMark.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCMark.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCMark.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCMark.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCMday.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCMday.s.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCMday.s.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCMday.s_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCMdnd.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCMmth.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCMmth.s.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCMmth.s.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCMmth.s_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCMtdo.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCMtdo.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCMtdo.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCMtdo.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCMtdo.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCMtdo.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCMtdo.s.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCMtdo.s.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCMtdo.s_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCMtdo.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCMtdo.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCMtdo.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCMwk.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCMwk.s.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCMwk.s.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCMwk.s_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCMyr.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCMyr.s.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCMyr.s.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtCMyr.s_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtColor.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtColor.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtColor_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtDtwm.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtDtwm.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtDtwm_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtEducation.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtEducation.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtEducation.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtFlag.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtFlag.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtFlag.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtFlag.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtFlag.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtFlag.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtFont.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtFont.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtFont_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtGamesCards.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtGamesCards.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtGamesCards.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtGraphics.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtGraphics.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtGraphics.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtI18N.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtI18N.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtI18N_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtKeybd.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtKeybd.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtKeybd_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMa.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMa.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMa_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMail.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMail.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMail.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMail.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMail.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMail.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMail.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMail.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMail.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMdl.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMdl.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMdl.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMdl.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMdl.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMdl.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMdl.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMdl.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMdl.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMmsg.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMmsg.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMmsg.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMmsg.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMmsg.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMmsg.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMmsg.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMmsg.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMmsg.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMnew.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMnew.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMnew.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMnew.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMnew.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMnew.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMnew.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMnew.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMnew.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMnone.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMnone.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMnone.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMnone.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMnone.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMnone.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMnone.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMnone.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMnone.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMouse.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMouse.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMouse_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMrfc.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMrfc.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMrfc.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMrfc.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMrfc.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMrfc.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMrfc.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMrfc.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtMrfc.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtOffice.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtOffice.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtOffice.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtPrtjb.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtPrtjb.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtPrtjb.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtPrtjb.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtPrtjb.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtPrtjb.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtPrtmg.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtPrtmg.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtPrtmg.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtPrtmg.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtPrtmg.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtPrtmg.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtPrtmg.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtPrtmg.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtPrtmg.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtPrtpr.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtPrtpr.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtPrtpr.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtPrtpr.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtPrtpr.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtPrtpr.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtPrtun.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtPrtun.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtPrtun.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtPrtun.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtPrtun.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtPrtun.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtPrtun.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtPrtun.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtPrtun.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtRdMe.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtRdMe.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtRdMe.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtRdMe.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtRdMe.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtRdMe.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtScrn.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtScrn.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtScrn_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtStart.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtStart.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtStart_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtSystem.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtSystem.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtSystem.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtablnk.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtablnk.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtablnk.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtablnk.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtablnk.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtablnk.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtablnk.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtactn.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtactn.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtactn.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtactn.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtactn.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtactn.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtactn.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtactn.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtactn.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtadskt.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtadskt.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtadskt.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtadskt.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtadskt.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtadskt.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtadskt.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtadskt.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtadskt.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtaexag.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtaexbx.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtaexbx.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtaexbx.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtaexbx.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtaexbx.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtaexbx.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtaexe.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtaexex.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtaexex.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtaexex.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtaexex.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtaexex.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtaexex.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtaexfl.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtaexfl.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtaexfl.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtaexfl.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtaexfl.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtaexfl.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtaextm.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtagen.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtagen.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtagen.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtagen.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtagen.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtagen.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtagen.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtagen.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtagen.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtagup.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtagup.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtagup.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtagup.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtagup.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtagup.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtainfo.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtainfo.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtainfo.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtainfo.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtainfo.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtainfo.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtainfo.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtainfo.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtainfo.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtapplications-multimedia.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtapplications-multimedia.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtapplications-multimedia.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtapps.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtapps.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtapps.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtapps.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtapps.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtapps.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtapps.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtapps.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtapps.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtaprnt.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtaprnt.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtaprnt.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtaprnt.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtaprnt.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtaprnt.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtassem.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtassem.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtassem.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtassem.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtassem.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtassem.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtasys.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtasys.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtasys.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtasys.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtasys.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtasys.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtasys.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtasys.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtasys.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtaudio.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtaudio.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtaudio.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtaudio.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtaudio.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtaudio.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtautil.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtautil.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtautil.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtautil.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtautil.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtautil.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtautil.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtautil.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtautil.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtbigM.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtbigM.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtbigM.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtbigM.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtbigM.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtbigM.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtbin.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtbin.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtbin.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtbin.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtbin.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtbin.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtbinml.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtbinml.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtbinml.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtbinml.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtbinml.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtbinml.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtbitmp.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtbitmp.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtbitmp.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtbitmp.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtbitmp.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtbitmp.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtblink.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtblink.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtblink.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtblink.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtblink.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtblink.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtblink.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtblink.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtblink.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtbmark.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtbmark.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtbmark.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtbmark.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtbmarki.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtbooklst.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtbshll.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtbshll.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtbshll.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtbshll.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtbshll.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtbshll.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtcalc.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtcalc.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtcalc.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtcalc.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtcalc.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtcalc.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtcalc.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtcalc.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtcalc.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtcat.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtcat.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtcat.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtcat.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtcat.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtcat.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtclock.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtclock.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtclock.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtclock.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtclock.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtclock.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtcmprs.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtcmprs.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtcmprs.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtcmprs.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtcmprs.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtcmprs.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtcore.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtcore.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtcore.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtcore.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtcore.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtcore.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtcshll.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtcshll.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtcshll.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtcshll.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtcshll.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtcshll.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdata.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdata.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdata.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdata.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdata.s.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdata.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdata.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdata.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdate.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdate.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdate.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdate.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdate.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdate.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdeflt.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdeflt.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdeflt.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdeflt.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdeflt.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdeflt.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdeflt.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdeflt.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdeflt.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdetach.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdetach.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdetach.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdetach.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdetachi.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdgclk.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdgclk.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdgclk.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdgclk.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtdirB.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtdirB.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtdirB.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtdirB.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtdirB.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtdirB.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtdirR.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtdirR.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtdirR.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtdirR.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtdirR.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtdirR.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtdirY.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtdirY.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtdirY.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtdirY.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtdirY.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtdirY.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdirlk.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdirlk.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdirlk.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdirlk.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdirlk.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdirlk.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdirlk.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdirlk.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdirlk.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdirnw.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdirnw.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdirnw.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdirnw.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdirnw.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdirnw.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdirnw.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdirnw.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdirnw.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdirup.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdirup.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdirup.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdirup.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdirup.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdirup.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtdotC.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtdotC.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtdotC.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtdotC.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtdotC.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtdotC.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtdotH.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtdotH.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtdotH.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtdotH.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtdotH.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DtdotH.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdt.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdt.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdt.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdt.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdt.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdt.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdtksh.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdtksh.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdtksh.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdtksh.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdtksh.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtdtksh.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dteditqry.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dteditqry.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dteditqry.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dteditqryi.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtexec.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtexec.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtexec.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtexec.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtexec.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtexec.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtfpcfg.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtfpcfg.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtfpcfg.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtfpcfg.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtfpcfg.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtfpcfg.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtfphlp.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtfphlp.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtfphlp.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtfphlp.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtfphlp.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtfphlp.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtfphlp.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtfphlp.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtfphlp.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtgif.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtgif.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtgif.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtgif.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtgif.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtgif.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtgraphmap.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtgraphmap.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtgraphmap.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtgraphmap.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtgraphmap.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtgraphmap.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthelp.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthelp.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthelp.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthelp.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthelp.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthelp.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthelp.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthelp.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthelp.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthgraphic.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthinfo.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthinfo.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthinfo.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthinfo.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthinfo.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthinfo.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthinfo.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthinfo.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthinfo.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthist.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthist.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthist.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthistnext.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthistnexti.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthistprev.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthistprevi.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthitem.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthitem.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthitem.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthitem.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthitem.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthitem.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthitem.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthitem.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthitem.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthome.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthome.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthome.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthome.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthome.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthome.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthome.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthome.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthome.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DthonFP.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DthonFP.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DthonFP.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DthonFP.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DthonFP.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DthonFP.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DthonFP.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DthonFP.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/DthonFP.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthover.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthover.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthover.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthover.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthover.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthover.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthover.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthover.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthover.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthsrc.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthsrc.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthsrc.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthsrc.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthsrc.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthsrc.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthtop.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthtop.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthtop.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthtop.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthtop.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthtop.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthvol.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthvol.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthvol.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthvol.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthvol.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dthvol.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtimage.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtimage.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtimage.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtimage.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtimage.s.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtimage.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtimage.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtimage.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtimake.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtimake.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtimake.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtimake.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtimake.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtimake.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtinf.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtinf.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtinf.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtinf.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtinf.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtinf.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtinfbc.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtinfbc.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtinfbc.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtinfbk.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtinfbk.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtinfbk.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtinfbk.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtinfbk.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtinfbk.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtinfo.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtinfo.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtinfo.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtinfo.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtinfo.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtinfo.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtinfoadd.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtinfoaddi.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtinfopr.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtinfopri.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtinfosub.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtinfosubi.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtinfsc.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtinfsc.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtinfsc.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtinlib.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtinlib.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtinlib.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtinlib.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtinlib.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtinlib.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtjpeg.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtjpeg.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtjpeg.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtjpeg.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtjpeg.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtjpeg.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtjpegi.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtjpegi.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtjpegi.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtjpegi.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtjpegi.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtjpegi.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtkey.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtkey.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtkey.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtkey.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtkey.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtkey.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtkshll.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtkshll.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtkshll.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtkshll.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtkshll.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtkshll.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtlink.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtlink.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtlink.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtlink.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtlink.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtlink.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtload.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtload.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtload.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtload.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtload.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtload.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtlogo.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtmagtp.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtmagtp.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtmagtp.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtmagtp.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtmagtp.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtmagtp.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtmail.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtmail.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtmail.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtmail.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtmail.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtmail.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtmanpg.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtmanpg.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtmanpg.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtmanpg.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtmanpg.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtmanpg.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtmanvw.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtmanvw.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtmanvw.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtmanvw.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtmanvw.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtmanvw.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtmime.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtmime.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtmime.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtmime.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtmime.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtmime.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtminus.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtmpeg.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtmpeg.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtmpeg.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtmpeg.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtmpeg.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtmpeg.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtms2B.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtms2BR.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtms3B.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtms3BR.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtnopr.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtnopr.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtnopr.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtnopr.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtnopr.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtnopr.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtpaint.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtpaint.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtpaint.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtpaint.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtpaint.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtpaint.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtpaint.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtpaint.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtpaint.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtpcl.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtpcl.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtpcl.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtpcl.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtpcl.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtpcl.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtpenpd.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtpenpd.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtpenpd.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtpenpd.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtpenpd.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtpenpd.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtpenpd.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtpenpd.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtpenpd.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtpixmp.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtpixmp.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtpixmp.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtpixmp.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtpixmp.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtpixmp.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtplus.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtprint.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtprint.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtprint.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtprint.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtprint.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtprint.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtps.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtps.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtps.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtps.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtps.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtps.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtqinfo.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtqinfo.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtqinfo.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtras.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtras.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtras.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtras.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtras.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtras.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtrunpn.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtrunpn.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtrunpn.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtrunpn.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtrunpn.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtrunpn.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtrunpn.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtrunpn.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtrunpn.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtsatur.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtscope_editor.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtscope_editor.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtsectnext.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtsectnexti.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtsectprev.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtsectprevi.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtshar.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtshar.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtshar.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtshar.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtshar.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtshar.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtshell.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtshell.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtshell.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtshell.st.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtshell.st_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtshell.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtshell.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtshell.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtsprds.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtsprds.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtsprds.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtsprds.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtsprds.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtsprds.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtsrch.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtsrch.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtsrch.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtsrchnext.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtsrchnexti.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtsrchprev.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtsrchprevi.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtstyle.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtstyle.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtstyle.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtstyle.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtstyle.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtstyle.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtstyle.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtstyle.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtterm.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtterm.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtterm.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtterm.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtterm.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtterm.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtterm.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtterm.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtterm.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dttif.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dttif.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dttif.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dttif.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dttif.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dttif.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dttrsh.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dttrsh.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dttrsh.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dttrsh.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dttrsh.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dttrsh.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dttvbth.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dttvbth.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dttvbth.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dttvbth.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dttvbth.s.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dttvbth.s.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dttvemp.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dttvemp.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dttvemp.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dttvemp.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dttvemp.s.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dttvemp.s.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dttverr.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dttverr.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dttverr.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dttverr.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dttverr.s.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dttverr.s.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dttvlss.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dttvlss.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dttvlss.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dttvlss.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dttvlss.s.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dttvlss.s.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dttvmor.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dttvmor.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dttvmor.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dttvmor.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dttvmor.s.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dttvmor.s.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dttvnil.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dttvnil.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dttvnil.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dttvnil.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dttvnil.s.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dttvnil.s.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dttvnor.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dttvnor.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dttvnor.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dttvnor.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dttvnor.s.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dttvnor.s.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtuil.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtuil.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtuil.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtuil.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtuil.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtuil.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtuuncd.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtuuncd.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtuuncd.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtuuncd.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtuuncd.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtuuncd.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtvalue.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtview.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtview.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtview.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtview.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtviewi.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtxwd.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtxwd.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtxwd.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtxwd.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtxwd.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Dtxwd.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpCM.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpCM.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpCM.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpCM.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpCM.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpCM.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpPrtmg.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpPrtmg.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpPrtmg.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpPrtmg.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpPrtmg.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpPrtmg.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpPrtmg.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpPrtmg.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpPrtmg.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpapps.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpapps.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpapps.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpapps.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpapps.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpapps.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpapps.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpapps.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpapps.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpblank.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpblank.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpblnkA.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpblnkA.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpblnkS.s.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpblnkS.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpclock.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpclock.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpclock.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpclock.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpclock.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpclock.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpdown.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpdown.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpdown.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpdown.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpdown.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpdown.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpdownY.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpdownY.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpdownY.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpdownY.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpdownY.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpdownY.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpdropz.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpdropz.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpdropz.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpdropz.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpdropz.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpdropz.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpexit.s.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpexit.s.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpexit.s_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpexit.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpexit.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpexit.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpfphlp.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpfphlp.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpfphlp.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpfphlp.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpfphlp.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpfphlp.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpfpmin.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpfpmin.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpfpmin.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpfpmin.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fphandl.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fphandl.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fphelp.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fphelp.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fphelp.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fphelp.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fphelp.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fphelp.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fphome.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fphome.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fphome.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fphome.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fphome.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fphome.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpindc.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpindc.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpindc.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpindc.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpindc.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpindc.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpindcY.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpindcY.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpindcY.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpindcY.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpindcY.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpindcY.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fplite.s.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fplite.s.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fplite.s_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fplite.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fplite.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fplite.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpliteY.s.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpliteY.s.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpliteY.s_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpliteY.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpliteY.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpliteY.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fplock.s.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fplock.s.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fplock.s_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fplock.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fplock.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fplock.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpmenu.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpmenu.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpmenu.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpmenu.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpmenuY.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpmenuY.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpmenuY.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpmenuY.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpmin.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpmin.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpmin.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpmin.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpminY.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpminY.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpminY.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpminY.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fppenpd.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fppenpd.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fppenpd.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fppenpd.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fppenpd.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fppenpd.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt1.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt1.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt1.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt1.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt1.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt1.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt2.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt2.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt2.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt2.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt2.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt2.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt3.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt3.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt3.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt3.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt3.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt3.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt4.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt4.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt4.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt4.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt4.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt4.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt5.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt5.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt5.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt5.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt5.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt5.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt6.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt6.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt6.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt6.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt6.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt6.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt7.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt7.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt7.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt7.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt7.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt7.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt8.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt8.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt8.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt8.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt8.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt8.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt9.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt9.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt9.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt9.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt9.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpprnt9.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpprntA.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpprntA.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpprntA.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpprntA.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpprntA.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpprntA.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpprntB.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpprntB.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpprntB.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpprntB.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpprntB.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpprntB.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpstyle.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpstyle.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpstyle.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpstyle.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpstyle.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpstyle.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpstyle.s.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpstyle.s.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpstyle.s_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpterm.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpterm.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpterm.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpterm.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpterm.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpterm.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpterm.s.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpterm.s.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpterm.s_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fptrsh.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fptrsh.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fptrsh.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fptrsh.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fptrsh.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fptrsh.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fptrsh1.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fptrsh1.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fptrsh1.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fptrsh1.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fptrsh1.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fptrsh1.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fptrsh2.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fptrsh2.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fptrsh2.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fptrsh2.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fptrsh2.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fptrsh2.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fptrsh3.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fptrsh3.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fptrsh3.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fptrsh3.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fptrsh3.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fptrsh3.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fptrsh4.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fptrsh4.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fptrsh4.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fptrsh4.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fptrsh4.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fptrsh4.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fptrsh5.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fptrsh5.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fptrsh5.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fptrsh5.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fptrsh5.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fptrsh5.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fptrsh6.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fptrsh6.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fptrsh6.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fptrsh6.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fptrsh6.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fptrsh6.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fptrsh7.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fptrsh7.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fptrsh7.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fptrsh7.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fptrsh7.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fptrsh7.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpup.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpup.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpup.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpup.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpup.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpup.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpupY.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpupY.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpupY.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpupY.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpupY.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FpupY.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpupon.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpupon.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpupon.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpupon.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpupon.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/Fpupon.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FreeBSDDtlogo.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/FreeBSDDtlogo.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/IcCM.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/IcCM.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/IcCM.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/IcCM.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/IcCM.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/IcCM.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/IcCMinv.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/IcCMinv.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/IcMcomp.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/IcMcomp.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/IcMcomp.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/IcMcomp.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/IcMcomp.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/IcMcomp.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/IcMxbdy.l.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/IcMxbdy.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/IcMxbdy.l_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/IcMxbdy.m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/IcMxbdy.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/IcMxbdy.m_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/IcMxbdy.t.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/IcMxbdy.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/IcMxbdy.t_m.bm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/SDthtml.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/SDthtml.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/SDturlweb.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/SDturlweb.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/SDturlweb.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/SDtwebbr.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/SDtwebbr.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/SDtwebbr.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/TOGDtlogo.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/TeXGroup.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/TeXGroup.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/TeXGroup.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/acroread.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/acroread.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/acroread.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/amarok.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/amarok.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/amarok.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/bomb makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/bomb16 makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/bomb16m makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/bomb32 makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/bomb32m makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/bombm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/brasero.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/brasero.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/brasero.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/browse.xbm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/browse_ins.xbm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/caja.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/caja.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/caja.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/camera.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/camera.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/camera.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/chrome.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/chrome.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/chrome.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/default.xpm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/deiconify.xbm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/detached.xpm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/dia.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/dia.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/dia.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/dreamchess.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/dreamchess.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/dreamchess.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/dvi.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/dvi.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/dvi.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/eboard.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/eboard.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/eboard.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/emacs.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/emacs.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/emacs.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/engrampa.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/engrampa.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/engrampa.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/eom.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/eom.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/eom.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/f-spot.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/f-spot.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/f-spot.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/file-roller.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/file-roller.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/file-roller.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/firefox.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/firefox.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/firefox.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/firestarter.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/firestarter.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/firestarter.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/fontforge.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/fontforge.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/fontforge.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/gcompris.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/gcompris.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/gcompris.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/geogebra.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/geogebra.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/geogebra.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/gimp.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/gimp.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/gimp.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/gscan2pdf.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/gscan2pdf.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/gscan2pdf.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/gv.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/gv.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/gv.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/help.xbm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/help_ins.xbm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/history.xbm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/history_ins.xbm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/iconify.xbm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/inkscape.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/inkscape.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/inkscape.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/k3b.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/k3b.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/k3b.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/k9copy.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/k9copy.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/k9copy.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/kile.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/kile.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/kile.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/ktuberling.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/ktuberling.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/ktuberling.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/lbreakout2.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/lbreakout2.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/lbreakout2.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/libreoffice-base.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/libreoffice-base.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/libreoffice-base.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/libreoffice-calc.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/libreoffice-calc.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/libreoffice-calc.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/libreoffice-draw.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/libreoffice-draw.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/libreoffice-draw.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/libreoffice-impress.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/libreoffice-impress.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/libreoffice-impress.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/libreoffice-main.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/libreoffice-main.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/libreoffice-main.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/libreoffice-math.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/libreoffice-math.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/libreoffice-math.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/libreoffice-startcenter.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/libreoffice-startcenter.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/libreoffice-startcenter.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/libreoffice-writer.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/libreoffice-writer.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/libreoffice-writer.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/locked.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/locked.xbm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/logo.xpm.ps makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/marks.xbm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/marks_ins.xbm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/mgv.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/mgv.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/mgv.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/mgv.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/mp3.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/mp3.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/mp3.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/nedit.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/nedit.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/nedit.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/nxclient-desktop.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/nxclient-desktop.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/nxclient-desktop.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/nxclient-icon.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/nxclient-icon.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/okular.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/okular.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/okular.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/pgadmin3.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/pgadmin3.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/pgadmin3.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/pinin.xbm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/pinmid.xbm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/pinout.xbm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/powermanga.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/powermanga.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/powermanga.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/pychess.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/pychess.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/pychess.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/quit.xbm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/rhythmbox.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/rhythmbox.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/rhythmbox.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/rosegarden.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/rosegarden.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/rosegarden.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/search.xbm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/search_ins.xbm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/semilocked.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/semilocked.xbm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/shotwell.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/shotwell.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/shotwell.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/skype.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/skype.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/skype.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/sound-juicer.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/sound-juicer.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/sound-juicer.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/stellarium.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/stellarium.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/stellarium.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/supertux.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/supertux.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/supertux.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/synaptic.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/synaptic.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/synaptic.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/thunderbird.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/thunderbird.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/thunderbird.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/tuxpaint.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/tuxpaint.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/tuxpaint.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/unlocked.xbm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/video.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/video.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/video.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/virtualbox.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/virtualbox.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/virtualbox.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/vlc.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/vlc.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/vlc.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/web_browse.xbm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/web_browse_ins.xbm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/wicd.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/wicd.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/wicd.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/xboard.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/xboard.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/xboard.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/xdvi.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/xdvi.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/xdvi.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/xine.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/xine.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/xine.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/xournal.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/xournal.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/xournal.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/xpdf.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/xpdf.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/xpdf.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/xv.l.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/xv.m.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/C/xv.t.pm makronix-util-data -+./usr/pkg/dt/appconfig/icons/ja makronix-sys-root -+./usr/pkg/dt/appconfig/icons/ja/bomb makronix-util-data -+./usr/pkg/dt/appconfig/icons/ja/bomb16 makronix-util-data -+./usr/pkg/dt/appconfig/icons/ja/bomb16m makronix-util-data -+./usr/pkg/dt/appconfig/icons/ja/bomb32 makronix-util-data -+./usr/pkg/dt/appconfig/icons/ja/bomb32m makronix-util-data -+./usr/pkg/dt/appconfig/icons/ja/bombm makronix-util-data -+./usr/pkg/dt/appconfig/icons/ja/browse.xbm makronix-util-data -+./usr/pkg/dt/appconfig/icons/ja/browse_ins.xbm makronix-util-data -+./usr/pkg/dt/appconfig/icons/ja/default.xpm makronix-util-data -+./usr/pkg/dt/appconfig/icons/ja/deiconify.xbm makronix-util-data -+./usr/pkg/dt/appconfig/icons/ja/detached.xpm makronix-util-data -+./usr/pkg/dt/appconfig/icons/ja/help.xbm makronix-util-data -+./usr/pkg/dt/appconfig/icons/ja/help_ins.xbm makronix-util-data -+./usr/pkg/dt/appconfig/icons/ja/history.xbm makronix-util-data -+./usr/pkg/dt/appconfig/icons/ja/history_ins.xbm makronix-util-data -+./usr/pkg/dt/appconfig/icons/ja/iconify.xbm makronix-util-data -+./usr/pkg/dt/appconfig/icons/ja/locked.xbm makronix-util-data -+./usr/pkg/dt/appconfig/icons/ja/logo.xpm.ps makronix-util-data -+./usr/pkg/dt/appconfig/icons/ja/marks.xbm makronix-util-data -+./usr/pkg/dt/appconfig/icons/ja/marks_ins.xbm makronix-util-data -+./usr/pkg/dt/appconfig/icons/ja/pinin.xbm makronix-util-data -+./usr/pkg/dt/appconfig/icons/ja/pinmid.xbm makronix-util-data -+./usr/pkg/dt/appconfig/icons/ja/pinout.xbm makronix-util-data -+./usr/pkg/dt/appconfig/icons/ja/quit.xbm makronix-util-data -+./usr/pkg/dt/appconfig/icons/ja/search.xbm makronix-util-data -+./usr/pkg/dt/appconfig/icons/ja/search_ins.xbm makronix-util-data -+./usr/pkg/dt/appconfig/icons/ja/semilocked.xbm makronix-util-data -+./usr/pkg/dt/appconfig/icons/ja/unlocked.xbm makronix-util-data -+./usr/pkg/dt/appconfig/icons/ja/web_browse.xbm makronix-util-data -+./usr/pkg/dt/appconfig/icons/ja/web_browse_ins.xbm makronix-util-data -+./usr/pkg/dt/appconfig/tttypes makronix-sys-root -+./usr/pkg/dt/appconfig/tttypes/types.xdr makronix-util-data -+./usr/pkg/dt/appconfig/types makronix-sys-root -+./usr/pkg/dt/appconfig/types/C makronix-sys-root -+./usr/pkg/dt/appconfig/types/C/DisplayImage.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/DisplayPDF.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/DisplayPS.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/DisplayVideo.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/Education.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/Games.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/Graphics.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/IconBrowse.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/Internet.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/Media_Tools.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/Office.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/System.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/TeX.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/acroread.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/amarok.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/autoStart.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/brasero.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/caja.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/chromium.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/datatypes.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/develop.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/dreamchess.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/dt.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/dtappman.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/dtbuilder.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/dtcm.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/dtfile.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/dthelp.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/dthelpprint.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/dthelptag.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/dtims.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/dtinfo.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/dtmail.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/dtpad.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/dtscreen.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/dtwm.fp makronix-util-data -+./usr/pkg/dt/appconfig/types/C/eboard.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/emacs.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/engrampa.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/file-roller.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/firefox.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/firestarter.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/fontforge.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/gcompris.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/geogebra.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/gimp.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/gv.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/inkscape.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/k3b.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/k9copy.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/kile.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/ktuberling.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/lbreakout2.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/libreoffice-base.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/libreoffice-calc.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/libreoffice-draw.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/libreoffice-impress.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/libreoffice-main.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/libreoffice-math.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/libreoffice-writer.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/mgv.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/miscActions.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/miscImages.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/nedit.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/nxclient.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/okular.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/pavucontrol.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/pgadmin.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/powermanga.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/print.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/pychess.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/rhythmbox.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/rosegarden.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/skype.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/sound-juicer.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/stellarium.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/supertux.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/synaptic.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/thunderbird.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/tuxpaint.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/user-prefs.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/uxstd.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/videoTypes.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/virtualbox.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/vlc.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/wicd.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/xboard.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/xclients.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/xdvi.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/xine.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/xournal.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/xpdf.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/C/xv.dt makronix-util-data -+./usr/pkg/dt/appconfig/types/en_US.UTF-8 makronix-util-data -+./usr/pkg/dt/backdrops makronix-util-data -+./usr/pkg/dt/bin makronix-sys-root -+./usr/pkg/dt/bin/Xsession makronix-util-bin -+./usr/pkg/dt/bin/dsdm makronix-util-bin -+./usr/pkg/dt/bin/dtaction makronix-util-bin -+./usr/pkg/dt/bin/dtappgather makronix-util-bin -+./usr/pkg/dt/bin/dtappintegrate makronix-util-bin -+./usr/pkg/dt/bin/dtbuilder makronix-util-bin -+./usr/pkg/dt/bin/dtcalc makronix-util-bin -+./usr/pkg/dt/bin/dtchooser makronix-util-bin -+./usr/pkg/dt/bin/dtcm makronix-util-bin -+./usr/pkg/dt/bin/dtcm_delete makronix-util-bin -+./usr/pkg/dt/bin/dtcm_editor makronix-util-bin -+./usr/pkg/dt/bin/dtcm_insert makronix-util-bin -+./usr/pkg/dt/bin/dtcm_lookup makronix-util-bin -+./usr/pkg/dt/bin/dtcodegen makronix-util-bin -+./usr/pkg/dt/bin/dtcreate makronix-util-bin -+./usr/pkg/dt/bin/dtdbcache makronix-util-bin -+./usr/pkg/dt/bin/dtdocbook2infolib makronix-util-bin -+./usr/pkg/dt/bin/dtdocbook2man makronix-util-bin -+./usr/pkg/dt/bin/dtdocbook2sdl makronix-util-bin -+./usr/pkg/dt/bin/dtdspmsg makronix-util-bin -+./usr/pkg/dt/bin/dterror.ds makronix-util-bin -+./usr/pkg/dt/bin/dtexec makronix-util-bin -+./usr/pkg/dt/bin/dtfile makronix-util-bin -+./usr/pkg/dt/bin/dtfile_copy makronix-util-bin -+./usr/pkg/dt/bin/dtfile_error makronix-util-bin -+./usr/pkg/dt/bin/dtfplist makronix-util-bin -+./usr/pkg/dt/bin/dtgreet makronix-util-bin -+./usr/pkg/dt/bin/dthello makronix-util-bin -+./usr/pkg/dt/bin/dthelp_ctag1 makronix-util-bin -+./usr/pkg/dt/bin/dthelp_htag1 makronix-util-bin -+./usr/pkg/dt/bin/dthelp_htag2 makronix-util-bin -+./usr/pkg/dt/bin/dthelpgen makronix-util-bin -+./usr/pkg/dt/bin/dthelpgen.dtsh makronix-util-bin -+./usr/pkg/dt/bin/dthelpprint makronix-util-bin -+./usr/pkg/dt/bin/dthelpprint.sh makronix-util-bin -+./usr/pkg/dt/bin/dthelptag makronix-util-bin -+./usr/pkg/dt/bin/dthelpview makronix-util-bin -+./usr/pkg/dt/bin/dticon makronix-util-bin -+./usr/pkg/dt/bin/dtimsstart makronix-util-bin -+./usr/pkg/dt/bin/dtinfo makronix-util-bin -+./usr/pkg/dt/bin/dtksh makronix-util-bin -+./usr/pkg/dt/bin/dtlogin makronix-util-bin -+./usr/pkg/dt/bin/dtlp makronix-util-bin -+./usr/pkg/dt/bin/dtlpsetup makronix-util-bin -+./usr/pkg/dt/bin/dtmail makronix-util-bin -+./usr/pkg/dt/bin/dtmailpr makronix-util-bin -+./usr/pkg/dt/bin/dtopen makronix-util-bin -+./usr/pkg/dt/bin/dtopen_image makronix-util-bin -+./usr/pkg/dt/bin/dtopen_pdf makronix-util-bin -+./usr/pkg/dt/bin/dtopen_ps makronix-util-bin -+./usr/pkg/dt/bin/dtopen_video makronix-util-bin -+./usr/pkg/dt/bin/dtpad makronix-util-bin -+./usr/pkg/dt/bin/dtpdm makronix-util-bin -+./usr/pkg/dt/bin/dtpdmd makronix-util-bin -+./usr/pkg/dt/bin/dtprintegrate makronix-util-bin -+./usr/pkg/dt/bin/dtprintinfo makronix-util-bin -+./usr/pkg/dt/bin/dtscreen makronix-util-bin -+./usr/pkg/dt/bin/dtsearchpath makronix-util-bin -+./usr/pkg/dt/bin/dtsession makronix-util-bin -+./usr/pkg/dt/bin/dtsession_res makronix-util-bin -+./usr/pkg/dt/bin/dtspcd makronix-util-bin -+./usr/pkg/dt/bin/dtsrclean makronix-util-bin -+./usr/pkg/dt/bin/dtsrcreate makronix-util-bin -+./usr/pkg/dt/bin/dtsrdbrec makronix-util-bin -+./usr/pkg/dt/bin/dtsrdelete makronix-util-bin -+./usr/pkg/dt/bin/dtsrhan makronix-util-bin -+./usr/pkg/dt/bin/dtsrindex makronix-util-bin -+./usr/pkg/dt/bin/dtsrkdump makronix-util-bin -+./usr/pkg/dt/bin/dtsrload makronix-util-bin -+./usr/pkg/dt/bin/dtstyle makronix-util-bin -+./usr/pkg/dt/bin/dtterm makronix-util-bin -+./usr/pkg/dt/bin/dttypes makronix-util-bin -+./usr/pkg/dt/bin/dtwm makronix-util-bin -+./usr/pkg/dt/bin/huffcode makronix-util-bin -+./usr/pkg/dt/bin/rpc.cmsd makronix-util-bin -+./usr/pkg/dt/bin/rpc.ttdbserver makronix-util-bin -+./usr/pkg/dt/bin/tt_type_comp makronix-util-bin -+./usr/pkg/dt/bin/ttauth makronix-util-bin -+./usr/pkg/dt/bin/ttcp makronix-util-bin -+./usr/pkg/dt/bin/ttdbck makronix-util-bin -+./usr/pkg/dt/bin/ttmv makronix-util-bin -+./usr/pkg/dt/bin/ttrm makronix-util-bin -+./usr/pkg/dt/bin/ttrmdir makronix-util-bin -+./usr/pkg/dt/bin/ttsession makronix-util-bin -+./usr/pkg/dt/bin/ttsnoop makronix-util-bin -+./usr/pkg/dt/bin/tttar makronix-util-bin -+./usr/pkg/dt/bin/tttrace makronix-util-bin -+./usr/pkg/dt/config makronix-sys-root -+./usr/pkg/dt/config/C makronix-sys-root -+./usr/pkg/dt/config/C/Xresources makronix-util-data -+./usr/pkg/dt/config/C/Xresources.d makronix-sys-root -+./usr/pkg/dt/config/C/Xresources.d/0100.session makronix-util-data -+./usr/pkg/dt/config/C/Xresources.d/0120.session makronix-util-data -+./usr/pkg/dt/config/C/Xresources.d/0140.session makronix-util-data -+./usr/pkg/dt/config/C/Xresources.d/0160.session makronix-util-data -+./usr/pkg/dt/config/C/dtfile.config makronix-util-data -+./usr/pkg/dt/config/C/sys.dtwmrc makronix-util-data -+./usr/pkg/dt/config/C/sys.font makronix-util-data -+./usr/pkg/dt/config/C/sys.resources makronix-util-data -+./usr/pkg/dt/config/C/sys.session makronix-util-data -+./usr/pkg/dt/config/Xaccess makronix-util-data -+./usr/pkg/dt/config/Xconfig makronix-util-data -+./usr/pkg/dt/config/Xfailsafe makronix-util-data -+./usr/pkg/dt/config/Xreset makronix-util-data -+./usr/pkg/dt/config/Xservers makronix-util-data -+./usr/pkg/dt/config/Xsession.d makronix-sys-root -+./usr/pkg/dt/config/Xsession.d/0010.dtpaths makronix-util-data -+./usr/pkg/dt/config/Xsession.d/0020.dtims makronix-util-data -+./usr/pkg/dt/config/Xsession.d/0030.dttmpdir makronix-util-data -+./usr/pkg/dt/config/Xsession.d/0060.dtsysenv makronix-util-data -+./usr/pkg/dt/config/Xsetup makronix-util-data -+./usr/pkg/dt/config/Xstartup makronix-util-data -+./usr/pkg/dt/config/dtspcdenv makronix-util-data -+./usr/pkg/dt/config/dtterm.ti makronix-util-data -+./usr/pkg/dt/config/en_US.UTF-8 makronix-util-data -+./usr/pkg/dt/config/ims makronix-sys-root -+./usr/pkg/dt/config/ims/start.conf makronix-util-data -+./usr/pkg/dt/config/svc makronix-sys-root -+./usr/pkg/dt/config/svc/CDE.lcx makronix-util-data -+./usr/pkg/dt/config/sys.dtprofile makronix-util-data -+./usr/pkg/dt/copyright makronix-util-data -+./usr/pkg/dt/include makronix-sys-root -+./usr/pkg/dt/include/Dt makronix-sys-root -+./usr/pkg/dt/include/Dt/Action.h makronix-util-data -+./usr/pkg/dt/include/Dt/ComboBox.h makronix-util-data -+./usr/pkg/dt/include/Dt/Dnd.h makronix-util-data -+./usr/pkg/dt/include/Dt/Dt.h makronix-util-data -+./usr/pkg/dt/include/Dt/DtXinerama.h makronix-util-data -+./usr/pkg/dt/include/Dt/Dts.h makronix-util-data -+./usr/pkg/dt/include/Dt/Editor.h makronix-util-data -+./usr/pkg/dt/include/Dt/Help.h makronix-util-data -+./usr/pkg/dt/include/Dt/HelpDialog.h makronix-util-data -+./usr/pkg/dt/include/Dt/HelpQuickD.h makronix-util-data -+./usr/pkg/dt/include/Dt/Info.h makronix-util-data -+./usr/pkg/dt/include/Dt/MenuButton.h makronix-util-data -+./usr/pkg/dt/include/Dt/Mmdb.h makronix-util-data -+./usr/pkg/dt/include/Dt/Mrm.h makronix-util-data -+./usr/pkg/dt/include/Dt/MsgLog.h makronix-util-data -+./usr/pkg/dt/include/Dt/Print.h makronix-util-data -+./usr/pkg/dt/include/Dt/Saver.h makronix-util-data -+./usr/pkg/dt/include/Dt/Search.h makronix-util-data -+./usr/pkg/dt/include/Dt/Session.h makronix-util-data -+./usr/pkg/dt/include/Dt/SpinBox.h makronix-util-data -+./usr/pkg/dt/include/Dt/SvcPam.h makronix-util-data -+./usr/pkg/dt/include/Dt/Term.h makronix-util-data -+./usr/pkg/dt/include/Dt/TermPrim.h makronix-util-data -+./usr/pkg/dt/include/Dt/Wsm.h makronix-util-data -+./usr/pkg/dt/include/Tt makronix-sys-root -+./usr/pkg/dt/include/Tt/tt_c.h makronix-util-data -+./usr/pkg/dt/include/Tt/tttk.h makronix-util-data -+./usr/pkg/dt/include/csa makronix-sys-root -+./usr/pkg/dt/include/csa/csa.h makronix-util-data -+./usr/pkg/dt/infolib makronix-sys-root -+./usr/pkg/dt/infolib/C makronix-util-data -+./usr/pkg/dt/infolib/en_US.UTF-8 makronix-sys-root -+./usr/pkg/dt/infolib/en_US.UTF-8/cde.dti makronix-sys-root -+./usr/pkg/dt/infolib/en_US.UTF-8/cde.dti/CDEDOC makronix-sys-root -+./usr/pkg/dt/infolib/en_US.UTF-8/cde.dti/CDEDOC/CDEDOC.dbd makronix-util-data -+./usr/pkg/dt/infolib/en_US.UTF-8/cde.dti/CDEDOC/CDEDOC.dbi makronix-util-data -+./usr/pkg/dt/infolib/en_US.UTF-8/cde.dti/CDEDOC/CDEDOC.sch makronix-util-data -+./usr/pkg/dt/infolib/en_US.UTF-8/cde.dti/CDEDOC/dtsearch makronix-sys-root -+./usr/pkg/dt/infolib/en_US.UTF-8/cde.dti/CDEDOC/dtsearch/CDEDOC.d00 makronix-util-data -+./usr/pkg/dt/infolib/en_US.UTF-8/cde.dti/CDEDOC/dtsearch/CDEDOC.d01 makronix-util-data -+./usr/pkg/dt/infolib/en_US.UTF-8/cde.dti/CDEDOC/dtsearch/CDEDOC.d21 makronix-util-data -+./usr/pkg/dt/infolib/en_US.UTF-8/cde.dti/CDEDOC/dtsearch/CDEDOC.d22 makronix-util-data -+./usr/pkg/dt/infolib/en_US.UTF-8/cde.dti/CDEDOC/dtsearch/CDEDOC.d23 makronix-util-data -+./usr/pkg/dt/infolib/en_US.UTF-8/cde.dti/CDEDOC/dtsearch/CDEDOC.d99 makronix-util-data -+./usr/pkg/dt/infolib/en_US.UTF-8/cde.dti/CDEDOC/dtsearch/CDEDOC.dbd makronix-util-data -+./usr/pkg/dt/infolib/en_US.UTF-8/cde.dti/CDEDOC/dtsearch/CDEDOC.k00 makronix-util-data -+./usr/pkg/dt/infolib/en_US.UTF-8/cde.dti/CDEDOC/dtsearch/CDEDOC.k01 makronix-util-data -+./usr/pkg/dt/infolib/en_US.UTF-8/cde.dti/CDEDOC/dtsearch/CDEDOC.k21 makronix-util-data -+./usr/pkg/dt/infolib/en_US.UTF-8/cde.dti/CDEDOC/dtsearch/CDEDOC.k22 makronix-util-data -+./usr/pkg/dt/infolib/en_US.UTF-8/cde.dti/CDEDOC/dtsearch/CDEDOC.k23 makronix-util-data -+./usr/pkg/dt/infolib/en_US.UTF-8/cde.dti/CDEDOC/dtsearch/CDEDOC.sfx makronix-util-data -+./usr/pkg/dt/infolib/en_US.UTF-8/cde.dti/CDEDOC/dtsearch/CDEDOC.stp makronix-util-data -+./usr/pkg/dt/infolib/en_US.UTF-8/cde.dti/CDEDOC/dtsearch/dtsearch.ocf makronix-util-data -+./usr/pkg/dt/infolib/en_US.UTF-8/cde.dti/bookcase.map makronix-util-data -+./usr/pkg/dt/infolib/en_US.UTF-8/cde.dti/cde.oli makronix-util-data -+./usr/pkg/dt/infolib/etc makronix-sys-root -+./usr/pkg/dt/infolib/etc/dtinfo_start makronix-util-data -+./usr/pkg/dt/infolib/etc/mmdb.mark.spec makronix-util-data -+./usr/pkg/dt/lib makronix-sys-root -+./usr/pkg/dt/lib/cde makronix-sys-root -+./usr/pkg/dt/lib/cde/dtdocbook makronix-sys-root -+./usr/pkg/dt/lib/cde/dtdocbook/tcl makronix-sys-root -+./usr/pkg/dt/lib/cde/dtdocbook/tcl/docbook.tcl makronix-util-data -+./usr/pkg/dt/lib/dtksh makronix-sys-root -+./usr/pkg/dt/lib/dtksh/DtFuncs.dtsh makronix-util-data -+./usr/pkg/dt/lib/libDtHelp.a makronix-util-data -+./usr/pkg/dt/lib/libDtHelp.la makronix-util-data -+./usr/pkg/dt/lib/libDtHelp.so makronix-util-data -+./usr/pkg/dt/lib/libDtHelp.so.2 makronix-util-data -+./usr/pkg/dt/lib/libDtHelp.so.2.0.1 makronix-util-data -+./usr/pkg/dt/lib/libDtMmdb.a makronix-util-data -+./usr/pkg/dt/lib/libDtMmdb.la makronix-util-data -+./usr/pkg/dt/lib/libDtMmdb.so makronix-util-data -+./usr/pkg/dt/lib/libDtMmdb.so.2 makronix-util-data -+./usr/pkg/dt/lib/libDtMmdb.so.2.0.1 makronix-util-data -+./usr/pkg/dt/lib/libDtMrm.a makronix-util-data -+./usr/pkg/dt/lib/libDtMrm.la makronix-util-data -+./usr/pkg/dt/lib/libDtMrm.so makronix-util-data -+./usr/pkg/dt/lib/libDtMrm.so.2 makronix-util-data -+./usr/pkg/dt/lib/libDtMrm.so.2.0.1 makronix-util-data -+./usr/pkg/dt/lib/libDtPrint.a makronix-util-data -+./usr/pkg/dt/lib/libDtPrint.la makronix-util-data -+./usr/pkg/dt/lib/libDtPrint.so makronix-util-data -+./usr/pkg/dt/lib/libDtPrint.so.2 makronix-util-data -+./usr/pkg/dt/lib/libDtPrint.so.2.0.1 makronix-util-data -+./usr/pkg/dt/lib/libDtSearch.a makronix-util-data -+./usr/pkg/dt/lib/libDtSearch.la makronix-util-data -+./usr/pkg/dt/lib/libDtSearch.so makronix-util-data -+./usr/pkg/dt/lib/libDtSearch.so.2 makronix-util-data -+./usr/pkg/dt/lib/libDtSearch.so.2.0.1 makronix-util-data -+./usr/pkg/dt/lib/libDtSvc.a makronix-util-data -+./usr/pkg/dt/lib/libDtSvc.la makronix-util-data -+./usr/pkg/dt/lib/libDtSvc.so makronix-util-data -+./usr/pkg/dt/lib/libDtSvc.so.2 makronix-util-data -+./usr/pkg/dt/lib/libDtSvc.so.2.0.1 makronix-util-data -+./usr/pkg/dt/lib/libDtTerm.a makronix-util-data -+./usr/pkg/dt/lib/libDtTerm.la makronix-util-data -+./usr/pkg/dt/lib/libDtTerm.so makronix-util-data -+./usr/pkg/dt/lib/libDtTerm.so.2 makronix-util-data -+./usr/pkg/dt/lib/libDtTerm.so.2.0.1 makronix-util-data -+./usr/pkg/dt/lib/libDtWidget.a makronix-util-data -+./usr/pkg/dt/lib/libDtWidget.la makronix-util-data -+./usr/pkg/dt/lib/libDtWidget.so makronix-util-data -+./usr/pkg/dt/lib/libDtWidget.so.2 makronix-util-data -+./usr/pkg/dt/lib/libDtWidget.so.2.0.1 makronix-util-data -+./usr/pkg/dt/lib/libDtXinerama.a makronix-util-data -+./usr/pkg/dt/lib/libDtXinerama.la makronix-util-data -+./usr/pkg/dt/lib/libDtXinerama.so makronix-util-data -+./usr/pkg/dt/lib/libDtXinerama.so.2 makronix-util-data -+./usr/pkg/dt/lib/libDtXinerama.so.2.0.1 makronix-util-data -+./usr/pkg/dt/lib/libcsa.a makronix-util-data -+./usr/pkg/dt/lib/libcsa.la makronix-util-data -+./usr/pkg/dt/lib/libcsa.so makronix-util-data -+./usr/pkg/dt/lib/libcsa.so.2 makronix-util-data -+./usr/pkg/dt/lib/libcsa.so.2.0.1 makronix-util-data -+./usr/pkg/dt/lib/libtt.a makronix-util-data -+./usr/pkg/dt/lib/libtt.la makronix-util-data -+./usr/pkg/dt/lib/libtt.so makronix-util-data -+./usr/pkg/dt/lib/libtt.so.2 makronix-util-data -+./usr/pkg/dt/lib/libtt.so.2.0.1 makronix-util-data -+./usr/pkg/dt/lib/nls makronix-sys-root -+./usr/pkg/dt/lib/nls/msg makronix-sys-root -+./usr/pkg/dt/lib/nls/msg/C makronix-sys-root -+./usr/pkg/dt/lib/nls/msg/C/DtHelp.cat makronix-util-data -+./usr/pkg/dt/lib/nls/msg/C/DtMail.cat makronix-util-data -+./usr/pkg/dt/lib/nls/msg/C/DtPrint.cat makronix-util-data -+./usr/pkg/dt/lib/nls/msg/C/DtWidget.cat makronix-util-data -+./usr/pkg/dt/lib/nls/msg/C/MotifApp.cat makronix-util-data -+./usr/pkg/dt/lib/nls/msg/C/Mrm.cat makronix-util-data -+./usr/pkg/dt/lib/nls/msg/C/SUNW_TOOLTALK.cat makronix-util-data -+./usr/pkg/dt/lib/nls/msg/C/Uil.cat makronix-util-data -+./usr/pkg/dt/lib/nls/msg/C/Xm.cat makronix-util-data -+./usr/pkg/dt/lib/nls/msg/C/dt.cat makronix-util-data -+./usr/pkg/dt/lib/nls/msg/C/dtact.cat makronix-util-data -+./usr/pkg/dt/lib/nls/msg/C/dtbuilder.cat makronix-util-data -+./usr/pkg/dt/lib/nls/msg/C/dtcalc.cat makronix-util-data -+./usr/pkg/dt/lib/nls/msg/C/dtcm.cat makronix-util-data -+./usr/pkg/dt/lib/nls/msg/C/dtcodegen.cat makronix-util-data -+./usr/pkg/dt/lib/nls/msg/C/dtconfig.cat makronix-util-data -+./usr/pkg/dt/lib/nls/msg/C/dtcopy.cat makronix-util-data -+./usr/pkg/dt/lib/nls/msg/C/dtcreate.cat makronix-util-data -+./usr/pkg/dt/lib/nls/msg/C/dtfile.cat makronix-util-data -+./usr/pkg/dt/lib/nls/msg/C/dthello.cat makronix-util-data -+./usr/pkg/dt/lib/nls/msg/C/dthelpgen.cat makronix-util-data -+./usr/pkg/dt/lib/nls/msg/C/dthelpprint.cat makronix-util-data -+./usr/pkg/dt/lib/nls/msg/C/dticon.cat makronix-util-data -+./usr/pkg/dt/lib/nls/msg/C/dtimsstart.cat makronix-util-data -+./usr/pkg/dt/lib/nls/msg/C/dtinfo.cat makronix-util-data -+./usr/pkg/dt/lib/nls/msg/C/dtinfo_start.cat makronix-util-data -+./usr/pkg/dt/lib/nls/msg/C/dtksh.cat makronix-util-data -+./usr/pkg/dt/lib/nls/msg/C/dtlogin.cat makronix-util-data -+./usr/pkg/dt/lib/nls/msg/C/dtlp.cat makronix-util-data -+./usr/pkg/dt/lib/nls/msg/C/dtmailopts.cat makronix-util-data -+./usr/pkg/dt/lib/nls/msg/C/dtpad.cat makronix-util-data -+./usr/pkg/dt/lib/nls/msg/C/dtpdm.cat makronix-util-data -+./usr/pkg/dt/lib/nls/msg/C/dtpdmd.cat makronix-util-data -+./usr/pkg/dt/lib/nls/msg/C/dtprintinfo.cat makronix-util-data -+./usr/pkg/dt/lib/nls/msg/C/dtscreen.cat makronix-util-data -+./usr/pkg/dt/lib/nls/msg/C/dtsearch.cat makronix-util-data -+./usr/pkg/dt/lib/nls/msg/C/dtsession.cat makronix-util-data -+./usr/pkg/dt/lib/nls/msg/C/dtstyle.cat makronix-util-data -+./usr/pkg/dt/lib/nls/msg/C/dtterm.cat makronix-util-data -+./usr/pkg/dt/lib/nls/msg/C/dttypes.cat makronix-util-data -+./usr/pkg/dt/lib/nls/msg/C/dtudcexch.cat makronix-util-data -+./usr/pkg/dt/lib/nls/msg/C/dtudcfonted.cat makronix-util-data -+./usr/pkg/dt/lib/nls/msg/C/dtwm.cat makronix-util-data -+./usr/pkg/dt/lib/nls/msg/C/libDtMail.cat makronix-util-data -+./usr/pkg/dt/lib/nls/msg/C/libdtcm.cat makronix-util-data -+./usr/pkg/dt/lib/nls/msg/en_US.UTF-8 makronix-util-data -+./usr/pkg/dt/libexec makronix-sys-root -+./usr/pkg/dt/libexec/cde makronix-sys-root -+./usr/pkg/dt/libexec/cde/dtdocbook makronix-sys-root -+./usr/pkg/dt/libexec/cde/dtdocbook/infolib makronix-sys-root -+./usr/pkg/dt/libexec/cde/dtdocbook/infolib/ChangeCaseTitle makronix-util-data -+./usr/pkg/dt/libexec/cde/dtdocbook/infolib/DeInstallBase makronix-util-data -+./usr/pkg/dt/libexec/cde/dtdocbook/infolib/Librarian makronix-util-data -+./usr/pkg/dt/libexec/cde/dtdocbook/infolib/MixedGen makronix-util-data -+./usr/pkg/dt/libexec/cde/dtdocbook/infolib/NCFGen makronix-util-data -+./usr/pkg/dt/libexec/cde/dtdocbook/infolib/NodeParser makronix-util-data -+./usr/pkg/dt/libexec/cde/dtdocbook/infolib/StyleUpdate makronix-util-data -+./usr/pkg/dt/libexec/cde/dtdocbook/infolib/dbdrv makronix-util-data -+./usr/pkg/dt/libexec/cde/dtdocbook/infolib/valBase makronix-util-data -+./usr/pkg/dt/libexec/cde/dtdocbook/infolib/validator makronix-util-data -+./usr/pkg/dt/libexec/cde/dtdocbook/instant makronix-sys-root -+./usr/pkg/dt/libexec/cde/dtdocbook/instant/instant makronix-util-data -+./usr/pkg/dt/man makronix-sys-root -+./usr/pkg/dt/man/man1 makronix-sys-root -+./usr/pkg/dt/man/man1/dsdm.1 makronix-util-data -+./usr/pkg/dt/man/man1/dtaction.1 makronix-util-data -+./usr/pkg/dt/man/man1/dtappgather.1 makronix-util-data -+./usr/pkg/dt/man/man1/dtappintegrate.1 makronix-util-data -+./usr/pkg/dt/man/man1/dtbuilder.1 makronix-util-data -+./usr/pkg/dt/man/man1/dtcalc.1 makronix-util-data -+./usr/pkg/dt/man/man1/dtchooser.1 makronix-util-data -+./usr/pkg/dt/man/man1/dtcm.1 makronix-util-data -+./usr/pkg/dt/man/man1/dtcm_delete.1 makronix-util-data -+./usr/pkg/dt/man/man1/dtcm_editor.1 makronix-util-data -+./usr/pkg/dt/man/man1/dtcm_insert.1 makronix-util-data -+./usr/pkg/dt/man/man1/dtcm_lookup.1 makronix-util-data -+./usr/pkg/dt/man/man1/dtcodegen.1 makronix-util-data -+./usr/pkg/dt/man/man1/dtconfig.1 makronix-util-data -+./usr/pkg/dt/man/man1/dtconvertvf.1 makronix-util-data -+./usr/pkg/dt/man/man1/dtcreate.1 makronix-util-data -+./usr/pkg/dt/man/man1/dtdocbook.1 makronix-util-data -+./usr/pkg/dt/man/man1/dtdocbook2infolib.1 makronix-util-data -+./usr/pkg/dt/man/man1/dtexec.1 makronix-util-data -+./usr/pkg/dt/man/man1/dtfile.1 makronix-util-data -+./usr/pkg/dt/man/man1/dtfile_copy.1 makronix-util-data -+./usr/pkg/dt/man/man1/dtfile_error.1 makronix-util-data -+./usr/pkg/dt/man/man1/dtfplist.1 makronix-util-data -+./usr/pkg/dt/man/man1/dtgreet.1 makronix-util-data -+./usr/pkg/dt/man/man1/dthello.1 makronix-util-data -+./usr/pkg/dt/man/man1/dthelp_ctag1.1 makronix-util-data -+./usr/pkg/dt/man/man1/dthelp_htag1.1 makronix-util-data -+./usr/pkg/dt/man/man1/dthelp_htag2.1 makronix-util-data -+./usr/pkg/dt/man/man1/dthelpgen.1 makronix-util-data -+./usr/pkg/dt/man/man1/dthelpprint.1 makronix-util-data -+./usr/pkg/dt/man/man1/dthelptag.1 makronix-util-data -+./usr/pkg/dt/man/man1/dthelpview.1 makronix-util-data -+./usr/pkg/dt/man/man1/dticon.1 makronix-util-data -+./usr/pkg/dt/man/man1/dtimsstart.1 makronix-util-data -+./usr/pkg/dt/man/man1/dtinfo.1 makronix-util-data -+./usr/pkg/dt/man/man1/dtksh.1 makronix-util-data -+./usr/pkg/dt/man/man1/dtlogin.1 makronix-util-data -+./usr/pkg/dt/man/man1/dtlp.1 makronix-util-data -+./usr/pkg/dt/man/man1/dtmail.1 makronix-util-data -+./usr/pkg/dt/man/man1/dtmailpr.1 makronix-util-data -+./usr/pkg/dt/man/man1/dtpad.1 makronix-util-data -+./usr/pkg/dt/man/man1/dtpdm.1 makronix-util-data -+./usr/pkg/dt/man/man1/dtpdmd.1 makronix-util-data -+./usr/pkg/dt/man/man1/dtprintinfo.1 makronix-util-data -+./usr/pkg/dt/man/man1/dtscreen.1 makronix-util-data -+./usr/pkg/dt/man/man1/dtsearchpath.1 makronix-util-data -+./usr/pkg/dt/man/man1/dtsession.1 makronix-util-data -+./usr/pkg/dt/man/man1/dtsession_res.1 makronix-util-data -+./usr/pkg/dt/man/man1/dtsrcreate.1 makronix-util-data -+./usr/pkg/dt/man/man1/dtsrdbrec.1 makronix-util-data -+./usr/pkg/dt/man/man1/dtsrhan.1 makronix-util-data -+./usr/pkg/dt/man/man1/dtsrindex.1 makronix-util-data -+./usr/pkg/dt/man/man1/dtsrkdump.1 makronix-util-data -+./usr/pkg/dt/man/man1/dtsrload.1 makronix-util-data -+./usr/pkg/dt/man/man1/dtstyle.1 makronix-util-data -+./usr/pkg/dt/man/man1/dtterm.1 makronix-util-data -+./usr/pkg/dt/man/man1/dttypes.1 makronix-util-data -+./usr/pkg/dt/man/man1/dtudcexch.1 makronix-util-data -+./usr/pkg/dt/man/man1/dtudcfonted.1 makronix-util-data -+./usr/pkg/dt/man/man1/dtwm.1 makronix-util-data -+./usr/pkg/dt/man/man1/huffcode.1 makronix-util-data -+./usr/pkg/dt/man/man1/ksh-cde.1 makronix-util-data -+./usr/pkg/dt/man/man1/tt_type_comp.1 makronix-util-data -+./usr/pkg/dt/man/man1/ttcp.1 makronix-util-data -+./usr/pkg/dt/man/man1/ttmv.1 makronix-util-data -+./usr/pkg/dt/man/man1/ttrm.1 makronix-util-data -+./usr/pkg/dt/man/man1/ttrmdir.1 makronix-util-data -+./usr/pkg/dt/man/man1/ttsession.1 makronix-util-data -+./usr/pkg/dt/man/man1/tttar.1 makronix-util-data -+./usr/pkg/dt/man/man1/tttrace.1 makronix-util-data -+./usr/pkg/dt/man/man1m makronix-sys-root -+./usr/pkg/dt/man/man1m/dtspcd.1m makronix-util-data -+./usr/pkg/dt/man/man1m/rpc.cmsd.1m makronix-util-data -+./usr/pkg/dt/man/man1m/ttdbck.1m makronix-util-data -+./usr/pkg/dt/man/man1m/ttdbserver.1m makronix-util-data -+./usr/pkg/dt/man/man1m/ttdbserverd.1m makronix-util-data -+./usr/pkg/dt/man/man3 makronix-sys-root -+./usr/pkg/dt/man/man3/DtActionCallbackProc.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtActionDescription.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtActionExists.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtActionIcon.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtActionInvoke.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtActionLabel.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtAppInitialize.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtComboBox.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtComboBoxAddItem.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtComboBoxDeletePos.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtComboBoxSelectItem.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtComboBoxSetItem.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtCreateComboBox.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtCreateEditor.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtCreateHelpDialog.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtCreateHelpQuickDialog.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtCreateMenuButton.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtCreatePrintSetupBox.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtCreatePrintSetupDialog.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtCreateSpinBox.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtCreateTerm.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtDbLoad.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtDbReloadNotify.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtDndCreateSourceIcon.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtDndDragStart.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtDndDropRegister.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtDndDropUnregister.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtDndVaDragStart.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtDndVaDropRegister.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtDtsBufferToAttributeList.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtDtsBufferToAttributeValue.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtDtsBufferToDataType.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtDtsDataToDataType.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtDtsDataTypeIsAction.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtDtsDataTypeNames.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtDtsDataTypeToAttributeList.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtDtsDataTypeToAttributeValue.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtDtsFileToAttributeList.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtDtsFileToAttributeValue.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtDtsFileToDataType.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtDtsFindAttribute.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtDtsFreeAttributeList.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtDtsFreeAttributeValue.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtDtsFreeDataType.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtDtsFreeDataTypeNames.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtDtsIsTrue.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtDtsLoadDataTypes.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtDtsRelease.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtDtsSetDataType.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtEditor.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtEditorAppend.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtEditorAppendFromFile.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtEditorChange.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtEditorCheckForUnsavedChanges.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtEditorClearSelection.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtEditorCopyToClipboard.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtEditorCutToClipboard.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtEditorDeleteSelection.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtEditorDeselect.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtEditorDisableRedisplay.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtEditorEnableRedisplay.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtEditorFind.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtEditorFormat.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtEditorGetContents.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtEditorGetInsertionPosition.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtEditorGetLastPosition.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtEditorGetMessageTextFieldID.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtEditorGetSizeHints.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtEditorGoToLine.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtEditorInsert.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtEditorInsertFromFile.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtEditorInvokeFindChangeDialog.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtEditorInvokeFormatDialog.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtEditorInvokeSpellDialog.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtEditorPasteFromClipboard.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtEditorReplace.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtEditorReplaceFromFile.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtEditorReset.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtEditorSaveContentsToFile.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtEditorSelectAll.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtEditorSetContents.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtEditorSetContentsFromFile.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtEditorSetInsertionPosition.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtEditorTraverseToEditor.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtEditorUndoEdit.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtHelpDialog.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtHelpQuickDialog.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtHelpQuickDialogGetChild.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtHelpReturnSelectedWidgetId.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtHelpSetCatalogName.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtInfoShowTopic.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtInitialize.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtMenuButton.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtMmdbBookCaseFreeInfo.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtMmdbBookCaseGetInfo.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtMmdbBookGetLicense.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtMmdbBookGetLongTitle.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtMmdbBookGetSeqNum.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtMmdbBookGetShortTitle.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtMmdbBookGetTabList.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtMmdbBookGetTocObjectId.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtMmdbCloseInfoLib.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtMmdbDlpGetNextSectionId.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtMmdbDlpGetPrevSectionId.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtMmdbFreeGraphicInfo.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtMmdbFreeHandle.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtMmdbFreeHandleList.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtMmdbGetBookCaseByIndex.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtMmdbGetBookCaseByLoc.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtMmdbGetBookCaseByLocs.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtMmdbGetBookCaseByName.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtMmdbGraphicGetData.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtMmdbGraphicGetInfo.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtMmdbInfoLibFreeInfo.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtMmdbInfoLibGetInfo.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtMmdbInit.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtMmdbLocatorGetSectionLoc.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtMmdbLocatorGetSectionObjectId.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtMmdbOpenInfoLib.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtMmdbQuit.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtMmdbSectionGetBookId.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtMmdbSectionGetData.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtMmdbSectionGetDataSize.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtMmdbSectionGetLoc.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtMmdbSectionGetLongTitle.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtMmdbSectionGetShortTitle.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtMmdbSectionGetStyleSheetId.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtMmdbSectionGetTocLoc.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtMmdbStylesheetGetData.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtMmdbStylesheetGetName.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtMmdbTocGetChildIds.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtMmdbTocGetNumOfChildren.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtMmdbTocGetParentId.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtMrmInitialize.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtMsgLogMessage.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtMsgLogOpenFile.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtMsgLogSetHandler.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtPrintCopySetupData.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtPrintFillSetupData.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtPrintFreeSetupData.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtPrintResetConnection.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtPrintSetupBox.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtPrintSetupProc.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtSaverGetWindows.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtSearchAddMessage.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtSearchExit.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtSearchFreeMessages.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtSearchFreeResults.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtSearchGetKeytypes.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtSearchGetMaxResults.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtSearchGetMessages.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtSearchHasMessages.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtSearchHighlight.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtSearchInit.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtSearchMergeResults.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtSearchQuery.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtSearchReinit.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtSearchRetrieve.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtSearchSetMaxResults.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtSearchSortResults.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtSearchValidDateString.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtSessionRestorePath.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtSessionSavePath.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtSpinBox.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtSpinBoxAddItem.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtSpinBoxDeletePos.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtSpinBoxSetItem.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtSrAPI.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtTerm.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtTermDisplaySend.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtTermInitialize.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtTermSubprocReap.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtTermSubprocSend.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtWsmAddCurrentWorkspaceCallback.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtWsmAddWorkspace.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtWsmAddWorkspaceFunctions.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtWsmAddWorkspaceModifiedCallback.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtWsmChangeBackdrop.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtWsmDeleteWorkspace.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtWsmFreeWorkspaceInfo.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtWsmGetCurrentBackdropWindow.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtWsmGetCurrentWorkspace.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtWsmGetWorkspaceInfo.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtWsmGetWorkspaceList.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtWsmGetWorkspacesOccupied.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtWsmOccupyAllWorkspaces.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtWsmRemoveWorkspaceCallback.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtWsmRemoveWorkspaceFunctions.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtWsmSetCurrentWorkspace.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtWsmSetWorkspaceTitle.3 makronix-util-data -+./usr/pkg/dt/man/man3/DtWsmSetWorkspacesOccupied.3 makronix-util-data -+./usr/pkg/dt/man/man3/csa_add_calendar.3 makronix-util-data -+./usr/pkg/dt/man/man3/csa_add_entry.3 makronix-util-data -+./usr/pkg/dt/man/man3/csa_call_callbacks.3 makronix-util-data -+./usr/pkg/dt/man/man3/csa_delete_calendar.3 makronix-util-data -+./usr/pkg/dt/man/man3/csa_delete_entry.3 makronix-util-data -+./usr/pkg/dt/man/man3/csa_free.3 makronix-util-data -+./usr/pkg/dt/man/man3/csa_free_time_search.3 makronix-util-data -+./usr/pkg/dt/man/man3/csa_list_calendar_attributes.3 makronix-util-data -+./usr/pkg/dt/man/man3/csa_list_calendars.3 makronix-util-data -+./usr/pkg/dt/man/man3/csa_list_entries.3 makronix-util-data -+./usr/pkg/dt/man/man3/csa_list_entry_attributes.3 makronix-util-data -+./usr/pkg/dt/man/man3/csa_list_entry_sequence.3 makronix-util-data -+./usr/pkg/dt/man/man3/csa_logoff.3 makronix-util-data -+./usr/pkg/dt/man/man3/csa_logon.3 makronix-util-data -+./usr/pkg/dt/man/man3/csa_look_up.3 makronix-util-data -+./usr/pkg/dt/man/man3/csa_query_configuration.3 makronix-util-data -+./usr/pkg/dt/man/man3/csa_read_calendar_attributes.3 makronix-util-data -+./usr/pkg/dt/man/man3/csa_read_entry_attributes.3 makronix-util-data -+./usr/pkg/dt/man/man3/csa_read_next_reminder.3 makronix-util-data -+./usr/pkg/dt/man/man3/csa_register_callback.3 makronix-util-data -+./usr/pkg/dt/man/man3/csa_restore.3 makronix-util-data -+./usr/pkg/dt/man/man3/csa_save.3 makronix-util-data -+./usr/pkg/dt/man/man3/csa_unregister_callback.3 makronix-util-data -+./usr/pkg/dt/man/man3/csa_update_calendar_attributes.3 makronix-util-data -+./usr/pkg/dt/man/man3/csa_update_entry_attributes.3 makronix-util-data -+./usr/pkg/dt/man/man3/csa_x_process_updates.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_X_session.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_bcontext_join.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_bcontext_quit.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_close.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_context_join.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_context_quit.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_default_file.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_default_file_set.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_default_procid.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_default_procid_set.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_default_ptype.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_default_ptype_set.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_default_session.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_default_session_set.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_error.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_error_int.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_error_pointer.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_fd.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_feature_enabled.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_feature_required.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_file_copy.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_file_destroy.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_file_join.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_file_move.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_file_netfile.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_file_objects_query.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_file_quit.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_free.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_host_file_netfile.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_host_netfile_file.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_icontext_join.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_icontext_quit.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_initial_session.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_int_error.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_is_err.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_malloc.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_mark.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_abstainer.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_abstainers_count.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_accept.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_accepter.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_accepters_count.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_address.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_address_set.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_arg_add.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_arg_bval.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_arg_bval_set.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_arg_ival.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_arg_ival_set.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_arg_mode.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_arg_type.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_arg_val.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_arg_val_set.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_arg_xval.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_arg_xval_set.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_args_count.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_barg_add.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_bcontext_set.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_callback_add.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_class.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_class_set.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_context_bval.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_context_ival.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_context_set.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_context_slotname.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_context_val.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_context_xval.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_contexts_count.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_create.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_create_super.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_destroy.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_disposition.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_disposition_set.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_fail.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_file.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_file_set.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_gid.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_handler.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_handler_ptype.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_handler_ptype_set.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_handler_set.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_iarg_add.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_icontext_set.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_id.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_object.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_object_set.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_op.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_op_set.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_opnum.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_otype.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_otype_set.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_pattern.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_print.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_receive.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_reject.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_rejecter.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_rejecters_count.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_reply.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_scope.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_scope_set.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_send.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_send_on_exit.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_sender.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_sender_ptype.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_sender_ptype_set.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_session.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_session_set.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_state.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_status.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_status_set.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_status_string.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_status_string_set.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_uid.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_user.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_user_set.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_xarg_add.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_message_xcontext_set.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_netfile_file.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_objid_equal.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_objid_objkey.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_onotice_create.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_open.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_orequest_create.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_otype_base.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_otype_derived.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_otype_deriveds_count.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_otype_hsig_arg_mode.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_otype_hsig_arg_type.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_otype_hsig_args_count.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_otype_hsig_count.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_otype_hsig_op.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_otype_is_derived.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_otype_opnum_callback_add.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_otype_osig_arg_mode.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_otype_osig_arg_type.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_otype_osig_args_count.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_otype_osig_count.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_otype_osig_op.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_pattern_address_add.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_pattern_arg_add.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_pattern_barg_add.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_pattern_bcontext_add.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_pattern_callback_add.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_pattern_category.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_pattern_category_set.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_pattern_class_add.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_pattern_context_add.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_pattern_create.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_pattern_destroy.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_pattern_disposition_add.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_pattern_file_add.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_pattern_iarg_add.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_pattern_icontext_add.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_pattern_object_add.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_pattern_op_add.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_pattern_opnum_add.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_pattern_otype_add.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_pattern_print.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_pattern_register.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_pattern_scope_add.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_pattern_sender_add.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_pattern_sender_ptype_add.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_pattern_session_add.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_pattern_state_add.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_pattern_unregister.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_pattern_user.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_pattern_user_set.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_pattern_xarg_add.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_pattern_xcontext_add.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_pnotice_create.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_pointer_error.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_prequest_create.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_procid_session.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_ptr_error.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_ptype_declare.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_ptype_exists.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_ptype_opnum_callback_add.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_ptype_undeclare.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_release.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_session_bprop.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_session_bprop_add.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_session_bprop_set.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_session_join.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_session_prop.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_session_prop_add.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_session_prop_count.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_session_prop_set.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_session_propname.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_session_propnames_count.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_session_quit.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_session_types_load.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_spec_bprop.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_spec_bprop_add.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_spec_bprop_set.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_spec_create.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_spec_destroy.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_spec_file.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_spec_move.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_spec_prop.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_spec_prop_add.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_spec_prop_count.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_spec_prop_set.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_spec_propname.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_spec_propnames_count.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_spec_type.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_spec_type_set.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_spec_write.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_status_message.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_thread_procid.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_thread_procid_set.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_thread_session.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_thread_session_set.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_trace_control.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_xcontext_join.3 makronix-util-data -+./usr/pkg/dt/man/man3/tt_xcontext_quit.3 makronix-util-data -+./usr/pkg/dt/man/man3/ttdt_Get_Modified.3 makronix-util-data -+./usr/pkg/dt/man/man3/ttdt_Revert.3 makronix-util-data -+./usr/pkg/dt/man/man3/ttdt_Save.3 makronix-util-data -+./usr/pkg/dt/man/man3/ttdt_close.3 makronix-util-data -+./usr/pkg/dt/man/man3/ttdt_file_event.3 makronix-util-data -+./usr/pkg/dt/man/man3/ttdt_file_join.3 makronix-util-data -+./usr/pkg/dt/man/man3/ttdt_file_notice.3 makronix-util-data -+./usr/pkg/dt/man/man3/ttdt_file_quit.3 makronix-util-data -+./usr/pkg/dt/man/man3/ttdt_file_request.3 makronix-util-data -+./usr/pkg/dt/man/man3/ttdt_message_accept.3 makronix-util-data -+./usr/pkg/dt/man/man3/ttdt_open.3 makronix-util-data -+./usr/pkg/dt/man/man3/ttdt_sender_imprint_on.3 makronix-util-data -+./usr/pkg/dt/man/man3/ttdt_session_join.3 makronix-util-data -+./usr/pkg/dt/man/man3/ttdt_session_quit.3 makronix-util-data -+./usr/pkg/dt/man/man3/ttdt_subcontract_manage.3 makronix-util-data -+./usr/pkg/dt/man/man3/ttmedia_Deposit.3 makronix-util-data -+./usr/pkg/dt/man/man3/ttmedia_load.3 makronix-util-data -+./usr/pkg/dt/man/man3/ttmedia_load_reply.3 makronix-util-data -+./usr/pkg/dt/man/man3/ttmedia_ptype_declare.3 makronix-util-data -+./usr/pkg/dt/man/man3/tttk_Xt_input_handler.3 makronix-util-data -+./usr/pkg/dt/man/man3/tttk_block_while.3 makronix-util-data -+./usr/pkg/dt/man/man3/tttk_message_abandon.3 makronix-util-data -+./usr/pkg/dt/man/man3/tttk_message_create.3 makronix-util-data -+./usr/pkg/dt/man/man3/tttk_message_destroy.3 makronix-util-data -+./usr/pkg/dt/man/man3/tttk_message_fail.3 makronix-util-data -+./usr/pkg/dt/man/man3/tttk_message_reject.3 makronix-util-data -+./usr/pkg/dt/man/man3/tttk_op_string.3 makronix-util-data -+./usr/pkg/dt/man/man3/tttk_string_op.3 makronix-util-data -+./usr/pkg/dt/man/man4 makronix-sys-root -+./usr/pkg/dt/man/man4/BIL.4 makronix-util-data -+./usr/pkg/dt/man/man4/Deposit.4 makronix-util-data -+./usr/pkg/dt/man/man4/Display.4 makronix-util-data -+./usr/pkg/dt/man/man4/DtDndProtocol.4 makronix-util-data -+./usr/pkg/dt/man/man4/DtInfo_LoadInfoLib.4 makronix-util-data -+./usr/pkg/dt/man/man4/DtInfo_PrintInfoAtLoc.4 makronix-util-data -+./usr/pkg/dt/man/man4/DtInfo_Quit.4 makronix-util-data -+./usr/pkg/dt/man/man4/DtInfo_ShowInfoAtLoc.4 makronix-util-data -+./usr/pkg/dt/man/man4/Edit.4 makronix-util-data -+./usr/pkg/dt/man/man4/Get_Environment.4 makronix-util-data -+./usr/pkg/dt/man/man4/Get_Geometry.4 makronix-util-data -+./usr/pkg/dt/man/man4/Get_Iconified.4 makronix-util-data -+./usr/pkg/dt/man/man4/Get_Locale.4 makronix-util-data -+./usr/pkg/dt/man/man4/Get_Mapped.4 makronix-util-data -+./usr/pkg/dt/man/man4/Get_Modified.4 makronix-util-data -+./usr/pkg/dt/man/man4/Get_Situation.4 makronix-util-data -+./usr/pkg/dt/man/man4/Get_Status.4 makronix-util-data -+./usr/pkg/dt/man/man4/Get_Sysinfo.4 makronix-util-data -+./usr/pkg/dt/man/man4/Get_XInfo.4 makronix-util-data -+./usr/pkg/dt/man/man4/Instantiate.4 makronix-util-data -+./usr/pkg/dt/man/man4/Lower.4 makronix-util-data -+./usr/pkg/dt/man/man4/Mail.4 makronix-util-data -+./usr/pkg/dt/man/man4/Modified.4 makronix-util-data -+./usr/pkg/dt/man/man4/Pause.4 makronix-util-data -+./usr/pkg/dt/man/man4/Print.4 makronix-util-data -+./usr/pkg/dt/man/man4/Quit.4 makronix-util-data -+./usr/pkg/dt/man/man4/Raise.4 makronix-util-data -+./usr/pkg/dt/man/man4/Resume.4 makronix-util-data -+./usr/pkg/dt/man/man4/Revert.4 makronix-util-data -+./usr/pkg/dt/man/man4/Reverted.4 makronix-util-data -+./usr/pkg/dt/man/man4/Save.4 makronix-util-data -+./usr/pkg/dt/man/man4/Saved.4 makronix-util-data -+./usr/pkg/dt/man/man4/Set_Environment.4 makronix-util-data -+./usr/pkg/dt/man/man4/Set_Geometry.4 makronix-util-data -+./usr/pkg/dt/man/man4/Set_Iconified.4 makronix-util-data -+./usr/pkg/dt/man/man4/Set_Locale.4 makronix-util-data -+./usr/pkg/dt/man/man4/Set_Mapped.4 makronix-util-data -+./usr/pkg/dt/man/man4/Set_Situation.4 makronix-util-data -+./usr/pkg/dt/man/man4/Signal.4 makronix-util-data -+./usr/pkg/dt/man/man4/Started.4 makronix-util-data -+./usr/pkg/dt/man/man4/Status.4 makronix-util-data -+./usr/pkg/dt/man/man4/Stopped.4 makronix-util-data -+./usr/pkg/dt/man/man4/Translate.4 makronix-util-data -+./usr/pkg/dt/man/man4/dtactionfile.4 makronix-util-data -+./usr/pkg/dt/man/man4/dtbmfile.4 makronix-util-data -+./usr/pkg/dt/man/man4/dtcm_archive.4 makronix-util-data -+./usr/pkg/dt/man/man4/dtcm_entry.4 makronix-util-data -+./usr/pkg/dt/man/man4/dtdpfile.4 makronix-util-data -+./usr/pkg/dt/man/man4/dtdtfile.4 makronix-util-data -+./usr/pkg/dt/man/man4/dtdtsfile.4 makronix-util-data -+./usr/pkg/dt/man/man4/dtfile_config.4 makronix-util-data -+./usr/pkg/dt/man/man4/dtfpfile.4 makronix-util-data -+./usr/pkg/dt/man/man4/dthelptagdtd.4 makronix-util-data -+./usr/pkg/dt/man/man4/dthffile.4 makronix-util-data -+./usr/pkg/dt/man/man4/dticonfile.4 makronix-util-data -+./usr/pkg/dt/man/man4/dtlocator.4 makronix-util-data -+./usr/pkg/dt/man/man4/dtpmfile.4 makronix-util-data -+./usr/pkg/dt/man/man4/dtresourcesfile.4 makronix-util-data -+./usr/pkg/dt/man/man4/dtsdldtd.4 makronix-util-data -+./usr/pkg/dt/man/man4/dtsdlfile.4 makronix-util-data -+./usr/pkg/dt/man/man4/dtsessiondb.4 makronix-util-data -+./usr/pkg/dt/man/man4/dtsessionfile.4 makronix-util-data -+./usr/pkg/dt/man/man4/dtspcdenv.4 makronix-util-data -+./usr/pkg/dt/man/man4/dtsrdbfiles.4 makronix-util-data -+./usr/pkg/dt/man/man4/dtsrfzkfiles.4 makronix-util-data -+./usr/pkg/dt/man/man4/dtsrhanfile.4 makronix-util-data -+./usr/pkg/dt/man/man4/dtsrlangfiles.4 makronix-util-data -+./usr/pkg/dt/man/man4/dtsrocffile.4 makronix-util-data -+./usr/pkg/dt/man/man4/dtwmrc.4 makronix-util-data -+./usr/pkg/dt/man/man4/mt-libtt-intro.4 makronix-util-data -+./usr/pkg/dt/man/man4/startlog.4 makronix-util-data -+./usr/pkg/dt/man/man4/tttracefile.4 makronix-util-data -+./usr/pkg/dt/man/man5 makronix-sys-root -+./usr/pkg/dt/man/man5/Dt.5 makronix-util-data -+./usr/pkg/dt/man/man5/DtAction.5 makronix-util-data -+./usr/pkg/dt/man/man5/DtComboBox.5 makronix-util-data -+./usr/pkg/dt/man/man5/DtDnd.5 makronix-util-data -+./usr/pkg/dt/man/man5/DtDts.5 makronix-util-data -+./usr/pkg/dt/man/man5/DtEditor.5 makronix-util-data -+./usr/pkg/dt/man/man5/DtHelp.5 makronix-util-data -+./usr/pkg/dt/man/man5/DtHelpDialog.5 makronix-util-data -+./usr/pkg/dt/man/man5/DtHelpQuickD.5 makronix-util-data -+./usr/pkg/dt/man/man5/DtInfoLib.5 makronix-util-data -+./usr/pkg/dt/man/man5/DtMenuButton.5 makronix-util-data -+./usr/pkg/dt/man/man5/DtMmdbBookCase.5 makronix-util-data -+./usr/pkg/dt/man/man5/DtMmdbGraphicInfo.5 makronix-util-data -+./usr/pkg/dt/man/man5/DtMmdbHandle.5 makronix-util-data -+./usr/pkg/dt/man/man5/DtMmdbInfoLibInfo.5 makronix-util-data -+./usr/pkg/dt/man/man5/DtMmdbInfoRequest.5 makronix-util-data -+./usr/pkg/dt/man/man5/DtMrm.5 makronix-util-data -+./usr/pkg/dt/man/man5/DtMsgLog.5 makronix-util-data -+./usr/pkg/dt/man/man5/DtPrint.5 makronix-util-data -+./usr/pkg/dt/man/man5/DtSaver.5 makronix-util-data -+./usr/pkg/dt/man/man5/DtSearch.5 makronix-util-data -+./usr/pkg/dt/man/man5/DtSession.5 makronix-util-data -+./usr/pkg/dt/man/man5/DtSpinBox.5 makronix-util-data -+./usr/pkg/dt/man/man5/DtStdAppFontNames.5 makronix-util-data -+./usr/pkg/dt/man/man5/DtStdInterfaceFontNames.5 makronix-util-data -+./usr/pkg/dt/man/man5/DtTerm.5 makronix-util-data -+./usr/pkg/dt/man/man5/DtWsm.5 makronix-util-data -+./usr/pkg/dt/man/man5/Tttt_c.5 makronix-util-data -+./usr/pkg/dt/man/man5/Tttttk.5 makronix-util-data -+./usr/pkg/dt/man/man5/csacsa.5 makronix-util-data -+./usr/pkg/dt/man/man5/dtactionaction.5 makronix-util-data -+./usr/pkg/dt/man/man5/dtappaction.5 makronix-util-data -+./usr/pkg/dt/man/man5/dtbuilderaction.5 makronix-util-data -+./usr/pkg/dt/man/man5/dtcalcaction.5 makronix-util-data -+./usr/pkg/dt/man/man5/dtcalendaraction.5 makronix-util-data -+./usr/pkg/dt/man/man5/dtenvvar.5 makronix-util-data -+./usr/pkg/dt/man/man5/dtfileaction.5 makronix-util-data -+./usr/pkg/dt/man/man5/dtfilsys.5 makronix-util-data -+./usr/pkg/dt/man/man5/dthelpaction.5 makronix-util-data -+./usr/pkg/dt/man/man5/dticonaction.5 makronix-util-data -+./usr/pkg/dt/man/man5/dtimsstartaction.5 makronix-util-data -+./usr/pkg/dt/man/man5/dtinfoBookdtd.5 makronix-util-data -+./usr/pkg/dt/man/man5/dtinfoStyledtd.5 makronix-util-data -+./usr/pkg/dt/man/man5/dtinfoTOCdtd.5 makronix-util-data -+./usr/pkg/dt/man/man5/dtinfoaction.5 makronix-util-data -+./usr/pkg/dt/man/man5/dtinfoaf.5 makronix-util-data -+./usr/pkg/dt/man/man5/dtmailaction.5 makronix-util-data -+./usr/pkg/dt/man/man5/dtmanaction.5 makronix-util-data -+./usr/pkg/dt/man/man5/dtprintinfoaction.5 makronix-util-data -+./usr/pkg/dt/man/man5/dtsessionaction.5 makronix-util-data -+./usr/pkg/dt/man/man5/dtstyleaction.5 makronix-util-data -+./usr/pkg/dt/man/man5/dtterm.5 makronix-util-data -+./usr/pkg/dt/man/man5/dttermaction.5 makronix-util-data -+./usr/pkg/dt/man/man5/dttextaction.5 makronix-util-data -+./usr/pkg/dt/man/man5/dttrashaction.5 makronix-util-data -+./usr/pkg/dt/man/man6 makronix-sys-root -+./usr/pkg/dt/man/man6/ttsnoop.6 makronix-util-data -+./usr/pkg/dt/palettes makronix-util-data -+./usr/pkg/dt/share makronix-sys-root -+./usr/pkg/dt/share/backdrops makronix-sys-root -+./usr/pkg/dt/share/backdrops/Ankh.bm makronix-util-data -+./usr/pkg/dt/share/backdrops/Background.bm makronix-util-data -+./usr/pkg/dt/share/backdrops/BrickWall.bm makronix-util-data -+./usr/pkg/dt/share/backdrops/Concave.pm makronix-util-data -+./usr/pkg/dt/share/backdrops/Convex.pm makronix-util-data -+./usr/pkg/dt/share/backdrops/Corduroy.pm makronix-util-data -+./usr/pkg/dt/share/backdrops/Crochet.pm makronix-util-data -+./usr/pkg/dt/share/backdrops/Foreground.bm makronix-util-data -+./usr/pkg/dt/share/backdrops/InlayColor.pm makronix-util-data -+./usr/pkg/dt/share/backdrops/InlayPlain.pm makronix-util-data -+./usr/pkg/dt/share/backdrops/KnitLight.pm makronix-util-data -+./usr/pkg/dt/share/backdrops/Lattice.pm makronix-util-data -+./usr/pkg/dt/share/backdrops/LatticeBig.pm makronix-util-data -+./usr/pkg/dt/share/backdrops/Leaves.pm makronix-util-data -+./usr/pkg/dt/share/backdrops/NoBackdrop.bm makronix-util-data -+./usr/pkg/dt/share/backdrops/NoBackdrop.pm makronix-util-data -+./usr/pkg/dt/share/backdrops/OldChars.pm makronix-util-data -+./usr/pkg/dt/share/backdrops/Paver.pm makronix-util-data -+./usr/pkg/dt/share/backdrops/Pebbles.pm makronix-util-data -+./usr/pkg/dt/share/backdrops/PinStripe.pm makronix-util-data -+./usr/pkg/dt/share/backdrops/RakedSand.bm makronix-util-data -+./usr/pkg/dt/share/backdrops/RicePaper.pm makronix-util-data -+./usr/pkg/dt/share/backdrops/SkyDark.pm makronix-util-data -+./usr/pkg/dt/share/backdrops/SkyLight.pm makronix-util-data -+./usr/pkg/dt/share/backdrops/Sprinkles.pm makronix-util-data -+./usr/pkg/dt/share/backdrops/SunLogo.pm makronix-util-data -+./usr/pkg/dt/share/backdrops/Toronto.bm makronix-util-data -+./usr/pkg/dt/share/backdrops/WaterDrops.pm makronix-util-data -+./usr/pkg/dt/share/backdrops/Wooly.pm makronix-util-data -+./usr/pkg/dt/share/backdrops/desc.C makronix-util-data -+./usr/pkg/dt/share/backdrops/desc.en_US.UTF-8 makronix-util-data -+./usr/pkg/dt/share/cde makronix-sys-root -+./usr/pkg/dt/share/cde/dtdocbook makronix-sys-root -+./usr/pkg/dt/share/cde/dtdocbook/dtsr makronix-sys-root -+./usr/pkg/dt/share/cde/dtdocbook/dtsr/deu.sfx makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/dtsr/deu.stp makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/dtsr/dtsearch.dbd makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/dtsr/eng.sfx makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/dtsr/eng.stp makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/dtsr/esp.sfx makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/dtsr/esp.stp makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/dtsr/fra.sfx makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/dtsr/fra.stp makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/dtsr/ita.sfx makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/dtsr/ita.stp makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/dtsr/jpn.knj makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/locales makronix-sys-root -+./usr/pkg/dt/share/cde/dtdocbook/locales/de_DE.UTF-8 makronix-sys-root -+./usr/pkg/dt/share/cde/dtdocbook/locales/de_DE.UTF-8/strings makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/locales/el_GR.UTF-8 makronix-sys-root -+./usr/pkg/dt/share/cde/dtdocbook/locales/el_GR.UTF-8/strings makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/locales/en_US.UTF-8 makronix-sys-root -+./usr/pkg/dt/share/cde/dtdocbook/locales/en_US.UTF-8/strings makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/locales/es_ES.UTF-8 makronix-sys-root -+./usr/pkg/dt/share/cde/dtdocbook/locales/es_ES.UTF-8/strings makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/locales/fr_FR.UTF-8 makronix-sys-root -+./usr/pkg/dt/share/cde/dtdocbook/locales/fr_FR.UTF-8/strings makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/locales/it_IT.UTF-8 makronix-sys-root -+./usr/pkg/dt/share/cde/dtdocbook/locales/it_IT.UTF-8/strings makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/locales/ja_JP.UTF-8 makronix-sys-root -+./usr/pkg/dt/share/cde/dtdocbook/locales/ja_JP.UTF-8/strings makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/sgml makronix-sys-root -+./usr/pkg/dt/share/cde/dtdocbook/sgml/catalog makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/sgml/docbook.dcl makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/sgml/docbook.dtd makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/sgml/dtinfo.af makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/sgml/dtinfoBook.dtd makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/sgml/dtinfoStyle.dtd makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/sgml/dtinfoTOC.dtd makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/sgml/iso-catalog makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/sgml/isoamsa.gml makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/sgml/isoamsb.gml makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/sgml/isoamsc.gml makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/sgml/isoamsn.gml makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/sgml/isoamso.gml makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/sgml/isoamsr.gml makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/sgml/isobox.gml makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/sgml/isocyr1.gml makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/sgml/isocyr2.gml makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/sgml/isodia.gml makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/sgml/isogrk1.gml makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/sgml/isogrk2.gml makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/sgml/isogrk3.gml makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/sgml/isogrk4.gml makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/sgml/isolat1.gml makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/sgml/isolat2.gml makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/sgml/isonum.gml makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/sgml/isopub.gml makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/sgml/isotech.gml makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/sgml/styprolog.sgml makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/spec makronix-sys-root -+./usr/pkg/dt/share/cde/dtdocbook/spec/hardcopy.feature.spec makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/spec/mmdb.infolib.spec makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/spec/online.feature.spec makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/tpt makronix-sys-root -+./usr/pkg/dt/share/cde/dtdocbook/tpt/docbook-to-man.ts makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/tpt/docbook.cmap makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/tpt/docbook.ts makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/tpt/docbook.tss makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/tpt/roff.cmap makronix-util-data -+./usr/pkg/dt/share/cde/dtdocbook/tpt/roff.sdata makronix-util-data -+./usr/pkg/dt/share/cde/fontaliases makronix-sys-root -+./usr/pkg/dt/share/cde/fontaliases/dtinfo.pcf.gz makronix-util-data -+./usr/pkg/dt/share/cde/fontaliases/fixed.alias makronix-util-data -+./usr/pkg/dt/share/cde/fontaliases/fonts.alias makronix-util-data -+./usr/pkg/dt/share/cde/fontaliases/fonts.dir makronix-util-data -+./usr/pkg/dt/share/cde/fontaliases/mixed.alias makronix-util-data -+./usr/pkg/dt/share/palettes makronix-sys-root -+./usr/pkg/dt/share/palettes/Alpine.dp makronix-util-data -+./usr/pkg/dt/share/palettes/Arizona.dp makronix-util-data -+./usr/pkg/dt/share/palettes/BeigeRose.dp makronix-util-data -+./usr/pkg/dt/share/palettes/Black.dp makronix-util-data -+./usr/pkg/dt/share/palettes/BlackWhite.dp makronix-util-data -+./usr/pkg/dt/share/palettes/Broica.dp makronix-util-data -+./usr/pkg/dt/share/palettes/Cabernet.dp makronix-util-data -+./usr/pkg/dt/share/palettes/Camouflage.dp makronix-util-data -+./usr/pkg/dt/share/palettes/Charcoal.dp makronix-util-data -+./usr/pkg/dt/share/palettes/Chocolate.dp makronix-util-data -+./usr/pkg/dt/share/palettes/Cinnamon.dp makronix-util-data -+./usr/pkg/dt/share/palettes/Clay.dp makronix-util-data -+./usr/pkg/dt/share/palettes/Crimson.dp makronix-util-data -+./usr/pkg/dt/share/palettes/DarkGold.dp makronix-util-data -+./usr/pkg/dt/share/palettes/Default.dp makronix-util-data -+./usr/pkg/dt/share/palettes/Delphinium.dp makronix-util-data -+./usr/pkg/dt/share/palettes/Desert.dp makronix-util-data -+./usr/pkg/dt/share/palettes/Golden.dp makronix-util-data -+./usr/pkg/dt/share/palettes/Grass.dp makronix-util-data -+./usr/pkg/dt/share/palettes/GrayScale.dp makronix-util-data -+./usr/pkg/dt/share/palettes/Lilac.dp makronix-util-data -+./usr/pkg/dt/share/palettes/Mustard.dp makronix-util-data -+./usr/pkg/dt/share/palettes/Neptune.dp makronix-util-data -+./usr/pkg/dt/share/palettes/NorthernSky.dp makronix-util-data -+./usr/pkg/dt/share/palettes/Nutmeg.dp makronix-util-data -+./usr/pkg/dt/share/palettes/Olive.dp makronix-util-data -+./usr/pkg/dt/share/palettes/Orchid.dp makronix-util-data -+./usr/pkg/dt/share/palettes/PBNJ.dp makronix-util-data -+./usr/pkg/dt/share/palettes/Sand.dp makronix-util-data -+./usr/pkg/dt/share/palettes/SantaFe.dp makronix-util-data -+./usr/pkg/dt/share/palettes/Savannah.dp makronix-util-data -+./usr/pkg/dt/share/palettes/SeaFoam.dp makronix-util-data -+./usr/pkg/dt/share/palettes/SkyRed.dp makronix-util-data -+./usr/pkg/dt/share/palettes/SoftBlue.dp makronix-util-data -+./usr/pkg/dt/share/palettes/SouthWest.dp makronix-util-data -+./usr/pkg/dt/share/palettes/Summer.dp makronix-util-data -+./usr/pkg/dt/share/palettes/Tundra.dp makronix-util-data -+./usr/pkg/dt/share/palettes/Urchin.dp makronix-util-data -+./usr/pkg/dt/share/palettes/Wheat.dp makronix-util-data -+./usr/pkg/dt/share/palettes/White.dp makronix-util-data -+./usr/pkg/dt/share/palettes/WhiteBlack.dp makronix-util-data -+./usr/pkg/dt/share/palettes/desc.C makronix-util-data -+./usr/pkg/dt/share/palettes/desc.en_US.UTF-8 makronix-util-data -+./usr/pkg/include makronix-sys-root -+./usr/pkg/include/FlexLexer.h makronix-util-include -+./usr/pkg/include/Mrm makronix-sys-root -+./usr/pkg/include/Mrm/MrmAppl.h makronix-util-include -+./usr/pkg/include/Mrm/MrmDecls.h makronix-util-include -+./usr/pkg/include/Mrm/MrmPublic.h makronix-util-include -+./usr/pkg/include/Mrm/MrmosI.h makronix-util-include -+./usr/pkg/include/OpenSP makronix-sys-root -+./usr/pkg/include/OpenSP/Allocator.h makronix-util-include -+./usr/pkg/include/OpenSP/ArcEngine.h makronix-util-include -+./usr/pkg/include/OpenSP/Attribute.h makronix-util-include -+./usr/pkg/include/OpenSP/Attributed.h makronix-util-include -+./usr/pkg/include/OpenSP/Big5CodingSystem.h makronix-util-include -+./usr/pkg/include/OpenSP/Boolean.h makronix-util-include -+./usr/pkg/include/OpenSP/CharMap.cxx makronix-util-include -+./usr/pkg/include/OpenSP/CharMap.h makronix-util-include -+./usr/pkg/include/OpenSP/CharsetDecl.h makronix-util-include -+./usr/pkg/include/OpenSP/CharsetInfo.h makronix-util-include -+./usr/pkg/include/OpenSP/CharsetRegistry.h makronix-util-include -+./usr/pkg/include/OpenSP/CmdLineApp.h makronix-util-include -+./usr/pkg/include/OpenSP/CodingSystem.h makronix-util-include -+./usr/pkg/include/OpenSP/CodingSystemKit.h makronix-util-include -+./usr/pkg/include/OpenSP/ConsoleOutput.h makronix-util-include -+./usr/pkg/include/OpenSP/ContentState.h makronix-util-include -+./usr/pkg/include/OpenSP/ContentToken.h makronix-util-include -+./usr/pkg/include/OpenSP/CopyOwner.cxx makronix-util-include -+./usr/pkg/include/OpenSP/CopyOwner.h makronix-util-include -+./usr/pkg/include/OpenSP/DescriptorManager.h makronix-util-include -+./usr/pkg/include/OpenSP/Dtd.h makronix-util-include -+./usr/pkg/include/OpenSP/EUCJPCodingSystem.h makronix-util-include -+./usr/pkg/include/OpenSP/ElementType.h makronix-util-include -+./usr/pkg/include/OpenSP/Entity.h makronix-util-include -+./usr/pkg/include/OpenSP/EntityApp.h makronix-util-include -+./usr/pkg/include/OpenSP/EntityCatalog.h makronix-util-include -+./usr/pkg/include/OpenSP/EntityDecl.h makronix-util-include -+./usr/pkg/include/OpenSP/EntityManager.h makronix-util-include -+./usr/pkg/include/OpenSP/ErrnoMessageArg.h makronix-util-include -+./usr/pkg/include/OpenSP/ErrorCountEventHandler.h makronix-util-include -+./usr/pkg/include/OpenSP/Event.h makronix-util-include -+./usr/pkg/include/OpenSP/EventGenerator.h makronix-util-include -+./usr/pkg/include/OpenSP/EventsWanted.h makronix-util-include -+./usr/pkg/include/OpenSP/ExtendEntityManager.h makronix-util-include -+./usr/pkg/include/OpenSP/ExternalId.h makronix-util-include -+./usr/pkg/include/OpenSP/Fixed2CodingSystem.h makronix-util-include -+./usr/pkg/include/OpenSP/Fixed4CodingSystem.h makronix-util-include -+./usr/pkg/include/OpenSP/GenericEventHandler.h makronix-util-include -+./usr/pkg/include/OpenSP/Hash.h makronix-util-include -+./usr/pkg/include/OpenSP/HashTable.cxx makronix-util-include -+./usr/pkg/include/OpenSP/HashTable.h makronix-util-include -+./usr/pkg/include/OpenSP/HashTableItemBase.cxx makronix-util-include -+./usr/pkg/include/OpenSP/HashTableItemBase.h makronix-util-include -+./usr/pkg/include/OpenSP/IList.h makronix-util-include -+./usr/pkg/include/OpenSP/IListBase.h makronix-util-include -+./usr/pkg/include/OpenSP/IListIter.h makronix-util-include -+./usr/pkg/include/OpenSP/IListIterBase.h makronix-util-include -+./usr/pkg/include/OpenSP/IQueue.cxx makronix-util-include -+./usr/pkg/include/OpenSP/IQueue.h makronix-util-include -+./usr/pkg/include/OpenSP/ISet.cxx makronix-util-include -+./usr/pkg/include/OpenSP/ISet.h makronix-util-include -+./usr/pkg/include/OpenSP/ISetIter.h makronix-util-include -+./usr/pkg/include/OpenSP/IdentityCodingSystem.h makronix-util-include -+./usr/pkg/include/OpenSP/InputSource.h makronix-util-include -+./usr/pkg/include/OpenSP/InternalInputSource.h makronix-util-include -+./usr/pkg/include/OpenSP/Link.h makronix-util-include -+./usr/pkg/include/OpenSP/LinkProcess.h makronix-util-include -+./usr/pkg/include/OpenSP/List.cxx makronix-util-include -+./usr/pkg/include/OpenSP/List.h makronix-util-include -+./usr/pkg/include/OpenSP/ListIter.h makronix-util-include -+./usr/pkg/include/OpenSP/LiteralStorage.h makronix-util-include -+./usr/pkg/include/OpenSP/Location.h makronix-util-include -+./usr/pkg/include/OpenSP/Lpd.h makronix-util-include -+./usr/pkg/include/OpenSP/Markup.h makronix-util-include -+./usr/pkg/include/OpenSP/Message.h makronix-util-include -+./usr/pkg/include/OpenSP/MessageArg.h makronix-util-include -+./usr/pkg/include/OpenSP/MessageBuilder.h makronix-util-include -+./usr/pkg/include/OpenSP/MessageEventHandler.h makronix-util-include -+./usr/pkg/include/OpenSP/MessageFormatter.h makronix-util-include -+./usr/pkg/include/OpenSP/MessageModule.h makronix-util-include -+./usr/pkg/include/OpenSP/MessageReporter.h makronix-util-include -+./usr/pkg/include/OpenSP/MessageTable.h makronix-util-include -+./usr/pkg/include/OpenSP/Mode.h makronix-util-include -+./usr/pkg/include/OpenSP/NCVector.h makronix-util-include -+./usr/pkg/include/OpenSP/Named.h makronix-util-include -+./usr/pkg/include/OpenSP/NamedResource.h makronix-util-include -+./usr/pkg/include/OpenSP/NamedResourceTable.h makronix-util-include -+./usr/pkg/include/OpenSP/NamedTable.h makronix-util-include -+./usr/pkg/include/OpenSP/Notation.h makronix-util-include -+./usr/pkg/include/OpenSP/NotationStorage.h makronix-util-include -+./usr/pkg/include/OpenSP/OpenElement.h makronix-util-include -+./usr/pkg/include/OpenSP/Options.cxx makronix-util-include -+./usr/pkg/include/OpenSP/Options.h makronix-util-include -+./usr/pkg/include/OpenSP/OutputByteStream.h makronix-util-include -+./usr/pkg/include/OpenSP/OutputCharStream.h makronix-util-include -+./usr/pkg/include/OpenSP/Owner.cxx makronix-util-include -+./usr/pkg/include/OpenSP/Owner.h makronix-util-include -+./usr/pkg/include/OpenSP/OwnerTable.cxx makronix-util-include -+./usr/pkg/include/OpenSP/OwnerTable.h makronix-util-include -+./usr/pkg/include/OpenSP/ParserApp.h makronix-util-include -+./usr/pkg/include/OpenSP/ParserEventGeneratorKit.h makronix-util-include -+./usr/pkg/include/OpenSP/ParserOptions.h makronix-util-include -+./usr/pkg/include/OpenSP/PointerTable.cxx makronix-util-include -+./usr/pkg/include/OpenSP/PointerTable.h makronix-util-include -+./usr/pkg/include/OpenSP/PosixStorage.h makronix-util-include -+./usr/pkg/include/OpenSP/Ptr.cxx makronix-util-include -+./usr/pkg/include/OpenSP/Ptr.h makronix-util-include -+./usr/pkg/include/OpenSP/RangeMap.cxx makronix-util-include -+./usr/pkg/include/OpenSP/RangeMap.h makronix-util-include -+./usr/pkg/include/OpenSP/Resource.h makronix-util-include -+./usr/pkg/include/OpenSP/RewindStorageObject.h makronix-util-include -+./usr/pkg/include/OpenSP/SGMLApplication.h makronix-util-include -+./usr/pkg/include/OpenSP/SJISCodingSystem.h makronix-util-include -+./usr/pkg/include/OpenSP/SOEntityCatalog.h makronix-util-include -+./usr/pkg/include/OpenSP/Sd.h makronix-util-include -+./usr/pkg/include/OpenSP/SdText.h makronix-util-include -+./usr/pkg/include/OpenSP/SearchResultMessageArg.h makronix-util-include -+./usr/pkg/include/OpenSP/SgmlParser.h makronix-util-include -+./usr/pkg/include/OpenSP/ShortReferenceMap.h makronix-util-include -+./usr/pkg/include/OpenSP/StdioStorage.h makronix-util-include -+./usr/pkg/include/OpenSP/StorageManager.h makronix-util-include -+./usr/pkg/include/OpenSP/StringC.h makronix-util-include -+./usr/pkg/include/OpenSP/StringOf.cxx makronix-util-include -+./usr/pkg/include/OpenSP/StringOf.h makronix-util-include -+./usr/pkg/include/OpenSP/StringResource.h makronix-util-include -+./usr/pkg/include/OpenSP/SubstTable.h makronix-util-include -+./usr/pkg/include/OpenSP/Syntax.h makronix-util-include -+./usr/pkg/include/OpenSP/Text.h makronix-util-include -+./usr/pkg/include/OpenSP/TranslateCodingSystem.h makronix-util-include -+./usr/pkg/include/OpenSP/TypeId.h makronix-util-include -+./usr/pkg/include/OpenSP/URLStorage.h makronix-util-include -+./usr/pkg/include/OpenSP/UTF16CodingSystem.h makronix-util-include -+./usr/pkg/include/OpenSP/UTF8CodingSystem.h makronix-util-include -+./usr/pkg/include/OpenSP/UnicodeCodingSystem.h makronix-util-include -+./usr/pkg/include/OpenSP/UnivCharsetDesc.h makronix-util-include -+./usr/pkg/include/OpenSP/Vector.cxx makronix-util-include -+./usr/pkg/include/OpenSP/Vector.h makronix-util-include -+./usr/pkg/include/OpenSP/XMLCodingSystem.h makronix-util-include -+./usr/pkg/include/OpenSP/XcharMap.cxx makronix-util-include -+./usr/pkg/include/OpenSP/XcharMap.h makronix-util-include -+./usr/pkg/include/OpenSP/config.h makronix-util-include -+./usr/pkg/include/OpenSP/constant.h makronix-util-include -+./usr/pkg/include/OpenSP/macros.h makronix-util-include -+./usr/pkg/include/OpenSP/rtti.h makronix-util-include -+./usr/pkg/include/OpenSP/sptchar.h makronix-util-include -+./usr/pkg/include/OpenSP/types.h makronix-util-include -+./usr/pkg/include/OpenSP/xnew.h makronix-util-include -+./usr/pkg/include/X11 makronix-sys-root -+./usr/pkg/include/X11/Xft makronix-sys-root -+./usr/pkg/include/X11/Xft/Xft.h makronix-util-include -+./usr/pkg/include/X11/Xft/XftCompat.h makronix-util-include -+./usr/pkg/include/X11/bitmaps makronix-sys-root -+./usr/pkg/include/X11/bitmaps/xm_error makronix-util-include -+./usr/pkg/include/X11/bitmaps/xm_hour16 makronix-util-include -+./usr/pkg/include/X11/bitmaps/xm_hour16m makronix-util-include -+./usr/pkg/include/X11/bitmaps/xm_hour32 makronix-util-include -+./usr/pkg/include/X11/bitmaps/xm_hour32m makronix-util-include -+./usr/pkg/include/X11/bitmaps/xm_information makronix-util-include -+./usr/pkg/include/X11/bitmaps/xm_noenter16 makronix-util-include -+./usr/pkg/include/X11/bitmaps/xm_noenter16m makronix-util-include -+./usr/pkg/include/X11/bitmaps/xm_noenter32 makronix-util-include -+./usr/pkg/include/X11/bitmaps/xm_noenter32m makronix-util-include -+./usr/pkg/include/X11/bitmaps/xm_question makronix-util-include -+./usr/pkg/include/X11/bitmaps/xm_warning makronix-util-include -+./usr/pkg/include/X11/bitmaps/xm_working makronix-util-include -+./usr/pkg/include/Xm makronix-sys-root -+./usr/pkg/include/Xm/AccColorT.h makronix-util-include -+./usr/pkg/include/Xm/AccTextT.h makronix-util-include -+./usr/pkg/include/Xm/ActivatableT.h makronix-util-include -+./usr/pkg/include/Xm/ArrowB.h makronix-util-include -+./usr/pkg/include/Xm/ArrowBG.h makronix-util-include -+./usr/pkg/include/Xm/ArrowBGP.h makronix-util-include -+./usr/pkg/include/Xm/ArrowBP.h makronix-util-include -+./usr/pkg/include/Xm/AtomMgr.h makronix-util-include -+./usr/pkg/include/Xm/BaseClassP.h makronix-util-include -+./usr/pkg/include/Xm/BulletinB.h makronix-util-include -+./usr/pkg/include/Xm/BulletinBP.h makronix-util-include -+./usr/pkg/include/Xm/ButtonBox.h makronix-util-include -+./usr/pkg/include/Xm/ButtonBoxP.h makronix-util-include -+./usr/pkg/include/Xm/CacheP.h makronix-util-include -+./usr/pkg/include/Xm/CareVisualT.h makronix-util-include -+./usr/pkg/include/Xm/CascadeB.h makronix-util-include -+./usr/pkg/include/Xm/CascadeBG.h makronix-util-include -+./usr/pkg/include/Xm/CascadeBGP.h makronix-util-include -+./usr/pkg/include/Xm/CascadeBP.h makronix-util-include -+./usr/pkg/include/Xm/ClipWindowP.h makronix-util-include -+./usr/pkg/include/Xm/ColorObjP.h makronix-util-include -+./usr/pkg/include/Xm/ColorP.h makronix-util-include -+./usr/pkg/include/Xm/ColorS.h makronix-util-include -+./usr/pkg/include/Xm/ColorSP.h makronix-util-include -+./usr/pkg/include/Xm/Column.h makronix-util-include -+./usr/pkg/include/Xm/ColumnP.h makronix-util-include -+./usr/pkg/include/Xm/ComboBox.h makronix-util-include -+./usr/pkg/include/Xm/ComboBox2.h makronix-util-include -+./usr/pkg/include/Xm/ComboBox2P.h makronix-util-include -+./usr/pkg/include/Xm/ComboBoxP.h makronix-util-include -+./usr/pkg/include/Xm/Command.h makronix-util-include -+./usr/pkg/include/Xm/CommandP.h makronix-util-include -+./usr/pkg/include/Xm/ContItemT.h makronix-util-include -+./usr/pkg/include/Xm/Container.h makronix-util-include -+./usr/pkg/include/Xm/ContainerP.h makronix-util-include -+./usr/pkg/include/Xm/ContainerT.h makronix-util-include -+./usr/pkg/include/Xm/CutPaste.h makronix-util-include -+./usr/pkg/include/Xm/DataF.h makronix-util-include -+./usr/pkg/include/Xm/DataFP.h makronix-util-include -+./usr/pkg/include/Xm/DataFSelP.h makronix-util-include -+./usr/pkg/include/Xm/DesktopP.h makronix-util-include -+./usr/pkg/include/Xm/DialogS.h makronix-util-include -+./usr/pkg/include/Xm/DialogSEP.h makronix-util-include -+./usr/pkg/include/Xm/DialogSP.h makronix-util-include -+./usr/pkg/include/Xm/DialogSavvyT.h makronix-util-include -+./usr/pkg/include/Xm/Display.h makronix-util-include -+./usr/pkg/include/Xm/DisplayP.h makronix-util-include -+./usr/pkg/include/Xm/DragC.h makronix-util-include -+./usr/pkg/include/Xm/DragCP.h makronix-util-include -+./usr/pkg/include/Xm/DragDrop.h makronix-util-include -+./usr/pkg/include/Xm/DragIcon.h makronix-util-include -+./usr/pkg/include/Xm/DragIconP.h makronix-util-include -+./usr/pkg/include/Xm/DragOverS.h makronix-util-include -+./usr/pkg/include/Xm/DragOverSP.h makronix-util-include -+./usr/pkg/include/Xm/DrawP.h makronix-util-include -+./usr/pkg/include/Xm/DrawUtils.h makronix-util-include -+./usr/pkg/include/Xm/DrawingA.h makronix-util-include -+./usr/pkg/include/Xm/DrawingAP.h makronix-util-include -+./usr/pkg/include/Xm/DrawnB.h makronix-util-include -+./usr/pkg/include/Xm/DrawnBP.h makronix-util-include -+./usr/pkg/include/Xm/DropDown.h makronix-util-include -+./usr/pkg/include/Xm/DropDownP.h makronix-util-include -+./usr/pkg/include/Xm/DropSMgr.h makronix-util-include -+./usr/pkg/include/Xm/DropSMgrP.h makronix-util-include -+./usr/pkg/include/Xm/DropTrans.h makronix-util-include -+./usr/pkg/include/Xm/DropTransP.h makronix-util-include -+./usr/pkg/include/Xm/Ext.h makronix-util-include -+./usr/pkg/include/Xm/Ext18List.h makronix-util-include -+./usr/pkg/include/Xm/Ext18ListP.h makronix-util-include -+./usr/pkg/include/Xm/ExtObjectP.h makronix-util-include -+./usr/pkg/include/Xm/ExtP.h makronix-util-include -+./usr/pkg/include/Xm/FileSB.h makronix-util-include -+./usr/pkg/include/Xm/FileSBP.h makronix-util-include -+./usr/pkg/include/Xm/FontS.h makronix-util-include -+./usr/pkg/include/Xm/FontSP.h makronix-util-include -+./usr/pkg/include/Xm/Form.h makronix-util-include -+./usr/pkg/include/Xm/FormP.h makronix-util-include -+./usr/pkg/include/Xm/Frame.h makronix-util-include -+./usr/pkg/include/Xm/FrameP.h makronix-util-include -+./usr/pkg/include/Xm/Gadget.h makronix-util-include -+./usr/pkg/include/Xm/GadgetP.h makronix-util-include -+./usr/pkg/include/Xm/GrabShell.h makronix-util-include -+./usr/pkg/include/Xm/GrabShellP.h makronix-util-include -+./usr/pkg/include/Xm/Hierarchy.h makronix-util-include -+./usr/pkg/include/Xm/HierarchyP.h makronix-util-include -+./usr/pkg/include/Xm/IconBox.h makronix-util-include -+./usr/pkg/include/Xm/IconBoxP.h makronix-util-include -+./usr/pkg/include/Xm/IconButton.h makronix-util-include -+./usr/pkg/include/Xm/IconButtonP.h makronix-util-include -+./usr/pkg/include/Xm/IconFile.h makronix-util-include -+./usr/pkg/include/Xm/IconFileP.h makronix-util-include -+./usr/pkg/include/Xm/IconG.h makronix-util-include -+./usr/pkg/include/Xm/IconGP.h makronix-util-include -+./usr/pkg/include/Xm/IconH.h makronix-util-include -+./usr/pkg/include/Xm/IconHP.h makronix-util-include -+./usr/pkg/include/Xm/JoinSideT.h makronix-util-include -+./usr/pkg/include/Xm/Label.h makronix-util-include -+./usr/pkg/include/Xm/LabelG.h makronix-util-include -+./usr/pkg/include/Xm/LabelGP.h makronix-util-include -+./usr/pkg/include/Xm/LabelP.h makronix-util-include -+./usr/pkg/include/Xm/LayoutT.h makronix-util-include -+./usr/pkg/include/Xm/List.h makronix-util-include -+./usr/pkg/include/Xm/ListP.h makronix-util-include -+./usr/pkg/include/Xm/MainW.h makronix-util-include -+./usr/pkg/include/Xm/MainWP.h makronix-util-include -+./usr/pkg/include/Xm/Manager.h makronix-util-include -+./usr/pkg/include/Xm/ManagerP.h makronix-util-include -+./usr/pkg/include/Xm/MenuProcP.h makronix-util-include -+./usr/pkg/include/Xm/MenuShell.h makronix-util-include -+./usr/pkg/include/Xm/MenuShellP.h makronix-util-include -+./usr/pkg/include/Xm/MenuStateP.h makronix-util-include -+./usr/pkg/include/Xm/MenuT.h makronix-util-include -+./usr/pkg/include/Xm/MenuUtilP.h makronix-util-include -+./usr/pkg/include/Xm/MessageB.h makronix-util-include -+./usr/pkg/include/Xm/MessageBP.h makronix-util-include -+./usr/pkg/include/Xm/MultiList.h makronix-util-include -+./usr/pkg/include/Xm/MultiListP.h makronix-util-include -+./usr/pkg/include/Xm/MwmUtil.h makronix-util-include -+./usr/pkg/include/Xm/NavigatorT.h makronix-util-include -+./usr/pkg/include/Xm/Notebook.h makronix-util-include -+./usr/pkg/include/Xm/NotebookP.h makronix-util-include -+./usr/pkg/include/Xm/Outline.h makronix-util-include -+./usr/pkg/include/Xm/OutlineP.h makronix-util-include -+./usr/pkg/include/Xm/Paned.h makronix-util-include -+./usr/pkg/include/Xm/PanedP.h makronix-util-include -+./usr/pkg/include/Xm/PanedW.h makronix-util-include -+./usr/pkg/include/Xm/PanedWP.h makronix-util-include -+./usr/pkg/include/Xm/Picture.h makronix-util-include -+./usr/pkg/include/Xm/PictureP.h makronix-util-include -+./usr/pkg/include/Xm/PointInT.h makronix-util-include -+./usr/pkg/include/Xm/Primitive.h makronix-util-include -+./usr/pkg/include/Xm/PrimitiveP.h makronix-util-include -+./usr/pkg/include/Xm/Print.h makronix-util-include -+./usr/pkg/include/Xm/PrintSP.h makronix-util-include -+./usr/pkg/include/Xm/Protocols.h makronix-util-include -+./usr/pkg/include/Xm/ProtocolsP.h makronix-util-include -+./usr/pkg/include/Xm/PushB.h makronix-util-include -+./usr/pkg/include/Xm/PushBG.h makronix-util-include -+./usr/pkg/include/Xm/PushBGP.h makronix-util-include -+./usr/pkg/include/Xm/PushBP.h makronix-util-include -+./usr/pkg/include/Xm/RCLayoutP.h makronix-util-include -+./usr/pkg/include/Xm/RCMenuP.h makronix-util-include -+./usr/pkg/include/Xm/RepType.h makronix-util-include -+./usr/pkg/include/Xm/RowColumn.h makronix-util-include -+./usr/pkg/include/Xm/RowColumnP.h makronix-util-include -+./usr/pkg/include/Xm/SSpinB.h makronix-util-include -+./usr/pkg/include/Xm/SSpinBP.h makronix-util-include -+./usr/pkg/include/Xm/SashP.h makronix-util-include -+./usr/pkg/include/Xm/Scale.h makronix-util-include -+./usr/pkg/include/Xm/ScaleP.h makronix-util-include -+./usr/pkg/include/Xm/Screen.h makronix-util-include -+./usr/pkg/include/Xm/ScreenP.h makronix-util-include -+./usr/pkg/include/Xm/ScrollBar.h makronix-util-include -+./usr/pkg/include/Xm/ScrollBarP.h makronix-util-include -+./usr/pkg/include/Xm/ScrollFrameT.h makronix-util-include -+./usr/pkg/include/Xm/ScrolledW.h makronix-util-include -+./usr/pkg/include/Xm/ScrolledWP.h makronix-util-include -+./usr/pkg/include/Xm/SelectioB.h makronix-util-include -+./usr/pkg/include/Xm/SelectioBP.h makronix-util-include -+./usr/pkg/include/Xm/SeparatoG.h makronix-util-include -+./usr/pkg/include/Xm/SeparatoGP.h makronix-util-include -+./usr/pkg/include/Xm/Separator.h makronix-util-include -+./usr/pkg/include/Xm/SeparatorP.h makronix-util-include -+./usr/pkg/include/Xm/ShellEP.h makronix-util-include -+./usr/pkg/include/Xm/SlideC.h makronix-util-include -+./usr/pkg/include/Xm/SlideCP.h makronix-util-include -+./usr/pkg/include/Xm/SpecRenderT.h makronix-util-include -+./usr/pkg/include/Xm/SpinB.h makronix-util-include -+./usr/pkg/include/Xm/SpinBP.h makronix-util-include -+./usr/pkg/include/Xm/TabBox.h makronix-util-include -+./usr/pkg/include/Xm/TabBoxP.h makronix-util-include -+./usr/pkg/include/Xm/TabList.h makronix-util-include -+./usr/pkg/include/Xm/TabStack.h makronix-util-include -+./usr/pkg/include/Xm/TabStackP.h makronix-util-include -+./usr/pkg/include/Xm/TakesDefT.h makronix-util-include -+./usr/pkg/include/Xm/TearOffBP.h makronix-util-include -+./usr/pkg/include/Xm/TearOffP.h makronix-util-include -+./usr/pkg/include/Xm/Text.h makronix-util-include -+./usr/pkg/include/Xm/TextF.h makronix-util-include -+./usr/pkg/include/Xm/TextFP.h makronix-util-include -+./usr/pkg/include/Xm/TextFSelP.h makronix-util-include -+./usr/pkg/include/Xm/TextInP.h makronix-util-include -+./usr/pkg/include/Xm/TextOutP.h makronix-util-include -+./usr/pkg/include/Xm/TextP.h makronix-util-include -+./usr/pkg/include/Xm/TextSelP.h makronix-util-include -+./usr/pkg/include/Xm/TextStrSoP.h makronix-util-include -+./usr/pkg/include/Xm/ToggleB.h makronix-util-include -+./usr/pkg/include/Xm/ToggleBG.h makronix-util-include -+./usr/pkg/include/Xm/ToggleBGP.h makronix-util-include -+./usr/pkg/include/Xm/ToggleBP.h makronix-util-include -+./usr/pkg/include/Xm/ToolTipCT.h makronix-util-include -+./usr/pkg/include/Xm/ToolTipT.h makronix-util-include -+./usr/pkg/include/Xm/TraitP.h makronix-util-include -+./usr/pkg/include/Xm/Transfer.h makronix-util-include -+./usr/pkg/include/Xm/TransferP.h makronix-util-include -+./usr/pkg/include/Xm/TransferT.h makronix-util-include -+./usr/pkg/include/Xm/TransltnsP.h makronix-util-include -+./usr/pkg/include/Xm/TravConT.h makronix-util-include -+./usr/pkg/include/Xm/Tree.h makronix-util-include -+./usr/pkg/include/Xm/TreeP.h makronix-util-include -+./usr/pkg/include/Xm/TxtPropCv.h makronix-util-include -+./usr/pkg/include/Xm/UnhighlightT.h makronix-util-include -+./usr/pkg/include/Xm/UnitTypeT.h makronix-util-include -+./usr/pkg/include/Xm/VaSimpleP.h makronix-util-include -+./usr/pkg/include/Xm/VendorS.h makronix-util-include -+./usr/pkg/include/Xm/VendorSEP.h makronix-util-include -+./usr/pkg/include/Xm/VendorSP.h makronix-util-include -+./usr/pkg/include/Xm/VirtKeys.h makronix-util-include -+./usr/pkg/include/Xm/VirtKeysP.h makronix-util-include -+./usr/pkg/include/Xm/Xm.h makronix-util-include -+./usr/pkg/include/Xm/XmAll.h makronix-util-include -+./usr/pkg/include/Xm/XmIm.h makronix-util-include -+./usr/pkg/include/Xm/XmP.h makronix-util-include -+./usr/pkg/include/Xm/XmStrDefs.h makronix-util-include -+./usr/pkg/include/Xm/XmStrDefs22.h makronix-util-include -+./usr/pkg/include/Xm/XmStrDefs23.h makronix-util-include -+./usr/pkg/include/Xm/Xmfuncs.h makronix-util-include -+./usr/pkg/include/Xm/XmosP.h makronix-util-include -+./usr/pkg/include/Xm/Xmos_r.h makronix-util-include -+./usr/pkg/include/Xm/Xmpoll.h makronix-util-include -+./usr/pkg/include/Xm/XpmP.h makronix-util-include -+./usr/pkg/include/Xm/xmlist.h makronix-util-include -+./usr/pkg/include/ast makronix-sys-root -+./usr/pkg/include/ast/align.h makronix-util-include -+./usr/pkg/include/ast/aso.h makronix-util-include -+./usr/pkg/include/ast/ast.h makronix-util-include -+./usr/pkg/include/ast/ast_api.h makronix-util-include -+./usr/pkg/include/ast/ast_ccode.h makronix-util-include -+./usr/pkg/include/ast/ast_common.h makronix-util-include -+./usr/pkg/include/ast/ast_dir.h makronix-util-include -+./usr/pkg/include/ast/ast_dirent.h makronix-util-include -+./usr/pkg/include/ast/ast_fcntl.h makronix-util-include -+./usr/pkg/include/ast/ast_float.h makronix-util-include -+./usr/pkg/include/ast/ast_fs.h makronix-util-include -+./usr/pkg/include/ast/ast_iconv.h makronix-util-include -+./usr/pkg/include/ast/ast_lib.h makronix-util-include -+./usr/pkg/include/ast/ast_limits.h makronix-util-include -+./usr/pkg/include/ast/ast_map.h makronix-util-include -+./usr/pkg/include/ast/ast_mmap.h makronix-util-include -+./usr/pkg/include/ast/ast_mode.h makronix-util-include -+./usr/pkg/include/ast/ast_ndbm.h makronix-util-include -+./usr/pkg/include/ast/ast_nl_types.h makronix-util-include -+./usr/pkg/include/ast/ast_param.h makronix-util-include -+./usr/pkg/include/ast/ast_sizeof.h makronix-util-include -+./usr/pkg/include/ast/ast_standards.h makronix-util-include -+./usr/pkg/include/ast/ast_std.h makronix-util-include -+./usr/pkg/include/ast/ast_stdio.h makronix-util-include -+./usr/pkg/include/ast/ast_sys.h makronix-util-include -+./usr/pkg/include/ast/ast_time.h makronix-util-include -+./usr/pkg/include/ast/ast_tty.h makronix-util-include -+./usr/pkg/include/ast/ast_wait.h makronix-util-include -+./usr/pkg/include/ast/ast_wchar.h makronix-util-include -+./usr/pkg/include/ast/ast_wctype.h makronix-util-include -+./usr/pkg/include/ast/ast_windows.h makronix-util-include -+./usr/pkg/include/ast/bytesex.h makronix-util-include -+./usr/pkg/include/ast/ccode.h makronix-util-include -+./usr/pkg/include/ast/cdt.h makronix-util-include -+./usr/pkg/include/ast/cmd.h makronix-util-include -+./usr/pkg/include/ast/cmdarg.h makronix-util-include -+./usr/pkg/include/ast/cmdext.h makronix-util-include -+./usr/pkg/include/ast/cmdlist.h makronix-util-include -+./usr/pkg/include/ast/debug.h makronix-util-include -+./usr/pkg/include/ast/dirent.h makronix-util-include -+./usr/pkg/include/ast/dlldefs.h makronix-util-include -+./usr/pkg/include/ast/endian.h makronix-util-include -+./usr/pkg/include/ast/error.h makronix-util-include -+./usr/pkg/include/ast/find.h makronix-util-include -+./usr/pkg/include/ast/fnmatch.h makronix-util-include -+./usr/pkg/include/ast/fnv.h makronix-util-include -+./usr/pkg/include/ast/fts.h makronix-util-include -+./usr/pkg/include/ast/ftw.h makronix-util-include -+./usr/pkg/include/ast/ftwalk.h makronix-util-include -+./usr/pkg/include/ast/glob.h makronix-util-include -+./usr/pkg/include/ast/hash.h makronix-util-include -+./usr/pkg/include/ast/hashkey.h makronix-util-include -+./usr/pkg/include/ast/hashpart.h makronix-util-include -+./usr/pkg/include/ast/history.h makronix-util-include -+./usr/pkg/include/ast/iconv.h makronix-util-include -+./usr/pkg/include/ast/ip6.h makronix-util-include -+./usr/pkg/include/ast/lc.h makronix-util-include -+./usr/pkg/include/ast/ls.h makronix-util-include -+./usr/pkg/include/ast/magic.h makronix-util-include -+./usr/pkg/include/ast/magicid.h makronix-util-include -+./usr/pkg/include/ast/mc.h makronix-util-include -+./usr/pkg/include/ast/mime.h makronix-util-include -+./usr/pkg/include/ast/mnt.h makronix-util-include -+./usr/pkg/include/ast/modecanon.h makronix-util-include -+./usr/pkg/include/ast/modex.h makronix-util-include -+./usr/pkg/include/ast/namval.h makronix-util-include -+./usr/pkg/include/ast/nl_types.h makronix-util-include -+./usr/pkg/include/ast/nval.h makronix-util-include -+./usr/pkg/include/ast/option.h makronix-util-include -+./usr/pkg/include/ast/proc.h makronix-util-include -+./usr/pkg/include/ast/re_comp.h makronix-util-include -+./usr/pkg/include/ast/recfmt.h makronix-util-include -+./usr/pkg/include/ast/regex.h makronix-util-include -+./usr/pkg/include/ast/regexp.h makronix-util-include -+./usr/pkg/include/ast/releaseflags.h makronix-util-include -+./usr/pkg/include/ast/sfdisc.h makronix-util-include -+./usr/pkg/include/ast/sfio.h makronix-util-include -+./usr/pkg/include/ast/sfio_s.h makronix-util-include -+./usr/pkg/include/ast/sfio_t.h makronix-util-include -+./usr/pkg/include/ast/shcmd.h makronix-util-include -+./usr/pkg/include/ast/shell.h makronix-util-include -+./usr/pkg/include/ast/sig.h makronix-util-include -+./usr/pkg/include/ast/stak.h makronix-util-include -+./usr/pkg/include/ast/stdio.h makronix-util-include -+./usr/pkg/include/ast/stk.h makronix-util-include -+./usr/pkg/include/ast/sum.h makronix-util-include -+./usr/pkg/include/ast/swap.h makronix-util-include -+./usr/pkg/include/ast/tar.h makronix-util-include -+./usr/pkg/include/ast/times.h makronix-util-include -+./usr/pkg/include/ast/tm.h makronix-util-include -+./usr/pkg/include/ast/tmx.h makronix-util-include -+./usr/pkg/include/ast/tok.h makronix-util-include -+./usr/pkg/include/ast/tv.h makronix-util-include -+./usr/pkg/include/ast/vdb.h makronix-util-include -+./usr/pkg/include/ast/wait.h makronix-util-include -+./usr/pkg/include/ast/wchar.h makronix-util-include -+./usr/pkg/include/ast/wctype.h makronix-util-include -+./usr/pkg/include/ast/wordexp.h makronix-util-include -+./usr/pkg/include/brotli makronix-sys-root -+./usr/pkg/include/brotli/decode.h makronix-util-include -+./usr/pkg/include/brotli/encode.h makronix-util-include -+./usr/pkg/include/brotli/port.h makronix-util-include -+./usr/pkg/include/brotli/shared_dictionary.h makronix-util-include -+./usr/pkg/include/brotli/types.h makronix-util-include -+./usr/pkg/include/fakemysql.h makronix-util-include -+./usr/pkg/include/fakepq.h makronix-util-include -+./usr/pkg/include/fakesql.h makronix-util-include -+./usr/pkg/include/fontconfig makronix-sys-root -+./usr/pkg/include/fontconfig/fcfreetype.h makronix-util-include -+./usr/pkg/include/fontconfig/fcprivate.h makronix-util-include -+./usr/pkg/include/fontconfig/fontconfig.h makronix-util-include -+./usr/pkg/include/freetype2 makronix-sys-root -+./usr/pkg/include/freetype2/freetype makronix-sys-root -+./usr/pkg/include/freetype2/freetype/config makronix-sys-root -+./usr/pkg/include/freetype2/freetype/config/ftconfig.h makronix-util-include -+./usr/pkg/include/freetype2/freetype/config/ftheader.h makronix-util-include -+./usr/pkg/include/freetype2/freetype/config/ftmodule.h makronix-util-include -+./usr/pkg/include/freetype2/freetype/config/ftoption.h makronix-util-include -+./usr/pkg/include/freetype2/freetype/config/ftstdlib.h makronix-util-include -+./usr/pkg/include/freetype2/freetype/config/integer-types.h makronix-util-include -+./usr/pkg/include/freetype2/freetype/config/mac-support.h makronix-util-include -+./usr/pkg/include/freetype2/freetype/config/public-macros.h makronix-util-include -+./usr/pkg/include/freetype2/freetype/freetype.h makronix-util-include -+./usr/pkg/include/freetype2/freetype/ftadvanc.h makronix-util-include -+./usr/pkg/include/freetype2/freetype/ftbbox.h makronix-util-include -+./usr/pkg/include/freetype2/freetype/ftbdf.h makronix-util-include -+./usr/pkg/include/freetype2/freetype/ftbitmap.h makronix-util-include -+./usr/pkg/include/freetype2/freetype/ftbzip2.h makronix-util-include -+./usr/pkg/include/freetype2/freetype/ftcache.h makronix-util-include -+./usr/pkg/include/freetype2/freetype/ftchapters.h makronix-util-include -+./usr/pkg/include/freetype2/freetype/ftcid.h makronix-util-include -+./usr/pkg/include/freetype2/freetype/ftcolor.h makronix-util-include -+./usr/pkg/include/freetype2/freetype/ftdriver.h makronix-util-include -+./usr/pkg/include/freetype2/freetype/fterrdef.h makronix-util-include -+./usr/pkg/include/freetype2/freetype/fterrors.h makronix-util-include -+./usr/pkg/include/freetype2/freetype/ftfntfmt.h makronix-util-include -+./usr/pkg/include/freetype2/freetype/ftgasp.h makronix-util-include -+./usr/pkg/include/freetype2/freetype/ftglyph.h makronix-util-include -+./usr/pkg/include/freetype2/freetype/ftgxval.h makronix-util-include -+./usr/pkg/include/freetype2/freetype/ftgzip.h makronix-util-include -+./usr/pkg/include/freetype2/freetype/ftimage.h makronix-util-include -+./usr/pkg/include/freetype2/freetype/ftincrem.h makronix-util-include -+./usr/pkg/include/freetype2/freetype/ftlcdfil.h makronix-util-include -+./usr/pkg/include/freetype2/freetype/ftlist.h makronix-util-include -+./usr/pkg/include/freetype2/freetype/ftlogging.h makronix-util-include -+./usr/pkg/include/freetype2/freetype/ftlzw.h makronix-util-include -+./usr/pkg/include/freetype2/freetype/ftmac.h makronix-util-include -+./usr/pkg/include/freetype2/freetype/ftmm.h makronix-util-include -+./usr/pkg/include/freetype2/freetype/ftmodapi.h makronix-util-include -+./usr/pkg/include/freetype2/freetype/ftmoderr.h makronix-util-include -+./usr/pkg/include/freetype2/freetype/ftotval.h makronix-util-include -+./usr/pkg/include/freetype2/freetype/ftoutln.h makronix-util-include -+./usr/pkg/include/freetype2/freetype/ftparams.h makronix-util-include -+./usr/pkg/include/freetype2/freetype/ftpfr.h makronix-util-include -+./usr/pkg/include/freetype2/freetype/ftrender.h makronix-util-include -+./usr/pkg/include/freetype2/freetype/ftsizes.h makronix-util-include -+./usr/pkg/include/freetype2/freetype/ftsnames.h makronix-util-include -+./usr/pkg/include/freetype2/freetype/ftstroke.h makronix-util-include -+./usr/pkg/include/freetype2/freetype/ftsynth.h makronix-util-include -+./usr/pkg/include/freetype2/freetype/ftsystem.h makronix-util-include -+./usr/pkg/include/freetype2/freetype/fttrigon.h makronix-util-include -+./usr/pkg/include/freetype2/freetype/fttypes.h makronix-util-include -+./usr/pkg/include/freetype2/freetype/ftwinfnt.h makronix-util-include -+./usr/pkg/include/freetype2/freetype/otsvg.h makronix-util-include -+./usr/pkg/include/freetype2/freetype/t1tables.h makronix-util-include -+./usr/pkg/include/freetype2/freetype/ttnameid.h makronix-util-include -+./usr/pkg/include/freetype2/freetype/tttables.h makronix-util-include -+./usr/pkg/include/freetype2/freetype/tttags.h makronix-util-include -+./usr/pkg/include/freetype2/ft2build.h makronix-util-include -+./usr/pkg/include/itcl.h makronix-util-include -+./usr/pkg/include/itcl2TclOO.h makronix-util-include -+./usr/pkg/include/itclDecls.h makronix-util-include -+./usr/pkg/include/itclInt.h makronix-util-include -+./usr/pkg/include/itclIntDecls.h makronix-util-include -+./usr/pkg/include/itclMigrate2TclCore.h makronix-util-include -+./usr/pkg/include/itclTclIntStubsFcn.h makronix-util-include -+./usr/pkg/include/jconfig.h makronix-util-include -+./usr/pkg/include/jerror.h makronix-util-include -+./usr/pkg/include/jmorecfg.h makronix-util-include -+./usr/pkg/include/jpeglib.h makronix-util-include -+./usr/pkg/include/libpng16 makronix-sys-root -+./usr/pkg/include/libpng16/png.h makronix-util-include -+./usr/pkg/include/libpng16/pngconf.h makronix-util-include -+./usr/pkg/include/libpng16/pnglibconf.h makronix-util-include -+./usr/pkg/include/lmdb.h makronix-util-include -+./usr/pkg/include/mysqlStubs.h makronix-util-include -+./usr/pkg/include/odbcStubs.h makronix-util-include -+./usr/pkg/include/png.h makronix-util-include -+./usr/pkg/include/pngconf.h makronix-util-include -+./usr/pkg/include/pnglibconf.h makronix-util-include -+./usr/pkg/include/pqStubs.h makronix-util-include -+./usr/pkg/include/sqlite3.h makronix-util-include -+./usr/pkg/include/sqlite3ext.h makronix-util-include -+./usr/pkg/include/tcl makronix-sys-root -+./usr/pkg/include/tcl.h makronix-util-include -+./usr/pkg/include/tcl/generic makronix-sys-root -+./usr/pkg/include/tcl/generic/regcustom.h makronix-util-include -+./usr/pkg/include/tcl/generic/regerrs.h makronix-util-include -+./usr/pkg/include/tcl/generic/regex.h makronix-util-include -+./usr/pkg/include/tcl/generic/regguts.h makronix-util-include -+./usr/pkg/include/tcl/generic/tcl.h makronix-util-include -+./usr/pkg/include/tcl/generic/tclCompile.h makronix-util-include -+./usr/pkg/include/tcl/generic/tclDecls.h makronix-util-include -+./usr/pkg/include/tcl/generic/tclFileSystem.h makronix-util-include -+./usr/pkg/include/tcl/generic/tclIO.h makronix-util-include -+./usr/pkg/include/tcl/generic/tclInt.h makronix-util-include -+./usr/pkg/include/tcl/generic/tclIntDecls.h makronix-util-include -+./usr/pkg/include/tcl/generic/tclIntPlatDecls.h makronix-util-include -+./usr/pkg/include/tcl/generic/tclOO.h makronix-util-include -+./usr/pkg/include/tcl/generic/tclOODecls.h makronix-util-include -+./usr/pkg/include/tcl/generic/tclOOInt.h makronix-util-include -+./usr/pkg/include/tcl/generic/tclOOIntDecls.h makronix-util-include -+./usr/pkg/include/tcl/generic/tclParse.h makronix-util-include -+./usr/pkg/include/tcl/generic/tclPlatDecls.h makronix-util-include -+./usr/pkg/include/tcl/generic/tclPort.h makronix-util-include -+./usr/pkg/include/tcl/generic/tclRegexp.h makronix-util-include -+./usr/pkg/include/tcl/generic/tclStringRep.h makronix-util-include -+./usr/pkg/include/tcl/generic/tclStringTrim.h makronix-util-include -+./usr/pkg/include/tcl/generic/tclTomMath.h makronix-util-include -+./usr/pkg/include/tcl/generic/tclTomMathDecls.h makronix-util-include -+./usr/pkg/include/tcl/generic/tclTomMathInt.h makronix-util-include -+./usr/pkg/include/tcl/generic/tommath.h makronix-util-include -+./usr/pkg/include/tcl/unix makronix-sys-root -+./usr/pkg/include/tcl/unix/tclUnixPort.h makronix-util-include -+./usr/pkg/include/tcl/unix/tclUnixThrd.h makronix-util-include -+./usr/pkg/include/tcl/unix/tclUuid.h makronix-util-include -+./usr/pkg/include/tclDecls.h makronix-util-include -+./usr/pkg/include/tclOO.h makronix-util-include -+./usr/pkg/include/tclOODecls.h makronix-util-include -+./usr/pkg/include/tclPlatDecls.h makronix-util-include -+./usr/pkg/include/tclThread.h makronix-util-include -+./usr/pkg/include/tdbc.h makronix-util-include -+./usr/pkg/include/tdbcDecls.h makronix-util-include -+./usr/pkg/include/tdbcInt.h makronix-util-include -+./usr/pkg/include/turbojpeg.h makronix-util-include -+./usr/pkg/include/uil makronix-sys-root -+./usr/pkg/include/uil/Uil.h makronix-util-include -+./usr/pkg/include/uil/UilDBDef.h makronix-util-include -+./usr/pkg/include/uil/UilDef.h makronix-util-include -+./usr/pkg/include/uil/UilSymDef.h makronix-util-include -+./usr/pkg/include/uil/UilSymGl.h makronix-util-include -+./usr/pkg/include/uil/XmAppl.uil makronix-util-include -+./usr/pkg/info makronix-sys-root -+./usr/pkg/info/flex.info makronix-util-data -+./usr/pkg/info/flex.info-1 makronix-util-data -+./usr/pkg/info/flex.info-2 makronix-util-data -+./usr/pkg/lib makronix-sys-root -+./usr/pkg/lib/X11 makronix-sys-root -+./usr/pkg/lib/X11/bindings makronix-sys-root -+./usr/pkg/lib/X11/bindings/acorn makronix-lib-shlib -+./usr/pkg/lib/X11/bindings/apollo makronix-lib-shlib -+./usr/pkg/lib/X11/bindings/dec makronix-lib-shlib -+./usr/pkg/lib/X11/bindings/dg_AViiON makronix-lib-shlib -+./usr/pkg/lib/X11/bindings/doubleclick makronix-lib-shlib -+./usr/pkg/lib/X11/bindings/hal makronix-lib-shlib -+./usr/pkg/lib/X11/bindings/hitachi makronix-lib-shlib -+./usr/pkg/lib/X11/bindings/hp makronix-lib-shlib -+./usr/pkg/lib/X11/bindings/ibm makronix-lib-shlib -+./usr/pkg/lib/X11/bindings/intergraph makronix-lib-shlib -+./usr/pkg/lib/X11/bindings/intergraph17 makronix-lib-shlib -+./usr/pkg/lib/X11/bindings/megatek makronix-lib-shlib -+./usr/pkg/lib/X11/bindings/motorola makronix-lib-shlib -+./usr/pkg/lib/X11/bindings/ncr_at makronix-lib-shlib -+./usr/pkg/lib/X11/bindings/ncr_vt makronix-lib-shlib -+./usr/pkg/lib/X11/bindings/pc makronix-lib-shlib -+./usr/pkg/lib/X11/bindings/sgi makronix-lib-shlib -+./usr/pkg/lib/X11/bindings/siemens_9733 makronix-lib-shlib -+./usr/pkg/lib/X11/bindings/siemens_wx200 makronix-lib-shlib -+./usr/pkg/lib/X11/bindings/sni makronix-lib-shlib -+./usr/pkg/lib/X11/bindings/sni_97801 makronix-lib-shlib -+./usr/pkg/lib/X11/bindings/sony makronix-lib-shlib -+./usr/pkg/lib/X11/bindings/sun makronix-lib-shlib -+./usr/pkg/lib/X11/bindings/sun_at makronix-lib-shlib -+./usr/pkg/lib/X11/bindings/tek makronix-lib-shlib -+./usr/pkg/lib/X11/bindings/xmbind.alias makronix-lib-shlib -+./usr/pkg/lib/X11/system.mwmrc makronix-lib-shlib -+./usr/pkg/lib/cmake makronix-sys-root -+./usr/pkg/lib/cmake/libjpeg-turbo makronix-sys-root -+./usr/pkg/lib/cmake/libjpeg-turbo/libjpeg-turboConfig.cmake makronix-lib-shlib -+./usr/pkg/lib/cmake/libjpeg-turbo/libjpeg-turboConfigVersion.cmake makronix-lib-shlib -+./usr/pkg/lib/cmake/libjpeg-turbo/libjpeg-turboTargets-release.cmake makronix-lib-shlib -+./usr/pkg/lib/cmake/libjpeg-turbo/libjpeg-turboTargets.cmake makronix-lib-shlib -+./usr/pkg/lib/itcl4.3.7 makronix-sys-root -+./usr/pkg/lib/itcl4.3.7/itcl.tcl makronix-lib-shlib -+./usr/pkg/lib/itcl4.3.7/itclConfig.sh makronix-lib-shlib -+./usr/pkg/lib/itcl4.3.7/itclHullCmds.tcl makronix-lib-shlib -+./usr/pkg/lib/itcl4.3.7/itclWidget.tcl makronix-lib-shlib -+./usr/pkg/lib/itcl4.3.7/libitcl4.3.7.so makronix-lib-shlib -+./usr/pkg/lib/itcl4.3.7/libitclstub4.3.7.a makronix-lib-shlib -+./usr/pkg/lib/itcl4.3.7/pkgIndex.tcl makronix-lib-shlib -+./usr/pkg/lib/libMrm.a makronix-lib-shlib -+./usr/pkg/lib/libMrm.la makronix-lib-shlib -+./usr/pkg/lib/libMrm.so makronix-lib-shlib -+./usr/pkg/lib/libMrm.so.4 makronix-lib-shlib -+./usr/pkg/lib/libMrm.so.4.0.4 makronix-lib-shlib -+./usr/pkg/lib/libUil.a makronix-lib-shlib -+./usr/pkg/lib/libUil.la makronix-lib-shlib -+./usr/pkg/lib/libUil.so makronix-lib-shlib -+./usr/pkg/lib/libUil.so.4 makronix-lib-shlib -+./usr/pkg/lib/libUil.so.4.0.4 makronix-lib-shlib -+./usr/pkg/lib/libXft.a makronix-lib-shlib -+./usr/pkg/lib/libXft.la makronix-lib-shlib -+./usr/pkg/lib/libXft.so makronix-lib-shlib -+./usr/pkg/lib/libXft.so.2 makronix-lib-shlib -+./usr/pkg/lib/libXft.so.2.3.9 makronix-lib-shlib -+./usr/pkg/lib/libXm.a makronix-lib-shlib -+./usr/pkg/lib/libXm.la makronix-lib-shlib -+./usr/pkg/lib/libXm.so makronix-lib-shlib -+./usr/pkg/lib/libXm.so.4 makronix-lib-shlib -+./usr/pkg/lib/libXm.so.4.0.4 makronix-lib-shlib -+./usr/pkg/lib/libast.so makronix-lib-shlib -+./usr/pkg/lib/libast.so.6 makronix-lib-shlib -+./usr/pkg/lib/libast.so.6.0 makronix-lib-shlib -+./usr/pkg/lib/libbrotlicommon.so makronix-lib-shlib -+./usr/pkg/lib/libbrotlicommon.so.1 makronix-lib-shlib -+./usr/pkg/lib/libbrotlicommon.so.1.2.1 makronix-lib-shlib -+./usr/pkg/lib/libbrotlidec.so makronix-lib-shlib -+./usr/pkg/lib/libbrotlidec.so.1 makronix-lib-shlib -+./usr/pkg/lib/libbrotlidec.so.1.2.1 makronix-lib-shlib -+./usr/pkg/lib/libbrotlienc.so makronix-lib-shlib -+./usr/pkg/lib/libbrotlienc.so.1 makronix-lib-shlib -+./usr/pkg/lib/libbrotlienc.so.1.2.1 makronix-lib-shlib -+./usr/pkg/lib/libcmd.so makronix-lib-shlib -+./usr/pkg/lib/libcmd.so.2 makronix-lib-shlib -+./usr/pkg/lib/libcmd.so.2.0 makronix-lib-shlib -+./usr/pkg/lib/libdll.so makronix-lib-shlib -+./usr/pkg/lib/libdll.so.2 makronix-lib-shlib -+./usr/pkg/lib/libdll.so.2.0 makronix-lib-shlib -+./usr/pkg/lib/libfl.a makronix-lib-shlib -+./usr/pkg/lib/libfl.la makronix-lib-shlib -+./usr/pkg/lib/libfl.so makronix-lib-shlib -+./usr/pkg/lib/libfl.so.2 makronix-lib-shlib -+./usr/pkg/lib/libfl.so.2.0.0 makronix-lib-shlib -+./usr/pkg/lib/libfontconfig.so makronix-lib-shlib -+./usr/pkg/lib/libfontconfig.so.1 makronix-lib-shlib -+./usr/pkg/lib/libfontconfig.so.1.17.0 makronix-lib-shlib -+./usr/pkg/lib/libfreetype.a makronix-lib-shlib -+./usr/pkg/lib/libfreetype.la makronix-lib-shlib -+./usr/pkg/lib/libfreetype.so makronix-lib-shlib -+./usr/pkg/lib/libfreetype.so.6 makronix-lib-shlib -+./usr/pkg/lib/libfreetype.so.6.20.7 makronix-lib-shlib -+./usr/pkg/lib/libjpeg.a makronix-lib-shlib -+./usr/pkg/lib/libjpeg.so makronix-lib-shlib -+./usr/pkg/lib/libjpeg.so.8 makronix-lib-shlib -+./usr/pkg/lib/libjpeg.so.8.3.2 makronix-lib-shlib -+./usr/pkg/lib/liblmdb.a makronix-lib-shlib -+./usr/pkg/lib/liblmdb.la makronix-lib-shlib -+./usr/pkg/lib/liblmdb.so makronix-lib-shlib -+./usr/pkg/lib/liblmdb.so.0 makronix-lib-shlib -+./usr/pkg/lib/liblmdb.so.0.0.0 makronix-lib-shlib -+./usr/pkg/lib/libosp.a makronix-lib-shlib -+./usr/pkg/lib/libosp.la makronix-lib-shlib -+./usr/pkg/lib/libosp.so makronix-lib-shlib -+./usr/pkg/lib/libosp.so.5 makronix-lib-shlib -+./usr/pkg/lib/libosp.so.5.0.0 makronix-lib-shlib -+./usr/pkg/lib/libpng16.a makronix-lib-shlib -+./usr/pkg/lib/libpng16.la makronix-lib-shlib -+./usr/pkg/lib/libpng16.so makronix-lib-shlib -+./usr/pkg/lib/libpng16.so.16 makronix-lib-shlib -+./usr/pkg/lib/libpng16.so.16.59.0 makronix-lib-shlib -+./usr/pkg/lib/libshell.so makronix-lib-shlib -+./usr/pkg/lib/libshell.so.2 makronix-lib-shlib -+./usr/pkg/lib/libshell.so.2.0 makronix-lib-shlib -+./usr/pkg/lib/libsqlite3.a makronix-lib-shlib -+./usr/pkg/lib/libsqlite3.so makronix-lib-shlib -+./usr/pkg/lib/libsqlite3.so.0 makronix-lib-shlib -+./usr/pkg/lib/libsqlite3.so.3.54.1 makronix-lib-shlib -+./usr/pkg/lib/libtcl86.a makronix-lib-shlib -+./usr/pkg/lib/libtcl86.so makronix-lib-shlib -+./usr/pkg/lib/libtcl86.so.1.0 makronix-lib-shlib -+./usr/pkg/lib/libtclstub86.a makronix-lib-shlib -+./usr/pkg/lib/libturbojpeg.a makronix-lib-shlib -+./usr/pkg/lib/libturbojpeg.so makronix-lib-shlib -+./usr/pkg/lib/libturbojpeg.so.0 makronix-lib-shlib -+./usr/pkg/lib/libturbojpeg.so.0.5.0 makronix-lib-shlib -+./usr/pkg/lib/pkgconfig makronix-sys-root -+./usr/pkg/lib/pkgconfig/fontconfig.pc makronix-lib-shlib -+./usr/pkg/lib/pkgconfig/freetype2.pc makronix-lib-shlib -+./usr/pkg/lib/pkgconfig/libbrotlicommon.pc makronix-lib-shlib -+./usr/pkg/lib/pkgconfig/libbrotlidec.pc makronix-lib-shlib -+./usr/pkg/lib/pkgconfig/libbrotlienc.pc makronix-lib-shlib -+./usr/pkg/lib/pkgconfig/libjpeg.pc makronix-lib-shlib -+./usr/pkg/lib/pkgconfig/libpng.pc makronix-lib-shlib -+./usr/pkg/lib/pkgconfig/libpng16.pc makronix-lib-shlib -+./usr/pkg/lib/pkgconfig/libturbojpeg.pc makronix-lib-shlib -+./usr/pkg/lib/pkgconfig/lmdb.pc makronix-lib-shlib -+./usr/pkg/lib/pkgconfig/sqlite3.pc makronix-lib-shlib -+./usr/pkg/lib/pkgconfig/tcl.pc makronix-lib-shlib -+./usr/pkg/lib/pkgconfig/xft.pc makronix-lib-shlib -+./usr/pkg/lib/security makronix-sys-root -+./usr/pkg/lib/security/pam_pwauth_suid.so makronix-lib-shlib -+./usr/pkg/lib/sqlite3.53.0 makronix-sys-root -+./usr/pkg/lib/sqlite3.53.0/libsqlite3.53.0.so makronix-lib-shlib -+./usr/pkg/lib/sqlite3.53.0/pkgIndex.tcl makronix-lib-shlib -+./usr/pkg/lib/tcl8 makronix-sys-root -+./usr/pkg/lib/tcl8.6 makronix-sys-root -+./usr/pkg/lib/tcl8.6/auto.tcl makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/clock.tcl makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding makronix-sys-root -+./usr/pkg/lib/tcl8.6/encoding/ascii.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/big5.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/cns11643.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/cp1250.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/cp1251.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/cp1252.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/cp1253.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/cp1254.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/cp1255.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/cp1256.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/cp1257.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/cp1258.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/cp165.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/cp437.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/cp737.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/cp775.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/cp850.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/cp852.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/cp855.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/cp857.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/cp860.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/cp861.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/cp862.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/cp863.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/cp864.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/cp865.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/cp866.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/cp869.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/cp874.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/cp932.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/cp936.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/cp949.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/cp950.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/dingbats.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/ebcdic.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/euc-cn.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/euc-jp.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/euc-kr.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/gb12345.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/gb1988.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/gb2312-raw.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/gb2312.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/iso2022-jp.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/iso2022-kr.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/iso2022.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/iso8859-1.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/iso8859-10.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/iso8859-11.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/iso8859-13.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/iso8859-14.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/iso8859-15.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/iso8859-16.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/iso8859-2.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/iso8859-3.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/iso8859-4.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/iso8859-5.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/iso8859-6.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/iso8859-7.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/iso8859-8.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/iso8859-9.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/jis0201.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/jis0208.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/jis0212.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/koi8-r.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/koi8-ru.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/koi8-t.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/koi8-u.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/ksc5601.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/macCentEuro.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/macCroatian.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/macCyrillic.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/macDingbats.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/macGreek.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/macIceland.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/macJapan.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/macRoman.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/macRomania.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/macThai.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/macTurkish.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/macUkraine.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/shiftjis.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/symbol.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/encoding/tis-620.enc makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/history.tcl makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/http1.0 makronix-sys-root -+./usr/pkg/lib/tcl8.6/http1.0/http.tcl makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/http1.0/pkgIndex.tcl makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/init.tcl makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs makronix-sys-root -+./usr/pkg/lib/tcl8.6/msgs/af.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/af_za.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/ar.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/ar_in.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/ar_jo.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/ar_lb.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/ar_sy.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/be.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/bg.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/bn.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/bn_in.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/ca.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/cs.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/da.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/de.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/de_at.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/de_be.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/el.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/en_au.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/en_be.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/en_bw.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/en_ca.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/en_gb.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/en_hk.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/en_ie.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/en_in.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/en_nz.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/en_ph.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/en_sg.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/en_za.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/en_zw.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/eo.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/es.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/es_ar.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/es_bo.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/es_cl.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/es_co.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/es_cr.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/es_do.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/es_ec.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/es_gt.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/es_hn.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/es_mx.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/es_ni.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/es_pa.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/es_pe.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/es_pr.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/es_py.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/es_sv.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/es_uy.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/es_ve.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/et.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/eu.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/eu_es.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/fa.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/fa_in.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/fa_ir.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/fi.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/fo.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/fo_fo.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/fr.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/fr_be.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/fr_ca.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/fr_ch.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/ga.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/ga_ie.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/gl.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/gl_es.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/gv.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/gv_gb.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/he.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/hi.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/hi_in.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/hr.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/hu.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/id.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/id_id.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/is.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/it.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/it_ch.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/ja.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/kl.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/kl_gl.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/ko.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/ko_kr.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/kok.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/kok_in.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/kw.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/kw_gb.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/lt.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/lv.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/mk.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/mr.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/mr_in.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/ms.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/ms_my.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/mt.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/nb.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/nl.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/nl_be.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/nn.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/pl.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/pt.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/pt_br.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/ro.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/ru.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/ru_ua.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/sh.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/sk.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/sl.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/sq.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/sr.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/sv.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/sw.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/ta.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/ta_in.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/te.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/te_in.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/th.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/tr.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/uk.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/vi.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/zh.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/zh_cn.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/zh_hk.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/zh_sg.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/msgs/zh_tw.msg makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/opt0.4 makronix-sys-root -+./usr/pkg/lib/tcl8.6/opt0.4/optparse.tcl makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/opt0.4/pkgIndex.tcl makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/package.tcl makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/parray.tcl makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/safe.tcl makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/tclAppInit.c makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/tclIndex makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/tm.tcl makronix-lib-shlib -+./usr/pkg/lib/tcl8.6/word.tcl makronix-lib-shlib -+./usr/pkg/lib/tcl8/8.5 makronix-sys-root -+./usr/pkg/lib/tcl8/8.5/msgcat-1.6.1.tm makronix-lib-shlib -+./usr/pkg/lib/tcl8/8.5/tcltest-2.5.11.tm makronix-lib-shlib -+./usr/pkg/lib/tcl8/8.6 makronix-sys-root -+./usr/pkg/lib/tcl8/8.6/http-2.9.9.tm makronix-lib-shlib -+./usr/pkg/lib/tcl8/8.6/platform makronix-sys-root -+./usr/pkg/lib/tcl8/8.6/platform-1.1.0.tm makronix-lib-shlib -+./usr/pkg/lib/tcl8/8.6/platform/shell-1.1.4.tm makronix-lib-shlib -+./usr/pkg/lib/tcl8/8.6/tdbc makronix-sys-root -+./usr/pkg/lib/tcl8/8.6/tdbc/sqlite3-1.1.13.tm makronix-lib-shlib -+./usr/pkg/lib/tcl8/8.6/tdbc/sqlite3-1.1.13.uuid makronix-lib-shlib -+./usr/pkg/lib/tclConfig.sh makronix-lib-shlib -+./usr/pkg/lib/tclooConfig.sh makronix-lib-shlib -+./usr/pkg/lib/tdbc1.1.13 makronix-sys-root -+./usr/pkg/lib/tdbc1.1.13/libtdbc1.1.13.so makronix-lib-shlib -+./usr/pkg/lib/tdbc1.1.13/libtdbcstub1.1.13.a makronix-lib-shlib -+./usr/pkg/lib/tdbc1.1.13/pkgIndex.tcl makronix-lib-shlib -+./usr/pkg/lib/tdbc1.1.13/tdbc.tcl makronix-lib-shlib -+./usr/pkg/lib/tdbc1.1.13/tdbcConfig.sh makronix-lib-shlib -+./usr/pkg/lib/tdbcmysql1.1.13 makronix-sys-root -+./usr/pkg/lib/tdbcmysql1.1.13/libtdbcmysql1.1.13.so makronix-lib-shlib -+./usr/pkg/lib/tdbcmysql1.1.13/pkgIndex.tcl makronix-lib-shlib -+./usr/pkg/lib/tdbcmysql1.1.13/tdbcmysql.tcl makronix-lib-shlib -+./usr/pkg/lib/tdbcodbc1.1.13 makronix-sys-root -+./usr/pkg/lib/tdbcodbc1.1.13/libtdbcodbc1.1.13.so makronix-lib-shlib -+./usr/pkg/lib/tdbcodbc1.1.13/pkgIndex.tcl makronix-lib-shlib -+./usr/pkg/lib/tdbcodbc1.1.13/tdbcodbc.tcl makronix-lib-shlib -+./usr/pkg/lib/tdbcpostgres1.1.13 makronix-sys-root -+./usr/pkg/lib/tdbcpostgres1.1.13/libtdbcpostgres1.1.13.so makronix-lib-shlib -+./usr/pkg/lib/tdbcpostgres1.1.13/pkgIndex.tcl makronix-lib-shlib -+./usr/pkg/lib/tdbcpostgres1.1.13/tdbcpostgres.tcl makronix-lib-shlib -+./usr/pkg/lib/thread2.8.13 makronix-sys-root -+./usr/pkg/lib/thread2.8.13/libthread2.8.13.so makronix-lib-shlib -+./usr/pkg/lib/thread2.8.13/pkgIndex.tcl makronix-lib-shlib -+./usr/pkg/lib/thread2.8.13/ttrace.tcl makronix-lib-shlib -+./usr/pkg/libexec makronix-sys-root -+./usr/pkg/libexec/ksh93 makronix-sys-root -+./usr/pkg/libexec/ksh93/autocd makronix-util-data -+./usr/pkg/libexec/ksh93/cd makronix-util-data -+./usr/pkg/libexec/ksh93/dirs makronix-util-data -+./usr/pkg/libexec/ksh93/man makronix-util-data -+./usr/pkg/libexec/ksh93/mcd makronix-util-data -+./usr/pkg/libexec/ksh93/popd makronix-util-data -+./usr/pkg/libexec/ksh93/pushd makronix-util-data -+./usr/pkg/libexec/pwauth_suid_helper makronix-util-data - ./usr/pkg/man makronix-sys-root - ./usr/pkg/man/man1 makronix-sys-root -+./usr/pkg/man/man1/brotli.1 makronix-util-data -+./usr/pkg/man/man1/cjpeg.1 makronix-util-data -+./usr/pkg/man/man1/djpeg.1 makronix-util-data - ./usr/pkg/man/man1/evim.1 makronix-util-data -+./usr/pkg/man/man1/flex.1 makronix-util-data -+./usr/pkg/man/man1/freetype-config.1 makronix-util-data -+./usr/pkg/man/man1/jpegtran.1 makronix-util-data -+./usr/pkg/man/man1/ksh93.1 makronix-util-data -+./usr/pkg/man/man1/mdb_copy.1 makronix-util-data -+./usr/pkg/man/man1/mdb_drop.1 makronix-util-data -+./usr/pkg/man/man1/mdb_dump.1 makronix-util-data -+./usr/pkg/man/man1/mdb_load.1 makronix-util-data -+./usr/pkg/man/man1/mdb_stat.1 makronix-util-data -+./usr/pkg/man/man1/mwm.1 makronix-util-data -+./usr/pkg/man/man1/onsgmls.1 makronix-util-data -+./usr/pkg/man/man1/osgmlnorm.1 makronix-util-data -+./usr/pkg/man/man1/ospam.1 makronix-util-data -+./usr/pkg/man/man1/ospcat.1 makronix-util-data -+./usr/pkg/man/man1/ospent.1 makronix-util-data -+./usr/pkg/man/man1/osx.1 makronix-util-data -+./usr/pkg/man/man1/rdjpgcom.1 makronix-util-data -+./usr/pkg/man/man1/shcomp.1 makronix-util-data -+./usr/pkg/man/man1/sqlite3.1 makronix-util-data -+./usr/pkg/man/man1/tclsh.1 makronix-util-data -+./usr/pkg/man/man1/uil.1 makronix-util-data - ./usr/pkg/man/man1/vim.1 makronix-util-data - ./usr/pkg/man/man1/vimdiff.1 makronix-util-data - ./usr/pkg/man/man1/vimtutor.1 makronix-util-data -+./usr/pkg/man/man1/wrjpgcom.1 makronix-util-data -+./usr/pkg/man/man1/xmbind.1 makronix-util-data - ./usr/pkg/man/man1/xxd.1 makronix-util-data -+./usr/pkg/man/man3 makronix-sys-root -+./usr/pkg/man/man3/ApplicationShell.3 makronix-util-data -+./usr/pkg/man/man3/Composite.3 makronix-util-data -+./usr/pkg/man/man3/Constraint.3 makronix-util-data -+./usr/pkg/man/man3/DString.3 makronix-util-data -+./usr/pkg/man/man3/LIBAST.3ast makronix-util-data -+./usr/pkg/man/man3/MrmCloseHierarchy.3 makronix-util-data -+./usr/pkg/man/man3/MrmFetchBitmapLiteral.3 makronix-util-data -+./usr/pkg/man/man3/MrmFetchColorLiteral.3 makronix-util-data -+./usr/pkg/man/man3/MrmFetchIconLiteral.3 makronix-util-data -+./usr/pkg/man/man3/MrmFetchLiteral.3 makronix-util-data -+./usr/pkg/man/man3/MrmFetchSetValues.3 makronix-util-data -+./usr/pkg/man/man3/MrmFetchWidget.3 makronix-util-data -+./usr/pkg/man/man3/MrmFetchWidgetOverride.3 makronix-util-data -+./usr/pkg/man/man3/MrmInitialize.3 makronix-util-data -+./usr/pkg/man/man3/MrmOpenHierarchy.3 makronix-util-data -+./usr/pkg/man/man3/MrmOpenHierarchyFromBuffer.3 makronix-util-data -+./usr/pkg/man/man3/MrmOpenHierarchyPerDisplay.3 makronix-util-data -+./usr/pkg/man/man3/MrmRegisterClass.3 makronix-util-data -+./usr/pkg/man/man3/MrmRegisterNames.3 makronix-util-data -+./usr/pkg/man/man3/MrmRegisterNamesInHierarchy.3 makronix-util-data -+./usr/pkg/man/man3/Notifier.3 makronix-util-data -+./usr/pkg/man/man3/OverrideShell.3 makronix-util-data -+./usr/pkg/man/man3/RectObj.3 makronix-util-data -+./usr/pkg/man/man3/RegExp.3 makronix-util-data -+./usr/pkg/man/man3/TCL_MEM_DEBUG.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_Access.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_AddErrorInfo.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_AddObjErrorInfo.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_AlertNotifier.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_Alloc.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_AllocStatBuf.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_AllowExceptions.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_AppInit.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_AppendAllObjTypes.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_AppendElement.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_AppendExportList.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_AppendFormatToObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_AppendLimitedToObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_AppendObjToErrorInfo.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_AppendObjToObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_AppendPrintfToObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_AppendResult.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_AppendResultVA.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_AppendStringsToObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_AppendStringsToObjVA.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_AppendToObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_AppendUnicodeToObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_AsyncCreate.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_AsyncDelete.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_AsyncInvoke.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_AsyncMark.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_AsyncReady.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_AttemptAlloc.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_AttemptRealloc.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_AttemptSetObjLength.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_BackgroundError.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_BackgroundException.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_Backslash.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_BadChannelOption.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_CallWhenDeleted.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_CancelEval.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_CancelIdleCall.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_Canceled.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ChannelBlockModeProc.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ChannelBuffered.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ChannelClose2Proc.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ChannelCloseProc.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ChannelFlushProc.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ChannelGetHandleProc.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ChannelGetOptionProc.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ChannelHandlerProc.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ChannelInputProc.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ChannelName.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ChannelOutputProc.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ChannelSeekProc.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ChannelSetOptionProc.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ChannelThreadActionProc.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ChannelTruncateProc.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ChannelVersion.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ChannelWatchProc.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ChannelWideSeekProc.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_Chdir.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ClassGetMetadata.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ClassSetConstructor.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ClassSetDestructor.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ClassSetMetadata.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ClearChannelHandlers.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_Close.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_CloseEx.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_CommandComplete.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_CommandTraceInfo.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_Concat.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ConcatObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ConditionFinalize.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ConditionNotify.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ConditionWait.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ConvertCountedElement.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ConvertElement.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ConvertToType.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_CopyObjectInstance.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_CreateAlias.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_CreateAliasObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_CreateChannel.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_CreateChannelHandler.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_CreateChild.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_CreateCloseHandler.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_CreateCommand.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_CreateEncoding.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_CreateEnsemble.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_CreateEventSource.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_CreateExitHandler.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_CreateFileHandler.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_CreateHashEntry.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_CreateInterp.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_CreateMathFunc.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_CreateNamespace.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_CreateObjCommand.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_CreateObjTrace.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_CreateSlave.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_CreateThread.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_CreateThreadExitHandler.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_CreateTimerHandler.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_CreateTrace.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_CutChannel.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_DStringAppend.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_DStringAppendElement.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_DStringEndSublist.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_DStringFree.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_DStringGetResult.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_DStringInit.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_DStringLength.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_DStringResult.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_DStringSetLength.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_DStringStartSublist.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_DStringTrunc.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_DStringValue.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_DecrRefCount.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_DeleteAssocData.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_DeleteChannelHandler.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_DeleteCloseHandler.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_DeleteCommand.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_DeleteCommandFromToken.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_DeleteEventSource.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_DeleteEvents.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_DeleteExitHandler.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_DeleteFileHandler.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_DeleteHashEntry.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_DeleteHashTable.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_DeleteInterp.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_DeleteNamespace.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_DeleteThreadExitHandler.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_DeleteTimerHandler.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_DeleteTrace.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_DetachChannel.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_DetachPids.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_DictObjDone.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_DictObjFirst.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_DictObjGet.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_DictObjNext.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_DictObjPut.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_DictObjPutKeyList.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_DictObjRemove.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_DictObjRemoveKeyList.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_DictObjSize.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_DiscardInterpState.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_DiscardResult.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_DoOneEvent.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_DoWhenIdle.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_DontCallWhenDeleted.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_DumpActiveMemory.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_DuplicateObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_Eof.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ErrnoId.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ErrnoMsg.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_Eval.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_EvalEx.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_EvalFile.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_EvalObjEx.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_EvalObjv.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_EvalTokens.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_EvalTokensStandard.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_EventuallyFree.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_Exit.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ExitThread.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_Export.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ExposeCommand.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ExprBoolean.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ExprBooleanObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ExprDouble.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ExprDoubleObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ExprLong.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ExprLongObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ExprObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ExprString.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ExternalToUtf.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ExternalToUtfDString.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_FSAccess.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_FSChdir.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_FSConvertToPathType.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_FSCopyDirectory.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_FSCopyFile.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_FSCreateDirectory.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_FSData.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_FSDeleteFile.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_FSEqualPaths.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_FSEvalFile.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_FSEvalFileEx.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_FSFileAttrStrings.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_FSFileAttrsGet.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_FSFileAttrsSet.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_FSFileSystemInfo.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_FSGetCwd.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_FSGetFileSystemForPath.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_FSGetInternalRep.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_FSGetNativePath.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_FSGetNormalizedPath.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_FSGetPathType.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_FSGetTranslatedPath.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_FSGetTranslatedStringPath.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_FSJoinPath.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_FSJoinToPath.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_FSLink.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_FSListVolumes.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_FSLoadFile.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_FSLstat.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_FSMatchInDirectory.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_FSMountsChanged.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_FSNewNativePath.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_FSOpenFileChannel.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_FSPathSeparator.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_FSRegister.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_FSRemoveDirectory.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_FSRenameFile.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_FSSplitPath.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_FSStat.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_FSUnloadFile.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_FSUnregister.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_FSUtime.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_Finalize.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_FinalizeNotifier.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_FinalizeThread.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_FindCommand.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_FindEnsemble.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_FindExecutable.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_FindHashEntry.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_FindNamespace.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_FindSymbol.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_FirstHashEntry.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_Flush.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ForgetImport.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_Format.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_Free.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_FreeEncoding.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_FreeParse.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_FreeResult.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetAccessTimeFromStat.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetAlias.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetAliasObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetAssocData.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetBignumFromObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetBlockSizeFromStat.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetBlocksFromStat.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetBoolean.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetBooleanFromObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetByteArrayFromObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetChangeTimeFromStat.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetChannel.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetChannelBufferSize.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetChannelError.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetChannelErrorInterp.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetChannelHandle.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetChannelInstanceData.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetChannelMode.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetChannelName.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetChannelNames.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetChannelNamesEx.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetChannelOption.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetChannelThread.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetChannelType.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetCharLength.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetChild.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetClassAsObject.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetCommandFromObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetCommandFullName.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetCommandInfo.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetCommandInfoFromToken.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetCommandName.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetCurrentNamespace.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetCurrentThread.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetCwd.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetDefaultEncodingDir.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetDeviceTypeFromStat.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetDouble.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetDoubleFromObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetEncoding.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetEncodingFromObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetEncodingName.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetEncodingNameFromEnvironment.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetEncodingNames.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetEncodingSearchPath.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetEnsembleFlags.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetEnsembleMappingDict.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetEnsembleNamespace.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetEnsembleParameterList.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetEnsembleSubcommandList.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetEnsembleUnknownHandler.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetErrno.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetErrorLine.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetFSDeviceFromStat.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetFSInodeFromStat.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetGlobalNamespace.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetGroupIdFromStat.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetHashKey.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetHashValue.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetHostName.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetIndexFromObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetIndexFromObjStruct.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetInt.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetIntFromObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetInterpPath.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetLinkCountFromStat.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetLongFromObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetMaster.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetMathFuncInfo.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetMemoryInfo.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetModeFromStat.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetModificationTimeFromStat.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetNameOfExecutable.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetNamespaceUnknownHandler.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetObjResult.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetObjType.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetObjectAsClass.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetObjectCommand.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetObjectFromObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetObjectName.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetObjectNamespace.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetOpenFile.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetParent.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetPathType.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetRange.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetRegExpFromObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetReturnOptions.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetServiceMode.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetSizeFromStat.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetSlave.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetStackedChannel.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetStartupScript.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetStdChannel.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetString.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetStringFromObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetStringResult.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetThreadData.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetTime.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetTopChannel.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetUniChar.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetUnicode.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetUnicodeFromObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetUserIdFromStat.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetVar.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetVar2.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetVar2Ex.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetVersion.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetWideIntFromObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_Gets.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GetsObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GlobalEval.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_GlobalEvalObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_HashStats.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_HideCommand.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_Import.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_IncrRefCount.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_Init.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_InitCustomHashTable.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_InitHashTable.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_InitMemory.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_InitNotifier.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_InitObjHashTable.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_InitStubs.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_InputBlocked.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_InputBuffered.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_Interp.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_InterpActive.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_InterpDeleted.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_InvalidateStringRep.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_IsChannelExisting.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_IsChannelRegistered.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_IsChannelShared.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_IsEnsemble.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_IsSafe.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_IsShared.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_IsStandardChannel.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_JoinPath.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_JoinThread.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_LimitAddHandler.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_LimitCheck.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_LimitExceeded.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_LimitGetCommands.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_LimitGetGranularity.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_LimitGetTime.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_LimitReady.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_LimitRemoveHandler.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_LimitSetCommands.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_LimitSetGranularity.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_LimitSetTime.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_LimitTypeEnabled.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_LimitTypeExceeded.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_LimitTypeReset.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_LimitTypeSet.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_LinkVar.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ListMathFuncs.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ListObjAppendElement.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ListObjAppendList.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ListObjGetElements.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ListObjIndex.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ListObjLength.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ListObjReplace.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_LoadFile.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_LogCommandInfo.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_Main.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_MainEx.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_MainExW.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_MakeFileChannel.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_MakeSafe.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_MakeTcpClientChannel.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_Merge.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_MethodDeclarerClass.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_MethodDeclarerObject.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_MethodIsPublic.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_MethodIsType.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_MethodName.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_MutexFinalize.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_MutexLock.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_MutexUnlock.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_NRAddCallback.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_NRCallObjProc.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_NRCmdSwap.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_NRCreateCommand.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_NREvalObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_NREvalObjv.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_NRExprObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_NewBignumObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_NewBooleanObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_NewByteArrayObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_NewDictObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_NewDoubleObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_NewInstanceMethod.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_NewIntObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_NewListObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_NewLongObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_NewMethod.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_NewObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_NewObjectInstance.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_NewStringObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_NewUnicodeObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_NewWideIntObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_NextHashEntry.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_NotifyChannel.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_NumUtfChars.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_OOInitStubs.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ObjGetVar2.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ObjPrintf.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ObjSetVar2.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ObjectContextInvokeNext.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ObjectContextIsFiltering.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ObjectContextMethod.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ObjectContextObject.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ObjectContextSkippedArgs.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ObjectDeleted.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ObjectGetMetadata.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ObjectGetMethodNameMapper.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ObjectSetMetadata.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ObjectSetMethodNameMapper.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_OpenCommandChannel.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_OpenFileChannel.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_OpenTcpClient.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_OpenTcpServer.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_OutputBuffered.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_Panic.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_PanicVA.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ParseArgsObjv.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ParseBraces.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ParseCommand.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ParseExpr.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ParseQuotedString.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ParseVar.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ParseVarName.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_PkgPresent.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_PkgPresentEx.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_PkgProvide.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_PkgProvideEx.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_PkgRequire.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_PkgRequireEx.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_PkgRequireProc.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_PosixError.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_Preserve.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_PrintDouble.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_PutEnv.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_QueryTimeProc.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_QueueEvent.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_Read.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ReadChars.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ReadRaw.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_Realloc.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ReapDetachedProcs.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_RecordAndEval.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_RecordAndEvalObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_RegExpCompile.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_RegExpExec.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_RegExpExecObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_RegExpGetInfo.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_RegExpMatch.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_RegExpMatchObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_RegExpRange.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_RegisterChannel.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_RegisterConfig.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_RegisterObjType.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_Release.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ResetResult.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_RestoreInterpState.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_RestoreResult.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SaveInterpState.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SaveResult.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ScanCountedElement.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ScanElement.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_Seek.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ServiceAll.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ServiceEvent.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ServiceModeHook.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SetAssocData.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SetBignumObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SetBooleanObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SetByteArrayLength.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SetByteArrayObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SetChannelBufferSize.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SetChannelError.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SetChannelErrorInterp.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SetChannelOption.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SetCommandInfo.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SetCommandInfoFromToken.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SetDefaultEncodingDir.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SetDoubleObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SetEncodingSearchPath.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SetEnsembleFlags.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SetEnsembleMappingDict.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SetEnsembleParameterList.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SetEnsembleSubcommandList.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SetEnsembleUnknownHandler.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SetErrno.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SetErrorCode.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SetErrorCodeVA.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SetErrorLine.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SetExitProc.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SetHashValue.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SetIntObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SetListObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SetLongObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SetMainLoop.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SetMaxBlockTime.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SetNamespaceUnknownHandler.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SetNotifier.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SetObjErrorCode.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SetObjLength.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SetObjResult.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SetPanicProc.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SetRecursionLimit.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SetResult.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SetReturnOptions.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SetServiceMode.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SetStartupScript.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SetStdChannel.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SetStringObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SetSystemEncoding.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SetTimeProc.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SetTimer.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SetUnicodeObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SetVar.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SetVar2.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SetVar2Ex.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SetWideIntObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SignalId.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SignalMsg.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_Sleep.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SourceRCFile.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SpliceChannel.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SplitList.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SplitPath.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_StackChannel.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_StandardChannels.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_Stat.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_StaticPackage.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_StringCaseMatch.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_StringMatch.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_SubstObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_TakeBignumFromObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_Tell.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_Thread.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ThreadAlert.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ThreadQueueEvent.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_TraceCommand.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_TraceVar.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_TraceVar2.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_TransferResult.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_TranslateFileName.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_TruncateChannel.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_Ungets.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_UniChar.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_UniCharAtIndex.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_UniCharCaseMatch.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_UniCharIsAlnum.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_UniCharIsAlpha.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_UniCharIsControl.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_UniCharIsDigit.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_UniCharIsGraph.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_UniCharIsLower.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_UniCharIsPrint.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_UniCharIsPunct.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_UniCharIsSpace.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_UniCharIsUpper.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_UniCharIsWordChar.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_UniCharLen.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_UniCharNcasecmp.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_UniCharNcmp.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_UniCharToLower.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_UniCharToTitle.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_UniCharToUpper.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_UniCharToUtf.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_UniCharToUtfDString.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_UnlinkVar.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_UnregisterChannel.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_UnsetVar.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_UnsetVar2.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_UnstackChannel.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_UntraceCommand.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_UntraceVar.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_UntraceVar2.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_UpVar.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_UpVar2.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_UpdateLinkedVar.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_UtfAtIndex.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_UtfBackslash.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_UtfCharComplete.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_UtfFindFirst.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_UtfFindLast.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_UtfNcasecmp.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_UtfNcmp.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_UtfNext.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_UtfPrev.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_UtfToExternal.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_UtfToExternalDString.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_UtfToLower.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_UtfToTitle.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_UtfToUniChar.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_UtfToUniCharDString.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_UtfToUpper.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ValidateAllMemory.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_VarEval.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_VarEvalVA.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_VarTraceInfo.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_VarTraceInfo2.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_WaitForEvent.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_WaitPid.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_WinTCharToUtf.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_WinUtfToTChar.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_Write.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_WriteChars.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_WriteObj.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_WriteRaw.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_WrongNumArgs.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ZlibAdler32.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ZlibCRC32.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ZlibDeflate.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ZlibInflate.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ZlibStreamChecksum.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ZlibStreamClose.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ZlibStreamEof.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ZlibStreamGet.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ZlibStreamGetCommandName.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ZlibStreamInit.3 makronix-util-data -+./usr/pkg/man/man3/Tcl_ZlibStreamPut.3 makronix-util-data -+./usr/pkg/man/man3/Tdbc_Init.3 makronix-util-data -+./usr/pkg/man/man3/TopLevelShell.3 makronix-util-data -+./usr/pkg/man/man3/TransientShell.3 makronix-util-data -+./usr/pkg/man/man3/Uil.3 makronix-util-data -+./usr/pkg/man/man3/UilDumpSymbolTable.3 makronix-util-data -+./usr/pkg/man/man3/VendorShell.3 makronix-util-data -+./usr/pkg/man/man3/VirtualBindings.3 makronix-util-data -+./usr/pkg/man/man3/WMShell.3 makronix-util-data -+./usr/pkg/man/man3/XCore.3 makronix-util-data -+./usr/pkg/man/man3/XObject.3 makronix-util-data -+./usr/pkg/man/man3/XShell.3 makronix-util-data -+./usr/pkg/man/man3/Xft.3 makronix-util-data -+./usr/pkg/man/man3/XftCharExists.3 makronix-util-data -+./usr/pkg/man/man3/XftCharFontSpecRender.3 makronix-util-data -+./usr/pkg/man/man3/XftCharIndex.3 makronix-util-data -+./usr/pkg/man/man3/XftCharSpecRender.3 makronix-util-data -+./usr/pkg/man/man3/XftColorAllocName.3 makronix-util-data -+./usr/pkg/man/man3/XftColorAllocValue.3 makronix-util-data -+./usr/pkg/man/man3/XftColorFree.3 makronix-util-data -+./usr/pkg/man/man3/XftDefaultHasRender.3 makronix-util-data -+./usr/pkg/man/man3/XftDefaultSet.3 makronix-util-data -+./usr/pkg/man/man3/XftDefaultSubstitute.3 makronix-util-data -+./usr/pkg/man/man3/XftDrawChange.3 makronix-util-data -+./usr/pkg/man/man3/XftDrawCharFontSpec.3 makronix-util-data -+./usr/pkg/man/man3/XftDrawCharSpec.3 makronix-util-data -+./usr/pkg/man/man3/XftDrawColormap.3 makronix-util-data -+./usr/pkg/man/man3/XftDrawCreate.3 makronix-util-data -+./usr/pkg/man/man3/XftDrawCreateAlpha.3 makronix-util-data -+./usr/pkg/man/man3/XftDrawCreateBitmap.3 makronix-util-data -+./usr/pkg/man/man3/XftDrawDestroy.3 makronix-util-data -+./usr/pkg/man/man3/XftDrawDisplay.3 makronix-util-data -+./usr/pkg/man/man3/XftDrawDrawable.3 makronix-util-data -+./usr/pkg/man/man3/XftDrawGlyphFontSpec.3 makronix-util-data -+./usr/pkg/man/man3/XftDrawGlyphSpec.3 makronix-util-data -+./usr/pkg/man/man3/XftDrawGlyphs.3 makronix-util-data -+./usr/pkg/man/man3/XftDrawPicture.3 makronix-util-data -+./usr/pkg/man/man3/XftDrawRect.3 makronix-util-data -+./usr/pkg/man/man3/XftDrawSetClip.3 makronix-util-data -+./usr/pkg/man/man3/XftDrawSetClipRectangles.3 makronix-util-data -+./usr/pkg/man/man3/XftDrawSetSubwindowMode.3 makronix-util-data -+./usr/pkg/man/man3/XftDrawSrcPicture.3 makronix-util-data -+./usr/pkg/man/man3/XftDrawString16.3 makronix-util-data -+./usr/pkg/man/man3/XftDrawString32.3 makronix-util-data -+./usr/pkg/man/man3/XftDrawString8.3 makronix-util-data -+./usr/pkg/man/man3/XftDrawStringUtf16.3 makronix-util-data -+./usr/pkg/man/man3/XftDrawStringUtf8.3 makronix-util-data -+./usr/pkg/man/man3/XftDrawVisual.3 makronix-util-data -+./usr/pkg/man/man3/XftFontCheckGlyph.3 makronix-util-data -+./usr/pkg/man/man3/XftFontClose.3 makronix-util-data -+./usr/pkg/man/man3/XftFontCopy.3 makronix-util-data -+./usr/pkg/man/man3/XftFontInfoCreate.3 makronix-util-data -+./usr/pkg/man/man3/XftFontInfoDestroy.3 makronix-util-data -+./usr/pkg/man/man3/XftFontInfoEqual.3 makronix-util-data -+./usr/pkg/man/man3/XftFontInfoHash.3 makronix-util-data -+./usr/pkg/man/man3/XftFontLoadGlyphs.3 makronix-util-data -+./usr/pkg/man/man3/XftFontMatch.3 makronix-util-data -+./usr/pkg/man/man3/XftFontOpen.3 makronix-util-data -+./usr/pkg/man/man3/XftFontOpenInfo.3 makronix-util-data -+./usr/pkg/man/man3/XftFontOpenName.3 makronix-util-data -+./usr/pkg/man/man3/XftFontOpenPattern.3 makronix-util-data -+./usr/pkg/man/man3/XftFontOpenXlfd.3 makronix-util-data -+./usr/pkg/man/man3/XftFontUnloadGlyphs.3 makronix-util-data -+./usr/pkg/man/man3/XftGetVersion.3 makronix-util-data -+./usr/pkg/man/man3/XftGlyphExtents.3 makronix-util-data -+./usr/pkg/man/man3/XftGlyphFontSpecRender.3 makronix-util-data -+./usr/pkg/man/man3/XftGlyphRender.3 makronix-util-data -+./usr/pkg/man/man3/XftGlyphSpecRender.3 makronix-util-data -+./usr/pkg/man/man3/XftInit.3 makronix-util-data -+./usr/pkg/man/man3/XftInitFtLibrary.3 makronix-util-data -+./usr/pkg/man/man3/XftListFonts.3 makronix-util-data -+./usr/pkg/man/man3/XftLockFace.3 makronix-util-data -+./usr/pkg/man/man3/XftNameParse.3 makronix-util-data -+./usr/pkg/man/man3/XftNameUnparse.3 makronix-util-data -+./usr/pkg/man/man3/XftTextExtents16.3 makronix-util-data -+./usr/pkg/man/man3/XftTextExtents32.3 makronix-util-data -+./usr/pkg/man/man3/XftTextExtents8.3 makronix-util-data -+./usr/pkg/man/man3/XftTextExtentsUtf16.3 makronix-util-data -+./usr/pkg/man/man3/XftTextExtentsUtf8.3 makronix-util-data -+./usr/pkg/man/man3/XftTextRender16.3 makronix-util-data -+./usr/pkg/man/man3/XftTextRender16BE.3 makronix-util-data -+./usr/pkg/man/man3/XftTextRender16LE.3 makronix-util-data -+./usr/pkg/man/man3/XftTextRender32.3 makronix-util-data -+./usr/pkg/man/man3/XftTextRender32BE.3 makronix-util-data -+./usr/pkg/man/man3/XftTextRender32LE.3 makronix-util-data -+./usr/pkg/man/man3/XftTextRender8.3 makronix-util-data -+./usr/pkg/man/man3/XftTextRenderUtf16.3 makronix-util-data -+./usr/pkg/man/man3/XftTextRenderUtf8.3 makronix-util-data -+./usr/pkg/man/man3/XftUnlockFace.3 makronix-util-data -+./usr/pkg/man/man3/XftXlfdParse.3 makronix-util-data -+./usr/pkg/man/man3/XmActivateProtocol.3 makronix-util-data -+./usr/pkg/man/man3/XmActivateWMProtocol.3 makronix-util-data -+./usr/pkg/man/man3/XmAddProtocolCallback.3 makronix-util-data -+./usr/pkg/man/man3/XmAddProtocols.3 makronix-util-data -+./usr/pkg/man/man3/XmAddTabGroup.3 makronix-util-data -+./usr/pkg/man/man3/XmAddToPostFromList.3 makronix-util-data -+./usr/pkg/man/man3/XmAddWMProtocolCallback.3 makronix-util-data -+./usr/pkg/man/man3/XmAddWMProtocols.3 makronix-util-data -+./usr/pkg/man/man3/XmArrowButton.3 makronix-util-data -+./usr/pkg/man/man3/XmArrowButtonGadget.3 makronix-util-data -+./usr/pkg/man/man3/XmBulletinBoard.3 makronix-util-data -+./usr/pkg/man/man3/XmButtonBox.3 makronix-util-data -+./usr/pkg/man/man3/XmCascadeButton.3 makronix-util-data -+./usr/pkg/man/man3/XmCascadeButtonGadget.3 makronix-util-data -+./usr/pkg/man/man3/XmCascadeButtonGadgetHighlight.3 makronix-util-data -+./usr/pkg/man/man3/XmCascadeButtonHighlight.3 makronix-util-data -+./usr/pkg/man/man3/XmChangeColor.3 makronix-util-data -+./usr/pkg/man/man3/XmClipboardCancelCopy.3 makronix-util-data -+./usr/pkg/man/man3/XmClipboardCopy.3 makronix-util-data -+./usr/pkg/man/man3/XmClipboardCopyByName.3 makronix-util-data -+./usr/pkg/man/man3/XmClipboardEndCopy.3 makronix-util-data -+./usr/pkg/man/man3/XmClipboardEndRetrieve.3 makronix-util-data -+./usr/pkg/man/man3/XmClipboardInquireCount.3 makronix-util-data -+./usr/pkg/man/man3/XmClipboardInquireFormat.3 makronix-util-data -+./usr/pkg/man/man3/XmClipboardInquireLength.3 makronix-util-data -+./usr/pkg/man/man3/XmClipboardInquirePendingItems.3 makronix-util-data -+./usr/pkg/man/man3/XmClipboardLock.3 makronix-util-data -+./usr/pkg/man/man3/XmClipboardRegisterFormat.3 makronix-util-data -+./usr/pkg/man/man3/XmClipboardRetrieve.3 makronix-util-data -+./usr/pkg/man/man3/XmClipboardStartCopy.3 makronix-util-data -+./usr/pkg/man/man3/XmClipboardStartRetrieve.3 makronix-util-data -+./usr/pkg/man/man3/XmClipboardUndoCopy.3 makronix-util-data -+./usr/pkg/man/man3/XmClipboardUnlock.3 makronix-util-data -+./usr/pkg/man/man3/XmClipboardWithdrawFormat.3 makronix-util-data -+./usr/pkg/man/man3/XmColorSelector.3 makronix-util-data -+./usr/pkg/man/man3/XmColumn.3 makronix-util-data -+./usr/pkg/man/man3/XmComboBox.3 makronix-util-data -+./usr/pkg/man/man3/XmComboBoxAddItem.3 makronix-util-data -+./usr/pkg/man/man3/XmComboBoxDeletePos.3 makronix-util-data -+./usr/pkg/man/man3/XmComboBoxSelectItem.3 makronix-util-data -+./usr/pkg/man/man3/XmComboBoxSetItem.3 makronix-util-data -+./usr/pkg/man/man3/XmComboBoxUpdate.3 makronix-util-data -+./usr/pkg/man/man3/XmCommand.3 makronix-util-data -+./usr/pkg/man/man3/XmCommandAppendValue.3 makronix-util-data -+./usr/pkg/man/man3/XmCommandError.3 makronix-util-data -+./usr/pkg/man/man3/XmCommandGetChild.3 makronix-util-data -+./usr/pkg/man/man3/XmCommandSetValue.3 makronix-util-data -+./usr/pkg/man/man3/XmContainer.3 makronix-util-data -+./usr/pkg/man/man3/XmContainerCopy.3 makronix-util-data -+./usr/pkg/man/man3/XmContainerCopyLink.3 makronix-util-data -+./usr/pkg/man/man3/XmContainerCut.3 makronix-util-data -+./usr/pkg/man/man3/XmContainerGetItemChildren.3 makronix-util-data -+./usr/pkg/man/man3/XmContainerPaste.3 makronix-util-data -+./usr/pkg/man/man3/XmContainerPasteLink.3 makronix-util-data -+./usr/pkg/man/man3/XmContainerRelayout.3 makronix-util-data -+./usr/pkg/man/man3/XmContainerReorder.3 makronix-util-data -+./usr/pkg/man/man3/XmConvertStringToUnits.3 makronix-util-data -+./usr/pkg/man/man3/XmConvertUnits.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateArrowButton.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateArrowButtonGadget.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateBulletinBoard.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateBulletinBoardDialog.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateButtonBox.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateCascadeButton.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateCascadeButtonGadget.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateCombinationBox2.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateComboBox.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateCommand.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateCommandDialog.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateContainer.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateDialogShell.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateDragIcon.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateDrawingArea.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateDrawnButton.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateDropDown.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateDropDownComboBox.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateDropDownList.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateErrorDialog.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateFileSelectionBox.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateFileSelectionDialog.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateForm.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateFormDialog.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateFrame.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateHierarchy.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateIconGadget.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateInformationDialog.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateLabel.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateLabelGadget.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateList.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateMainWindow.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateMenuBar.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateMenuShell.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateMessageBox.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateMessageDialog.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateNotebook.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateOptionMenu.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateOutline.3 makronix-util-data -+./usr/pkg/man/man3/XmCreatePanedWindow.3 makronix-util-data -+./usr/pkg/man/man3/XmCreatePopupMenu.3 makronix-util-data -+./usr/pkg/man/man3/XmCreatePromptDialog.3 makronix-util-data -+./usr/pkg/man/man3/XmCreatePulldownMenu.3 makronix-util-data -+./usr/pkg/man/man3/XmCreatePushButton.3 makronix-util-data -+./usr/pkg/man/man3/XmCreatePushButtonGadget.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateQuestionDialog.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateRadioBox.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateRowColumn.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateScale.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateScrollBar.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateScrolledList.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateScrolledText.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateScrolledWindow.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateSelectionBox.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateSelectionDialog.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateSeparator.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateSeparatorGadget.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateSimpleCheckBox.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateSimpleMenuBar.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateSimpleOptionMenu.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateSimplePopupMenu.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateSimplePulldownMenu.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateSimpleRadioBox.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateSimpleSpinBox.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateSpinBox.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateTemplateDialog.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateText.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateTextField.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateToggleButton.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateToggleButtonGadget.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateWarningDialog.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateWorkArea.3 makronix-util-data -+./usr/pkg/man/man3/XmCreateWorkingDialog.3 makronix-util-data -+./usr/pkg/man/man3/XmCvtByteStreamToXmString.3 makronix-util-data -+./usr/pkg/man/man3/XmCvtCTToXmString.3 makronix-util-data -+./usr/pkg/man/man3/XmCvtStringToUnitType.3 makronix-util-data -+./usr/pkg/man/man3/XmCvtTextPropertyToXmStringTable.3 makronix-util-data -+./usr/pkg/man/man3/XmCvtXmStringTableToTextProperty.3 makronix-util-data -+./usr/pkg/man/man3/XmCvtXmStringToByteStream.3 makronix-util-data -+./usr/pkg/man/man3/XmCvtXmStringToCT.3 makronix-util-data -+./usr/pkg/man/man3/XmDataField.3 makronix-util-data -+./usr/pkg/man/man3/XmDataFieldCopy.3 makronix-util-data -+./usr/pkg/man/man3/XmDataFieldCut.3 makronix-util-data -+./usr/pkg/man/man3/XmDataFieldGetSelection.3 makronix-util-data -+./usr/pkg/man/man3/XmDataFieldGetSelectionPosition.3 makronix-util-data -+./usr/pkg/man/man3/XmDataFieldGetString.3 makronix-util-data -+./usr/pkg/man/man3/XmDataFieldGetStringWcs.3 makronix-util-data -+./usr/pkg/man/man3/XmDataFieldPaste.3 makronix-util-data -+./usr/pkg/man/man3/XmDataFieldSetAddMode.3 makronix-util-data -+./usr/pkg/man/man3/XmDataFieldSetEditable.3 makronix-util-data -+./usr/pkg/man/man3/XmDataFieldSetHighlight.3 makronix-util-data -+./usr/pkg/man/man3/XmDataFieldSetInsertionPosition.3 makronix-util-data -+./usr/pkg/man/man3/XmDataFieldSetSelection.3 makronix-util-data -+./usr/pkg/man/man3/XmDataFieldSetString.3 makronix-util-data -+./usr/pkg/man/man3/XmDataFieldXYToPos.3 makronix-util-data -+./usr/pkg/man/man3/XmDeactivateProtocol.3 makronix-util-data -+./usr/pkg/man/man3/XmDeactivateWMProtocol.3 makronix-util-data -+./usr/pkg/man/man3/XmDestroyPixmap.3 makronix-util-data -+./usr/pkg/man/man3/XmDialogShell.3 makronix-util-data -+./usr/pkg/man/man3/XmDirection.3 makronix-util-data -+./usr/pkg/man/man3/XmDirectionMatch.3 makronix-util-data -+./usr/pkg/man/man3/XmDirectionMatchPartial.3 makronix-util-data -+./usr/pkg/man/man3/XmDirectionToStringDirection.3 makronix-util-data -+./usr/pkg/man/man3/XmDisplay.3 makronix-util-data -+./usr/pkg/man/man3/XmDragCancel.3 makronix-util-data -+./usr/pkg/man/man3/XmDragContext.3 makronix-util-data -+./usr/pkg/man/man3/XmDragIcon.3 makronix-util-data -+./usr/pkg/man/man3/XmDragStart.3 makronix-util-data -+./usr/pkg/man/man3/XmDrawingArea.3 makronix-util-data -+./usr/pkg/man/man3/XmDrawnButton.3 makronix-util-data -+./usr/pkg/man/man3/XmDropDown.3 makronix-util-data -+./usr/pkg/man/man3/XmDropDownGetChild.3 makronix-util-data -+./usr/pkg/man/man3/XmDropSite.3 makronix-util-data -+./usr/pkg/man/man3/XmDropSiteConfigureStackingOrder.3 makronix-util-data -+./usr/pkg/man/man3/XmDropSiteEndUpdate.3 makronix-util-data -+./usr/pkg/man/man3/XmDropSiteQueryStackingOrder.3 makronix-util-data -+./usr/pkg/man/man3/XmDropSiteRegister.3 makronix-util-data -+./usr/pkg/man/man3/XmDropSiteRegistered.3 makronix-util-data -+./usr/pkg/man/man3/XmDropSiteRetrieve.3 makronix-util-data -+./usr/pkg/man/man3/XmDropSiteStartUpdate.3 makronix-util-data -+./usr/pkg/man/man3/XmDropSiteUnregister.3 makronix-util-data -+./usr/pkg/man/man3/XmDropSiteUpdate.3 makronix-util-data -+./usr/pkg/man/man3/XmDropTransfer.3 makronix-util-data -+./usr/pkg/man/man3/XmDropTransferAdd.3 makronix-util-data -+./usr/pkg/man/man3/XmDropTransferStart.3 makronix-util-data -+./usr/pkg/man/man3/XmExt18List.3 makronix-util-data -+./usr/pkg/man/man3/XmFileSelectionBox.3 makronix-util-data -+./usr/pkg/man/man3/XmFileSelectionBoxGetChild.3 makronix-util-data -+./usr/pkg/man/man3/XmFileSelectionDoSearch.3 makronix-util-data -+./usr/pkg/man/man3/XmFontList.3 makronix-util-data -+./usr/pkg/man/man3/XmFontListAdd.3 makronix-util-data -+./usr/pkg/man/man3/XmFontListAppendEntry.3 makronix-util-data -+./usr/pkg/man/man3/XmFontListCopy.3 makronix-util-data -+./usr/pkg/man/man3/XmFontListCreate.3 makronix-util-data -+./usr/pkg/man/man3/XmFontListEntryCreate.3 makronix-util-data -+./usr/pkg/man/man3/XmFontListEntryFree.3 makronix-util-data -+./usr/pkg/man/man3/XmFontListEntryGetFont.3 makronix-util-data -+./usr/pkg/man/man3/XmFontListEntryGetTag.3 makronix-util-data -+./usr/pkg/man/man3/XmFontListEntryLoad.3 makronix-util-data -+./usr/pkg/man/man3/XmFontListFree.3 makronix-util-data -+./usr/pkg/man/man3/XmFontListFreeFontContext.3 makronix-util-data -+./usr/pkg/man/man3/XmFontListGetNextFont.3 makronix-util-data -+./usr/pkg/man/man3/XmFontListInitFontContext.3 makronix-util-data -+./usr/pkg/man/man3/XmFontListNextEntry.3 makronix-util-data -+./usr/pkg/man/man3/XmFontListRemoveEntry.3 makronix-util-data -+./usr/pkg/man/man3/XmFontSelector.3 makronix-util-data -+./usr/pkg/man/man3/XmForm.3 makronix-util-data -+./usr/pkg/man/man3/XmFrame.3 makronix-util-data -+./usr/pkg/man/man3/XmGadget.3 makronix-util-data -+./usr/pkg/man/man3/XmGetAtomName.3 makronix-util-data -+./usr/pkg/man/man3/XmGetColorCalculation.3 makronix-util-data -+./usr/pkg/man/man3/XmGetColors.3 makronix-util-data -+./usr/pkg/man/man3/XmGetDestination.3 makronix-util-data -+./usr/pkg/man/man3/XmGetDragContext.3 makronix-util-data -+./usr/pkg/man/man3/XmGetFocusWidget.3 makronix-util-data -+./usr/pkg/man/man3/XmGetMenuCursor.3 makronix-util-data -+./usr/pkg/man/man3/XmGetPixmap.3 makronix-util-data -+./usr/pkg/man/man3/XmGetPixmapByDepth.3 makronix-util-data -+./usr/pkg/man/man3/XmGetPostedFromWidget.3 makronix-util-data -+./usr/pkg/man/man3/XmGetScaledPixmap.3 makronix-util-data -+./usr/pkg/man/man3/XmGetSecondaryResourceData.3 makronix-util-data -+./usr/pkg/man/man3/XmGetTabGroup.3 makronix-util-data -+./usr/pkg/man/man3/XmGetTearOffControl.3 makronix-util-data -+./usr/pkg/man/man3/XmGetVisibility.3 makronix-util-data -+./usr/pkg/man/man3/XmGetXmDisplay.3 makronix-util-data -+./usr/pkg/man/man3/XmGetXmScreen.3 makronix-util-data -+./usr/pkg/man/man3/XmHierarchy.3 makronix-util-data -+./usr/pkg/man/man3/XmHierarchyGetChildNodes.3 makronix-util-data -+./usr/pkg/man/man3/XmHierarchyOpenAllAncestors.3 makronix-util-data -+./usr/pkg/man/man3/XmIconBox.3 makronix-util-data -+./usr/pkg/man/man3/XmIconBoxIsCellEmpty.3 makronix-util-data -+./usr/pkg/man/man3/XmIconButton.3 makronix-util-data -+./usr/pkg/man/man3/XmIconGadget.3 makronix-util-data -+./usr/pkg/man/man3/XmImCloseXIM.3 makronix-util-data -+./usr/pkg/man/man3/XmImFreeXIC.3 makronix-util-data -+./usr/pkg/man/man3/XmImGetXIC.3 makronix-util-data -+./usr/pkg/man/man3/XmImGetXIM.3 makronix-util-data -+./usr/pkg/man/man3/XmImMbLookupString.3 makronix-util-data -+./usr/pkg/man/man3/XmImMbResetIC.3 makronix-util-data -+./usr/pkg/man/man3/XmImRegister.3 makronix-util-data -+./usr/pkg/man/man3/XmImSetFocusValues.3 makronix-util-data -+./usr/pkg/man/man3/XmImSetValues.3 makronix-util-data -+./usr/pkg/man/man3/XmImSetXIC.3 makronix-util-data -+./usr/pkg/man/man3/XmImUnregister.3 makronix-util-data -+./usr/pkg/man/man3/XmImUnsetFocus.3 makronix-util-data -+./usr/pkg/man/man3/XmImVaSetFocusValues.3 makronix-util-data -+./usr/pkg/man/man3/XmImVaSetValues.3 makronix-util-data -+./usr/pkg/man/man3/XmInstallImage.3 makronix-util-data -+./usr/pkg/man/man3/XmInternAtom.3 makronix-util-data -+./usr/pkg/man/man3/XmIsMotifWMRunning.3 makronix-util-data -+./usr/pkg/man/man3/XmIsTraversable.3 makronix-util-data -+./usr/pkg/man/man3/XmLabel.3 makronix-util-data -+./usr/pkg/man/man3/XmLabelGadget.3 makronix-util-data -+./usr/pkg/man/man3/XmList.3 makronix-util-data -+./usr/pkg/man/man3/XmListAddItem.3 makronix-util-data -+./usr/pkg/man/man3/XmListAddItemUnselected.3 makronix-util-data -+./usr/pkg/man/man3/XmListAddItems.3 makronix-util-data -+./usr/pkg/man/man3/XmListAddItemsUnselected.3 makronix-util-data -+./usr/pkg/man/man3/XmListDeleteAllItems.3 makronix-util-data -+./usr/pkg/man/man3/XmListDeleteItem.3 makronix-util-data -+./usr/pkg/man/man3/XmListDeleteItems.3 makronix-util-data -+./usr/pkg/man/man3/XmListDeleteItemsPos.3 makronix-util-data -+./usr/pkg/man/man3/XmListDeletePos.3 makronix-util-data -+./usr/pkg/man/man3/XmListDeletePositions.3 makronix-util-data -+./usr/pkg/man/man3/XmListDeselectAllItems.3 makronix-util-data -+./usr/pkg/man/man3/XmListDeselectItem.3 makronix-util-data -+./usr/pkg/man/man3/XmListDeselectPos.3 makronix-util-data -+./usr/pkg/man/man3/XmListGetKbdItemPos.3 makronix-util-data -+./usr/pkg/man/man3/XmListGetMatchPos.3 makronix-util-data -+./usr/pkg/man/man3/XmListGetSelectedPos.3 makronix-util-data -+./usr/pkg/man/man3/XmListItemExists.3 makronix-util-data -+./usr/pkg/man/man3/XmListItemPos.3 makronix-util-data -+./usr/pkg/man/man3/XmListPosSelected.3 makronix-util-data -+./usr/pkg/man/man3/XmListPosToBounds.3 makronix-util-data -+./usr/pkg/man/man3/XmListReplaceItems.3 makronix-util-data -+./usr/pkg/man/man3/XmListReplaceItemsPos.3 makronix-util-data -+./usr/pkg/man/man3/XmListReplaceItemsPosUnselected.3 makronix-util-data -+./usr/pkg/man/man3/XmListReplaceItemsUnselected.3 makronix-util-data -+./usr/pkg/man/man3/XmListReplacePositions.3 makronix-util-data -+./usr/pkg/man/man3/XmListSelectItem.3 makronix-util-data -+./usr/pkg/man/man3/XmListSelectPos.3 makronix-util-data -+./usr/pkg/man/man3/XmListSetAddMode.3 makronix-util-data -+./usr/pkg/man/man3/XmListSetBottomItem.3 makronix-util-data -+./usr/pkg/man/man3/XmListSetBottomPos.3 makronix-util-data -+./usr/pkg/man/man3/XmListSetHorizPos.3 makronix-util-data -+./usr/pkg/man/man3/XmListSetItem.3 makronix-util-data -+./usr/pkg/man/man3/XmListSetKbdItemPos.3 makronix-util-data -+./usr/pkg/man/man3/XmListSetPos.3 makronix-util-data -+./usr/pkg/man/man3/XmListUpdateSelectedList.3 makronix-util-data -+./usr/pkg/man/man3/XmListYToPos.3 makronix-util-data -+./usr/pkg/man/man3/XmMainWindow.3 makronix-util-data -+./usr/pkg/man/man3/XmMainWindowSep1.3 makronix-util-data -+./usr/pkg/man/man3/XmMainWindowSep2.3 makronix-util-data -+./usr/pkg/man/man3/XmMainWindowSep3.3 makronix-util-data -+./usr/pkg/man/man3/XmMainWindowSetAreas.3 makronix-util-data -+./usr/pkg/man/man3/XmManager.3 makronix-util-data -+./usr/pkg/man/man3/XmMapSegmentEncoding.3 makronix-util-data -+./usr/pkg/man/man3/XmMenuPosition.3 makronix-util-data -+./usr/pkg/man/man3/XmMenuShell.3 makronix-util-data -+./usr/pkg/man/man3/XmMessageBox.3 makronix-util-data -+./usr/pkg/man/man3/XmMessageBoxGetChild.3 makronix-util-data -+./usr/pkg/man/man3/XmMultiList.3 makronix-util-data -+./usr/pkg/man/man3/XmMultiListDeselectItems.3 makronix-util-data -+./usr/pkg/man/man3/XmMultiListDeselectRow.3 makronix-util-data -+./usr/pkg/man/man3/XmMultiListGetSelectedRowArray.3 makronix-util-data -+./usr/pkg/man/man3/XmMultiListGetSelectedRows.3 makronix-util-data -+./usr/pkg/man/man3/XmMultiListMakeRowVisible.3 makronix-util-data -+./usr/pkg/man/man3/XmMultiListSelectAllItems.3 makronix-util-data -+./usr/pkg/man/man3/XmMultiListSelectItems.3 makronix-util-data -+./usr/pkg/man/man3/XmMultiListSelectRow.3 makronix-util-data -+./usr/pkg/man/man3/XmMultiListToggleRow.3 makronix-util-data -+./usr/pkg/man/man3/XmMultiListUnselectAllItems.3 makronix-util-data -+./usr/pkg/man/man3/XmMultiListUnselectItem.3 makronix-util-data -+./usr/pkg/man/man3/XmNotebook.3 makronix-util-data -+./usr/pkg/man/man3/XmNotebookGetPageInfo.3 makronix-util-data -+./usr/pkg/man/man3/XmObjectAtPoint.3 makronix-util-data -+./usr/pkg/man/man3/XmOptionButtonGadget.3 makronix-util-data -+./usr/pkg/man/man3/XmOptionLabelGadget.3 makronix-util-data -+./usr/pkg/man/man3/XmOutline.3 makronix-util-data -+./usr/pkg/man/man3/XmPaned.3 makronix-util-data -+./usr/pkg/man/man3/XmPanedGetPanes.3 makronix-util-data -+./usr/pkg/man/man3/XmPanedWindow.3 makronix-util-data -+./usr/pkg/man/man3/XmParseMapping.3 makronix-util-data -+./usr/pkg/man/man3/XmParseMappingCreate.3 makronix-util-data -+./usr/pkg/man/man3/XmParseMappingFree.3 makronix-util-data -+./usr/pkg/man/man3/XmParseMappingGetValues.3 makronix-util-data -+./usr/pkg/man/man3/XmParseMappingSetValues.3 makronix-util-data -+./usr/pkg/man/man3/XmParseTable.3 makronix-util-data -+./usr/pkg/man/man3/XmParseTableFree.3 makronix-util-data -+./usr/pkg/man/man3/XmPrimitive.3 makronix-util-data -+./usr/pkg/man/man3/XmPrintPopupPDM.3 makronix-util-data -+./usr/pkg/man/man3/XmPrintSetup.3 makronix-util-data -+./usr/pkg/man/man3/XmPrintShell.3 makronix-util-data -+./usr/pkg/man/man3/XmPrintToFile.3 makronix-util-data -+./usr/pkg/man/man3/XmProcessTraversal.3 makronix-util-data -+./usr/pkg/man/man3/XmPushButton.3 makronix-util-data -+./usr/pkg/man/man3/XmPushButtonGadget.3 makronix-util-data -+./usr/pkg/man/man3/XmRedisplayWidget.3 makronix-util-data -+./usr/pkg/man/man3/XmRegisterSegmentEncoding.3 makronix-util-data -+./usr/pkg/man/man3/XmRemoveFromPostFromList.3 makronix-util-data -+./usr/pkg/man/man3/XmRemoveProtocolCallback.3 makronix-util-data -+./usr/pkg/man/man3/XmRemoveProtocols.3 makronix-util-data -+./usr/pkg/man/man3/XmRemoveTabGroup.3 makronix-util-data -+./usr/pkg/man/man3/XmRemoveWMProtocolCallback.3 makronix-util-data -+./usr/pkg/man/man3/XmRemoveWMProtocols.3 makronix-util-data -+./usr/pkg/man/man3/XmRenderTable.3 makronix-util-data -+./usr/pkg/man/man3/XmRenderTableAddRenditions.3 makronix-util-data -+./usr/pkg/man/man3/XmRenderTableCopy.3 makronix-util-data -+./usr/pkg/man/man3/XmRenderTableCvtFromProp.3 makronix-util-data -+./usr/pkg/man/man3/XmRenderTableCvtToProp.3 makronix-util-data -+./usr/pkg/man/man3/XmRenderTableFree.3 makronix-util-data -+./usr/pkg/man/man3/XmRenderTableGetRendition.3 makronix-util-data -+./usr/pkg/man/man3/XmRenderTableGetRenditions.3 makronix-util-data -+./usr/pkg/man/man3/XmRenderTableGetTags.3 makronix-util-data -+./usr/pkg/man/man3/XmRenderTableRemoveRenditions.3 makronix-util-data -+./usr/pkg/man/man3/XmRendition.3 makronix-util-data -+./usr/pkg/man/man3/XmRenditionCreate.3 makronix-util-data -+./usr/pkg/man/man3/XmRenditionFree.3 makronix-util-data -+./usr/pkg/man/man3/XmRenditionRetrieve.3 makronix-util-data -+./usr/pkg/man/man3/XmRenditionUpdate.3 makronix-util-data -+./usr/pkg/man/man3/XmRepTypeAddReverse.3 makronix-util-data -+./usr/pkg/man/man3/XmRepTypeGetId.3 makronix-util-data -+./usr/pkg/man/man3/XmRepTypeGetNameList.3 makronix-util-data -+./usr/pkg/man/man3/XmRepTypeGetRecord.3 makronix-util-data -+./usr/pkg/man/man3/XmRepTypeGetRegistered.3 makronix-util-data -+./usr/pkg/man/man3/XmRepTypeInstallTearOffModelConverter.3 makronix-util-data -+./usr/pkg/man/man3/XmRepTypeRegister.3 makronix-util-data -+./usr/pkg/man/man3/XmRepTypeValidValue.3 makronix-util-data -+./usr/pkg/man/man3/XmResolveAllPartOffsets.3 makronix-util-data -+./usr/pkg/man/man3/XmResolvePartOffsets.3 makronix-util-data -+./usr/pkg/man/man3/XmRowColumn.3 makronix-util-data -+./usr/pkg/man/man3/XmScale.3 makronix-util-data -+./usr/pkg/man/man3/XmScaleGetValue.3 makronix-util-data -+./usr/pkg/man/man3/XmScaleSetTicks.3 makronix-util-data -+./usr/pkg/man/man3/XmScaleSetValue.3 makronix-util-data -+./usr/pkg/man/man3/XmScreen.3 makronix-util-data -+./usr/pkg/man/man3/XmScrollBar.3 makronix-util-data -+./usr/pkg/man/man3/XmScrollBarGetValues.3 makronix-util-data -+./usr/pkg/man/man3/XmScrollBarSetValues.3 makronix-util-data -+./usr/pkg/man/man3/XmScrollVisible.3 makronix-util-data -+./usr/pkg/man/man3/XmScrolledWindow.3 makronix-util-data -+./usr/pkg/man/man3/XmScrolledWindowSetAreas.3 makronix-util-data -+./usr/pkg/man/man3/XmSelectionBox.3 makronix-util-data -+./usr/pkg/man/man3/XmSelectionBoxGetChild.3 makronix-util-data -+./usr/pkg/man/man3/XmSeparator.3 makronix-util-data -+./usr/pkg/man/man3/XmSeparatorGadget.3 makronix-util-data -+./usr/pkg/man/man3/XmSetColorCalculation.3 makronix-util-data -+./usr/pkg/man/man3/XmSetFontUnit.3 makronix-util-data -+./usr/pkg/man/man3/XmSetFontUnits.3 makronix-util-data -+./usr/pkg/man/man3/XmSetMenuCursor.3 makronix-util-data -+./usr/pkg/man/man3/XmSetProtocolHooks.3 makronix-util-data -+./usr/pkg/man/man3/XmSetWMProtocolHooks.3 makronix-util-data -+./usr/pkg/man/man3/XmSimpleSpinBox.3 makronix-util-data -+./usr/pkg/man/man3/XmSimpleSpinBoxAddItem.3 makronix-util-data -+./usr/pkg/man/man3/XmSimpleSpinBoxDeletePos.3 makronix-util-data -+./usr/pkg/man/man3/XmSimpleSpinBoxSetItem.3 makronix-util-data -+./usr/pkg/man/man3/XmSlideContext.3 makronix-util-data -+./usr/pkg/man/man3/XmSpinBox.3 makronix-util-data -+./usr/pkg/man/man3/XmSpinBoxValidatePosition.3 makronix-util-data -+./usr/pkg/man/man3/XmString.3 makronix-util-data -+./usr/pkg/man/man3/XmStringBaseline.3 makronix-util-data -+./usr/pkg/man/man3/XmStringByteCompare.3 makronix-util-data -+./usr/pkg/man/man3/XmStringByteStreamLength.3 makronix-util-data -+./usr/pkg/man/man3/XmStringCompare.3 makronix-util-data -+./usr/pkg/man/man3/XmStringComponentCreate.3 makronix-util-data -+./usr/pkg/man/man3/XmStringComponentType.3 makronix-util-data -+./usr/pkg/man/man3/XmStringConcat.3 makronix-util-data -+./usr/pkg/man/man3/XmStringConcatAndFree.3 makronix-util-data -+./usr/pkg/man/man3/XmStringCopy.3 makronix-util-data -+./usr/pkg/man/man3/XmStringCreate.3 makronix-util-data -+./usr/pkg/man/man3/XmStringCreateLocalized.3 makronix-util-data -+./usr/pkg/man/man3/XmStringCreateLtoR.3 makronix-util-data -+./usr/pkg/man/man3/XmStringCreateSimple.3 makronix-util-data -+./usr/pkg/man/man3/XmStringDirection.3 makronix-util-data -+./usr/pkg/man/man3/XmStringDirectionCreate.3 makronix-util-data -+./usr/pkg/man/man3/XmStringDirectionToDirection.3 makronix-util-data -+./usr/pkg/man/man3/XmStringDraw.3 makronix-util-data -+./usr/pkg/man/man3/XmStringDrawImage.3 makronix-util-data -+./usr/pkg/man/man3/XmStringDrawUnderline.3 makronix-util-data -+./usr/pkg/man/man3/XmStringEmpty.3 makronix-util-data -+./usr/pkg/man/man3/XmStringExtent.3 makronix-util-data -+./usr/pkg/man/man3/XmStringFree.3 makronix-util-data -+./usr/pkg/man/man3/XmStringFreeContext.3 makronix-util-data -+./usr/pkg/man/man3/XmStringGenerate.3 makronix-util-data -+./usr/pkg/man/man3/XmStringGetLtoR.3 makronix-util-data -+./usr/pkg/man/man3/XmStringGetNextComponent.3 makronix-util-data -+./usr/pkg/man/man3/XmStringGetNextSegment.3 makronix-util-data -+./usr/pkg/man/man3/XmStringGetNextTriple.3 makronix-util-data -+./usr/pkg/man/man3/XmStringHasSubstring.3 makronix-util-data -+./usr/pkg/man/man3/XmStringHeight.3 makronix-util-data -+./usr/pkg/man/man3/XmStringInitContext.3 makronix-util-data -+./usr/pkg/man/man3/XmStringIsVoid.3 makronix-util-data -+./usr/pkg/man/man3/XmStringLength.3 makronix-util-data -+./usr/pkg/man/man3/XmStringLineCount.3 makronix-util-data -+./usr/pkg/man/man3/XmStringNConcat.3 makronix-util-data -+./usr/pkg/man/man3/XmStringNCopy.3 makronix-util-data -+./usr/pkg/man/man3/XmStringParseText.3 makronix-util-data -+./usr/pkg/man/man3/XmStringPeekNextComponent.3 makronix-util-data -+./usr/pkg/man/man3/XmStringPeekNextTriple.3 makronix-util-data -+./usr/pkg/man/man3/XmStringPutRendition.3 makronix-util-data -+./usr/pkg/man/man3/XmStringSegmentCreate.3 makronix-util-data -+./usr/pkg/man/man3/XmStringSeparatorCreate.3 makronix-util-data -+./usr/pkg/man/man3/XmStringTable.3 makronix-util-data -+./usr/pkg/man/man3/XmStringTableParseStringArray.3 makronix-util-data -+./usr/pkg/man/man3/XmStringTableProposeTablist.3 makronix-util-data -+./usr/pkg/man/man3/XmStringTableToXmString.3 makronix-util-data -+./usr/pkg/man/man3/XmStringTableUnparse.3 makronix-util-data -+./usr/pkg/man/man3/XmStringToXmStringTable.3 makronix-util-data -+./usr/pkg/man/man3/XmStringUnparse.3 makronix-util-data -+./usr/pkg/man/man3/XmStringWidth.3 makronix-util-data -+./usr/pkg/man/man3/XmTab.3 makronix-util-data -+./usr/pkg/man/man3/XmTabCreate.3 makronix-util-data -+./usr/pkg/man/man3/XmTabFree.3 makronix-util-data -+./usr/pkg/man/man3/XmTabGetValues.3 makronix-util-data -+./usr/pkg/man/man3/XmTabList.3 makronix-util-data -+./usr/pkg/man/man3/XmTabListCopy.3 makronix-util-data -+./usr/pkg/man/man3/XmTabListFree.3 makronix-util-data -+./usr/pkg/man/man3/XmTabListGetTab.3 makronix-util-data -+./usr/pkg/man/man3/XmTabListInsertTabs.3 makronix-util-data -+./usr/pkg/man/man3/XmTabListRemoveTabs.3 makronix-util-data -+./usr/pkg/man/man3/XmTabListReplacePositions.3 makronix-util-data -+./usr/pkg/man/man3/XmTabListTabCount.3 makronix-util-data -+./usr/pkg/man/man3/XmTabSetValue.3 makronix-util-data -+./usr/pkg/man/man3/XmTabStack.3 makronix-util-data -+./usr/pkg/man/man3/XmTabStackGetSelectedTab.3 makronix-util-data -+./usr/pkg/man/man3/XmTabStackSelectTab.3 makronix-util-data -+./usr/pkg/man/man3/XmTabStackXYToWidget.3 makronix-util-data -+./usr/pkg/man/man3/XmTargetsAreCompatible.3 makronix-util-data -+./usr/pkg/man/man3/XmText.3 makronix-util-data -+./usr/pkg/man/man3/XmTextClearSelection.3 makronix-util-data -+./usr/pkg/man/man3/XmTextCopy.3 makronix-util-data -+./usr/pkg/man/man3/XmTextCopyLink.3 makronix-util-data -+./usr/pkg/man/man3/XmTextCut.3 makronix-util-data -+./usr/pkg/man/man3/XmTextDisableRedisplay.3 makronix-util-data -+./usr/pkg/man/man3/XmTextEnableRedisplay.3 makronix-util-data -+./usr/pkg/man/man3/XmTextField.3 makronix-util-data -+./usr/pkg/man/man3/XmTextFieldClearSelection.3 makronix-util-data -+./usr/pkg/man/man3/XmTextFieldCopy.3 makronix-util-data -+./usr/pkg/man/man3/XmTextFieldCopyLink.3 makronix-util-data -+./usr/pkg/man/man3/XmTextFieldCut.3 makronix-util-data -+./usr/pkg/man/man3/XmTextFieldGetBaseline.3 makronix-util-data -+./usr/pkg/man/man3/XmTextFieldGetEditable.3 makronix-util-data -+./usr/pkg/man/man3/XmTextFieldGetInsertionPosition.3 makronix-util-data -+./usr/pkg/man/man3/XmTextFieldGetLastPosition.3 makronix-util-data -+./usr/pkg/man/man3/XmTextFieldGetMaxLength.3 makronix-util-data -+./usr/pkg/man/man3/XmTextFieldGetSelection.3 makronix-util-data -+./usr/pkg/man/man3/XmTextFieldGetSelectionPosition.3 makronix-util-data -+./usr/pkg/man/man3/XmTextFieldGetSelectionWcs.3 makronix-util-data -+./usr/pkg/man/man3/XmTextFieldGetString.3 makronix-util-data -+./usr/pkg/man/man3/XmTextFieldGetStringWcs.3 makronix-util-data -+./usr/pkg/man/man3/XmTextFieldGetSubstring.3 makronix-util-data -+./usr/pkg/man/man3/XmTextFieldGetSubstringWcs.3 makronix-util-data -+./usr/pkg/man/man3/XmTextFieldInsert.3 makronix-util-data -+./usr/pkg/man/man3/XmTextFieldInsertWcs.3 makronix-util-data -+./usr/pkg/man/man3/XmTextFieldPaste.3 makronix-util-data -+./usr/pkg/man/man3/XmTextFieldPasteLink.3 makronix-util-data -+./usr/pkg/man/man3/XmTextFieldPosToXY.3 makronix-util-data -+./usr/pkg/man/man3/XmTextFieldRemove.3 makronix-util-data -+./usr/pkg/man/man3/XmTextFieldReplace.3 makronix-util-data -+./usr/pkg/man/man3/XmTextFieldReplaceWcs.3 makronix-util-data -+./usr/pkg/man/man3/XmTextFieldSetAddMode.3 makronix-util-data -+./usr/pkg/man/man3/XmTextFieldSetEditable.3 makronix-util-data -+./usr/pkg/man/man3/XmTextFieldSetHighlight.3 makronix-util-data -+./usr/pkg/man/man3/XmTextFieldSetInsertionPosition.3 makronix-util-data -+./usr/pkg/man/man3/XmTextFieldSetMaxLength.3 makronix-util-data -+./usr/pkg/man/man3/XmTextFieldSetSelection.3 makronix-util-data -+./usr/pkg/man/man3/XmTextFieldSetString.3 makronix-util-data -+./usr/pkg/man/man3/XmTextFieldSetStringWcs.3 makronix-util-data -+./usr/pkg/man/man3/XmTextFieldShowPosition.3 makronix-util-data -+./usr/pkg/man/man3/XmTextFieldXYToPos.3 makronix-util-data -+./usr/pkg/man/man3/XmTextFindString.3 makronix-util-data -+./usr/pkg/man/man3/XmTextFindStringWcs.3 makronix-util-data -+./usr/pkg/man/man3/XmTextGetBaseline.3 makronix-util-data -+./usr/pkg/man/man3/XmTextGetCenterline.3 makronix-util-data -+./usr/pkg/man/man3/XmTextGetEditable.3 makronix-util-data -+./usr/pkg/man/man3/XmTextGetInsertionPosition.3 makronix-util-data -+./usr/pkg/man/man3/XmTextGetLastPosition.3 makronix-util-data -+./usr/pkg/man/man3/XmTextGetMaxLength.3 makronix-util-data -+./usr/pkg/man/man3/XmTextGetSelection.3 makronix-util-data -+./usr/pkg/man/man3/XmTextGetSelectionPosition.3 makronix-util-data -+./usr/pkg/man/man3/XmTextGetSelectionWcs.3 makronix-util-data -+./usr/pkg/man/man3/XmTextGetSource.3 makronix-util-data -+./usr/pkg/man/man3/XmTextGetString.3 makronix-util-data -+./usr/pkg/man/man3/XmTextGetStringWcs.3 makronix-util-data -+./usr/pkg/man/man3/XmTextGetSubstring.3 makronix-util-data -+./usr/pkg/man/man3/XmTextGetSubstringWcs.3 makronix-util-data -+./usr/pkg/man/man3/XmTextGetTopCharacter.3 makronix-util-data -+./usr/pkg/man/man3/XmTextInsert.3 makronix-util-data -+./usr/pkg/man/man3/XmTextInsertWcs.3 makronix-util-data -+./usr/pkg/man/man3/XmTextPaste.3 makronix-util-data -+./usr/pkg/man/man3/XmTextPasteLink.3 makronix-util-data -+./usr/pkg/man/man3/XmTextPosToXY.3 makronix-util-data -+./usr/pkg/man/man3/XmTextPosition.3 makronix-util-data -+./usr/pkg/man/man3/XmTextRemove.3 makronix-util-data -+./usr/pkg/man/man3/XmTextReplace.3 makronix-util-data -+./usr/pkg/man/man3/XmTextReplaceWcs.3 makronix-util-data -+./usr/pkg/man/man3/XmTextScroll.3 makronix-util-data -+./usr/pkg/man/man3/XmTextSetAddMode.3 makronix-util-data -+./usr/pkg/man/man3/XmTextSetEditable.3 makronix-util-data -+./usr/pkg/man/man3/XmTextSetHighlight.3 makronix-util-data -+./usr/pkg/man/man3/XmTextSetInsertionPosition.3 makronix-util-data -+./usr/pkg/man/man3/XmTextSetMaxLength.3 makronix-util-data -+./usr/pkg/man/man3/XmTextSetSelection.3 makronix-util-data -+./usr/pkg/man/man3/XmTextSetSource.3 makronix-util-data -+./usr/pkg/man/man3/XmTextSetString.3 makronix-util-data -+./usr/pkg/man/man3/XmTextSetStringWcs.3 makronix-util-data -+./usr/pkg/man/man3/XmTextSetTopCharacter.3 makronix-util-data -+./usr/pkg/man/man3/XmTextShowPosition.3 makronix-util-data -+./usr/pkg/man/man3/XmTextXYToPos.3 makronix-util-data -+./usr/pkg/man/man3/XmToggleButton.3 makronix-util-data -+./usr/pkg/man/man3/XmToggleButtonGadget.3 makronix-util-data -+./usr/pkg/man/man3/XmToggleButtonGadgetGetState.3 makronix-util-data -+./usr/pkg/man/man3/XmToggleButtonGadgetSetState.3 makronix-util-data -+./usr/pkg/man/man3/XmToggleButtonGetState.3 makronix-util-data -+./usr/pkg/man/man3/XmToggleButtonSetState.3 makronix-util-data -+./usr/pkg/man/man3/XmToggleButtonSetValue.3 makronix-util-data -+./usr/pkg/man/man3/XmTrackingEvent.3 makronix-util-data -+./usr/pkg/man/man3/XmTrackingLocate.3 makronix-util-data -+./usr/pkg/man/man3/XmTransferDone.3 makronix-util-data -+./usr/pkg/man/man3/XmTransferSendRequest.3 makronix-util-data -+./usr/pkg/man/man3/XmTransferSetParameters.3 makronix-util-data -+./usr/pkg/man/man3/XmTransferStartRequest.3 makronix-util-data -+./usr/pkg/man/man3/XmTransferValue.3 makronix-util-data -+./usr/pkg/man/man3/XmTranslateKey.3 makronix-util-data -+./usr/pkg/man/man3/XmTree.3 makronix-util-data -+./usr/pkg/man/man3/XmUninstallImage.3 makronix-util-data -+./usr/pkg/man/man3/XmUpdateDisplay.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateArrowButton.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateArrowButtonGadget.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateBulletinBoard.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateButtonBox.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateCascadeButton.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateCascadeButtonGadget.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateColorSelector.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateColumn.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateCombinationBox2.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateComboBox.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateCommand.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateContainer.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateDataField.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateDrawingArea.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateDrawnButton.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateDropDown.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateExt18List.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateFileSelectionBox.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateForm.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateFrame.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateHierarchy.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateIconGadget.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateLabel.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateLabelGadget.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateList.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateMainWindow.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateManagedArrowButton.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateManagedArrowButtonGadget.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateManagedBulletinBoard.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateManagedButtonBox.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateManagedCascadeButton.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateManagedCascadeButtonGadget.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateManagedColorSelector.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateManagedColumn.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateManagedCombinationBox2.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateManagedComboBox.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateManagedCommand.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateManagedContainer.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateManagedDataField.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateManagedDrawingArea.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateManagedDrawnButton.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateManagedDropDown.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateManagedExt18List.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateManagedFileSelectionBox.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateManagedForm.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateManagedFrame.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateManagedHierarchy.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateManagedIconGadget.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateManagedLabel.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateManagedLabelGadget.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateManagedList.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateManagedMainWindow.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateManagedMessageBox.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateManagedMultiList.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateManagedNotebook.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateManagedOutline.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateManagedPanedWindow.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateManagedPushButton.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateManagedPushButtonGadget.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateManagedRowColumn.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateManagedScale.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateManagedScrollBar.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateManagedScrolledWindow.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateManagedSelectionBox.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateManagedSeparatorGadget.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateManagedSimpleSpinBox.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateManagedSpinBox.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateManagedTabStack.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateManagedText.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateManagedTextField.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateManagedToggleButton.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateManagedToggleButtonGadget.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateMessageBox.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateMultiList.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateNotebook.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateOutline.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreatePanedWindow.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreatePushButton.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreatePushButtonGadget.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateRowColumn.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateScale.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateScrollBar.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateScrolledWindow.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateSelectionBox.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateSeparatorGadget.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateSimpleCheckBox.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateSimpleMenuBar.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateSimpleOptionMenu.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateSimplePopupMenu.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateSimplePulldownMenu.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateSimpleRadioBox.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateSimpleSpinBox.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateSpinBox.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateTabStack.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateText.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateTextField.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateToggleButton.3 makronix-util-data -+./usr/pkg/man/man3/XmVaCreateToggleButtonGadget.3 makronix-util-data -+./usr/pkg/man/man3/XmWidgetGetBaselines.3 makronix-util-data -+./usr/pkg/man/man3/XmWidgetGetDisplayRect.3 makronix-util-data -+./usr/pkg/man/man3/aso.3ast makronix-util-data -+./usr/pkg/man/man3/ast.3ast makronix-util-data -+./usr/pkg/man/man3/attemptckalloc.3 makronix-util-data -+./usr/pkg/man/man3/attemptckrealloc.3 makronix-util-data -+./usr/pkg/man/man3/cdt.3ast makronix-util-data -+./usr/pkg/man/man3/chr.3ast makronix-util-data -+./usr/pkg/man/man3/ckalloc.3 makronix-util-data -+./usr/pkg/man/man3/ckfree.3 makronix-util-data -+./usr/pkg/man/man3/ckrealloc.3 makronix-util-data -+./usr/pkg/man/man3/compat.3ast makronix-util-data -+./usr/pkg/man/man3/constants.h.3 makronix-util-data -+./usr/pkg/man/man3/decode.h.3 makronix-util-data -+./usr/pkg/man/man3/encode.h.3 makronix-util-data -+./usr/pkg/man/man3/error.3ast makronix-util-data -+./usr/pkg/man/man3/find.3ast makronix-util-data -+./usr/pkg/man/man3/fmt.3ast makronix-util-data -+./usr/pkg/man/man3/fmtls.3ast makronix-util-data -+./usr/pkg/man/man3/ftwalk.3ast makronix-util-data -+./usr/pkg/man/man3/getcwd.3ast makronix-util-data -+./usr/pkg/man/man3/hash.3ast makronix-util-data -+./usr/pkg/man/man3/iblocks.3ast makronix-util-data -+./usr/pkg/man/man3/int.3ast makronix-util-data -+./usr/pkg/man/man3/ip6.3ast makronix-util-data -+./usr/pkg/man/man3/libpng.3 makronix-util-data -+./usr/pkg/man/man3/libpngpf.3 makronix-util-data -+./usr/pkg/man/man3/magic.3ast makronix-util-data -+./usr/pkg/man/man3/mem.3ast makronix-util-data -+./usr/pkg/man/man3/mime.3ast makronix-util-data -+./usr/pkg/man/man3/modecanon.3ast makronix-util-data -+./usr/pkg/man/man3/nval.3ast makronix-util-data -+./usr/pkg/man/man3/optget.3ast makronix-util-data -+./usr/pkg/man/man3/path.3ast makronix-util-data -+./usr/pkg/man/man3/proc.3ast makronix-util-data -+./usr/pkg/man/man3/re.3ast makronix-util-data -+./usr/pkg/man/man3/regex.3ast makronix-util-data -+./usr/pkg/man/man3/setenviron.3ast makronix-util-data -+./usr/pkg/man/man3/sfio.3ast makronix-util-data -+./usr/pkg/man/man3/shell.3ast makronix-util-data -+./usr/pkg/man/man3/sig.3ast makronix-util-data -+./usr/pkg/man/man3/spawnveg.3ast makronix-util-data -+./usr/pkg/man/man3/stk.3ast makronix-util-data -+./usr/pkg/man/man3/strcopy.3ast makronix-util-data -+./usr/pkg/man/man3/strdup.3ast makronix-util-data -+./usr/pkg/man/man3/strelapsed.3ast makronix-util-data -+./usr/pkg/man/man3/strerror.3ast makronix-util-data -+./usr/pkg/man/man3/stresc.3ast makronix-util-data -+./usr/pkg/man/man3/streval.3ast makronix-util-data -+./usr/pkg/man/man3/strgid.3ast makronix-util-data -+./usr/pkg/man/man3/strmatch.3ast makronix-util-data -+./usr/pkg/man/man3/stropt.3ast makronix-util-data -+./usr/pkg/man/man3/strperm.3ast makronix-util-data -+./usr/pkg/man/man3/strsignal.3ast makronix-util-data -+./usr/pkg/man/man3/strsort.3ast makronix-util-data -+./usr/pkg/man/man3/strtape.3ast makronix-util-data -+./usr/pkg/man/man3/strton.3ast makronix-util-data -+./usr/pkg/man/man3/struid.3ast makronix-util-data -+./usr/pkg/man/man3/swap.3ast makronix-util-data -+./usr/pkg/man/man3/tab.3ast makronix-util-data -+./usr/pkg/man/man3/tm.3ast makronix-util-data -+./usr/pkg/man/man3/tmx.3ast makronix-util-data -+./usr/pkg/man/man3/tok.3ast makronix-util-data -+./usr/pkg/man/man3/touch.3ast makronix-util-data -+./usr/pkg/man/man3/tv.3ast makronix-util-data -+./usr/pkg/man/man3/types.h.3 makronix-util-data -+./usr/pkg/man/man4 makronix-sys-root -+./usr/pkg/man/man4/mwmrc.4 makronix-util-data -+./usr/pkg/man/man5 makronix-sys-root -+./usr/pkg/man/man5/Traits.5 makronix-util-data -+./usr/pkg/man/man5/UIL.5 makronix-util-data -+./usr/pkg/man/man5/WML.5 makronix-util-data -+./usr/pkg/man/man5/png.5 makronix-util-data -+./usr/pkg/man/mann makronix-sys-root -+./usr/pkg/man/mann/Tcl.n makronix-util-data -+./usr/pkg/man/mann/after.n makronix-util-data -+./usr/pkg/man/mann/append.n makronix-util-data -+./usr/pkg/man/mann/apply.n makronix-util-data -+./usr/pkg/man/mann/argc.n makronix-util-data -+./usr/pkg/man/mann/argv.n makronix-util-data -+./usr/pkg/man/mann/argv0.n makronix-util-data -+./usr/pkg/man/mann/array.n makronix-util-data -+./usr/pkg/man/mann/auto_execok.n makronix-util-data -+./usr/pkg/man/mann/auto_import.n makronix-util-data -+./usr/pkg/man/mann/auto_load.n makronix-util-data -+./usr/pkg/man/mann/auto_mkindex.n makronix-util-data -+./usr/pkg/man/mann/auto_path.n makronix-util-data -+./usr/pkg/man/mann/auto_qualify.n makronix-util-data -+./usr/pkg/man/mann/auto_reset.n makronix-util-data -+./usr/pkg/man/mann/bgerror.n makronix-util-data -+./usr/pkg/man/mann/binary.n makronix-util-data -+./usr/pkg/man/mann/body.n makronix-util-data -+./usr/pkg/man/mann/break.n makronix-util-data -+./usr/pkg/man/mann/case.n makronix-util-data -+./usr/pkg/man/mann/catch.n makronix-util-data -+./usr/pkg/man/mann/cd.n makronix-util-data -+./usr/pkg/man/mann/chan.n makronix-util-data -+./usr/pkg/man/mann/class.n makronix-util-data -+./usr/pkg/man/mann/clock.n makronix-util-data -+./usr/pkg/man/mann/close.n makronix-util-data -+./usr/pkg/man/mann/code.n makronix-util-data -+./usr/pkg/man/mann/concat.n makronix-util-data -+./usr/pkg/man/mann/configbody.n makronix-util-data -+./usr/pkg/man/mann/continue.n makronix-util-data -+./usr/pkg/man/mann/coroutine.n makronix-util-data -+./usr/pkg/man/mann/dde.n makronix-util-data -+./usr/pkg/man/mann/delete.n makronix-util-data -+./usr/pkg/man/mann/dict.n makronix-util-data -+./usr/pkg/man/mann/encoding.n makronix-util-data -+./usr/pkg/man/mann/ensemble.n makronix-util-data -+./usr/pkg/man/mann/env.n makronix-util-data -+./usr/pkg/man/mann/eof.n makronix-util-data -+./usr/pkg/man/mann/error.n makronix-util-data -+./usr/pkg/man/mann/errorCode.n makronix-util-data -+./usr/pkg/man/mann/errorInfo.n makronix-util-data -+./usr/pkg/man/mann/eval.n makronix-util-data -+./usr/pkg/man/mann/exec.n makronix-util-data -+./usr/pkg/man/mann/exit.n makronix-util-data -+./usr/pkg/man/mann/expr.n makronix-util-data -+./usr/pkg/man/mann/fblocked.n makronix-util-data -+./usr/pkg/man/mann/fconfigure.n makronix-util-data -+./usr/pkg/man/mann/fcopy.n makronix-util-data -+./usr/pkg/man/mann/file.n makronix-util-data -+./usr/pkg/man/mann/fileevent.n makronix-util-data -+./usr/pkg/man/mann/filename.n makronix-util-data -+./usr/pkg/man/mann/find.n makronix-util-data -+./usr/pkg/man/mann/flush.n makronix-util-data -+./usr/pkg/man/mann/for.n makronix-util-data -+./usr/pkg/man/mann/foreach.n makronix-util-data -+./usr/pkg/man/mann/format.n makronix-util-data -+./usr/pkg/man/mann/gets.n makronix-util-data -+./usr/pkg/man/mann/glob.n makronix-util-data -+./usr/pkg/man/mann/global.n makronix-util-data -+./usr/pkg/man/mann/history.n makronix-util-data -+./usr/pkg/man/mann/http.n makronix-util-data -+./usr/pkg/man/mann/if.n makronix-util-data -+./usr/pkg/man/mann/incr.n makronix-util-data -+./usr/pkg/man/mann/info.n makronix-util-data -+./usr/pkg/man/mann/interp.n makronix-util-data -+./usr/pkg/man/mann/is.n makronix-util-data -+./usr/pkg/man/mann/itcl.n makronix-util-data -+./usr/pkg/man/mann/itclcomponent.n makronix-util-data -+./usr/pkg/man/mann/itcldelegate.n makronix-util-data -+./usr/pkg/man/mann/itclextendedclass.n makronix-util-data -+./usr/pkg/man/mann/itcloption.n makronix-util-data -+./usr/pkg/man/mann/itclvars.n makronix-util-data -+./usr/pkg/man/mann/itclwidget.n makronix-util-data -+./usr/pkg/man/mann/join.n makronix-util-data -+./usr/pkg/man/mann/lappend.n makronix-util-data -+./usr/pkg/man/mann/lassign.n makronix-util-data -+./usr/pkg/man/mann/library.n makronix-util-data -+./usr/pkg/man/mann/lindex.n makronix-util-data -+./usr/pkg/man/mann/linsert.n makronix-util-data -+./usr/pkg/man/mann/list.n makronix-util-data -+./usr/pkg/man/mann/llength.n makronix-util-data -+./usr/pkg/man/mann/lmap.n makronix-util-data -+./usr/pkg/man/mann/load.n makronix-util-data -+./usr/pkg/man/mann/local.n makronix-util-data -+./usr/pkg/man/mann/lrange.n makronix-util-data -+./usr/pkg/man/mann/lrepeat.n makronix-util-data -+./usr/pkg/man/mann/lreplace.n makronix-util-data -+./usr/pkg/man/mann/lreverse.n makronix-util-data -+./usr/pkg/man/mann/lsearch.n makronix-util-data -+./usr/pkg/man/mann/lset.n makronix-util-data -+./usr/pkg/man/mann/lsort.n makronix-util-data -+./usr/pkg/man/mann/mathfunc.n makronix-util-data -+./usr/pkg/man/mann/mathop.n makronix-util-data -+./usr/pkg/man/mann/memory.n makronix-util-data -+./usr/pkg/man/mann/msgcat.n makronix-util-data -+./usr/pkg/man/mann/my.n makronix-util-data -+./usr/pkg/man/mann/namespace.n makronix-util-data -+./usr/pkg/man/mann/next.n makronix-util-data -+./usr/pkg/man/mann/nextto.n makronix-util-data -+./usr/pkg/man/mann/oo_Slot.n makronix-util-data -+./usr/pkg/man/mann/oo_class.n makronix-util-data -+./usr/pkg/man/mann/oo_copy.n makronix-util-data -+./usr/pkg/man/mann/oo_define.n makronix-util-data -+./usr/pkg/man/mann/oo_objdefine.n makronix-util-data -+./usr/pkg/man/mann/oo_object.n makronix-util-data -+./usr/pkg/man/mann/open.n makronix-util-data -+./usr/pkg/man/mann/package.n makronix-util-data -+./usr/pkg/man/mann/packagens.n makronix-util-data -+./usr/pkg/man/mann/parray.n makronix-util-data -+./usr/pkg/man/mann/pid.n makronix-util-data -+./usr/pkg/man/mann/pkgMkIndex.n makronix-util-data -+./usr/pkg/man/mann/pkg_create.n makronix-util-data -+./usr/pkg/man/mann/pkg_mkIndex.n makronix-util-data -+./usr/pkg/man/mann/platform.n makronix-util-data -+./usr/pkg/man/mann/platform_shell.n makronix-util-data -+./usr/pkg/man/mann/proc.n makronix-util-data -+./usr/pkg/man/mann/puts.n makronix-util-data -+./usr/pkg/man/mann/pwd.n makronix-util-data -+./usr/pkg/man/mann/re_syntax.n makronix-util-data -+./usr/pkg/man/mann/read.n makronix-util-data -+./usr/pkg/man/mann/refchan.n makronix-util-data -+./usr/pkg/man/mann/regexp.n makronix-util-data -+./usr/pkg/man/mann/registry.n makronix-util-data -+./usr/pkg/man/mann/regsub.n makronix-util-data -+./usr/pkg/man/mann/rename.n makronix-util-data -+./usr/pkg/man/mann/return.n makronix-util-data -+./usr/pkg/man/mann/safe.n makronix-util-data -+./usr/pkg/man/mann/scan.n makronix-util-data -+./usr/pkg/man/mann/scope.n makronix-util-data -+./usr/pkg/man/mann/seek.n makronix-util-data -+./usr/pkg/man/mann/self.n makronix-util-data -+./usr/pkg/man/mann/set.n makronix-util-data -+./usr/pkg/man/mann/socket.n makronix-util-data -+./usr/pkg/man/mann/source.n makronix-util-data -+./usr/pkg/man/mann/split.n makronix-util-data -+./usr/pkg/man/mann/sqlite3.n makronix-util-data -+./usr/pkg/man/mann/string.n makronix-util-data -+./usr/pkg/man/mann/subst.n makronix-util-data -+./usr/pkg/man/mann/switch.n makronix-util-data -+./usr/pkg/man/mann/tailcall.n makronix-util-data -+./usr/pkg/man/mann/tcl_endOfWord.n makronix-util-data -+./usr/pkg/man/mann/tcl_findLibrary.n makronix-util-data -+./usr/pkg/man/mann/tcl_interactive.n makronix-util-data -+./usr/pkg/man/mann/tcl_library.n makronix-util-data -+./usr/pkg/man/mann/tcl_nonwordchars.n makronix-util-data -+./usr/pkg/man/mann/tcl_patchLevel.n makronix-util-data -+./usr/pkg/man/mann/tcl_pkgPath.n makronix-util-data -+./usr/pkg/man/mann/tcl_platform.n makronix-util-data -+./usr/pkg/man/mann/tcl_precision.n makronix-util-data -+./usr/pkg/man/mann/tcl_prefix.n makronix-util-data -+./usr/pkg/man/mann/tcl_rcFileName.n makronix-util-data -+./usr/pkg/man/mann/tcl_startOfNextWord.n makronix-util-data -+./usr/pkg/man/mann/tcl_startOfPreviousWord.n makronix-util-data -+./usr/pkg/man/mann/tcl_traceCompile.n makronix-util-data -+./usr/pkg/man/mann/tcl_traceExec.n makronix-util-data -+./usr/pkg/man/mann/tcl_version.n makronix-util-data -+./usr/pkg/man/mann/tcl_wordBreakAfter.n makronix-util-data -+./usr/pkg/man/mann/tcl_wordBreakBefore.n makronix-util-data -+./usr/pkg/man/mann/tcl_wordchars.n makronix-util-data -+./usr/pkg/man/mann/tcltest.n makronix-util-data -+./usr/pkg/man/mann/tdbc.n makronix-util-data -+./usr/pkg/man/mann/tdbc_connection.n makronix-util-data -+./usr/pkg/man/mann/tdbc_mapSqlState.n makronix-util-data -+./usr/pkg/man/mann/tdbc_mysql.n makronix-util-data -+./usr/pkg/man/mann/tdbc_odbc.n makronix-util-data -+./usr/pkg/man/mann/tdbc_postgres.n makronix-util-data -+./usr/pkg/man/mann/tdbc_resultset.n makronix-util-data -+./usr/pkg/man/mann/tdbc_sqlite3.n makronix-util-data -+./usr/pkg/man/mann/tdbc_statement.n makronix-util-data -+./usr/pkg/man/mann/tdbc_tokenize.n makronix-util-data -+./usr/pkg/man/mann/tell.n makronix-util-data -+./usr/pkg/man/mann/thread.n makronix-util-data -+./usr/pkg/man/mann/throw.n makronix-util-data -+./usr/pkg/man/mann/time.n makronix-util-data -+./usr/pkg/man/mann/timerate.n makronix-util-data -+./usr/pkg/man/mann/tm.n makronix-util-data -+./usr/pkg/man/mann/tpool.n makronix-util-data -+./usr/pkg/man/mann/trace.n makronix-util-data -+./usr/pkg/man/mann/transchan.n makronix-util-data -+./usr/pkg/man/mann/try.n makronix-util-data -+./usr/pkg/man/mann/tsv.n makronix-util-data -+./usr/pkg/man/mann/ttrace.n makronix-util-data -+./usr/pkg/man/mann/unknown.n makronix-util-data -+./usr/pkg/man/mann/unload.n makronix-util-data -+./usr/pkg/man/mann/unset.n makronix-util-data -+./usr/pkg/man/mann/update.n makronix-util-data -+./usr/pkg/man/mann/uplevel.n makronix-util-data -+./usr/pkg/man/mann/upvar.n makronix-util-data -+./usr/pkg/man/mann/variable.n makronix-util-data -+./usr/pkg/man/mann/vwait.n makronix-util-data -+./usr/pkg/man/mann/while.n makronix-util-data -+./usr/pkg/man/mann/yield.n makronix-util-data -+./usr/pkg/man/mann/yieldto.n makronix-util-data -+./usr/pkg/man/mann/zlib.n makronix-util-data - ./usr/pkg/share makronix-sys-root -+./usr/pkg/share/OpenSP makronix-sys-root -+./usr/pkg/share/OpenSP/HTML32.dcl makronix-util-data -+./usr/pkg/share/OpenSP/HTML32.dtd makronix-util-data -+./usr/pkg/share/OpenSP/HTML32.soc makronix-util-data -+./usr/pkg/share/OpenSP/HTML4-f.dtd makronix-util-data -+./usr/pkg/share/OpenSP/HTML4-s.dtd makronix-util-data -+./usr/pkg/share/OpenSP/HTML4.dcl makronix-util-data -+./usr/pkg/share/OpenSP/HTML4.dtd makronix-util-data -+./usr/pkg/share/OpenSP/HTML4.soc makronix-util-data -+./usr/pkg/share/OpenSP/HTMLlat1.ent makronix-util-data -+./usr/pkg/share/OpenSP/HTMLspec.ent makronix-util-data -+./usr/pkg/share/OpenSP/HTMLsym.ent makronix-util-data -+./usr/pkg/share/OpenSP/ISOlat1.ent makronix-util-data -+./usr/pkg/share/OpenSP/ISOlat1.sgm makronix-util-data -+./usr/pkg/share/OpenSP/catalog makronix-util-data -+./usr/pkg/share/OpenSP/demo.sgm makronix-util-data -+./usr/pkg/share/OpenSP/gensyntax.pl makronix-util-data -+./usr/pkg/share/OpenSP/html-1.dtd makronix-util-data -+./usr/pkg/share/OpenSP/html-1s.dtd makronix-util-data -+./usr/pkg/share/OpenSP/html-s.dtd makronix-util-data -+./usr/pkg/share/OpenSP/html.dcl makronix-util-data -+./usr/pkg/share/OpenSP/html.dtd makronix-util-data -+./usr/pkg/share/OpenSP/html.soc makronix-util-data -+./usr/pkg/share/OpenSP/japan.dcl makronix-util-data -+./usr/pkg/share/OpenSP/opensp-implied.dcl makronix-util-data -+./usr/pkg/share/OpenSP/unicode.sd makronix-util-data -+./usr/pkg/share/OpenSP/unicode.syn makronix-util-data -+./usr/pkg/share/OpenSP/xml.dcl makronix-util-data -+./usr/pkg/share/OpenSP/xml.soc makronix-util-data -+./usr/pkg/share/aclocal makronix-sys-root -+./usr/pkg/share/aclocal/freetype2.m4 makronix-util-data -+./usr/pkg/share/doc makronix-sys-root -+./usr/pkg/share/doc/OpenSP makronix-sys-root -+./usr/pkg/share/doc/OpenSP/ABOUT-NLS makronix-util-data -+./usr/pkg/share/doc/OpenSP/AUTHORS makronix-util-data -+./usr/pkg/share/doc/OpenSP/BUGS makronix-util-data -+./usr/pkg/share/doc/OpenSP/COPYING makronix-util-data -+./usr/pkg/share/doc/OpenSP/ChangeLog makronix-util-data -+./usr/pkg/share/doc/OpenSP/NEWS makronix-util-data -+./usr/pkg/share/doc/OpenSP/README makronix-util-data -+./usr/pkg/share/doc/OpenSP/archform.htm makronix-util-data -+./usr/pkg/share/doc/OpenSP/autoconf.htm makronix-util-data -+./usr/pkg/share/doc/OpenSP/build.htm makronix-util-data -+./usr/pkg/share/doc/OpenSP/catalog.htm makronix-util-data -+./usr/pkg/share/doc/OpenSP/charset.htm makronix-util-data -+./usr/pkg/share/doc/OpenSP/features.htm makronix-util-data -+./usr/pkg/share/doc/OpenSP/generic.htm makronix-util-data -+./usr/pkg/share/doc/OpenSP/ideas.htm makronix-util-data -+./usr/pkg/share/doc/OpenSP/index.htm makronix-util-data -+./usr/pkg/share/doc/OpenSP/new.htm makronix-util-data -+./usr/pkg/share/doc/OpenSP/nsgmls.htm makronix-util-data -+./usr/pkg/share/doc/OpenSP/releasenotes.html makronix-util-data -+./usr/pkg/share/doc/OpenSP/sgmldecl.htm makronix-util-data -+./usr/pkg/share/doc/OpenSP/sgmlnorm.htm makronix-util-data -+./usr/pkg/share/doc/OpenSP/sgmlsout.htm makronix-util-data -+./usr/pkg/share/doc/OpenSP/spam.htm makronix-util-data -+./usr/pkg/share/doc/OpenSP/spcat.htm makronix-util-data -+./usr/pkg/share/doc/OpenSP/spent.htm makronix-util-data -+./usr/pkg/share/doc/OpenSP/sx.htm makronix-util-data -+./usr/pkg/share/doc/OpenSP/sysdecl.htm makronix-util-data -+./usr/pkg/share/doc/OpenSP/sysid.htm makronix-util-data -+./usr/pkg/share/doc/OpenSP/xml.htm makronix-util-data -+./usr/pkg/share/doc/OpenSP/xmlwarn.htm makronix-util-data -+./usr/pkg/share/doc/cde makronix-sys-root -+./usr/pkg/share/doc/cde/CONTRIBUTORS makronix-util-data -+./usr/pkg/share/doc/cde/COPYING makronix-util-data -+./usr/pkg/share/doc/cde/HISTORY makronix-util-data -+./usr/pkg/share/doc/cde/README.md makronix-util-data -+./usr/pkg/share/doc/cde/README.netbsd makronix-util-data -+./usr/pkg/share/doc/cde/README.pkgsrc makronix-util-data -+./usr/pkg/share/doc/flex makronix-sys-root -+./usr/pkg/share/doc/flex/AUTHORS makronix-util-data -+./usr/pkg/share/doc/flex/COPYING makronix-util-data -+./usr/pkg/share/doc/flex/NEWS makronix-util-data -+./usr/pkg/share/doc/flex/ONEWS makronix-util-data -+./usr/pkg/share/doc/flex/README.md makronix-util-data -+./usr/pkg/share/doc/font-adobe-100dpi makronix-sys-root -+./usr/pkg/share/doc/font-adobe-100dpi/COPYING makronix-util-data -+./usr/pkg/share/doc/font-adobe-75dpi makronix-sys-root -+./usr/pkg/share/doc/font-adobe-75dpi/COPYING makronix-util-data -+./usr/pkg/share/doc/libjpeg-turbo makronix-sys-root -+./usr/pkg/share/doc/libjpeg-turbo/LICENSE.md makronix-util-data -+./usr/pkg/share/doc/libjpeg-turbo/README.ijg makronix-util-data -+./usr/pkg/share/doc/libjpeg-turbo/README.md makronix-util-data -+./usr/pkg/share/doc/libjpeg-turbo/example.c makronix-util-data -+./usr/pkg/share/doc/libjpeg-turbo/libjpeg.txt makronix-util-data -+./usr/pkg/share/doc/libjpeg-turbo/structure.txt makronix-util-data -+./usr/pkg/share/doc/libjpeg-turbo/tjcomp.c makronix-util-data -+./usr/pkg/share/doc/libjpeg-turbo/tjdecomp.c makronix-util-data -+./usr/pkg/share/doc/libjpeg-turbo/tjtran.c makronix-util-data -+./usr/pkg/share/doc/libjpeg-turbo/usage.txt makronix-util-data -+./usr/pkg/share/doc/libjpeg-turbo/wizard.txt makronix-util-data -+./usr/pkg/share/examples makronix-sys-root -+./usr/pkg/share/examples/fontconfig makronix-sys-root -+./usr/pkg/share/examples/fontconfig/conf.d makronix-sys-root -+./usr/pkg/share/examples/fontconfig/conf.d/README makronix-util-data -+./usr/pkg/share/examples/fontconfig/fonts.conf makronix-util-data -+./usr/pkg/share/examples/ksh93 makronix-sys-root -+./usr/pkg/share/examples/ksh93/kshrc makronix-util-data -+./usr/pkg/share/examples/pam-pwauth_suid makronix-sys-root -+./usr/pkg/share/examples/pam-pwauth_suid/xscreensaver makronix-util-data -+./usr/pkg/share/examples/pam.d makronix-sys-root -+./usr/pkg/share/examples/pam.d/cde makronix-util-data -+./usr/pkg/share/examples/pam.d/dtlogin makronix-util-data -+./usr/pkg/share/examples/pam.d/dtsession makronix-util-data -+./usr/pkg/share/examples/rc.d makronix-sys-root -+./usr/pkg/share/examples/rc.d/dtlogin makronix-util-data -+./usr/pkg/share/fontconfig makronix-sys-root -+./usr/pkg/share/fontconfig/conf.avail makronix-sys-root -+./usr/pkg/share/fontconfig/conf.avail/05-reset-dirs-sample.conf makronix-util-data -+./usr/pkg/share/fontconfig/conf.avail/09-autohint-if-no-hinting.conf makronix-util-data -+./usr/pkg/share/fontconfig/conf.avail/10-autohint.conf makronix-util-data -+./usr/pkg/share/fontconfig/conf.avail/10-hinting-full.conf makronix-util-data -+./usr/pkg/share/fontconfig/conf.avail/10-hinting-medium.conf makronix-util-data -+./usr/pkg/share/fontconfig/conf.avail/10-hinting-none.conf makronix-util-data -+./usr/pkg/share/fontconfig/conf.avail/10-hinting-slight.conf makronix-util-data -+./usr/pkg/share/fontconfig/conf.avail/10-no-antialias.conf makronix-util-data -+./usr/pkg/share/fontconfig/conf.avail/10-scale-bitmap-fonts.conf makronix-util-data -+./usr/pkg/share/fontconfig/conf.avail/10-sub-pixel-bgr.conf makronix-util-data -+./usr/pkg/share/fontconfig/conf.avail/10-sub-pixel-none.conf makronix-util-data -+./usr/pkg/share/fontconfig/conf.avail/10-sub-pixel-rgb.conf makronix-util-data -+./usr/pkg/share/fontconfig/conf.avail/10-sub-pixel-vbgr.conf makronix-util-data -+./usr/pkg/share/fontconfig/conf.avail/10-sub-pixel-vrgb.conf makronix-util-data -+./usr/pkg/share/fontconfig/conf.avail/10-unhinted.conf makronix-util-data -+./usr/pkg/share/fontconfig/conf.avail/10-yes-antialias.conf makronix-util-data -+./usr/pkg/share/fontconfig/conf.avail/11-lcdfilter-default.conf makronix-util-data -+./usr/pkg/share/fontconfig/conf.avail/11-lcdfilter-legacy.conf makronix-util-data -+./usr/pkg/share/fontconfig/conf.avail/11-lcdfilter-light.conf makronix-util-data -+./usr/pkg/share/fontconfig/conf.avail/11-lcdfilter-none.conf makronix-util-data -+./usr/pkg/share/fontconfig/conf.avail/20-unhint-small-vera.conf makronix-util-data -+./usr/pkg/share/fontconfig/conf.avail/25-unhint-nonlatin.conf makronix-util-data -+./usr/pkg/share/fontconfig/conf.avail/30-metric-aliases.conf makronix-util-data -+./usr/pkg/share/fontconfig/conf.avail/30-pkgsrc-aliases.conf makronix-util-data -+./usr/pkg/share/fontconfig/conf.avail/35-lang-normalize.conf makronix-util-data -+./usr/pkg/share/fontconfig/conf.avail/40-nonlatin.conf makronix-util-data -+./usr/pkg/share/fontconfig/conf.avail/45-generic.conf makronix-util-data -+./usr/pkg/share/fontconfig/conf.avail/45-latin.conf makronix-util-data -+./usr/pkg/share/fontconfig/conf.avail/48-guessfamily.conf makronix-util-data -+./usr/pkg/share/fontconfig/conf.avail/48-spacing.conf makronix-util-data -+./usr/pkg/share/fontconfig/conf.avail/49-sansserif.conf makronix-util-data -+./usr/pkg/share/fontconfig/conf.avail/50-user.conf makronix-util-data -+./usr/pkg/share/fontconfig/conf.avail/51-local.conf makronix-util-data -+./usr/pkg/share/fontconfig/conf.avail/60-generic.conf makronix-util-data -+./usr/pkg/share/fontconfig/conf.avail/60-latin.conf makronix-util-data -+./usr/pkg/share/fontconfig/conf.avail/65-fonts-persian.conf makronix-util-data -+./usr/pkg/share/fontconfig/conf.avail/65-khmer.conf makronix-util-data -+./usr/pkg/share/fontconfig/conf.avail/65-nonlatin.conf makronix-util-data -+./usr/pkg/share/fontconfig/conf.avail/69-unifont.conf makronix-util-data -+./usr/pkg/share/fontconfig/conf.avail/70-no-bitmap-webfonts.conf makronix-util-data -+./usr/pkg/share/fontconfig/conf.avail/70-no-bitmaps-and-emoji.conf makronix-util-data -+./usr/pkg/share/fontconfig/conf.avail/70-no-bitmaps-except-emoji.conf makronix-util-data -+./usr/pkg/share/fontconfig/conf.avail/70-no-bitmaps.conf makronix-util-data -+./usr/pkg/share/fontconfig/conf.avail/70-yes-bitmaps.conf makronix-util-data -+./usr/pkg/share/fontconfig/conf.avail/80-delicious.conf makronix-util-data -+./usr/pkg/share/fontconfig/conf.avail/90-synthetic.conf makronix-util-data -+./usr/pkg/share/fonts makronix-sys-root -+./usr/pkg/share/fonts/X11 makronix-sys-root -+./usr/pkg/share/fonts/X11/100dpi makronix-sys-root -+./usr/pkg/share/fonts/X11/100dpi/courB08-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB08-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB08-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB08-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB08-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB08-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB08-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB08-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB08-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB08.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB10-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB10-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB10-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB10-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB10-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB10-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB10-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB10-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB10-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB12-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB12-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB12-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB12-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB12-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB12-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB12-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB12-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB12-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB12.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB14-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB14-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB14-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB14-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB14-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB14-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB14-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB14-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB14-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB18-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB18-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB18-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB18-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB18-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB18-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB18-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB18-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB18-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB18.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB24-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB24-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB24-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB24-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB24-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB24-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB24-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB24-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB24-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courB24.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO08-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO08-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO08-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO08-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO08-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO08-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO08-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO08-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO08-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO08.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO10-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO10-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO10-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO10-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO10-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO10-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO10-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO10-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO10-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO12-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO12-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO12-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO12-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO12-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO12-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO12-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO12-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO12-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO12.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO14-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO14-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO14-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO14-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO14-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO14-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO14-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO14-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO14-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO18-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO18-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO18-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO18-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO18-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO18-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO18-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO18-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO18-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO18.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO24-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO24-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO24-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO24-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO24-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO24-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO24-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO24-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO24-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courBO24.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO08-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO08-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO08-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO08-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO08-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO08-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO08-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO08-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO08-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO08.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO10-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO10-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO10-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO10-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO10-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO10-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO10-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO10-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO10-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO12-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO12-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO12-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO12-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO12-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO12-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO12-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO12-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO12-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO12.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO14-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO14-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO14-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO14-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO14-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO14-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO14-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO14-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO14-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO18-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO18-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO18-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO18-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO18-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO18-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO18-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO18-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO18-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO18.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO24-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO24-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO24-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO24-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO24-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO24-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO24-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO24-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO24-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courO24.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR08-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR08-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR08-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR08-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR08-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR08-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR08-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR08-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR08-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR08.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR10-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR10-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR10-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR10-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR10-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR10-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR10-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR10-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR10-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR12-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR12-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR12-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR12-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR12-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR12-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR12-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR12-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR12-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR12.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR14-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR14-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR14-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR14-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR14-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR14-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR14-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR14-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR14-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR18-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR18-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR18-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR18-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR18-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR18-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR18-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR18-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR18-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR18.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR24-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR24-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR24-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR24-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR24-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR24-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR24-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR24-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR24-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/courR24.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB08-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB08-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB08-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB08-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB08-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB08-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB08-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB08-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB08-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB08.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB10-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB10-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB10-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB10-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB10-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB10-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB10-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB10-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB10-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB12-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB12-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB12-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB12-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB12-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB12-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB12-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB12-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB12-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB12.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB14-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB14-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB14-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB14-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB14-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB14-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB14-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB14-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB14-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB18-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB18-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB18-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB18-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB18-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB18-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB18-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB18-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB18-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB18.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB24-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB24-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB24-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB24-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB24-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB24-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB24-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB24-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB24-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvB24.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO08-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO08-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO08-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO08-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO08-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO08-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO08-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO08-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO08-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO08.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO10-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO10-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO10-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO10-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO10-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO10-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO10-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO10-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO10-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO12-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO12-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO12-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO12-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO12-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO12-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO12-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO12-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO12-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO12.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO14-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO14-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO14-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO14-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO14-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO14-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO14-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO14-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO14-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO18-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO18-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO18-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO18-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO18-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO18-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO18-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO18-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO18-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO18.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO24-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO24-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO24-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO24-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO24-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO24-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO24-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO24-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO24-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvBO24.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO08-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO08-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO08-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO08-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO08-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO08-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO08-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO08-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO08-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO08.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO10-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO10-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO10-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO10-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO10-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO10-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO10-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO10-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO10-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO12-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO12-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO12-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO12-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO12-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO12-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO12-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO12-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO12-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO12.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO14-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO14-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO14-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO14-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO14-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO14-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO14-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO14-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO14-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO18-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO18-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO18-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO18-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO18-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO18-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO18-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO18-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO18-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO18.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO24-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO24-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO24-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO24-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO24-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO24-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO24-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO24-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO24-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvO24.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR08-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR08-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR08-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR08-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR08-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR08-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR08-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR08-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR08-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR08.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR10-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR10-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR10-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR10-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR10-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR10-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR10-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR10-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR10-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR12-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR12-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR12-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR12-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR12-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR12-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR12-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR12-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR12-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR12.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR14-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR14-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR14-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR14-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR14-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR14-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR14-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR14-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR14-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR18-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR18-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR18-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR18-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR18-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR18-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR18-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR18-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR18-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR18.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR24-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR24-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR24-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR24-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR24-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR24-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR24-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR24-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR24-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/helvR24.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB08-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB08-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB08-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB08-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB08-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB08-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB08-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB08-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB08-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB08.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB10-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB10-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB10-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB10-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB10-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB10-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB10-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB10-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB10-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB12-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB12-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB12-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB12-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB12-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB12-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB12-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB12-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB12-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB12.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB14-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB14-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB14-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB14-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB14-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB14-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB14-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB14-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB14-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB18-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB18-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB18-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB18-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB18-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB18-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB18-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB18-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB18-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB18.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB24-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB24-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB24-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB24-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB24-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB24-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB24-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB24-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB24-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenB24.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI08-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI08-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI08-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI08-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI08-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI08-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI08-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI08-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI08-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI08.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI10-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI10-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI10-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI10-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI10-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI10-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI10-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI10-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI10-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI12-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI12-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI12-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI12-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI12-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI12-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI12-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI12-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI12-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI12.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI14-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI14-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI14-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI14-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI14-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI14-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI14-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI14-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI14-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI18-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI18-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI18-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI18-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI18-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI18-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI18-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI18-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI18-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI18.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI24-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI24-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI24-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI24-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI24-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI24-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI24-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI24-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI24-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenBI24.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI08-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI08-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI08-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI08-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI08-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI08-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI08-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI08-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI08-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI08.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI10-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI10-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI10-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI10-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI10-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI10-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI10-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI10-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI10-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI12-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI12-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI12-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI12-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI12-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI12-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI12-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI12-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI12-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI12.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI14-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI14-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI14-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI14-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI14-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI14-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI14-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI14-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI14-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI18-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI18-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI18-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI18-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI18-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI18-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI18-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI18-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI18-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI18.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI24-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI24-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI24-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI24-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI24-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI24-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI24-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI24-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI24-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenI24.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR08-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR08-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR08-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR08-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR08-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR08-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR08-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR08-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR08-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR08.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR10-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR10-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR10-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR10-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR10-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR10-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR10-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR10-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR10-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR12-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR12-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR12-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR12-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR12-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR12-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR12-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR12-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR12-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR12.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR14-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR14-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR14-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR14-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR14-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR14-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR14-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR14-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR14-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR18-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR18-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR18-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR18-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR18-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR18-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR18-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR18-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR18-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR18.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR24-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR24-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR24-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR24-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR24-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR24-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR24-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR24-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR24-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/ncenR24.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/symb08.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/symb10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/symb12.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/symb14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/symb18.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/symb24.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB08-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB08-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB08-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB08-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB08-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB08-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB08-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB08-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB08-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB08.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB10-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB10-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB10-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB10-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB10-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB10-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB10-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB10-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB10-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB12-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB12-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB12-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB12-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB12-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB12-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB12-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB12-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB12-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB12.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB14-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB14-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB14-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB14-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB14-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB14-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB14-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB14-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB14-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB18-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB18-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB18-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB18-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB18-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB18-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB18-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB18-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB18-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB18.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB24-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB24-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB24-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB24-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB24-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB24-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB24-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB24-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB24-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timB24.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI08-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI08-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI08-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI08-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI08-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI08-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI08-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI08-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI08-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI08.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI10-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI10-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI10-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI10-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI10-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI10-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI10-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI10-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI10-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI12-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI12-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI12-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI12-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI12-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI12-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI12-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI12-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI12-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI12.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI14-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI14-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI14-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI14-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI14-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI14-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI14-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI14-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI14-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI18-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI18-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI18-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI18-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI18-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI18-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI18-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI18-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI18-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI18.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI24-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI24-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI24-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI24-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI24-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI24-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI24-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI24-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI24-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timBI24.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI08-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI08-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI08-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI08-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI08-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI08-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI08-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI08-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI08-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI08.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI10-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI10-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI10-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI10-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI10-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI10-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI10-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI10-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI10-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI12-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI12-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI12-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI12-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI12-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI12-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI12-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI12-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI12-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI12.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI14-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI14-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI14-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI14-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI14-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI14-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI14-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI14-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI14-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI18-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI18-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI18-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI18-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI18-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI18-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI18-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI18-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI18-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI18.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI24-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI24-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI24-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI24-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI24-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI24-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI24-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI24-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI24-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timI24.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR08-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR08-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR08-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR08-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR08-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR08-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR08-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR08-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR08-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR08.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR10-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR10-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR10-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR10-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR10-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR10-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR10-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR10-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR10-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR12-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR12-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR12-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR12-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR12-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR12-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR12-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR12-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR12-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR12.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR14-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR14-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR14-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR14-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR14-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR14-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR14-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR14-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR14-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR18-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR18-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR18-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR18-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR18-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR18-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR18-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR18-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR18-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR18.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR24-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR24-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR24-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR24-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR24-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR24-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR24-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR24-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR24-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/100dpi/timR24.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi makronix-sys-root -+./usr/pkg/share/fonts/X11/75dpi/courB08-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB08-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB08-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB08-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB08-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB08-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB08-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB08-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB08-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB08.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB10-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB10-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB10-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB10-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB10-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB10-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB10-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB10-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB10-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB12-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB12-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB12-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB12-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB12-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB12-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB12-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB12-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB12-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB12.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB14-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB14-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB14-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB14-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB14-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB14-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB14-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB14-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB14-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB18-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB18-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB18-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB18-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB18-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB18-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB18-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB18-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB18-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB18.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB24-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB24-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB24-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB24-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB24-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB24-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB24-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB24-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB24-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courB24.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO08-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO08-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO08-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO08-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO08-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO08-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO08-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO08-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO08-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO08.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO10-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO10-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO10-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO10-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO10-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO10-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO10-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO10-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO10-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO12-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO12-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO12-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO12-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO12-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO12-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO12-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO12-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO12-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO12.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO14-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO14-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO14-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO14-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO14-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO14-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO14-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO14-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO14-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO18-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO18-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO18-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO18-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO18-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO18-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO18-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO18-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO18-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO18.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO24-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO24-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO24-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO24-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO24-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO24-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO24-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO24-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO24-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courBO24.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO08-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO08-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO08-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO08-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO08-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO08-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO08-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO08-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO08-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO08.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO10-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO10-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO10-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO10-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO10-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO10-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO10-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO10-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO10-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO12-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO12-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO12-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO12-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO12-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO12-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO12-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO12-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO12-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO12.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO14-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO14-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO14-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO14-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO14-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO14-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO14-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO14-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO14-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO18-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO18-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO18-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO18-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO18-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO18-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO18-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO18-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO18-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO18.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO24-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO24-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO24-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO24-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO24-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO24-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO24-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO24-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO24-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courO24.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR08-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR08-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR08-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR08-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR08-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR08-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR08-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR08-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR08-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR08.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR10-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR10-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR10-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR10-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR10-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR10-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR10-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR10-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR10-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR12-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR12-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR12-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR12-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR12-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR12-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR12-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR12-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR12-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR12.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR14-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR14-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR14-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR14-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR14-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR14-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR14-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR14-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR14-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR18-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR18-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR18-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR18-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR18-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR18-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR18-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR18-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR18-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR18.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR24-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR24-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR24-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR24-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR24-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR24-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR24-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR24-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR24-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/courR24.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB08-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB08-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB08-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB08-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB08-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB08-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB08-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB08-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB08-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB08.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB10-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB10-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB10-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB10-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB10-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB10-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB10-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB10-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB10-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB12-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB12-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB12-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB12-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB12-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB12-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB12-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB12-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB12-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB12.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB14-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB14-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB14-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB14-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB14-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB14-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB14-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB14-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB14-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB18-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB18-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB18-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB18-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB18-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB18-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB18-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB18-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB18-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB18.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB24-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB24-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB24-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB24-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB24-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB24-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB24-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB24-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB24-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvB24.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO08-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO08-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO08-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO08-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO08-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO08-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO08-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO08-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO08-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO08.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO10-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO10-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO10-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO10-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO10-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO10-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO10-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO10-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO10-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO12-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO12-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO12-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO12-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO12-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO12-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO12-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO12-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO12-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO12.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO14-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO14-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO14-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO14-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO14-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO14-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO14-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO14-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO14-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO18-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO18-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO18-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO18-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO18-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO18-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO18-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO18-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO18-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO18.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO24-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO24-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO24-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO24-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO24-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO24-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO24-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO24-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO24-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvBO24.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO08-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO08-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO08-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO08-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO08-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO08-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO08-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO08-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO08-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO08.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO10-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO10-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO10-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO10-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO10-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO10-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO10-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO10-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO10-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO12-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO12-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO12-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO12-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO12-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO12-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO12-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO12-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO12-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO12.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO14-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO14-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO14-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO14-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO14-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO14-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO14-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO14-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO14-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO18-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO18-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO18-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO18-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO18-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO18-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO18-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO18-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO18-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO18.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO24-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO24-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO24-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO24-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO24-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO24-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO24-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO24-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO24-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvO24.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR08-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR08-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR08-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR08-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR08-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR08-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR08-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR08-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR08-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR08.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR10-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR10-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR10-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR10-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR10-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR10-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR10-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR10-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR10-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR12-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR12-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR12-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR12-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR12-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR12-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR12-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR12-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR12-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR12.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR14-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR14-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR14-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR14-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR14-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR14-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR14-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR14-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR14-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR18-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR18-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR18-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR18-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR18-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR18-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR18-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR18-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR18-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR18.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR24-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR24-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR24-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR24-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR24-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR24-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR24-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR24-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR24-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/helvR24.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB08-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB08-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB08-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB08-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB08-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB08-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB08-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB08-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB08-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB08.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB10-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB10-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB10-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB10-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB10-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB10-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB10-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB10-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB10-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB12-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB12-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB12-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB12-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB12-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB12-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB12-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB12-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB12-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB12.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB14-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB14-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB14-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB14-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB14-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB14-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB14-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB14-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB14-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB18-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB18-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB18-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB18-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB18-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB18-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB18-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB18-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB18-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB18.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB24-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB24-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB24-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB24-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB24-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB24-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB24-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB24-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB24-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenB24.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI08-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI08-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI08-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI08-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI08-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI08-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI08-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI08-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI08-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI08.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI10-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI10-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI10-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI10-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI10-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI10-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI10-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI10-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI10-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI12-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI12-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI12-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI12-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI12-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI12-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI12-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI12-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI12-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI12.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI14-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI14-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI14-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI14-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI14-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI14-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI14-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI14-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI14-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI18-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI18-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI18-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI18-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI18-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI18-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI18-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI18-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI18-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI18.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI24-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI24-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI24-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI24-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI24-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI24-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI24-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI24-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI24-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenBI24.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI08-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI08-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI08-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI08-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI08-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI08-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI08-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI08-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI08-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI08.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI10-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI10-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI10-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI10-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI10-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI10-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI10-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI10-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI10-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI12-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI12-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI12-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI12-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI12-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI12-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI12-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI12-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI12-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI12.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI14-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI14-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI14-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI14-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI14-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI14-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI14-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI14-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI14-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI18-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI18-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI18-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI18-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI18-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI18-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI18-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI18-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI18-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI18.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI24-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI24-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI24-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI24-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI24-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI24-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI24-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI24-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI24-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenI24.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR08-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR08-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR08-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR08-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR08-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR08-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR08-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR08-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR08-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR08.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR10-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR10-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR10-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR10-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR10-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR10-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR10-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR10-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR10-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR12-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR12-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR12-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR12-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR12-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR12-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR12-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR12-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR12-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR12.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR14-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR14-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR14-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR14-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR14-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR14-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR14-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR14-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR14-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR18-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR18-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR18-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR18-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR18-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR18-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR18-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR18-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR18-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR18.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR24-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR24-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR24-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR24-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR24-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR24-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR24-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR24-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR24-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/ncenR24.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/symb08.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/symb10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/symb12.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/symb14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/symb18.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/symb24.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB08-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB08-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB08-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB08-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB08-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB08-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB08-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB08-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB08-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB08.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB10-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB10-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB10-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB10-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB10-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB10-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB10-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB10-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB10-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB12-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB12-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB12-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB12-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB12-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB12-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB12-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB12-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB12-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB12.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB14-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB14-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB14-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB14-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB14-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB14-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB14-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB14-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB14-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB18-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB18-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB18-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB18-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB18-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB18-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB18-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB18-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB18-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB18.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB24-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB24-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB24-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB24-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB24-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB24-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB24-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB24-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB24-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timB24.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI08-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI08-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI08-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI08-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI08-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI08-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI08-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI08-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI08-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI08.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI10-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI10-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI10-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI10-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI10-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI10-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI10-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI10-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI10-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI12-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI12-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI12-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI12-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI12-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI12-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI12-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI12-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI12-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI12.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI14-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI14-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI14-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI14-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI14-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI14-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI14-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI14-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI14-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI18-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI18-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI18-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI18-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI18-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI18-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI18-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI18-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI18-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI18.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI24-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI24-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI24-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI24-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI24-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI24-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI24-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI24-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI24-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timBI24.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI08-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI08-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI08-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI08-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI08-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI08-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI08-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI08-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI08-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI08.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI10-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI10-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI10-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI10-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI10-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI10-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI10-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI10-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI10-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI12-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI12-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI12-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI12-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI12-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI12-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI12-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI12-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI12-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI12.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI14-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI14-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI14-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI14-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI14-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI14-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI14-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI14-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI14-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI18-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI18-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI18-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI18-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI18-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI18-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI18-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI18-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI18-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI18.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI24-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI24-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI24-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI24-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI24-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI24-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI24-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI24-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI24-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timI24.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR08-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR08-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR08-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR08-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR08-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR08-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR08-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR08-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR08-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR08.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR10-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR10-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR10-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR10-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR10-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR10-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR10-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR10-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR10-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR12-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR12-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR12-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR12-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR12-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR12-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR12-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR12-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR12-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR12.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR14-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR14-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR14-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR14-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR14-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR14-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR14-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR14-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR14-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR18-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR18-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR18-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR18-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR18-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR18-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR18-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR18-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR18-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR18.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR24-ISO8859-1.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR24-ISO8859-10.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR24-ISO8859-13.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR24-ISO8859-14.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR24-ISO8859-15.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR24-ISO8859-2.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR24-ISO8859-3.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR24-ISO8859-4.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR24-ISO8859-9.pcf.gz makronix-util-data -+./usr/pkg/share/fonts/X11/75dpi/timR24.pcf.gz makronix-util-data -+./usr/pkg/share/gettext makronix-sys-root -+./usr/pkg/share/gettext/its makronix-sys-root -+./usr/pkg/share/gettext/its/fontconfig.its makronix-util-data -+./usr/pkg/share/gettext/its/fontconfig.loc makronix-util-data -+./usr/pkg/share/locale makronix-sys-root -+./usr/pkg/share/locale/de makronix-sys-root -+./usr/pkg/share/locale/de/LC_MESSAGES makronix-sys-root -+./usr/pkg/share/locale/de/LC_MESSAGES/sp5.mo makronix-util-data -+./usr/pkg/share/locale/fr makronix-sys-root -+./usr/pkg/share/locale/fr/LC_MESSAGES makronix-sys-root -+./usr/pkg/share/locale/fr/LC_MESSAGES/sp5.mo makronix-util-data -+./usr/pkg/share/locale/ja makronix-sys-root -+./usr/pkg/share/locale/ja/LC_MESSAGES makronix-sys-root -+./usr/pkg/share/locale/ja/LC_MESSAGES/sp5.mo makronix-util-data -+./usr/pkg/share/locale/ka makronix-sys-root -+./usr/pkg/share/locale/ka/LC_MESSAGES makronix-sys-root -+./usr/pkg/share/locale/ka/LC_MESSAGES/fontconfig-conf.mo makronix-util-data -+./usr/pkg/share/locale/ka/LC_MESSAGES/fontconfig.mo makronix-util-data -+./usr/pkg/share/locale/sv makronix-sys-root -+./usr/pkg/share/locale/sv/LC_MESSAGES makronix-sys-root -+./usr/pkg/share/locale/sv/LC_MESSAGES/sp5.mo makronix-util-data -+./usr/pkg/share/locale/tr makronix-sys-root -+./usr/pkg/share/locale/tr/LC_MESSAGES makronix-sys-root -+./usr/pkg/share/locale/tr/LC_MESSAGES/sp5.mo makronix-util-data -+./usr/pkg/share/locale/zh_CN makronix-sys-root -+./usr/pkg/share/locale/zh_CN/LC_MESSAGES makronix-sys-root -+./usr/pkg/share/locale/zh_CN/LC_MESSAGES/fontconfig-conf.mo makronix-util-data -+./usr/pkg/share/locale/zh_CN/LC_MESSAGES/fontconfig.mo makronix-util-data - ./usr/pkg/share/vim makronix-sys-root - ./usr/pkg/share/vim/vim92 makronix-sys-root - ./usr/pkg/share/vim/vim92/LICENSE makronix-util-data -@@ -2201,3 +10832,6 @@ - ./usr/pkg/share/vim/vim92/tutor/tutor2.sv makronix-util-data - ./usr/pkg/share/vim/vim92/vimrc_example.vim makronix-util-data - ./usr/pkg/share/vim/vim92/xdg.vim makronix-util-data -+./usr/pkg/share/xml makronix-sys-root -+./usr/pkg/share/xml/fontconfig makronix-sys-root -+./usr/pkg/share/xml/fontconfig/fonts.dtd makronix-util-data diff --git a/patches/src/0004-makronix-install-cd-size.patch b/patches/src/0004-makronix-install-cd-size.patch deleted file mode 100644 index 87a18e2945..0000000000 --- a/patches/src/0004-makronix-install-cd-size.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- a/distrib/amd64/cdroms/installcd/Makefile -+++ b/distrib/amd64/cdroms/installcd/Makefile -@@ -4,7 +4,13 @@ - # Install CD, to be made after 'build.sh release' - # Requires populated $RELEASEDIR/${MACHINE} - --CDMAKEFSEXTRAOPTS= -m 700m -+# The install medium carries this tree's own set as well: "makronix" is the -+# userland pkgsrc installs under /usr/pkg (distrib/sets/sets.subr names it with -+# the base sets), about 53 MB on this medium. Upstream's 700 MB leaves no room -+# for it -- nbmakefs then stops with "won't fit due to set maximum disk size" -- -+# so the same knob is raised here. It is a limit, not a size: a medium that -+# needs less is written smaller. -+CDMAKEFSEXTRAOPTS= -m 800m - - .include - diff --git a/patches/src/0007-boot-cfg-timeout-5s.patch b/patches/src/0007-boot-cfg-timeout-5s.patch deleted file mode 100644 index 763a8a382f..0000000000 --- a/patches/src/0007-boot-cfg-timeout-5s.patch +++ /dev/null @@ -1,76 +0,0 @@ -# boot.cfg: the boot menu waits 5 seconds, not 30. -# -# NetBSD pattern: a medium's menu default is the `timeout=' line of its -# boot.cfg, generated from boot.cfg.in by each distrib Makefile (nbmake runs -# sed over @@VERSION@@/@@MACHINE@@, distrib/amd64/installimage/installimage.mk:23, -# distrib/amd64/cdroms/*/Makefile). There is no central knob, so the default -# is per medium -- and the loader's own default is 5 seconds -# (sys/arch/i386/stand/lib/boot_params.S:10, `timeout in seconds'), as is an -# installed system's (etc/etc.amd64/boot.cfg:5). -# -# Measured on 2026-11-04 (build/logs/boottimeout-bootcd.log): the CD this tree -# builds waits 5 seconds -- but not because of these files. The /boot.cfg the -# loader reads is the one from the etc set (distrib/sets/lists/etc/md.amd64:3), -# which Makefile.bootcd extracts into the medium after installing the -# generated boot.cfg (distrib/common/Makefile.bootcd:250-290), so the medium -# carries src/etc/etc.amd64/boot.cfg and the 30 in these .in files never -# reaches it. That is upstream's build order, not a Makronix change; the -# finding is recorded in docs/reference/boot-cfg-timeout.txt. -# -# The patch keeps the declared value equal to the value that boots: a medium -# that does not take /boot.cfg from the etc set waits 5 seconds too, and the -# number in the .in file is not a statement about a wait nobody gets. -# -# Scope is the media this tree builds: install-image, its BIOS variant, the -# install CD and the DVD. bootcd-com generates its boot.cfg from -# cdroms/bootcd/boot.cfg.in (cdroms/bootcd-com/Makefile:17), so it is covered. -# distrib/evbarm/isoimage and the i386 media keep upstream's value: this tree -# builds neither. - -diff --git a/distrib/amd64/cdroms/bootcd/boot.cfg.in b/distrib/amd64/cdroms/bootcd/boot.cfg.in ---- a/distrib/amd64/cdroms/bootcd/boot.cfg.in -+++ b/distrib/amd64/cdroms/bootcd/boot.cfg.in -@@ -9,4 +9,4 @@ banner=If you encounter a problem while booting, report a bug at - banner=https://www.NetBSD.org/. - menu=Install NetBSD:boot netbsd - menu=Drop to boot prompt:prompt --timeout=30 -+timeout=5 -diff --git a/distrib/amd64/cdroms/installcd/boot.cfg.in b/distrib/amd64/cdroms/installcd/boot.cfg.in ---- a/distrib/amd64/cdroms/installcd/boot.cfg.in -+++ b/distrib/amd64/cdroms/installcd/boot.cfg.in -@@ -5,4 +5,4 @@ banner=If you encounter a problem while booting, report a bug at - banner=https://www.NetBSD.org/. - menu=Install NetBSD:boot netbsd - menu=Drop to boot prompt:prompt --timeout=30 -+timeout=5 -diff --git a/distrib/amd64/cdroms/installdvd/boot.cfg.in b/distrib/amd64/cdroms/installdvd/boot.cfg.in ---- a/distrib/amd64/cdroms/installdvd/boot.cfg.in -+++ b/distrib/amd64/cdroms/installdvd/boot.cfg.in -@@ -5,4 +5,4 @@ banner=If you encounter a problem while booting, report a bug at - banner=https://www.NetBSD.org/. - menu=Install NetBSD:boot netbsd - menu=Drop to boot prompt:prompt --timeout=30 -+timeout=5 -diff --git a/distrib/amd64/installimage-bios/boot.cfg.in b/distrib/amd64/installimage-bios/boot.cfg.in ---- a/distrib/amd64/installimage-bios/boot.cfg.in -+++ b/distrib/amd64/installimage-bios/boot.cfg.in -@@ -5,5 +5,5 @@ banner=If you encounter a problem while booting, report a bug at - banner=https://www.NetBSD.org/. - menu=Install NetBSD:boot netbsd - menu=Drop to boot prompt:prompt --timeout=30 -+timeout=5 - clear=1 -diff --git a/distrib/amd64/installimage/boot.cfg.in b/distrib/amd64/installimage/boot.cfg.in ---- a/distrib/amd64/installimage/boot.cfg.in -+++ b/distrib/amd64/installimage/boot.cfg.in -@@ -5,5 +5,5 @@ banner=If you encounter a problem while booting, report a bug at - banner=https://www.NetBSD.org/. - menu=Install NetBSD:boot netbsd - menu=Drop to boot prompt:prompt --timeout=30 -+timeout=5 - clear=1 diff --git a/patches/src/0008-installcd-serial-console.patch b/patches/src/0008-installcd-serial-console.patch deleted file mode 100644 index bbcbafb073..0000000000 --- a/patches/src/0008-installcd-serial-console.patch +++ /dev/null @@ -1,92 +0,0 @@ -# Install medium on the serial console (card t_1cf58a28) -# -# What was read before the change, 2026-11-05: -# -# src/usr.sbin/installboot/installboot.8:364-367 -# .It Ic console Ns Li = Ns Ar name -# Set the console device. -# -# src/distrib/amd64/cdroms/bootcd-com/Makefile:7-8 -# # HP Proliant iLO serial console is on com1 -# CDBOOTOPTIONS= -o console=com0 -# -# src/distrib/amd64/cdroms/Makefile.cdrom:47-52 -- CDBOOTOPTIONS is passed to -# installboot -e for the EFI boot image (efiboot/EFI/boot/bootx64.efi), so the -# loader starts on com0 and hands com0 to the kernel through bootinfo. -# -# Measured before the change: the installcd built 2026-11-05 08:48 printed its -# menu and "WARNING: 1 module failed to load" on com0, then produced no kernel -# output for 240 s; the same kernel on boot-com.iso (which sets -# CDBOOTOPTIONS=-o console=com0) printed to com0 and reached sysinst. A screen -# dump of the installcd showed the kernel alive on the VGA console (sysinst's -# language menu), so the medium was not hung -- the console was elsewhere. -# -# The install path in this tree is the serial console: tools/install-test.py, -# tools/fde-manual.py and docs/BUILD-CONTRACT.md section 6 all drive com0. The -# line is the one bootcd-com uses; the media differ only in what they carry. -# -# 2026-11-06: the same line for installdvd, the DVD that make isosrc fills with -# the source sets -- without it the DVD talks on the VGA console and cannot be -# installed from over the serial line (build/logs/install-src-dvd3-2026-11-06.log: -# no console output at all in 240 s). -# -# 2026-11-07: installdvd takes build/cd3 (the binary packages of tools/cd3.sh) into -# CDBUILDEXTRA when it exists (below), so that they are on the DVD and not on the -# first CD. -# -# 2026-11-07: console=auto instead of console=com0 for installcd and installdvd. -# com0 is blind on a machine without a serial port. auto (installboot(8): "or -# auto"; x86/boot_console(8), CONSDEV_AUTO) probes the serial ports and uses one -# only if output works (BIOS: also the modem lines; UEFI: also a key within 7 s, -# sys/arch/i386/stand/efiboot/eficons.c:119-140), otherwise the screen. - ---- a/distrib/amd64/cdroms/installcd/Makefile -+++ b/distrib/amd64/cdroms/installcd/Makefile -@@ -12,6 +12,17 @@ - # needs less is written smaller. - CDMAKEFSEXTRAOPTS= -m 800m - -+# The boot loader picks the console (installboot(8), "console=name": "Set the -+# console device."; x86/boot_console(8), CONSDEV_AUTO: "All serial ports known to -+# the BIOS are probed in sequence. If output of a character to the port succeeds -+# ... the port is used as console. If no serial port passes the check, -+# CONSDEV_PC is used." The UEFI loader asks for a key pressed on the port within -+# seven seconds as well, sys/arch/i386/stand/efiboot/eficons.c). A machine with -+# a screen and no terminal on its serial port shows the installer on the screen; -+# the tests, which have a terminal on com0, get it on the serial line. Before -+# 2026-11-07 this was com0, which is blind on a machine without a serial port. -+CDBOOTOPTIONS= -o console=auto -+ - .include - - .include "${.CURDIR}/../../../common/Makefile.minibase" ---- a/distrib/amd64/cdroms/installdvd/Makefile -+++ b/distrib/amd64/cdroms/installdvd/Makefile -@@ -7,9 +7,27 @@ - .include - .include "${.CURDIR}/../Makefile.cdrom" - -+# The console is chosen by the boot loader, as for installcd (console=auto: the -+# serial line when a terminal answers on it, otherwise the screen; 0008). -+CDBOOTOPTIONS= -o console=auto -+ - CDBASE= amd64dvd # gives ${CDBASE}.iso - CDRELEASE= true # include $RELEASEDIR/$RELEASEMACHINEDIR - CDBUILDEXTRA= boot.cfg # Add boot.cfg file -+ -+# The binary packages (tools/cd3.sh): `make iso' and `make isosrc' stage them in -+# build/cd3 (the root of the Makronix repository is the parent of this src/ -+# tree) before they run build.sh. Only the DVD takes the directory, through -+# CDBUILDEXTRA, which common/Makefile.bootcd copies onto the medium exactly as -+# it copies CDEXTRA (`for cde in $${cdextra} $${cdbuildextra}'). Not CDEXTRA: -+# build.sh gives iso-image `CDEXTRA="$CDEXTRA"' on the make command line -+# (build.sh:2989), which wins over any assignment in a Makefile, so CDEXTRA is -+# empty here whatever this file says (`cdextra=""' in make-iso-cd19 and -+# cd20-2026-11-07.log); and `build.sh -C' or `-V CDEXTRA' would put the -+# packages on the first CD too (nbmakefs: won't fit, make-iso-cd18-2026-11-07.log). -+.if exists(${NETBSDSRCDIR}/../build/cd3/amd64/packages/top.list) -+CDBUILDEXTRA+= ${NETBSDSRCDIR}/../build/cd3 -+.endif - CLEANFILES+= boot.cfg - - .if ${MKMAN} != "no" diff --git a/patches/src/0009-menuc-colour-pairs.patch b/patches/src/0009-menuc-colour-pairs.patch deleted file mode 100644 index a4105463c8..0000000000 --- a/patches/src/0009-menuc-colour-pairs.patch +++ /dev/null @@ -1,87 +0,0 @@ -# menuc: the selected line and the box use colour pairs when the program set them -# -# Pattern followed, read 2026-11-06: -# -# src/usr.bin/menuc/menu_sys.def:275-276 -- the menu window already takes its -# colour from COLOR_PAIR(1), which the program sets (sysinst: do_coloring()). -# Line 319 marks the selected line with wstandout(), line 413 draws the box -# in the window's own pair. Only one pair exists, so a selection can only be -# the inverse of the text colours. -# -# Change: pair 2 for the selected line and pair 3 for the box, used only where -# the program has set them up with init_pair() (foreground != background; a pair -# never set reads back as 0/0). Without them nothing changes: standout and the -# plain box, as before. menuc owns no colours, the program does. -# -# Why a patch and not the overlay: menu_sys.def is a NetBSD file outside -# usr.sbin/sysinst; it reaches the build through the tools stage -# (tools/menuc, HOSTFILES) into ${TOOLDIR}/share/misc and is linked into every -# program that uses menuc. Programs that set no pair 2/3 are unaffected. -# ---- a/usr.bin/menuc/menu_sys.def -+++ b/usr.bin/menuc/menu_sys.def -@@ -307,6 +307,22 @@ - return c; - } - -+/* -+ * A colour pair the program has set up with init_pair(): foreground and -+ * background differ (a pair never set reads back as 0/0). menuc does not -+ * own the colours, the program does; the selected line uses pair 2 and the -+ * box pair 3 when they exist, and falls back to standout and the plain box. -+ */ -+static int -+menu_has_pair(short pair) -+{ -+ short f, b; -+ -+ if (!has_colors() || pair >= COLOR_PAIRS) -+ return 0; -+ return pair_content(pair, &f, &b) == OK && f != b; -+} -+ - static void - draw_menu_line(menudesc *m, int opt, int cury, void *arg, const char *text) - { -@@ -316,7 +332,10 @@ - - if (m->cursel == opt) { - mvwaddstr(m->mw, cury, hasbox, ">"); -- wstandout(m->mw); -+ if (menu_has_pair(2)) -+ wattrset(m->mw, COLOR_PAIR(2)); -+ else -+ wstandout(m->mw); - } else - mvwaddstr(m->mw, cury, hasbox, " "); - if (!(m->mopt & MC_NOSHORTCUT) && !noshort) -@@ -328,8 +347,12 @@ - m->draw_line(m, opt, arg); - else - waddstr(m->mw, MSG_XLAT(text)); -- if (m->cursel == opt) -- wstandend(m->mw); -+ if (m->cursel == opt) { -+ if (menu_has_pair(2)) -+ wattrset(m->mw, COLOR_PAIR(1)); -+ else -+ wstandend(m->mw); -+ } - } - - static void -@@ -409,8 +432,13 @@ - mvwaddstr(m->mw, cury, hasbox, scrolltext); - - /* Add the box. */ -- if (!(m->mopt & MC_NOBOX)) -+ if (!(m->mopt & MC_NOBOX)) { -+ if (menu_has_pair(3)) -+ wattrset(m->mw, COLOR_PAIR(3)); - box(m->mw, 0, 0); -+ if (menu_has_pair(3)) -+ wattrset(m->mw, COLOR_PAIR(1)); -+ } - - wmove(m->mw, tadd + m->cursel - m->topline, hasbox); - wrefresh(m->mw); diff --git a/patches/src/0010-makesrctars-msrc.patch b/patches/src/0010-makesrctars-msrc.patch deleted file mode 100644 index c69d5cc13d..0000000000 --- a/patches/src/0010-makesrctars-msrc.patch +++ /dev/null @@ -1,180 +0,0 @@ -# makesrctars: a set for what the system needs besides src and xsrc, and the -# git repositories inside the sets -# -# Pattern followed, read 2026-11-06: -# -# src/distrib/sets/makesrctars:83-130 -- `makeset NAME DIR' packs a directory -# as usr/src/... (srcprefix); the xsrc block (-x xsrcdir) does the same for -# usr/xsrc: "create xsrc sets", `if [ -n "${xsrcdir}" ]'. The exclusion file -# written for mtree(8) names obj, ./.git and ./.hg: "Gets rid of any obj dirs -# ... Also skip .hg or .git repositories (if we got the source via git or -# mercurial)"; links are dropped (`egrep -v type=link'). -# src/distrib/sets/Makefile:52 -- MAKESRCTARS_X11_FLAGS = -x ${X11SRCDIR}, and -# the makesrctars target (line 246) passes it on. -# -# Change, three options of makesrctars, all off by default (nothing changes -# without them): -# -m msrcdir the same for a third tree: usr/msrc, msrc.tgz; -# Makefile: MSRCDIR=dir (build.sh -V) passes it. -# This set keeps symbolic links: its src and xsrc point to -# /usr/src and /usr/xsrc, so the tree has the layout it has -# in development (mtree -k type,link instead of -k type). -# -g keep ./.git, so src.tgz, xsrc.tgz and msrc.tgz carry -# their git repositories; Makefile: MAKESRCTARS_KEEPGIT=yes. -# (msrc only) the modes of the tree are kept: makesrctars gives every file 0664 -# and only *.sh, *-sh and move-if-change 0775, which is right for -# NetBSD's src (everything is run as `sh script') and wrong for -# pkgsrc, whose bootstrap, configure and mk/scripts/* run -# directly. Measured 2026-11-07 in the build VM: -# `./bootstrap: no execute permission', 271 executables of the -# tree without the bit, 970 scripts with it that git has as 0644. -# -# Why a patch: makesrctars is NetBSD's tool and the only thing that makes the -# source sets, so the new set comes out of the same command, the same -# checksums (MD5, SHA512 over *.tgz) and the same RELEASEDIR/source/sets. What -# goes into the msrc directory is decided by tools/msrc-stage.sh. -# ---- a/distrib/sets/Makefile 2026-11-07 08:00:36.567299313 +0000 -+++ b/distrib/sets/Makefile 2026-11-07 08:00:36.569697009 +0000 -@@ -51,11 +51,17 @@ - .if ${MKX11} != "no" - MAKESRCTARS_X11_FLAGS= -x ${X11SRCDIR} - .endif -+.if defined(MSRCDIR) -+MAKESRCTARS_MSRC_FLAGS= -m ${MSRCDIR} -+.endif - .if ${MKX11} != "no" - MAKEFLIST_X11_FLAGS= ,x - .endif - MAKEFLIST_FLAGS= -L base${MAKEFLIST_X11_FLAGS} - MAKESRCTARS_FLAGS= -N ${NETBSDSRCDIR}/etc -+.if defined(MAKESRCTARS_KEEPGIT) -+MAKESRCTARS_FLAGS+= -g -+.endif - - .if ${MAKEVERBOSE} < 2 - MAKETARS_FLAGS+= -q -@@ -248,6 +254,7 @@ - mkdir -p ${SOURCETARDIR} - ${SETSCMD} ./makesrctars ${MAKESRCTARS_FLAGS} \ - ${MAKESRCTARS_X11_FLAGS} \ -+ ${MAKESRCTARS_MSRC_FLAGS} \ - ${NETBSDSRCDIR} ${SOURCETARDIR} - - ---- a/distrib/sets/makesrctars 2026-11-07 08:00:36.567332608 +0000 -+++ b/distrib/sets/makesrctars 2026-11-07 08:00:56.710956857 +0000 -@@ -12,6 +12,9 @@ - - # set defaults - xsrcdir= -+msrcdir= -+keepgit=false -+keeplinks=false - quiet=false - - GZIP=-9n -@@ -20,9 +23,11 @@ - usage() - { - cat 1>&2 < "${intmp}" -+ # -g keeps ./.git: the sets then carry their git repositories. -+ if ${keepgit}; then -+ printf "obj\n./.hg\n" > "${intmp}" -+ else -+ printf "obj\n./.git\n./.hg\n" > "${intmp}" -+ fi -+ # Symbolic links are dropped (the spec has no link target) unless the -+ # set asks for them: msrc has src and xsrc pointing to /usr/src -+ # and /usr/xsrc. -+ mtreekw=type -+ droplinks='type=link' -+ if ${keeplinks}; then -+ # msrc: pkgsrc is not NetBSD's src, where every file is 0664 and -+ # the scripts that matter are run as `sh script'. pkgsrc runs -+ # bootstrap, configure and mk/scripts/* directly: keep the modes -+ # of the tree (git records 0644 and 0755), see fixmodes. -+ mtreekw=type,link,mode -+ droplinks='^$' -+ fi -+ fixmodes() -+ { -+ if ${keeplinks}; then -+ ${SED} -e 's:$: uname=root gname=wsrc:' -+ else -+ ${SED} -e 's:type=file:& mode=0664:' \ -+ -e 's:type=dir:& mode=0775:' \ -+ -e 's:$: uname=root gname=wsrc:' \ -+ -e '/\/move-if-change /s:\(mode\)=[0-9]*:\1=0775:' \ -+ -e '/^\.\/.*[.-]sh /s:\(mode\)=[0-9]*:\1=0775:' -+ fi -+ } - egrep="$*" - if [ "${egrep}" = "" ]; then - egrep='.' - fi - set -f -- ${MTREE} -c -X "${intmp}" | ${MTREE} -CS -k type | \ -- ${EGREP} -v 'type=link' | ${EGREP} ${egrep} | \ -- ${SED} -e 's:type=file:& mode=0664:' \ -- -e 's:type=dir:& mode=0775:' \ -- -e 's:$: uname=root gname=wsrc:' \ -- -e '/\/move-if-change /s:\(mode\)=[0-9]*:\1=0775:' \ -- -e '/^\.\/.*[.-]sh /s:\(mode\)=[0-9]*:\1=0775:' | \ -+ ${MTREE} -c -X "${intmp}" | ${MTREE} -CS -k ${mtreekw} | \ -+ ${EGREP} -v "${droplinks}" | ${EGREP} ${egrep} | \ -+ fixmodes | \ - ${PAX} -M -N "${PASSWD}" -w -d -s'|^\.|'"${srcprefix}"'|' | \ - ${GZIP_CMD} > "${setdir}/${set}" - rm -f "${intmp}" -@@ -135,6 +172,20 @@ - fi - - -+# create the msrc source set (the rest of what the system needs to -+# rebuild itself: pkgsrc, patches, tools, the archives of its packages) -+# -+if [ -n "${msrcdir}" ]; then -+ if ! cd "${msrcdir}"; then -+ echo >&2 "${prog}: can't chdir to ${msrcdir}" -+ exit 1 -+ fi -+ srcprefix=usr/msrc -+ keeplinks=true -+ makeset msrc . -+fi -+ -+ - msg "Creating checksum files" - (cd "${setdir}" - ${CKSUM} -a md5 *.tgz *.tar.xz > MD5 diff --git a/patches/src/0011-ramdisk-cgdconfig.patch b/patches/src/0011-ramdisk-cgdconfig.patch deleted file mode 100644 index 2dcb2a27af..0000000000 --- a/patches/src/0011-ramdisk-cgdconfig.patch +++ /dev/null @@ -1,30 +0,0 @@ -# ramdisk: cgdconfig, for the encrypted installation from a RAM-disk installer -# -# Pattern followed, read 2026-11-06: -# -# src/distrib/common/list.cgdroot:6 -- `PROG sbin/cgdconfig', how the cgdroot -# ramdisk gets it, with the same crunched-program entry. -# overlay/usr.sbin/sysinst/util.c (have_cgd = binary_available("cgdconfig")): -# sysinst offers the encrypted installation only if it finds cgdconfig. -# -# Change: the install ramdisk (the one in netbsd-INSTALL and in miniroot.kmod) -# lists cgdconfig. Needed since the first install CD boots into this ramdisk -# (0012): without it the question "Encrypt the disk?" is never asked there. -# -# Size: the ramdisk content is about 3.6 MB (du of the work tree, one crunched -# binary of 2.6 MB), so IMAGESIZE stays 5000k. Raising it does not work on its -# own: the INSTALL kernels hold the image in a buffer of MEMORY_DISK_ROOT_SIZE -# (10000 blocks = 5120000 bytes, sys/arch/amd64/conf/INSTALL:18) and -# mdsetimage stops with "fs image ... too big for buffer" (measured with 6000k, -# build/logs/make-release-cd3-2026-11-06.log). -# ---- a/distrib/amd64/ramdisks/ramdisk/list -+++ b/distrib/amd64/ramdisks/ramdisk/list -@@ -10,6 +10,7 @@ - - PROG libexec/lfs_cleanerd - -+PROG sbin/cgdconfig - PROG sbin/dkctl - PROG sbin/fdisk - PROG sbin/mbrlabel diff --git a/patches/src/0012-installcd-ramdisk-two-cds.patch b/patches/src/0012-installcd-ramdisk-two-cds.patch deleted file mode 100644 index 28c30195f9..0000000000 --- a/patches/src/0012-installcd-ramdisk-two-cds.patch +++ /dev/null @@ -1,85 +0,0 @@ -# installcd: the installer runs from RAM; the makronix set is on a second CD -# -# Pattern followed, read 2026-11-06: -# -# src/share/man/man5/boot.cfg.5, "load": "Used to load kernel modules ... -# Always load ramdisk module" -- `load=/miniroot.kmod'; and -# sys/modules/miniroot/miniroot.c: MODULE_CMD_INIT calls md_root_setconf() -# with the section `miniroot', so a ramdisk module loaded by the boot loader -# becomes the root. The CD already carries amd64/installation/miniroot/ -# miniroot.kmod (release/installation), the CD's kernel is netbsd-GENERIC. -# src/distrib/common/Makefile.bootcd:60-63 -- CDRELEASE_EXCLUDE with -# `-s ,./binary/sets/NAME,,gp' keeps a set off the medium (base32, debug). -# -# Change, for the first CD only: boot.cfg.in loads miniroot.kmod before `boot -# netbsd'; the makronix set is excluded (it goes on CD 2, tools/cd2.sh); CD_SETS -# is emptied, because the CD root is no longer the running system and -# because the etc set unpacked onto the CD would replace boot.cfg (0007). What -# the build expected of the unpacked sets is supplied instead, each found by a -# failed build (build/logs/make-iso-cd4/cd6/cd7-2026-11-06.log): -# - cdrom/etc and cdrom/usr/share/sysinst/catalog: image_md_pre -# (cdroms/Makefile.cdrom:53-61) copies files into them; prepare_md_post -# makes the directories; -# - the mtree specs of the sets: without them spec.in alone has no entry for -# `.', nbmakefs stops with ".: missing directory in specification"; with -# SPEC_EXTRA undefined Makefile.bootcd makes the spec from the directory. -# The message catalogs the installer needs are in the ramdisk (distrib/common/ -# list.sysinst). With a ramdisk root the CD can be changed (sysinst: util.c, -# nextcd). The DVD is not changed: it has every set and boots with the CD as -# its root. -# ---- a/distrib/amd64/cdroms/installcd/Makefile -+++ b/distrib/amd64/cdroms/installcd/Makefile -@@ -28,15 +28,42 @@ - .include "${.CURDIR}/../../../common/Makefile.minibase" - .include "${.CURDIR}/../Makefile.cdrom" - -+# The installer runs from RAM here: boot.cfg loads miniroot.kmod, which becomes -+# the root, so the CD can be taken out (the second CD). The CD then needs no -+# system of its own on it: CD_SETS (base, etc, gpufw, modules, from -+# Makefile.cdrom) is not unpacked onto it. That is also what lets boot.cfg.in -+# be the boot.cfg: the etc set carries one (etc/etc.amd64/boot.cfg) that -+# replaces it when it is unpacked after it (patch 0007 explains). -+CD_SETS= -+# Without the sets there are no mtree specs (cdrom/etc/mtree) either, and -+# spec.in alone has no entry for the root directory: nbmakefs stops with "..: -+# missing directory in specification". With SPEC_EXTRA undefined the spec stays -+# empty and Makefile.bootcd makes it from the whole directory -+# (`makespec -d cdrom .', the `image' target). -+.undef SPEC_EXTRA -+ - CDBASE= amd64cd # gives ${CDBASE}.iso - CDRELEASE= true # include $RELEASEDIR/$RELEASEMACHINEDIR - CDRELEASE_NODEBUG= true - CDRELEASE_NOCOMPAT= true -+ -+# Makronix installs from two CDs. This one carries the system; the makronix -+# set (pkgsrc userland under /usr/pkg: CDE, vim, flex) is on the second -+# (tools/cd2.sh), which sysinst asks for after the sets of this one. The same -+# exclusion as CDRELEASE_NOCOMPAT keeps base32 off: pax -s with an empty -+# replacement drops the file (distrib/common/Makefile.bootcd:60-63). -+.for sufx in tgz tar.xz -+CDRELEASE_EXCLUDE+= -s ',./binary/sets/makronix.${sufx},,gp' -+.endfor - CDBUILDEXTRA= boot.cfg # Add boot.cfg file - CLEANFILES+= boot.cfg - - prepare_md_post: - ${TOOL_SED} "s/@@VERSION@@/${DISTRIBVER}/" \ - < ${.CURDIR}/boot.cfg.in > boot.cfg -+ # image_md_pre (Makefile.cdrom) copies files into cdrom/etc and -+ # cdrom/usr/share/sysinst/catalog, which the etc and base sets used to -+ # create; with CD_SETS empty the directories have to be made here. -+ ${MKDIR} cdrom/etc cdrom/usr/share/sysinst/catalog - - .include "${.CURDIR}/../../../common/Makefile.bootcd" ---- a/distrib/amd64/cdroms/installcd/boot.cfg.in -+++ b/distrib/amd64/cdroms/installcd/boot.cfg.in -@@ -3,6 +3,6 @@ - banner= - banner=If you encounter a problem while booting, report a bug at - banner=https://www.NetBSD.org/. --menu=Install NetBSD:boot netbsd -+menu=Install NetBSD:load /amd64/installation/miniroot/miniroot.kmod;boot netbsd - menu=Drop to boot prompt:prompt - timeout=5 diff --git a/patches/src/0013-sysinst-portuguese-catalog.patch b/patches/src/0013-sysinst-portuguese-catalog.patch deleted file mode 100644 index d2a00bf7eb..0000000000 --- a/patches/src/0013-sysinst-portuguese-catalog.patch +++ /dev/null @@ -1,29 +0,0 @@ -# sysinst: the Portuguese catalog is in the installer ramdisk and in the base set -# -# Pattern followed, read 2026-11-07: -# -# src/distrib/common/list.sysinst:13-17 -- "Foreign texts for sysinst": one COPY -# line per catalog (fr, de, pl, es) puts sysinstmsgs. into the install -# ramdisk, where the installer looks for it at start (main.c:397). -# src/distrib/sets/lists/base/md.amd64:70-74 -- one line per catalog in the -# base-util-share set; checkflist reports a catalog that no list names as -# extra and fails the build. -# -# Change: the same two lines for sysinstmsgs.pt, the Portuguese (Brazil) -# catalog of overlay/usr.sbin/sysinst (LANGUAGES in Makefile.inc). amd64 only: -# the other ports do not build the catalog. - ---- a/distrib/common/list.sysinst -+++ b/distrib/common/list.sysinst -@@ -15,3 +15,4 @@ - COPY ${OBJDIR}/sysinst/sysinstmsgs.de sysinstmsgs.de - COPY ${OBJDIR}/sysinst/sysinstmsgs.pl sysinstmsgs.pl - COPY ${OBJDIR}/sysinst/sysinstmsgs.es sysinstmsgs.es -+COPY ${OBJDIR}/sysinst/sysinstmsgs.pt sysinstmsgs.pt ---- a/distrib/sets/lists/base/md.amd64 -+++ b/distrib/sets/lists/base/md.amd64 -@@ -72,3 +72,4 @@ - ./usr/share/sysinst/catalog/sysinstmsgs.es base-util-share - ./usr/share/sysinst/catalog/sysinstmsgs.fr base-util-share - ./usr/share/sysinst/catalog/sysinstmsgs.pl base-util-share -+./usr/share/sysinst/catalog/sysinstmsgs.pt base-util-share diff --git a/patches/src/0014-installimage-packages.patch b/patches/src/0014-installimage-packages.patch deleted file mode 100644 index c17dbaf7ca..0000000000 --- a/patches/src/0014-installimage-packages.patch +++ /dev/null @@ -1,61 +0,0 @@ -# Install image for a USB stick with the binary packages and console=auto (make usb) -# -# The CDs and the DVD carry the extra programs (Firefox, Thunderbird, QEMU, -# PulseAudio, CUPS) as binary packages under /packages (tools/cd3.sh); -# sysinst installs them from there (overlay/usr.sbin/sysinst/extras.c). The -# stock install image has the sets only, so a stick would skip that step. -# -# common/bootimage/Makefile.installimage: MD_IMGDIR_EXTRA, a hook for more -# `source target' pairs of IMGDIR_EXTRA, in the way MD_IMGDIR_EXCLUDE is one -# for the exclude list. -# amd64/installimage/Makefile: when `make iso' has staged build/cd3, that -# directory goes to amd64/ on the image, and the image grows to 3072 MB (sets -# about 360 MB, packages about 570 MB, the installed base, the rest free). -# amd64/installimage/boot.cfg.in: `consdev=auto', as the CDs have it (patch -# 0008, console=auto): the loader takes a serial port when one answers and the -# screen otherwise (boot(8), boot.cfg(5) consdev). -# -# Measured 2026-11-08: see build/logs (make usb, install from the stick). ---- a/distrib/amd64/installimage/boot.cfg.in -+++ b/distrib/amd64/installimage/boot.cfg.in -@@ -5,5 +5,6 @@ - banner=https://www.NetBSD.org/. - menu=Install NetBSD:boot netbsd - menu=Drop to boot prompt:prompt -+consdev=auto - timeout=5 - clear=1 ---- a/distrib/amd64/installimage/Makefile -+++ b/distrib/amd64/installimage/Makefile -@@ -6,6 +6,16 @@ - - .include "installimage.mk" - -+# The binary packages (tools/cd3.sh): `make iso' stages them in build/cd3, the -+# parent of src/ being the root of the Makronix repository (patch 0008 does the -+# same for the DVD). They go to /packages on the image, where sysinst -+# looks for them (overlay/usr.sbin/sysinst/extras.c), so the stick installs the -+# extra programs without a second medium. About 570 MB: the image is larger. -+.if exists(${NETBSDSRCDIR}/../build/cd3/amd64/packages/top.list) -+MD_IMGDIR_EXTRA= ${NETBSDSRCDIR}/../build/cd3/amd64 amd64 -+INSTIMAGEMB= 3072 -+.endif -+ - EFIBOOT= ${WORKDIR}/usr/mdec/bootx64.efi - EFIBOOT+= ${WORKDIR}/usr/mdec/bootia32.efi - #EFIBOOT= ${.OBJDIR}/../../../sys/arch/i386/stand/efiboot/bootx64/bootx64.efi ---- a/distrib/common/bootimage/Makefile.installimage -+++ b/distrib/common/bootimage/Makefile.installimage -@@ -54,6 +54,12 @@ - IMGDIR_EXCLUDE+= ${MD_IMGDIR_EXCLUDE} - .endif - -+# MD_IMGDIR_EXTRA: more 'source target' pairs for IMGDIR_EXTRA, set by the -+# machine dependent Makefile (Makronix: the binary packages) -+.if defined(MD_IMGDIR_EXTRA) -+IMGDIR_EXTRA+= ${MD_IMGDIR_EXTRA} -+.endif -+ - IMGBASE= ${INSTIMGBASE} - - .include "${NETBSDSRCDIR}/distrib/common/bootimage/Makefile.bootimage" diff --git a/patches/src/0015-makronix-identity.patch b/patches/src/0015-makronix-identity.patch deleted file mode 100644 index a166eab79e..0000000000 --- a/patches/src/0015-makronix-identity.patch +++ /dev/null @@ -1,303 +0,0 @@ -Makronix identity: what a user sees says Makronix, based on NetBSD. - -The product version lives in sys/conf/makronix-release (one line). Seen -from outside: the kernel banner (uname -v, dmesg, /etc/motd), /etc/release, -the login banner, the boot loaders (bootxx, cdboot, BIOS and EFI boot), the -boot.cfg menus and the names of the install media. - -Left alone on purpose, because software decides by it: kern.ostype -(uname -s) stays NetBSD, so do the ELF note, __NetBSD__ and -__NetBSD_Version__, and osrelease (11.99.9). pkgsrc takes OPSYS and -config.guess take the triplet from uname -s; a system that calls itself -something else cannot build its own packages. The Makronix version is -additional, never a replacement. - ---- a/sys/conf/newvers.sh -+++ b/sys/conf/newvers.sh -@@ -230,8 +230,11 @@ - - ost="NetBSD" - osr=$(sh $osrelcmd) -+mxr=$(cat "${cwd}/makronix-release") - --fullversion="${ost} ${osr} (${id})${reproversion}\n" -+# Makronix identity: the banner names the product; ostype stays ${ost} -+# (pkgsrc, config.guess and ports decide by uname -s) -+fullversion="Makronix ${mxr} (${id}) based on ${ost} ${osr}${reproversion}\n" - - # Convert multi-line strings to C source code. - # Also add an extra blank line to copyright. ---- a/sys/conf/newvers_stand.sh -+++ b/sys/conf/newvers_stand.sh -@@ -74,7 +74,7 @@ - if ${add_name}; then - extra=${1:+" $1"} - -- echo "const char bootprog_name[] = \"NetBSD/${machine}${extra}\";" >> vers.c -+ echo "const char bootprog_name[] = \"Makronix/${machine}${extra}\";" >> vers.c - fi - - if ${add_kernrev}; then ---- a/etc/rc.d/motd -+++ b/etc/rc.d/motd -@@ -29,13 +29,13 @@ - sysctl -n kern.version | while read i; do echo "$i"; break; done > $T - if checkyesno update_motd_release; then - local t=$(echo "${motd_release_tag%%:*}" | tr -d /) -- sed -En '1{/^NetBSD/{'"${t:+s/^/${t}: /;}"'h;d;};q;} -+ sed -En '1{/^(NetBSD|Makronix)/{'"${t:+s/^/${t}: /;}"'h;d;};q;} - /^ *Build ID */{s//(/;s/$/)/;H;g;y/\n/ /;p;q;} - ${g;p;}' < /etc/release >> $T -- sed -E '1,2{/^([^:]*: )?NetBSD/{d;};};' \ -+ sed -E '1,2{/^([^:]*: )?(NetBSD|Makronix)/{d;};};' \ - < /etc/motd >> $T - else -- sed '1{/^NetBSD.*/{d;};};' < /etc/motd >> $T -+ sed -E '1{/^(NetBSD|Makronix).*/{d;};};' < /etc/motd >> $T - fi - cmp -s $T /etc/motd || cp $T /etc/motd - rm -f $T ---- a/etc/gettytab -+++ b/etc/gettytab -@@ -10,7 +10,7 @@ - # entries, and in cases where getty is called with no table name - # - default:\ -- :ce:ck:np:im=\r\n%s/%m (%h) (%t)\r\n\r\n: -+ :ce:ck:np:im=\r\nMakronix/%m (%h) (%t)\r\n\r\n: - - # - # Fixed speed entries ---- a/sys/arch/i386/stand/bootxx/boot1.c -+++ b/sys/arch/i386/stand/bootxx/boot1.c -@@ -73,7 +73,7 @@ - bios_sector = *sector; - d.dev = biosdev; - -- putstr("\r\nNetBSD/x86 " STR(FS) " Primary Bootstrap\r\n"); -+ putstr("\r\nMakronix/x86 " STR(FS) " Primary Bootstrap\r\n"); - - if (set_geometry(&d, NULL)) - return "set_geometry\r\n"; ---- a/sys/arch/i386/stand/cdboot/cdboot.S -+++ b/sys/arch/i386/stand/cdboot/cdboot.S -@@ -347,7 +347,7 @@ - boot_drive: .byte 0 - mbr_loaded: .byte 0 - --str_banner: .ascii "\r\nNetBSD/x86 cd9660 Primary Bootstrap" -+str_banner: .ascii "\r\nMakronix/x86 cd9660 Primary Bootstrap" - str_crlf: .asciz "\r\n" - str_press_key: .asciz "\r\nPress any key to boot from CD" - str_dot: .asciz "." ---- a/distrib/common/Makefile.distrib -+++ b/distrib/common/Makefile.distrib -@@ -23,8 +23,10 @@ - DISTRIBDIR= ${NETBSDSRCDIR}/distrib - DISTRIBREV!= ${HOST_SH} ${NETBSDSRCDIR}/sys/conf/osrelease.sh -s - DISTRIBVER!= ${HOST_SH} ${NETBSDSRCDIR}/sys/conf/osrelease.sh -+MAKRONIXVER!= cat ${NETBSDSRCDIR}/sys/conf/makronix-release - MODULEVER!= ${HOST_SH} ${NETBSDSRCDIR}/sys/conf/osrelease.sh -k - DISTRIBVERDEP= ${NETBSDSRCDIR}/sys/sys/param.h \ -+ ${NETBSDSRCDIR}/sys/conf/makronix-release \ - ${NETBSDSRCDIR}/sys/conf/osrelease.sh - - MAKESUMS= MAKE=${MAKE:Q} CKSUM=${TOOL_CKSUM:Q} ${HOST_SH} ${DISTRIBDIR}/sets/makesums ---- a/distrib/common/Makefile.bootcd -+++ b/distrib/common/Makefile.bootcd -@@ -125,9 +125,9 @@ - .if ${CDRELEASE} == false - CDIMAGE= ${CDBASE}.iso - .elif ${CDBASE:M*dvd} --CDIMAGE= NetBSD-${DISTRIBVER}-${CDBASE:S/dvd$//}-dvd.iso -+CDIMAGE= Makronix-${MAKRONIXVER}-${CDBASE:S/dvd$//}-dvd.iso - .else --CDIMAGE= NetBSD-${DISTRIBVER}-${CDBASE:S/cd$//}.iso -+CDIMAGE= Makronix-${MAKRONIXVER}-${CDBASE:S/cd$//}.iso - .endif - WORKSPEC= fs.spec - ---- a/distrib/amd64/installimage/Makefile -+++ b/distrib/amd64/installimage/Makefile -@@ -2,7 +2,7 @@ - - .include - --INSTIMGBASE= NetBSD-${DISTRIBVER}-amd64-install # gives ${IMGBASE}.img -+INSTIMGBASE= Makronix-${MAKRONIXVER}-amd64-install # gives ${IMGBASE}.img - - .include "installimage.mk" - ---- a/distrib/amd64/installimage-bios/Makefile -+++ b/distrib/amd64/installimage-bios/Makefile -@@ -2,7 +2,7 @@ - - .include - --INSTIMGBASE= NetBSD-${DISTRIBVER}-amd64-bios-install # gives ${IMGBASE}.img -+INSTIMGBASE= Makronix-${MAKRONIXVER}-amd64-bios-install # gives ${IMGBASE}.img - - .include "../installimage/installimage.mk" - ---- a/distrib/amd64/installimage/installimage.mk -+++ b/distrib/amd64/installimage/installimage.mk -@@ -19,7 +19,7 @@ - prepare_md_post: - ${TOOL_SED} \ - -e "s/@@MACHINE@@/${MACHINE}/" \ -- -e "s/@@VERSION@@/${DISTRIBVER}/" \ -+ -e "s/@@VERSION@@/${MAKRONIXVER}/" \ - < ${.CURDIR}/boot.cfg.in > boot.cfg - - DISTRIBDIR!= cd ${.CURDIR}/../.. ; pwd ---- a/distrib/amd64/cdroms/bootcd/Makefile -+++ b/distrib/amd64/cdroms/bootcd/Makefile -@@ -10,6 +10,6 @@ - CLEANFILES+= boot.cfg - - prepare_md_post: -- ${TOOL_SED} "s/@@VERSION@@/${DISTRIBVER}/" < ${.CURDIR}/boot.cfg.in > boot.cfg -+ ${TOOL_SED} "s/@@VERSION@@/${MAKRONIXVER}/" < ${.CURDIR}/boot.cfg.in > boot.cfg - - .include "${.CURDIR}/../../../common/Makefile.bootcd" ---- a/distrib/amd64/cdroms/bootcd-com/Makefile -+++ b/distrib/amd64/cdroms/bootcd-com/Makefile -@@ -14,6 +14,6 @@ - CLEANFILES+= boot.cfg - - prepare_md_post: -- ${TOOL_SED} "s/@@VERSION@@/${DISTRIBVER}/" < ${.CURDIR}/../bootcd/boot.cfg.in > boot.cfg -+ ${TOOL_SED} "s/@@VERSION@@/${MAKRONIXVER}/" < ${.CURDIR}/../bootcd/boot.cfg.in > boot.cfg - - .include "${.CURDIR}/../../../common/Makefile.bootcd" ---- a/distrib/amd64/cdroms/installcd/Makefile -+++ b/distrib/amd64/cdroms/installcd/Makefile -@@ -59,7 +59,7 @@ - CLEANFILES+= boot.cfg - - prepare_md_post: -- ${TOOL_SED} "s/@@VERSION@@/${DISTRIBVER}/" \ -+ ${TOOL_SED} "s/@@VERSION@@/${MAKRONIXVER}/" \ - < ${.CURDIR}/boot.cfg.in > boot.cfg - # image_md_pre (Makefile.cdrom) copies files into cdrom/etc and - # cdrom/usr/share/sysinst/catalog, which the etc and base sets used to ---- a/distrib/amd64/cdroms/installdvd/Makefile -+++ b/distrib/amd64/cdroms/installdvd/Makefile -@@ -35,7 +35,7 @@ - .endif - - prepare_md_post: -- ${TOOL_SED} "s/@@VERSION@@/${DISTRIBVER}/" \ -+ ${TOOL_SED} "s/@@VERSION@@/${MAKRONIXVER}/" \ - < ${.CURDIR}/boot.cfg.in > boot.cfg - - .include "${.CURDIR}/../../../common/Makefile.bootcd" ---- a/distrib/amd64/cdroms/bootcd/boot.cfg.in -+++ b/distrib/amd64/cdroms/bootcd/boot.cfg.in -@@ -1,12 +1,11 @@ --banner=Welcome to the NetBSD @@VERSION@@ boot-only install CD -+banner=Welcome to the Makronix @@VERSION@@ boot-only install CD - banner================================================================================ - banner= - banner=This media contains only the installation program. Binary sets to complete the - banner=installation must be downloaded separately. The installer can download them - banner=if this machine has a working internet connection. - banner= --banner=If you encounter a problem while booting, report a bug at --banner=https://www.NetBSD.org/. --menu=Install NetBSD:boot netbsd -+banner=Makronix is based on NetBSD (https://www.NetBSD.org/). -+menu=Install Makronix:boot netbsd - menu=Drop to boot prompt:prompt - timeout=5 ---- a/distrib/amd64/cdroms/installcd/boot.cfg.in -+++ b/distrib/amd64/cdroms/installcd/boot.cfg.in -@@ -1,8 +1,7 @@ --banner=Welcome to the NetBSD @@VERSION@@ installation CD -+banner=Welcome to the Makronix @@VERSION@@ installation CD - banner================================================================================ - banner= --banner=If you encounter a problem while booting, report a bug at --banner=https://www.NetBSD.org/. --menu=Install NetBSD:load /amd64/installation/miniroot/miniroot.kmod;boot netbsd -+banner=Makronix is based on NetBSD (https://www.NetBSD.org/). -+menu=Install Makronix:load /amd64/installation/miniroot/miniroot.kmod;boot netbsd - menu=Drop to boot prompt:prompt - timeout=5 ---- a/distrib/amd64/cdroms/installdvd/boot.cfg.in -+++ b/distrib/amd64/cdroms/installdvd/boot.cfg.in -@@ -1,8 +1,7 @@ --banner=Welcome to the NetBSD @@VERSION@@ installation DVD -+banner=Welcome to the Makronix @@VERSION@@ installation DVD - banner================================================================================ - banner= --banner=If you encounter a problem while booting, report a bug at --banner=https://www.NetBSD.org/. --menu=Install NetBSD:boot netbsd -+banner=Makronix is based on NetBSD (https://www.NetBSD.org/). -+menu=Install Makronix:boot netbsd - menu=Drop to boot prompt:prompt - timeout=5 ---- a/distrib/amd64/installimage/boot.cfg.in -+++ b/distrib/amd64/installimage/boot.cfg.in -@@ -1,9 +1,8 @@ --banner=Welcome to the NetBSD/@@MACHINE@@ @@VERSION@@ installation image -+banner=Welcome to the Makronix @@VERSION@@ (@@MACHINE@@) installation image - banner================================================================================ - banner= --banner=If you encounter a problem while booting, report a bug at --banner=https://www.NetBSD.org/. --menu=Install NetBSD:boot netbsd -+banner=Makronix is based on NetBSD (https://www.NetBSD.org/). -+menu=Install Makronix:boot netbsd - menu=Drop to boot prompt:prompt - consdev=auto - timeout=5 ---- a/distrib/amd64/installimage-bios/boot.cfg.in -+++ b/distrib/amd64/installimage-bios/boot.cfg.in -@@ -1,9 +1,8 @@ --banner=Welcome to the NetBSD/@@MACHINE@@ @@VERSION@@ installation image -+banner=Welcome to the Makronix @@VERSION@@ (@@MACHINE@@) installation image - banner================================================================================ - banner= --banner=If you encounter a problem while booting, report a bug at --banner=https://www.NetBSD.org/. --menu=Install NetBSD:boot netbsd -+banner=Makronix is based on NetBSD (https://www.NetBSD.org/). -+menu=Install Makronix:boot netbsd - menu=Drop to boot prompt:prompt - timeout=5 - clear=1 ---- a/distrib/amd64/liveimage/emuimage/Makefile -+++ b/distrib/amd64/liveimage/emuimage/Makefile -@@ -1,6 +1,6 @@ - # $NetBSD: Makefile,v 1.10 2024/04/16 16:13:44 maya Exp $ - --LIVEIMGBASE= NetBSD-${DISTRIBVER}-amd64-live # gives ${IMGBASE}.img -+LIVEIMGBASE= Makronix-${MAKRONIXVER}-amd64-live # gives ${IMGBASE}.img - - EMUIMAGEMB?= 1907 # 2GB USB flash memories aren't 2GiB - LIVEIMAGEMB= ${EMUIMAGEMB} ---- a/etc/Makefile -+++ b/etc/Makefile -@@ -45,6 +45,7 @@ - CKSUM?= ${TOOL_CKSUM} - MAKESUMS= MAKE=${MAKE:Q} CKSUM=${CKSUM:Q} ${HOST_SH} ${NETBSDSRCDIR}/distrib/sets/makesums - DISTRIBVER!= ${HOST_SH} ${NETBSDSRCDIR}/sys/conf/osrelease.sh -+MAKRONIXVER!= cat ${NETBSDSRCDIR}/sys/conf/makronix-release - - GZIP_FLAGS= -9 ${GZIP_N_FLAG} - -@@ -201,7 +202,7 @@ - CLEANFILES+= etc-release - etc-release: .EXEC .MAKE - ${_MKTARGET_CREATE} -- @( echo "NetBSD ${DISTRIBVER}/${MACHINE}"; \ -+ @( echo "Makronix ${MAKRONIXVER}/${MACHINE} (based on NetBSD ${DISTRIBVER})"; \ - echo ; \ - cat ${NETBSDSRCDIR}/sys/conf/copyright; \ - echo ; \ ---- /dev/null -+++ b/sys/conf/makronix-release -@@ -0,0 +1 @@ -+0.99.9 diff --git a/patches/src/0016-installimage-bios-packages.patch b/patches/src/0016-installimage-bios-packages.patch deleted file mode 100644 index 800b26e10a..0000000000 --- a/patches/src/0016-installimage-bios-packages.patch +++ /dev/null @@ -1,31 +0,0 @@ -The MBR install image (make usb, -bios-install) gets what patch 0014 gave the GPT -image: the binary packages under amd64/packages, 3072 MB, and consdev=auto. -Found 2026-11-08 by tools/test.sh: the smoke test of the image could not see the -installer on the serial console, and the image carried no packages. - ---- a/distrib/amd64/installimage-bios/Makefile -+++ b/distrib/amd64/installimage-bios/Makefile -@@ -6,6 +6,14 @@ - - .include "../installimage/installimage.mk" - -+# The binary packages on the stick, as for the GPT image (patch 0014): `make iso' -+# stages them in build/cd3; sysinst installs the extra programs from -+# /packages. The image grows to 3072 MB. -+.if exists(${NETBSDSRCDIR}/../build/cd3/amd64/packages/top.list) -+MD_IMGDIR_EXTRA= ${NETBSDSRCDIR}/../build/cd3/amd64 amd64 -+INSTIMAGEMB= 3072 -+.endif -+ - USE_MBR= yes - - .include "${NETBSDSRCDIR}/distrib/common/bootimage/Makefile.installimage" ---- a/distrib/amd64/installimage-bios/boot.cfg.in -+++ b/distrib/amd64/installimage-bios/boot.cfg.in -@@ -4,5 +4,6 @@ - banner=Makronix is based on NetBSD (https://www.NetBSD.org/). - menu=Install Makronix:boot netbsd - menu=Drop to boot prompt:prompt -+consdev=auto - timeout=5 - clear=1 diff --git a/patches/src/0017-makronix-codename.patch b/patches/src/0017-makronix-codename.patch deleted file mode 100644 index 28c4f3b7bf..0000000000 --- a/patches/src/0017-makronix-codename.patch +++ /dev/null @@ -1,42 +0,0 @@ -The release name: sys/conf/makronix-codename holds it (Camouflage, the name of a CDE -palette; GOAL.md). It is in the kernel banner (uname -v, dmesg, motd) and in the -first line of /etc/release: "Makronix 0.99.9 Camouflage (GENERIC) based on NetBSD 11.99.9". - ---- a/sys/conf/newvers.sh -+++ b/sys/conf/newvers.sh -@@ -231,10 +231,11 @@ - ost="NetBSD" - osr=$(sh $osrelcmd) - mxr=$(cat "${cwd}/makronix-release") -+mxn=$(cat "${cwd}/makronix-codename") - - # Makronix identity: the banner names the product; ostype stays ${ost} - # (pkgsrc, config.guess and ports decide by uname -s) --fullversion="Makronix ${mxr} (${id}) based on ${ost} ${osr}${reproversion}\n" -+fullversion="Makronix ${mxr} ${mxn} (${id}) based on ${ost} ${osr}${reproversion}\n" - - # Convert multi-line strings to C source code. - # Also add an extra blank line to copyright. ---- a/etc/Makefile -+++ b/etc/Makefile -@@ -46,6 +46,7 @@ - MAKESUMS= MAKE=${MAKE:Q} CKSUM=${CKSUM:Q} ${HOST_SH} ${NETBSDSRCDIR}/distrib/sets/makesums - DISTRIBVER!= ${HOST_SH} ${NETBSDSRCDIR}/sys/conf/osrelease.sh - MAKRONIXVER!= cat ${NETBSDSRCDIR}/sys/conf/makronix-release -+MAKRONIXNAME!= cat ${NETBSDSRCDIR}/sys/conf/makronix-codename - - GZIP_FLAGS= -9 ${GZIP_N_FLAG} - -@@ -202,7 +203,7 @@ - CLEANFILES+= etc-release - etc-release: .EXEC .MAKE - ${_MKTARGET_CREATE} -- @( echo "Makronix ${MAKRONIXVER}/${MACHINE} (based on NetBSD ${DISTRIBVER})"; \ -+ @( echo "Makronix ${MAKRONIXVER} ${MAKRONIXNAME}/${MACHINE} (based on NetBSD ${DISTRIBVER})"; \ - echo ; \ - cat ${NETBSDSRCDIR}/sys/conf/copyright; \ - echo ; \ ---- /dev/null -+++ b/sys/conf/makronix-codename -@@ -0,0 +1 @@ -+Camouflage diff --git a/patches/src/0018-installimage-sources.patch b/patches/src/0018-installimage-sources.patch deleted file mode 100644 index 252b37d724..0000000000 --- a/patches/src/0018-installimage-sources.patch +++ /dev/null @@ -1,90 +0,0 @@ -# The source sets on the install images (make usb), so that a system installed -# from the stick can rebuild itself (Konrad, 2026-11-09) - -The DVD from `make isosrc' carries RELEASEDIR/source (CDSOURCE, distrib/common/ -Makefile.bootcd); the sticks did not. Run from the stick, sysinst looks for the -source sets in /source/sets ("ftp src prefix", sysinst main.c) and installs the -ones it finds in the simple mode (util.c, select_source_sets_present). - -common/bootimage/Makefile.bootimage: MD_IMGSPEC_DIRS, directories below WORKDIR - (targets of IMGDIR_EXTRA) for which makespec writes makefs spec entries, the - way it already does for RELEASEMACHINEDIR; without it makefs -xx stops with - "missing specfile entry for work/source" (build/logs/x-usb-2026-11-09d.log). -amd64/installimage/Makefile, amd64/installimage-bios/Makefile: when `make - sourcesets' has written RELEASEDIR/source/sets, that directory goes to /source - on the image, and the image is the size of a single-layer DVD, 4482 MiB - (Konrad: one DVD, N CDs or one stick). Content measured 2026-11-09: 3535 MiB. - -A GPT image does not boot from USB under QEMU/OVMF with or without /source -(3 GB: build/logs/test-smoke-usb-uefi-2026-11-09.log, the same `:-(' as the 7 GB -images); the same kind of image boots a MacBookPro8,1 (docs/PLATFORMS.md). - ---- a/distrib/common/bootimage/Makefile.bootimage -+++ b/distrib/common/bootimage/Makefile.bootimage -@@ -109,6 +109,10 @@ - # pax(1) options to exclude files which should not copied - # into TARGETPATH in IMGDIR_EXTRA - # (default: empty) -+# MD_IMGSPEC_DIRS -+# list of additional directories below WORKDIR (targets of -+# IMGDIR_EXTRA) for which makespec writes spec entries -+# (default: empty) - # FSTAB_IN - # template file of /etc/fstab - # (default: ${DISTRIBDIR}/common/bootimage/fstab.in) -@@ -480,6 +484,13 @@ - if [ -d ${WORKDIR}/${RELEASEMACHINEDIR} ]; then \ - ${MAKESPEC} -d ${WORKDIR} ${RELEASEMACHINEDIR} >> ${WORKSPEC}; \ - fi -+.if defined(MD_IMGSPEC_DIRS) -+.for _d in ${MD_IMGSPEC_DIRS} -+ if [ -d ${WORKDIR}/${_d} ]; then \ -+ ${MAKESPEC} -d ${WORKDIR} ${_d} >> ${WORKSPEC}; \ -+ fi -+.endfor -+.endif - @echo Creating rootfs... - # XXX /var/spool/ftp/hidden is unreadable - ${CHMOD} +r ${WORKDIR}/var/spool/ftp/hidden ---- a/distrib/amd64/installimage/Makefile -+++ b/distrib/amd64/installimage/Makefile -@@ -16,6 +16,18 @@ - INSTIMAGEMB= 3072 - .endif - -+# Makronix: the source sets (make sourcesets) go to /source on the image, where -+# sysinst looks for them when it runs from the stick ("ftp src prefix", -+# sysinst main.c) and installs them in the simple mode (util.c, -+# select_source_sets_present). MD_IMGSPEC_DIRS gives them makefs spec entries -+# (common/bootimage/Makefile.bootimage). The image is the size of a -+# single-layer DVD (4482 MiB): a stick carries what the DVD carries. -+.if exists(${RELEASEDIR}/source/sets) -+MD_IMGDIR_EXTRA+= ${RELEASEDIR}/source source -+MD_IMGSPEC_DIRS+= source -+INSTIMAGEMB= 4482 -+.endif -+ - EFIBOOT= ${WORKDIR}/usr/mdec/bootx64.efi - EFIBOOT+= ${WORKDIR}/usr/mdec/bootia32.efi - #EFIBOOT= ${.OBJDIR}/../../../sys/arch/i386/stand/efiboot/bootx64/bootx64.efi ---- a/distrib/amd64/installimage-bios/Makefile -+++ b/distrib/amd64/installimage-bios/Makefile -@@ -14,6 +14,18 @@ - INSTIMAGEMB= 3072 - .endif - -+# Makronix: the source sets (make sourcesets) go to /source on the image, where -+# sysinst looks for them when it runs from the stick ("ftp src prefix", -+# sysinst main.c) and installs them in the simple mode (util.c, -+# select_source_sets_present). MD_IMGSPEC_DIRS gives them makefs spec entries -+# (common/bootimage/Makefile.bootimage). The image is the size of a -+# single-layer DVD (4482 MiB): a stick carries what the DVD carries. -+.if exists(${RELEASEDIR}/source/sets) -+MD_IMGDIR_EXTRA+= ${RELEASEDIR}/source source -+MD_IMGSPEC_DIRS+= source -+INSTIMAGEMB= 4482 -+.endif -+ - USE_MBR= yes - - .include "${NETBSDSRCDIR}/distrib/common/bootimage/Makefile.installimage" diff --git a/patches/src/0019-motd-makronix.patch b/patches/src/0019-motd-makronix.patch deleted file mode 100644 index 8cef1a54a5..0000000000 --- a/patches/src/0019-motd-makronix.patch +++ /dev/null @@ -1,20 +0,0 @@ -# /etc/motd says Makronix (the text of etc/motd.current, MOTD_SOURCE in etc/Makefile:178) - -The edit was found in src/ on 2026-11-09 without a patch; recorded here so that a -fresh import builds the same motd. NetBSD stays named as the base and for donations. - ---- a/etc/motd.current -+++ b/etc/motd.current -@@ -1,8 +1,8 @@ --NetBSD ?.? (UNKNOWN) -+Makronix ?.? (UNKNOWN) - --Welcome to NetBSD! -+Welcome to Makronix! - --This is a development snapshot of NetBSD for testing -- user beware! -+Makronix is proudly based on NetBSD (https://www.NetBSD.org/). -+This is a development snapshot for testing -- user beware! - --Bug reports: https://www.NetBSD.org/support/send-pr.html - Donations to the NetBSD Foundation: https://www.NetBSD.org/donations/ diff --git a/patches/src/AGENTS.md b/patches/src/AGENTS.md deleted file mode 100644 index b222fa2032..0000000000 --- a/patches/src/AGENTS.md +++ /dev/null @@ -1,88 +0,0 @@ -# patches/src/ -- patches for the NetBSD import - -Applied, in this order (`ls` and the comment at the top of each file are the -authority; this list was written on 2026-11-06): - -- `0001-sets-makronix-set.patch` -- the `makronix` set: `sets.subr`, - `checkflist`, first version of `lists/makronix/mi`. -- `0002-sets-cde-closure.patch` -- the CDE package closure in - `lists/makronix/mi`. Stacks on 0001; large because the list is generated - by `tools/makronix-set.sh`. -- `0004-makronix-install-cd-size.patch` -- `distrib/amd64/cdroms/installcd/ - Makefile`: `CDMAKEFSEXTRAOPTS` from `-m 700m` to `-m 800m`, so that - `nbmakefs` accepts the CD with the `makronix` set on it. An upper limit, not - a size. Relevant for the multi-CD question in `GOAL.md`. -- `0007-boot-cfg-timeout-5s.patch` -- `timeout=5` in the `boot.cfg.in` files of - the media this tree builds. -- `0008-installcd-serial-console.patch` -- `console=com0` in the install CD's - bootxx, so the CD can be driven over a serial line. A test aid. Since - 2026-11-06 the same for `installdvd` (the DVD with the source sets). -- `0009-menuc-colour-pairs.patch` -- `usr.bin/menuc/menu_sys.def` draws the - selected line with colour pair 2 and the box with pair 3 when the program has - set them (sysinst does, `util.c`); otherwise standout and the plain box. The - file reaches the build through the tools stage (`/share/misc`). -- `0010-makesrctars-msrc.patch` -- `distrib/sets/makesrctars` and Since 2026-11-07 msrc keeps the file modes of the tree (pkgsrc runs bootstrap and configure directly). - `Makefile`: `-m dir` makes the set `msrc` (`usr/msrc`, keeps - symbolic links), `-g` keeps the `.git` of each tree in its set; passed by - `MSRCDIR` and `MAKESRCTARS_KEEPGIT` (`make sourcesets` in the root - `Makefile`). Without the options nothing changes. -- `0011-ramdisk-cgdconfig.patch` -- `distrib/amd64/ramdisks/ramdisk/list`: the - install ramdisk has `cgdconfig`, so a RAM-disk installer offers the encrypted - installation. `IMAGESIZE` stays 5000k (the INSTALL kernels hold exactly that). -- `0012-installcd-ramdisk-two-cds.patch` -- the install CD (the first of two) - boots the installer into RAM (`boot.cfg.in` loads `miniroot.kmod`), does not - carry the `makronix` set (it is on CD 2, `tools/cd2.sh`) and does not unpack - `CD_SETS` onto itself. The DVD is not changed. - -The numbers 0003, 0005 and 0006 are not here. 0005 and 0006 were removed on -2026-11-06 and live in `../unused/`. 0003 (sysinst knows `SET_MAKRONIX`: -`defs.h`, `arch/amd64/md.h`, `util.c`, `msg.mi.*`) became part of the overlay -unit `usr.sbin/sysinst` on the same day (`../../overlay/AGENTS.md`); its -content is the difference of that unit against the import -(`tools/overlay.sh diff`). Do not reuse the numbers. - -Rules: see `../AGENTS.md`. Whoever adds a patch adds a line above, in the same -commit. The sysinst fork (colours, simple install, optional encryption) is -done as new patches here, in small steps, one per feature. - -`0008` also lets `installdvd` take `build/cd3` (relative to `NETBSDSRCDIR`) into -`CDBUILDEXTRA` when it exists (2026-11-07): `make iso` and `make isosrc` stage the -packages there (`tools/cd3.sh stage`) before they run build.sh, so that the DVD -carries them and the first CD does not. Not `CDEXTRA`: `build.sh` gives -`iso-image` `CDEXTRA="$CDEXTRA"` on the make command line (`build.sh:2989`), which -wins over any assignment in a Makefile, so it is empty in `installdvd` whatever -it says (`cdextra=""` in `make-iso-cd19/cd20-2026-11-07.log`), and `build.sh -C` -or `-V CDEXTRA` reaches every CD (the first CD carried 500 MB of packages, -`nbmakefs: won't fit`, `make-iso-cd18-2026-11-07.log`). `CDBUILDEXTRA` is copied -by `common/Makefile.bootcd` the same way and nobody overrides it. - -- `0013-sysinst-portuguese-catalog.patch` -- the Portuguese (Brazil) catalog of - sysinst: one `COPY` line in `distrib/common/list.sysinst` (the install - ramdisk) and one line in `distrib/sets/lists/base/md.amd64` (the base set; - `checkflist` fails on a catalog that no list names). The catalog itself is - `overlay/usr.sbin/sysinst/msg.*.pt` (2026-11-07). - -- `0014-installimage-packages.patch` -- the install image (`make usb`) carries the - binary packages and `consdev=auto` in its boot.cfg: `MD_IMGDIR_EXTRA` in `distrib/common/bootimage/ - Makefile.installimage` (a hook, like `MD_IMGDIR_EXCLUDE`) and, in - `distrib/amd64/installimage/Makefile`, the staged `build/cd3/amd64` goes to - `amd64/` on the image (3072 MB) when `tools/cd3.sh stage` has run; sysinst's - extra programs step finds them there (2026-11-08). -- `0015-makronix-identity.patch` -- Makronix identity (2026-11-08): `sys/conf/makronix-release` - holds the product version (0.99.9); the kernel banner (`uname -v`), `/etc/release`, - `/etc/motd`, the getty banner, the boot loaders' banners, the `boot.cfg` menus and - the names of the install media say Makronix. Not changed on purpose: - `kern.ostype` (`uname -s` stays NetBSD), `osrelease`, the ELF note and the - `__NetBSD__` macros -- pkgsrc's `OPSYS` and `config.guess` decide by them. -- `0016-installimage-bios-packages.patch` -- the MBR install image (`-bios-install`) gets - the same as the GPT image from 0014: packages on the image (3072 MB) and `consdev=auto` - (2026-11-08). -- `0017-makronix-codename.patch` -- the release name (`sys/conf/makronix-codename`, - Camouflage): in the kernel banner and the first line of `/etc/release` (2026-11-08). -- `0018-installimage-sources.patch` -- both install images (`make usb`) carry - RELEASEDIR/source as /source when `make sourcesets` ran first, and are the size of a - single-layer DVD (4482 MiB; content 3535 MiB); `MD_IMGSPEC_DIRS` in - `bootimage/Makefile.bootimage` gives IMGDIR_EXTRA trees makefs spec entries. No - GPT image boots from USB under QEMU/OVMF, with or without /source (2026-11-09). -- `0019-motd-makronix.patch` -- `/etc/motd` says Makronix, based on NetBSD (found unrecorded in - `src/` on 2026-11-09, recorded as found). diff --git a/patches/unused/0005-cgd-root.patch b/patches/unused/0005-cgd-root.patch deleted file mode 100644 index 9396a56427..0000000000 --- a/patches/unused/0005-cgd-root.patch +++ /dev/null @@ -1,643 +0,0 @@ ---- a/distrib/amd64/ramdisks/ramdisk-cgdroot/Makefile -+++ b/distrib/amd64/ramdisks/ramdisk-cgdroot/Makefile -@@ -2,7 +2,18 @@ - - IMAGE= ramdisk-cgdroot.fs - IMAGESIZE= 5000k --IMAGEDEPENDS= -+# The ramdisk's /etc/rc is a COPY of cgdroot.rc (distrib/common/list.cgdroot), -+# and COPY sources are not dependencies of the tree build. IMAGEDEPENDS is -+# what the IMAGE depends on, so name the script there -- otherwise editing it -+# leaves the old ramdisk in place. -+IMAGEDEPENDS= ${DISTRIBDIR}/common/cgdroot.rc -+# A ramdisk is a bare file system: without this the image has an empty /dev -+# and /sbin/init cannot even open the console, let alone cgdconfig the -+# passphrase. The set is what cgdroot.rc uses: std (console, tty, random, -+# mem), md0 (the ramdisk itself as root), wscons (wsconsctl turns the splash -+# off), cgd0/cgd1 (the volumes) and dk0..dk7 (the wedge nodes cgdconfig gets -+# from cgd.conf's NAME=... specification via getfsspecname(3)). -+MAKEDEVTARGETS= std md0 wscons cgd0 cgd1 dk0 dk1 dk2 dk3 dk4 dk5 dk6 dk7 - CRUNCHENV= INIT_CHROOT=1 - SMALLPROG_INET6=1 - ---- a/distrib/common/cgdroot.rc -+++ b/distrib/common/cgdroot.rc -@@ -37,6 +37,32 @@ - umask 022 - - # Mount /etc/cgd. -+# -+# The parameters have to be readable before the encrypted root is. A UEFI -+# installation keeps them at the root of the EFI system partition, which is a -+# FAT file system and needs mount_msdos(8): sysinst writes cgd.conf and its key -+# file there (usr.sbin/sysinst/arch/i386/md.c, setup_cgd_boot) because that -+# partition is the one the boot loader already reads, and this script mounts it -+# at /etc/cgd, so the two come back as /etc/cgd/cgd.conf and -+# /etc/cgd/cgdroot -- the file cgdconfig -C reads and the key path it names. -+# The disk layouts above add nothing new, they keep trying the FFS partition -+# first. -+# -+# The partition has no fixed wedge number -- dk(4) numbers follow discovery -+# order, so the ESP is dk0 on one machine and dk1 on the next -- hence the -+# same probe-the-candidates approach the FFS loop uses, over the wedge nodes -+# this ramdisk carries (distrib/*/ramdisks/ramdisk-cgdroot/Makefile, -+# MAKEDEVTARGETS). -+# -+# mount_msdos(8) is called directly, with -l, and not through mount(8): -l is -+# a program flag, not a mount option (mopts[] in sbin/mount_msdos/mount_msdos.c), -+# and mount(8) passes only the -o string on to the helper. Without it, -+# mount_msdos mounts a file system whose root directory carries no Win'95 long -+# name entry with short names only (mount_msdos.8, -l), and the parameters file -+# sysinst wrote - /etc/cgd/cgd.conf - comes back as CGD~1.CON, which -+# cgdconfig(8) does not find. Measured on the amd64 install CD built from this -+# tree: the installation itself was fine, the first boot of the installed disk -+# stopped with 'cgdconfig: could not open config file "/etc/cgd/cgd.conf"'. - etc_cgd_mount= - for dev in NAME=cgd.conf /dev/wd0a /dev/ld0a ; do - if mount -o ro $dev /etc/cgd 2>/dev/null ; then -@@ -45,6 +71,15 @@ - fi - done - if [ -z "${etc_cgd_mount}" ]; then -+ for dev in /dev/dk0 /dev/dk1 /dev/dk2 /dev/dk3 \ -+ /dev/dk4 /dev/dk5 /dev/dk6 /dev/dk7 ; do -+ if /sbin/mount_msdos -l -o ro $dev /etc/cgd 2>/dev/null ; then -+ etc_cgd_mount=$dev -+ break -+ fi -+ done -+fi -+if [ -z "${etc_cgd_mount}" ]; then - echo "Could not mount the boot partition" 1>&2 - exit 2 - fi ---- a/distrib/common/list.sysinst -+++ b/distrib/common/list.sysinst -@@ -8,6 +8,15 @@ - PROG sysinst - PROG usr/bin/progress - -+# The partition editor creates cgd(4) volumes and configures them with -+# cgdconfig (partman.c, pm_cgd_commit), and have_cgd is decided by -+# binary_available("cgdconfig") (util.c). Without it sysinst removes the -+# "encrypt" menu entries and an encrypted root cannot be installed at all. -+# Same program and libraries as the cgdroot ramdisk -+# (distrib/common/list.cgdroot). -+PROG sbin/cgdconfig -+LIBS -lcrypto -+ - SPECIAL sysinst srcdir usr.sbin/sysinst/arch/${MACHINE} - - # Foreign texts for sysinst ---- a/distrib/i386/ramdisks/ramdisk-cgdroot/Makefile -+++ b/distrib/i386/ramdisks/ramdisk-cgdroot/Makefile -@@ -3,7 +3,18 @@ - BOOTMODEL= big - IMAGE= ramdisk-cgdroot.fs - IMAGESIZE= 5000k --IMAGEDEPENDS= -+# The ramdisk's /etc/rc is a COPY of cgdroot.rc (distrib/common/list.cgdroot), -+# and COPY sources are not dependencies of the tree build. IMAGEDEPENDS is -+# what the IMAGE depends on, so name the script there -- otherwise editing it -+# leaves the old ramdisk in place. -+IMAGEDEPENDS= ${DISTRIBDIR}/common/cgdroot.rc -+# A ramdisk is a bare file system: without this the image has an empty /dev -+# and /sbin/init cannot even open the console, let alone cgdconfig the -+# passphrase. The set is what cgdroot.rc uses: std (console, tty, random, -+# mem), md0 (the ramdisk itself as root), wscons (wsconsctl turns the splash -+# off), cgd0/cgd1 (the volumes) and dk0..dk7 (the wedge nodes cgdconfig gets -+# from cgd.conf's NAME=... specification via getfsspecname(3)). -+MAKEDEVTARGETS= std md0 wscons cgd0 cgd1 dk0 dk1 dk2 dk3 dk4 dk5 dk6 dk7 - CRUNCHENV= INIT_CHROOT=1 - SMALLPROG_INET6=1 - ---- a/usr.sbin/sysinst/arch/i386/md.c -+++ b/usr.sbin/sysinst/arch/i386/md.c -@@ -330,6 +330,38 @@ - } - - /* -+ * Where the EFI system partition gets mounted. -+ * -+ * A partition's mount field is the *last* mount point of a file system -+ * that already exists (struct part_usage_info, defs.h), filled in by -+ * gpt_get_part_info() and the disklabel code from get_last_mounted(3). -+ * For an MSDOS partition that function does not report a mount point at -+ * all: its GLM_MAYBE_FAT32 branch reports the FAT *volume label* -+ * (label.c, get_last_mounted()). A label is a name, not a path, and the -+ * two are not interchangeable here: target_mount_do() concatenates the -+ * target prefix and the mount point without a separator (target.c), so -+ * an unqualified label "EFI" would be mounted as "/targetrootEFI", while -+ * make_target_dir() creates "/targetroot/EFI". Only a value that is an -+ * absolute path is therefore used as a mount point, and only when the -+ * partition is mounted already; otherwise the partition is mounted on -+ * the private /mnt the code always had. -+ */ -+static bool -+esp_mounted(const struct part_usage_info *boot) -+{ -+ -+ return (boot->instflags & PUIINST_MOUNT) != 0 && -+ boot->mount[0] == '/'; -+} -+ -+static const char * -+esp_mountpoint(const struct part_usage_info *boot) -+{ -+ -+ return esp_mounted(boot) ? boot->mount : "/mnt"; -+} -+ -+/* - * Make sure our bootloader(s) are in the proper directory in the boot - * boot partition (or update them). - */ -@@ -337,6 +369,7 @@ - copy_uefi_boot(const struct part_usage_info *boot, bool target_is_populated) - { - char dev[MAXPATHLEN], path[MAXPATHLEN], src[MAXPATHLEN]; -+ const char *mp; - const char *s; - size_t i; - int err; -@@ -349,18 +382,27 @@ - * We should have a valid file system on that partition. - * Try to mount it and check if there is a /EFI in there. - */ -- if (boot->mount[0]) -- strlcpy(path, boot->mount, sizeof(path)); -- else -- strcpy(path, "/mnt"); -- -- if (!(boot->instflags & PUIINST_MOUNT)) { -- make_target_dir(path); -- err = target_mount("", dev, path); -+ mp = esp_mountpoint(boot); -+ -+ if (!esp_mounted(boot)) { -+ make_target_dir(mp); -+ /* -+ * Say which file system it is. Without -t, mount(8) takes -+ * the type from the wedge (getfslab(3): DIOCGWEDGEINFO's -+ * dkw_ptype, sbin/mount/mount.c), and on a partition that was -+ * just created that string is what the kernel guessed when it -+ * discovered the wedge -- garbage on a fresh GPT entry. An -+ * EFI system partition is FAT by definition (gpt.c's "efi" -+ * type is FS_MSDOS/FS_EFI_SP), and distrib/common/cgdroot.rc -+ * mounts the same partition the same way at boot -+ * ("mount -t msdos -o ro"). -+ */ -+ err = target_mount("-t msdos", dev, mp); - if (err != 0) - return err; - } - -+ strlcpy(path, mp, sizeof(path)); - strlcat(path, "/EFI/boot", sizeof(path)); - make_target_dir(path); - -@@ -375,8 +417,8 @@ - if (err) - return err; - } -- if (boot->mount[0] == 0) -- target_unmount("/mnt"); -+ if (!esp_mounted(boot)) -+ target_unmount(mp); - - return 0; - } -@@ -436,6 +478,239 @@ - : update_bios_boot_code(install); - } - -+/* -+ * The boot path of an encrypted root, as distrib/common/cgdroot.rc lays it -+ * out: the boot loader loads a kernel and the cgdroot miniroot module -+ * (distrib/amd64/kmod-cgdroot), the kernel runs that ramdisk's /etc/rc, which -+ * mounts the unencrypted /etc/cgd, runs cgdconfig -C for the passphrase, -+ * mounts the decrypted root on /altroot and hands over with init.root. -+ * -+ * None of that can live on the cgd itself. On UEFI it goes on the EFI system -+ * partition, which is the only unencrypted file system this layout has, the -+ * same partition copy_uefi_boot() writes the loaders to, and the place -+ * efiboot(8) reads its boot.cfg from (EFIBOOTCFG_FILENAME in -+ * sys/arch/i386/stand/efiboot/boot.c). cgdroot.rc mounts it with -t msdos. -+ * -+ * Follows update_uefi_boot_code()/copy_uefi_boot(): find the boot partition, -+ * mount it with target_mount(), place the files with cp_within_target() and -+ * target_fopen(), unmount again if this function mounted it. -+ */ -+static int -+setup_cgd_boot(struct install_partition_desc *install) -+{ -+ static const char kfile[] = "/installation/miniroot/cgdroot.kmod"; -+ struct part_usage_info *boot, *root; -+ char rootdev[STRSIZE], bootdev[STRSIZE], partname[STRSIZE]; -+ char mountpoint[PATH_MAX], path[PATH_MAX], src[PATH_MAX]; -+ const char *slash; -+ struct termios t; -+ dev_t condev; -+ size_t clen; -+ FILE *f; -+ int node, ret, conunit, conspeed; -+ size_t i; -+ bool mounted; -+ -+ /* Only the EFI layout has somewhere to keep the boot files. */ -+ if (!uefi_boot) -+ return 0; -+ -+ /* Nothing to do unless the new root lives on a cgd. */ -+ if (install->num == 0) -+ return 0; -+ root = NULL; -+ for (i = 0; i < install->num; i++) { -+ if (strcmp(install->infos[i].mount, "/") != 0) -+ continue; -+ root = &install->infos[i]; -+ break; -+ } -+ if (root == NULL || root->parts == NULL || -+ !root->parts->pscheme->get_part_device(root->parts, -+ root->cur_part_id, rootdev, sizeof rootdev, -+ NULL, plain_name, true, true)) -+ return 0; -+ if (strncmp(rootdev, "/dev/cgd", 8) != 0) -+ return 0; -+ -+ if (!pm_cgd_boot_info(&node, partname, sizeof partname)) { -+ process_menu(MENU_ok, __UNCONST( -+ "The cgd partition that holds the new root was not found; " -+ "the installed system could not boot.")); -+ return 1; -+ } -+ -+ /* The EFI system partition, searched for like update_uefi_boot_code(). */ -+ boot = NULL; -+ for (i = 0; i < install->num; i++) { -+ if ((install->infos[i].instflags & PUIINST_BOOT) == 0) -+ continue; -+ boot = &install->infos[i]; -+ break; -+ } -+ if (boot == NULL) { -+ for (i = 0; i < install->num; i++) { -+ if (install->infos[i].type != PT_EFI_SYSTEM) -+ continue; -+ boot = &install->infos[i]; -+ break; -+ } -+ } -+ if (boot == NULL || boot->parts == NULL) { -+ process_menu(MENU_ok, __UNCONST( -+ "No EFI system partition to hold the boot files of the " -+ "encrypted root.")); -+ return 1; -+ } -+ if (!boot->parts->pscheme->get_part_device(boot->parts, -+ boot->cur_part_id, bootdev, sizeof bootdev, -+ NULL, plain_name, true, true)) -+ return 1; -+ -+ strlcpy(mountpoint, esp_mountpoint(boot), sizeof mountpoint); -+ -+ mounted = false; -+ if (!esp_mounted(boot)) { -+ make_target_dir(mountpoint); -+ /* msdos, because this is the FAT partition the loader reads -+ * (the same -t distrib/common/cgdroot.rc uses at boot). */ -+ if (target_mount("-t msdos", bootdev, mountpoint) != 0) { -+ process_menu(MENU_ok, __UNCONST( -+ "Cannot mount the EFI system partition.")); -+ return 1; -+ } -+ mounted = true; -+ } -+ -+ ret = 1; -+ /* -+ * The boot loader's console, derived the way update_bios_boot() -+ * derives it for the boot blocks: sysinst itself may be running on a -+ * serial port, and the installed system should come up on the same -+ * console the installation was done on. -+ */ -+ conunit = -1; -+ conspeed = 0; -+ clen = sizeof condev; -+ if (sysctl(conmib, __arraycount(conmib), &condev, &clen, NULL, 0) != -1 -+ && (condev & ~3) == 0x800) { -+ conunit = condev & 3; -+ if (tcgetattr(0, &t) != -1) -+ conspeed = t.c_ispeed; -+ } -+ -+ /* -+ * boot.cfg, where efiboot looks for it: EFIBOOTCFG_FILENAME is -+ * "esp:/EFI/NetBSD/boot.cfg" (efiboot/boot.c), and the loader's -+ * config syntax is one "key=value" per line for the global keys and -+ * "menu=description:command" for a menu entry (libsa/bootcfg.c, -+ * perform_bootcfg()). The command string is split at ';' into -+ * separate commands (libsa/bootmenu.c, docommandchoice()), and "load" -+ * is a command of the loader, not a global key (efiboot/boot.c's -+ * command table: "load" is module_add), so the module is loaded -+ * first and the kernel last. -+ * -+ * One module is needed: cgdroot, whose ramdisk /etc/rc asks for the -+ * passphrase. The file system of the EFI system partition itself -+ * needs no module -- MSDOSFS is built into GENERIC through -+ * sys/conf/filesystems.config ("file-system MSDOSFS", included by -+ * sys/arch/amd64/conf/GENERIC), the same way the installation -+ * medium's kernel reads the ISO. -+ */ -+ snprintf(path, sizeof path, "%s/EFI/NetBSD", mountpoint); -+ make_target_dir(path); -+ strlcat(path, "/boot.cfg", sizeof path); -+ f = target_fopen(path, "w"); -+ if (f == NULL) { -+ process_menu(MENU_ok, __UNCONST( -+ "Cannot write boot.cfg on the EFI system partition.")); -+ goto out; -+ } -+ fprintf(f, "menu=Boot encrypted NetBSD:" -+ "load /cgdroot.kmod;boot netbsd\n"); -+ fprintf(f, "timeout=10\n"); -+ if (conunit >= 0 && conspeed > 0) -+ fprintf(f, "consdev=com%d,%d\n", conunit, conspeed); -+ else if (conunit >= 0) -+ fprintf(f, "consdev=com%d\n", conunit); -+ fclose(f); -+ -+ /* The kernel next to it: the root it would look at is encrypted. */ -+ snprintf(path, sizeof path, "%s/netbsd", mountpoint); -+ if (cp_within_target("/netbsd", path, 0) != 0) { -+ process_menu(MENU_ok, __UNCONST( -+ "Cannot copy the kernel to the EFI system partition.")); -+ goto out; -+ } -+ -+ /* -+ * The miniroot module, from the installation medium, next to the -+ * sets. ext_dir_bin is the directory the sets are actually read -+ * from (util.c: the medium itself when its sets are reachable -+ * directly, /mnt2/ otherwise), and installation/ is a -+ * sibling of binary/ in the release tree (build.sh release writes -+ * /installation/miniroot/cgdroot.kmod). -+ */ -+ slash = strstr(ext_dir_bin, "/binary/sets"); -+ if (slash == NULL) { -+ process_menu(MENU_ok, __UNCONST( -+ "Cannot locate the installation/ directory of the " -+ "installation medium.")); -+ goto out; -+ } -+ snprintf(src, sizeof src, "%.*s%s", (int)(slash - ext_dir_bin), -+ ext_dir_bin, kfile); -+ snprintf(path, sizeof path, "%s/cgdroot.kmod", mountpoint); -+ if (cp_to_target(src, path) != 0) { -+ process_menu(MENU_ok, __UNCONST( -+ "Cannot copy cgdroot.kmod from the installation medium; " -+ "is this a release with installation/miniroot/?")); -+ goto out; -+ } -+ -+ /* -+ * The parameters cgdroot.rc needs before it can open the encrypted -+ * root. It mounts this partition *at* /etc/cgd -+ * (distrib/common/cgdroot.rc), so the files belong at the root of -+ * the partition: after that mount they are /etc/cgd/cgd.conf and -+ * /etc/cgd/cgdroot, which is the file cgdconfig -C reads and the -+ * key path the configuration itself names. The device is named the -+ * way sysinst configured it. -+ */ -+ snprintf(path, sizeof path, "%s/cgdroot", mountpoint); -+ snprintf(src, sizeof src, "/tmp/cgd.%d.conf", node); -+ if (cp_to_target(src, path) != 0) { -+ process_menu(MENU_ok, __UNCONST( -+ "Cannot copy the cgd parameters to the boot partition.")); -+ goto out; -+ } -+ snprintf(path, sizeof path, "%s/cgd.conf", mountpoint); -+ f = target_fopen(path, "w"); -+ if (f == NULL) { -+ process_menu(MENU_ok, __UNCONST( -+ "Cannot write cgd.conf on the EFI system partition.")); -+ goto out; -+ } -+ fprintf(f, "cgd%d %s /etc/cgd/cgdroot\n", node, partname); -+ fclose(f); -+ -+ ret = 0; -+out: -+ if (mounted) -+ target_unmount(mountpoint); -+ -+ /* -+ * Nothing is written into the new root: cgdroot.rc has already -+ * configured cgd0 when init.root hands over to it, so a -+ * /etc/cgd/cgd.conf there would make /etc/rc.d/cgd run -+ * cgdconfig -C a second time and fail with "device cgd0 already in -+ * use" at every boot (measured). The parameters stay on the boot -+ * partition, where the boot path reads them; cgdconfig -u cgd0 works -+ * from the new root without a configuration file. -+ */ -+ return ret; -+} -+ - static int - md_post_newfs_uefi(struct install_partition_desc *install) - { -@@ -471,6 +746,13 @@ - } - #endif - -+ /* -+ * A fresh installation onto a cgd needs its boot files where the boot -+ * loader can read them before the passphrase is asked for. -+ */ -+ if (!upgrade) -+ return setup_cgd_boot(install); -+ - return 0; - } - ---- a/usr.sbin/sysinst/defs.h -+++ b/usr.sbin/sysinst/defs.h -@@ -981,6 +981,8 @@ - int pm_unconfigure(struct pm_devs *); - int pm_cgd_edit_new(struct pm_devs *pm, part_id id); - int pm_cgd_edit_old(struct part_entry *); -+bool pm_cgd_boot_info(int *, char *, size_t); -+bool pm_install_desc(struct install_partition_desc *); - void pm_wedges_fill(struct pm_devs *); - void pm_edit_partitions(struct part_entry *); - part_id pm_whole_disk(struct part_entry *, int); ---- a/usr.sbin/sysinst/install.c -+++ b/usr.sbin/sysinst/install.c -@@ -177,6 +177,22 @@ - hit_enter_to_continue(MSG_abort_part, NULL); - return; - } -+ /* -+ * The extended partition manager edits and writes partition -+ * tables (pm_commit) but leaves the file systems, the fstab -+ * and the boot code to its caller -- the same steps the -+ * classical wizard below runs. partman_go is cleared first -+ * because make_filesystems() only mounts the target when the -+ * classical flow is in charge; do_configmenu() does the same -+ * before mount_disks(). -+ */ -+ if (!pm_install_desc(&install)) -+ goto error; -+ partman_go = 0; -+ if (make_filesystems(&install) || -+ make_fstab(&install) != 0 || -+ md_post_newfs(&install) != 0) -+ goto error; - } else if (find_disks_ret < 0) - return; - else { ---- a/usr.sbin/sysinst/partman.c -+++ b/usr.sbin/sysinst/partman.c -@@ -1496,6 +1496,40 @@ - return error; - } - -+/* -+ * What the MD boot setup needs to know once the installation is on a cgd: -+ * the node number (the N in cgdN) and the name of the unencrypted partition -+ * the cgd volume was built on. The device name is recomputed here, not taken -+ * from pm_cgd_commit()'s cached copy: wedges may have been renumbered when -+ * the partition table was written, which is the same reason pm_cgd_commit() -+ * refreshes it right before using it. -+ * -+ * The name is the *logical* one get_part_device() produces for GPT -+ * (gpt.c: "NAME=