CVS commit: src/share/man/man8/man8.macppc

2024-06-08 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sun Jun  9 05:42:59 UTC 2024

Modified Files:
src/share/man/man8/man8.macppc: ofwboot.8

Log Message:
Update misc ofwboot(8) descriptions.

- add examples how to boot USB flash containing bootable CD ISO
- also add notes how to check a device path of USB flash
- no need to specify a name of "netbsd.macppc" because ofwboot(8)
  searches "netbsd", "netbsd.gz", and "netbsd.macppc" by default
- describe about partition "zero" required on booting via raw ofwboot
- no need to specify boot-file (i.e. ofwboot.xcf) on booting from CD
  on Open Firmware 1 or 2 machines that use the partition "zero" method
- remove leftover of ancient release number of NetBSD "1.5"
- add "CLAIM failed" case in ERROR section
- add notes that it's recommended to restart Open Firmware by
  "reset-all" command if got any Open Firmware errors
- add links to "NetBSD/macppc Partitioning HOW-TO" and
  "NetBSD/macppc Model Support" in the SEE ALSO section
- use https for links also use https://cdn.NetBSD.org/ instead of
  obsolete ftp:
- avoid newlines in boot-device and boot-file argument descriptions
- consistently use "\" in the boot-file paths
- consistently use "CD-ROM" rather than "CDROM"
- remove an obsolete commented out block
- bump date


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/share/man/man8/man8.macppc/ofwboot.8

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

Modified files:

Index: src/share/man/man8/man8.macppc/ofwboot.8
diff -u src/share/man/man8/man8.macppc/ofwboot.8:1.17 src/share/man/man8/man8.macppc/ofwboot.8:1.18
--- src/share/man/man8/man8.macppc/ofwboot.8:1.17	Sat Mar  2 00:03:20 2024
+++ src/share/man/man8/man8.macppc/ofwboot.8	Sun Jun  9 05:42:59 2024
@@ -1,4 +1,4 @@
-.\"	$NetBSD: ofwboot.8,v 1.17 2024/03/02 00:03:20 uwe Exp $
+.\"	$NetBSD: ofwboot.8,v 1.18 2024/06/09 05:42:59 tsutsui Exp $
 .\"
 .\" Copyright (c) 2001 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd March 1, 2024
+.Dd June 9, 2024
 .Dt OFWBOOT 8 macppc
 .Os
 .Sh NAME
@@ -82,14 +82,13 @@ actually designates the primary bootload
 form:
 .Bd -literal -offset indent
 .Sm off
-.Ar device Ic \&: Op Ar partition-num
-.Ic \&, Op Ar bootloader-filename
+.Ar device Ic \&: Oo Ar partition-num Oc Op \&, \e Ar bootloader-filename
 .Sm on
 .Ed
 .Pp
 A typical example, from a PowerBook (FireWire), is
 .Pp
-.Dl /pci@f200/mac-io@17/ata-4@1f000/@0:9,ofwboot.xcf
+.Dl /pci@f200/mac-io@17/ata-4@1f000/@0:9,\eofwboot.xcf
 .Pp
 Note that colon
 .Pq Ql \&:
@@ -119,7 +118,7 @@ The
 .Ar boot-device
 above could then be simplified to:
 .Pp
-.Dl hd:9,ofwboot.xcf
+.Dl hd:9,\eofwboot.xcf
 .Pp
 .Ar bootloader-filename
 is usually
@@ -159,8 +158,7 @@ The syntax is similar to the
 argument:
 .Bd -literal -offset indent
 .Sm off
-.Op Ar boot-file-device Ic \&: Ar partition-num\^ Ic \&/
-.Op Ar kernel-name
+.Oo Ar boot-file-device Ic \&: Ar partition-num\^ Ic \&/ Oc Op Ar kernel-name
 .Sm on
 .Ed
 .Pp
@@ -242,8 +240,14 @@ are the same program, in different execu
 is installed via
 .Xr installboot 8
 on systems with Open Firmware versions less than 3.
-It is not necessary to specify this file name, as it is stored in a special
-location on the disk, partition
+It is not necessary to specify this file name on the Open Firmware
+.Ic boot
+command, as it is stored in a special location in the
+.Nx
+partition that is marked
+.Dq bootable
+in the Apple partition map entry.
+The bootable partition can be specified as partition
 .Dq zero .
 For example, the following command might be used to boot from a SCSI device
 with ID 2:
@@ -303,9 +307,9 @@ with RAM disk and
 included.
 .
 .It Pa NetBSD-{RELEASE}-macppc.iso
-bootable CDROM image for all supported systems.
+bootable CD-ROM image for all supported systems.
 Usually located at
-.Pa ftp://ftp.NetBSD.org/pub/NetBSD/images/{RELEASE}/NetBSD-{RELEASE}-macppc.iso
+.Pa https://cdn.NetBSD.org/pub/NetBSD/images/{RELEASE}/
 .El
 .Sh EXAMPLES
 .Pp
@@ -323,7 +327,7 @@ Boot an Open Firmware 3 system, with
 .Ar netbsd
 installed on partition
 .Dq Pa a :
-.Dl 0 > boot hd:,ofwboot.xcf
+.Dl 0 > boot hd:,\eofwboot.xcf
 .
 .It
 Boot the kernel named
@@ -338,16 +342,39 @@ version of
 .Nm
 from the USB flash drive:
 .Dl 0 > boot usb0/disk:,\eofwboot.elf hd/netbsd.new -d
+or
+.Dl 0 > boot usb1/disk:,\eofwboot.elf hd/netbsd.new -d
+Note: You can check which usb device name should be used by
+.Dq Ic devalias
+and
+.Dq Ic dev usb0 ls
+commands etc.
 .
 .It
-Boot from bootable CDROM with Open Firmware 3 or higher:
-.Dl 0 > boot cd:,\eofwboot.xcf netbsd.macppc
+Boot from bootable CD-ROM of
+.Nx
+release with Open Firmware 3 or higher:
+.Dl 0 > boot cd:,\eofwboot.xcf
 .
 .It
-Boot from bootable CDROM (internal SCSI, id=3) of
-.Nx 1.5
+Boot from bootable CD-ROM (

CVS commit: src/share/man/man8/man8.macppc

2024-06-08 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sun Jun  9 05:42:59 UTC 2024

Modified Files:
src/share/man/man8/man8.macppc: ofwboot.8

Log Message:
Update misc ofwboot(8) descriptions.

- add examples how to boot USB flash containing bootable CD ISO
- also add notes how to check a device path of USB flash
- no need to specify a name of "netbsd.macppc" because ofwboot(8)
  searches "netbsd", "netbsd.gz", and "netbsd.macppc" by default
- describe about partition "zero" required on booting via raw ofwboot
- no need to specify boot-file (i.e. ofwboot.xcf) on booting from CD
  on Open Firmware 1 or 2 machines that use the partition "zero" method
- remove leftover of ancient release number of NetBSD "1.5"
- add "CLAIM failed" case in ERROR section
- add notes that it's recommended to restart Open Firmware by
  "reset-all" command if got any Open Firmware errors
- add links to "NetBSD/macppc Partitioning HOW-TO" and
  "NetBSD/macppc Model Support" in the SEE ALSO section
- use https for links also use https://cdn.NetBSD.org/ instead of
  obsolete ftp:
- avoid newlines in boot-device and boot-file argument descriptions
- consistently use "\" in the boot-file paths
- consistently use "CD-ROM" rather than "CDROM"
- remove an obsolete commented out block
- bump date


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/share/man/man8/man8.macppc/ofwboot.8

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



CVS commit: src/share/man/man8

2024-05-13 Thread David H. Gutteridge
Module Name:src
Committed By:   gutteridge
Date:   Mon May 13 23:10:47 UTC 2024

Modified Files:
src/share/man/man8: creds_msdos.8

Log Message:
creds_msdos.8: consistently include a hypen in "MS-DOS"


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/share/man/man8/creds_msdos.8

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

Modified files:

Index: src/share/man/man8/creds_msdos.8
diff -u src/share/man/man8/creds_msdos.8:1.5 src/share/man/man8/creds_msdos.8:1.6
--- src/share/man/man8/creds_msdos.8:1.5	Sun Feb  4 05:43:06 2024
+++ src/share/man/man8/creds_msdos.8	Mon May 13 23:10:47 2024
@@ -1,4 +1,4 @@
-.\"	$NetBSD: creds_msdos.8,v 1.5 2024/02/04 05:43:06 mrg Exp $
+.\"	$NetBSD: creds_msdos.8,v 1.6 2024/05/13 23:10:47 gutteridge Exp $
 .\"
 .\" Copyright (c) 2019 Matthew R. Green
 .\" All rights reserved.
@@ -29,7 +29,7 @@
 .Os
 .Sh NAME
 .Nm creds_msdos
-.Nd automatically add login credentials from MSDOS partition
+.Nd automatically add login credentials from MS-DOS partition
 .Sh SYNOPSIS
 .Nm
 .Ar start
@@ -37,18 +37,18 @@
 The
 .Nm
 rc.d script allows automatic addition of login credentials during boot
-using a special file found on the MSDOS partition of a bootable image.
+using a special file found on the MS-DOS partition of a bootable image.
 This script is not distributed with the normal system and is only
 included with pre-installed bootable images.
 The goal is to allow remote access of the system without having to
 edit the primary root file system (which may not be accessible from
 the host the image is being written from), but place this information
-in the MSDOS partition that most platforms can easily access.
+in the MS-DOS partition that most platforms can easily access.
 .Pp
 Typically, an installable image (such as
 .Pa arm64.img )
 is written to an SD card or similar media, and has both a native FFS
-partition as well as an MSDOS partition for booting.
+partition as well as an MS-DOS partition for booting.
 If this script is enabled and has been pointed at the boot partition
 it will inspect the file
 .Pa creds.txt
@@ -65,7 +65,7 @@ group.
 .It Ic sshkeyfile Ar user Ar keyfile
 Look for the
 .Ar keyfile
-in the MSDOS boot partition and merge ssh keys from this file into user's
+in the MS-DOS boot partition and merge ssh keys from this file into user's
 .Pa ~/.ssh/authorized_keys
 file.
 .\"



CVS commit: src/share/man/man8

2024-05-13 Thread David H. Gutteridge
Module Name:src
Committed By:   gutteridge
Date:   Mon May 13 23:10:47 UTC 2024

Modified Files:
src/share/man/man8: creds_msdos.8

Log Message:
creds_msdos.8: consistently include a hypen in "MS-DOS"


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/share/man/man8/creds_msdos.8

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



CVS commit: src/share/man/man8/man8.macppc

2024-03-01 Thread Valery Ushakov
Module Name:src
Committed By:   uwe
Date:   Sat Mar  2 00:03:20 UTC 2024

Modified Files:
src/share/man/man8/man8.macppc: ofwboot.8

Log Message:
ofwboot(8): correct previous example


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/share/man/man8/man8.macppc/ofwboot.8

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



CVS commit: src/share/man/man8/man8.macppc

2024-03-01 Thread Valery Ushakov
Module Name:src
Committed By:   uwe
Date:   Sat Mar  2 00:03:20 UTC 2024

Modified Files:
src/share/man/man8/man8.macppc: ofwboot.8

Log Message:
ofwboot(8): correct previous example


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/share/man/man8/man8.macppc/ofwboot.8

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

Modified files:

Index: src/share/man/man8/man8.macppc/ofwboot.8
diff -u src/share/man/man8/man8.macppc/ofwboot.8:1.16 src/share/man/man8/man8.macppc/ofwboot.8:1.17
--- src/share/man/man8/man8.macppc/ofwboot.8:1.16	Fri Mar  1 22:35:56 2024
+++ src/share/man/man8/man8.macppc/ofwboot.8	Sat Mar  2 00:03:20 2024
@@ -1,4 +1,4 @@
-.\"	$NetBSD: ofwboot.8,v 1.16 2024/03/01 22:35:56 uwe Exp $
+.\"	$NetBSD: ofwboot.8,v 1.17 2024/03/02 00:03:20 uwe Exp $
 .\"
 .\" Copyright (c) 2001 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -330,7 +330,6 @@ Boot the kernel named
 .Pa netbsd.new
 from partition
 .Dq Pa a
-.Pq Ql 0
 of the hard disk into
 .Xr ddb 4
 using
@@ -338,7 +337,7 @@ using
 version of
 .Nm
 from the USB flash drive:
-.Dl 0 > boot usb0/disk:,\eofwboot.elf hd:0/netbsd.new -d
+.Dl 0 > boot usb0/disk:,\eofwboot.elf hd/netbsd.new -d
 .
 .It
 Boot from bootable CDROM with Open Firmware 3 or higher:



CVS commit: src/share/man/man8/man8.macppc

2024-03-01 Thread Valery Ushakov
Module Name:src
Committed By:   uwe
Date:   Fri Mar  1 22:35:56 UTC 2024

Modified Files:
src/share/man/man8/man8.macppc: ofwboot.8

Log Message:
ofwboot(8): add some practical examples

The system you want to boot into the single user mode is probably the
default installation, so a simple "boot -s" is enough for that.  Don't
be redundant and scary.

Also provide an example that uses full syntax for the kernel name.  It
is confusingly similar to the OFW syntax for boot-device yet
different.  That example also demonstrates how one might test a
different version of ofwboot.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/share/man/man8/man8.macppc/ofwboot.8

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

Modified files:

Index: src/share/man/man8/man8.macppc/ofwboot.8
diff -u src/share/man/man8/man8.macppc/ofwboot.8:1.15 src/share/man/man8/man8.macppc/ofwboot.8:1.16
--- src/share/man/man8/man8.macppc/ofwboot.8:1.15	Sat Feb  3 14:15:51 2024
+++ src/share/man/man8/man8.macppc/ofwboot.8	Fri Mar  1 22:35:56 2024
@@ -1,4 +1,4 @@
-.\"	$NetBSD: ofwboot.8,v 1.15 2024/02/03 14:15:51 uwe Exp $
+.\"	$NetBSD: ofwboot.8,v 1.16 2024/03/01 22:35:56 uwe Exp $
 .\"
 .\" Copyright (c) 2001 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd August 18, 2001
+.Dd March 1, 2024
 .Dt OFWBOOT 8 macppc
 .Os
 .Sh NAME
@@ -315,6 +315,10 @@ is the Open Firmware prompt.
 .Bl -item
 .
 .It
+Boot the default installation into single user mode.
+.Dl 0 > boot -s
+.
+.It
 Boot an Open Firmware 3 system, with
 .Ar netbsd
 installed on partition
@@ -322,8 +326,19 @@ installed on partition
 .Dl 0 > boot hd:,ofwboot.xcf
 .
 .It
-Boot into single user mode:
-.Dl 0 > boot hd:,ofwboot.xcf netbsd -s
+Boot the kernel named
+.Pa netbsd.new
+from partition
+.Dq Pa a
+.Pq Ql 0
+of the hard disk into
+.Xr ddb 4
+using
+.Tn ELF
+version of
+.Nm
+from the USB flash drive:
+.Dl 0 > boot usb0/disk:,\eofwboot.elf hd:0/netbsd.new -d
 .
 .It
 Boot from bootable CDROM with Open Firmware 3 or higher:



CVS commit: src/share/man/man8/man8.macppc

2024-03-01 Thread Valery Ushakov
Module Name:src
Committed By:   uwe
Date:   Fri Mar  1 22:35:56 UTC 2024

Modified Files:
src/share/man/man8/man8.macppc: ofwboot.8

Log Message:
ofwboot(8): add some practical examples

The system you want to boot into the single user mode is probably the
default installation, so a simple "boot -s" is enough for that.  Don't
be redundant and scary.

Also provide an example that uses full syntax for the kernel name.  It
is confusingly similar to the OFW syntax for boot-device yet
different.  That example also demonstrates how one might test a
different version of ofwboot.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/share/man/man8/man8.macppc/ofwboot.8

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



CVS commit: src/share/man/man8/man8.macppc

2024-02-03 Thread Valery Ushakov
Module Name:src
Committed By:   uwe
Date:   Sat Feb  3 14:15:51 UTC 2024

Modified Files:
src/share/man/man8/man8.macppc: ofwboot.8

Log Message:
ofwboot(8): improve formatting


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/share/man/man8/man8.macppc/ofwboot.8

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

Modified files:

Index: src/share/man/man8/man8.macppc/ofwboot.8
diff -u src/share/man/man8/man8.macppc/ofwboot.8:1.14 src/share/man/man8/man8.macppc/ofwboot.8:1.15
--- src/share/man/man8/man8.macppc/ofwboot.8:1.14	Mon Jul  3 21:31:00 2017
+++ src/share/man/man8/man8.macppc/ofwboot.8	Sat Feb  3 14:15:51 2024
@@ -1,4 +1,4 @@
-.\"	$NetBSD: ofwboot.8,v 1.14 2017/07/03 21:31:00 wiz Exp $
+.\"	$NetBSD: ofwboot.8,v 1.15 2024/02/03 14:15:51 uwe Exp $
 .\"
 .\" Copyright (c) 2001 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -61,11 +61,13 @@ because it is used to pass arguments to
 The Open Firmware
 .Ic boot
 command takes up to three arguments:
+.Bd -literal -offset indent
+.Ic boot Oo Ar boot-device Oo Ar boot-file Oc Oc Op Ar options
+.Ed
 .Pp
-.Ic boot
-.Op Ar boot-device Op Ar boot-file
-.Op Ar options
-.Bl -tag -width boot-device -compact
+where
+.Pp
+.Bl -tag -width ".Ar boot-device" -offset indent -compact
 .It Ar boot-device
 primary bootloader location
 .It Ar boot-file
@@ -78,46 +80,67 @@ The first argument,
 .Ar boot-device ,
 actually designates the primary bootloader location and its name in the
 form:
-.Dl boot-device:[partition-num],[bootloader-filename]
+.Bd -literal -offset indent
+.Sm off
+.Ar device Ic \&: Op Ar partition-num
+.Ic \&, Op Ar bootloader-filename
+.Sm on
+.Ed
+.Pp
 A typical example, from a PowerBook (FireWire), is
+.Pp
 .Dl /pci@f200/mac-io@17/ata-4@1f000/@0:9,ofwboot.xcf
-.\" XXX: can't use Dq or Pq with : or ,
-Note that colon (`:') delimits the device to the left, and comma (`,')
-separates the boot loader filename from the first part.
+.Pp
+Note that colon
+.Pq Ql \&:
+delimits the device to the left, and comma
+.Pq Ql \&,
+separates the bootloader filename from the first part.
 For Open Firmware versions before 3, the primary bootloader is installed
 in partition
 .Dq zero ,
-and it is not necessary to specify the bootloader-filename.
-For Open Firmware version 3, you must specify the bootloader-filename.
-.Pp
-Open Firmware stores aliases to common devices in NVRAM.
-In the example above,
+and it is not necessary to specify the
+.Ar bootloader-filename .
+For Open Firmware version 3, you must specify the bootloader filename.
+.Pp
+Open Firmware stores aliases to common devices in
+.Tn NVRAM .
+In the example the above,
 .Pa /pci@f200/mac-io@17/ata-4@1f000/@0
 is the path on a PowerBook
-(FireWire) to the built-in ATA/100 hard drive.
+(FireWire) to the built-in
+.Tn ATA Ns /100
+hard drive.
 Use the
 .Ic devalias
 command in Open Firmware to print out a list of common device names on a
 particular model.
-The command above could then be simplified to:
+The
+.Ar boot-device
+above could then be simplified to:
+.Pp
 .Dl hd:9,ofwboot.xcf
 .Pp
-.Ar boot-loader-file-name
+.Ar bootloader-filename
 is usually
 .Nm ofwboot.xcf .
-(See also the
+See also the
 .Sx FILES
-section for further discussion.)
+section for further discussion.
 .Pp
-If omitted, the Open Firmware variable
-.Va boot-device
+If
+.Ar boot-device
+is omitted from the
+.Ic boot
+command, the Open Firmware variable
+.Ev boot-device
 is used.
 .Ss boot-file
 It may be necessary to specify the
 .Ar boot-file
 if Open Firmware does not know where to find the kernel.
 The default is to load the file named
-.Nm netbsd
+.Pa netbsd
 on partition
 .Dq Pa a
 from the device used to load the primary bootloader.
@@ -134,28 +157,42 @@ Systems with Open Firmware version 3 may
 The syntax is similar to the
 .Ar boot-device
 argument:
-.Dl [boot-file-device:partition-num/][kernel-name]
-This is a little different, since a kernel-name may be specified without
-listing a boot-file-device and partition-num.
-Additionally, a boot-file-device and partition-num may need to be
-specified, while using the default kernel-name.
+.Bd -literal -offset indent
+.Sm off
+.Op Ar boot-file-device Ic \&: Ar partition-num\^ Ic \&/
+.Op Ar kernel-name
+.Sm on
+.Ed
 .Pp
-If no kernel-name is specified, the primary bootloader will try to find
-kernels named either
-.Ar netbsd
+This is a little different, since a kernel-name may be specified without
+listing a
+.Ar boot-file-device
+and
+.Ar partition-num .
+Additionally, a
+.Ar boot-file-device
+and
+.Ar partition-num
+may need to be specified, while using the default
+.Ar kernel-name .
+.Pp
+If no
+.Ar kernel-name
+is specified, the primary bootloader will try to find kernels named either
+.Pa netbsd
 or
-.Ar netbsd.gz
+.Pa netbsd.gz
 on the boot-device or (if specified) boot-file-device.
 .Ss options
 Possible options are:
-.Bl -tag -width x -compact
+.Bl -tag -width Fl

CVS commit: src/share/man/man8/man8.macppc

2024-02-03 Thread Valery Ushakov
Module Name:src
Committed By:   uwe
Date:   Sat Feb  3 14:15:51 UTC 2024

Modified Files:
src/share/man/man8/man8.macppc: ofwboot.8

Log Message:
ofwboot(8): improve formatting


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/share/man/man8/man8.macppc/ofwboot.8

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



CVS commit: src/share/man/man8

2024-01-02 Thread Valery Ushakov
Module Name:src
Committed By:   uwe
Date:   Tue Jan  2 23:21:22 UTC 2024

Modified Files:
src/share/man/man8: creds_msdos.8

Log Message:
creds_msdos(8): move descriptions into the list itself


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/share/man/man8/creds_msdos.8

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

Modified files:

Index: src/share/man/man8/creds_msdos.8
diff -u src/share/man/man8/creds_msdos.8:1.3 src/share/man/man8/creds_msdos.8:1.4
--- src/share/man/man8/creds_msdos.8:1.3	Tue Jan  2 19:15:59 2024
+++ src/share/man/man8/creds_msdos.8	Tue Jan  2 23:21:22 2024
@@ -1,4 +1,4 @@
-.\"	$NetBSD: creds_msdos.8,v 1.3 2024/01/02 19:15:59 uwe Exp $
+.\"	$NetBSD: creds_msdos.8,v 1.4 2024/01/02 23:21:22 uwe Exp $
 .\"
 .\" Copyright (c) 2019 Matthew R. Green
 .\" All rights reserved.
@@ -54,61 +54,47 @@ it will inspect the file
 .Pa creds.txt
 for any credentials to be added to the system.
 .Pp
-These are the supported options in the credentials files:
-.Pp
-.Bl -tag -compact -width Ic -offset indent
-.It Ic sshkeyfile Ar user Ar keyfile
-.It Ic sshkey Ar user Ar keystring
-.It Ic useraddpwhash Ar user Ar pwhash
-.It Ic useradd Ar user Ar password
-.El
-.Pp
+The following list gives the supported options in the credentials files.
 In all cases
 .Ar user
-is the username to be added, and the user will be
-added to the
+is the username to be created, and the user will be added to the
 .Ql wheel
 group.
-.Pp
-The
-.Ic sshkeyfile
-method looks in the MSDOS boot partition for
-the specified file and merges ssh keys from this file into
-.Ar user Ap s
+.Bl -tag -width Ic
+.\"
+.It Ic sshkeyfile Ar user Ar keyfile
+Look for the
+.Ar keyfile
+in the MSDOS boot partition and merge ssh keys from this file into user's
 .Pa ~/.ssh/authorized_keys
 file.
-.Pp
-The
-.Ic sshkey
-method adds the
+.\"
+.It Ic sshkey Ar user Ar keystring
+Add the
 .Ar keystring
-to the
-.Ar user Ap s
+to the user's
 .Pa ~/.ssh/authorized_keys
 file.
-.Pp
-The
-.Ic useraddpwhash
-method uses
+.\"
+.It Ic useraddpwhash Ar user Ar pwhash
+Use
 .Ar pwhash
-as the
-.Ar users Ap s
-password hash.
-.Pp
-The above three methods are the preferred methods.
-.Pp
-For the
-.Ic useradd
-method
+as the users's password hash.
+.\"
+.It Ic useradd Ar user Ar password
+Use
 .Ar password
-is an unencrypted raw password that will be hashed and added to the system.
-This method is not recommended as it leaves unencrypted passwords
-around until such time that the script runs.
+as the users's unencrypted raw password that will be hashed.
+.Pp
+This method is
+.Em not recommended
+as it leaves unencrypted passwords around until such time that the script runs.
 If this method is used then the
 .Pa creds.txt
 file will be shredded and deleted using
 .Ql rm -P
 after the credentials are updated.
+.El
 .Sh FILES
 .Pa /boot/creds.txt
 .Sh SEE ALSO



CVS commit: src/share/man/man8

2024-01-02 Thread Valery Ushakov
Module Name:src
Committed By:   uwe
Date:   Tue Jan  2 23:21:22 UTC 2024

Modified Files:
src/share/man/man8: creds_msdos.8

Log Message:
creds_msdos(8): move descriptions into the list itself


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/share/man/man8/creds_msdos.8

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



CVS commit: src/share/man/man8

2024-01-02 Thread Valery Ushakov
Module Name:src
Committed By:   uwe
Date:   Tue Jan  2 19:15:59 UTC 2024

Modified Files:
src/share/man/man8: creds_msdos.8

Log Message:
creds_msdos(8): touch up mark up a bit


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/share/man/man8/creds_msdos.8

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



CVS commit: src/share/man/man8

2024-01-02 Thread Valery Ushakov
Module Name:src
Committed By:   uwe
Date:   Tue Jan  2 19:15:59 UTC 2024

Modified Files:
src/share/man/man8: creds_msdos.8

Log Message:
creds_msdos(8): touch up mark up a bit


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/share/man/man8/creds_msdos.8

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

Modified files:

Index: src/share/man/man8/creds_msdos.8
diff -u src/share/man/man8/creds_msdos.8:1.2 src/share/man/man8/creds_msdos.8:1.3
--- src/share/man/man8/creds_msdos.8:1.2	Sat Dec 11 19:24:19 2021
+++ src/share/man/man8/creds_msdos.8	Tue Jan  2 19:15:59 2024
@@ -1,4 +1,4 @@
-.\"	$NetBSD: creds_msdos.8,v 1.2 2021/12/11 19:24:19 mrg Exp $
+.\"	$NetBSD: creds_msdos.8,v 1.3 2024/01/02 19:15:59 uwe Exp $
 .\"
 .\" Copyright (c) 2019 Matthew R. Green
 .\" All rights reserved.
@@ -55,34 +55,41 @@ it will inspect the file
 for any credentials to be added to the system.
 .Pp
 These are the supported options in the credentials files:
-.Bl -tag -compact -width "sshkeyfilepl" -offset indent
-.It Sy sshkeyfile Ar user Ar keyfile
-.It Sy sshkey Ar user Ar keystring
-.It Sy useraddpwhash Ar user Ar pwhash
-.It Sy useradd Ar user Ar password
+.Pp
+.Bl -tag -compact -width Ic -offset indent
+.It Ic sshkeyfile Ar user Ar keyfile
+.It Ic sshkey Ar user Ar keystring
+.It Ic useraddpwhash Ar user Ar pwhash
+.It Ic useradd Ar user Ar password
 .El
 .Pp
 In all cases
 .Ar user
 is the username to be added, and the user will be
 added to the
-.Dq wheel
+.Ql wheel
 group.
 .Pp
-The sshkeyfile method looks in the MSDOS boot partition for
+The
+.Ic sshkeyfile
+method looks in the MSDOS boot partition for
 the specified file and merges ssh keys from this file into
 .Ar user Ap s
 .Pa ~/.ssh/authorized_keys
 file.
 .Pp
-The sshkey method adds the
+The
+.Ic sshkey
+method adds the
 .Ar keystring
 to the
 .Ar user Ap s
 .Pa ~/.ssh/authorized_keys
 file.
 .Pp
-The useraddpwhash method uses
+The
+.Ic useraddpwhash
+method uses
 .Ar pwhash
 as the
 .Ar users Ap s
@@ -90,7 +97,9 @@ password hash.
 .Pp
 The above three methods are the preferred methods.
 .Pp
-For the useradd method
+For the
+.Ic useradd
+method
 .Ar password
 is an unencrypted raw password that will be hashed and added to the system.
 This method is not recommended as it leaves unencrypted passwords
@@ -98,7 +107,7 @@ around until such time that the script r
 If this method is used then the
 .Pa creds.txt
 file will be shredded and deleted using
-.Dq rm -P
+.Ql rm -P
 after the credentials are updated.
 .Sh FILES
 .Pa /boot/creds.txt



CVS commit: src/share/man/man8/man8.x68k

2023-12-23 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Sat Dec 23 20:15:19 UTC 2023

Modified Files:
src/share/man/man8/man8.x68k: loadbsd.8

Log Message:
Update documentation with -q and -N options.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/share/man/man8/man8.x68k/loadbsd.8

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



CVS commit: src/share/man/man8/man8.x68k

2023-12-23 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Sat Dec 23 20:15:19 UTC 2023

Modified Files:
src/share/man/man8/man8.x68k: loadbsd.8

Log Message:
Update documentation with -q and -N options.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/share/man/man8/man8.x68k/loadbsd.8

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

Modified files:

Index: src/share/man/man8/man8.x68k/loadbsd.8
diff -u src/share/man/man8/man8.x68k/loadbsd.8:1.6 src/share/man/man8/man8.x68k/loadbsd.8:1.7
--- src/share/man/man8/man8.x68k/loadbsd.8:1.6	Sat Dec 23 19:13:55 2023
+++ src/share/man/man8/man8.x68k/loadbsd.8	Sat Dec 23 20:15:19 2023
@@ -1,5 +1,5 @@
-.\"	$NetBSD: loadbsd.8,v 1.6 2023/12/23 19:13:55 andvar Exp $
-.Dd February 17, 2017
+.\"	$NetBSD: loadbsd.8,v 1.7 2023/12/23 20:15:19 andvar Exp $
+.Dd December 23, 2023
 .Dt LOADBSD 8 x68k
 .Os
 .Sh NAME
@@ -8,7 +8,7 @@
 .Sh SYNOPSIS
 .Nm loadbsd.x
 .Op Fl hvV
-.Op Fl abDs
+.Op Fl abDNqs
 .Op Fl r Ar root_device
 .Ar kernel_file
 .Sh DESCRIPTION
@@ -24,6 +24,8 @@ itself) are as follows:
 .Bl -tag -width flag
 .It Fl h
 Show help and exit.
+.It Fl N
+Do not execute the kernel, if specified in combination with boot options.
 .It Fl v
 Enable verbose mode.
 .It Fl V
@@ -62,6 +64,11 @@ the same as that of
 See
 .Sx BOOT DEVICE NAMES
 below.
+.It Fl q
+Boot the system in quiet mode.
+Pass
+.Dv AB_QUIET
+boot flag to the kernel.
 .It Fl s
 Single user boot.
 Pass



CVS commit: src/share/man/man8/man8.x68k

2023-12-23 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Sat Dec 23 19:13:55 UTC 2023

Modified Files:
src/share/man/man8/man8.x68k: loadbsd.8

Log Message:
Remove obsolete -d flag from documentation.

P.S. -q and -N flags need to be added.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/share/man/man8/man8.x68k/loadbsd.8

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



CVS commit: src/share/man/man8/man8.x86

2023-05-14 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sun May 14 09:03:02 UTC 2023

Modified Files:
src/share/man/man8/man8.x86: boot.8

Log Message:
x86/boot(8): Nix trailing whitespace.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/share/man/man8/man8.x86/boot.8

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

Modified files:

Index: src/share/man/man8/man8.x86/boot.8
diff -u src/share/man/man8/man8.x86/boot.8:1.29 src/share/man/man8/man8.x86/boot.8:1.30
--- src/share/man/man8/man8.x86/boot.8:1.29	Mon May  8 00:40:50 2023
+++ src/share/man/man8/man8.x86/boot.8	Sun May 14 09:03:02 2023
@@ -1,4 +1,4 @@
-.\"	$NetBSD: boot.8,v 1.29 2023/05/08 00:40:50 manu Exp $
+.\"	$NetBSD: boot.8,v 1.30 2023/05/14 09:03:02 riastradh Exp $
 .\"
 .\" Copyright (c) 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -364,7 +364,7 @@ flag in
 Boot the system in silent mode.
 .El
 .It Ic consdev Ar dev\| Ns Oo Ns Ic \&, Ns Ar speed Oc
-[Not available for 
+[Not available for
 .Xr x86/dosboot 8 ]
 Immediately switch the console to the specified device
 .Ar dev
@@ -417,7 +417,7 @@ video modes. If an argument is given, se
 .It Ic help
 Print an overview about commands and arguments.
 .It Ic load Ar module Op Ar arguments
-[Not available for 
+[Not available for
 .Xr x86/dosboot 8 ]
 Load the specified kernel
 .Ar module ,
@@ -664,7 +664,7 @@ otherwise a crash occurs at boot time.
 Copy the kernel at ELF header load address, this is the historical
 behavior.
 .It Va none
-Leave the kernel where it was loaded and start it as is. 
+Leave the kernel where it was loaded and start it as is.
 .It Va address
 Copy the kernel at given
 .Va address .
@@ -719,8 +719,8 @@ PIC.
 .It Ic text Op Va mode_index
 [Only available UEFI boot] Without argument, list the available
 text modes (displayed as column x line in hexadecimal, therefore
-.Li 50x19 
-means 
+.Li 50x19
+means
 .Li 80
 columns and
 .Li 25



CVS commit: src/share/man/man8/man8.x86

2023-05-14 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sun May 14 09:03:02 UTC 2023

Modified Files:
src/share/man/man8/man8.x86: boot.8

Log Message:
x86/boot(8): Nix trailing whitespace.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/share/man/man8/man8.x86/boot.8

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



CVS commit: src/share/man/man8/man8.x86

2023-05-07 Thread Emmanuel Dreyfus
Module Name:src
Committed By:   manu
Date:   Mon May  8 00:40:50 UTC 2023

Modified Files:
src/share/man/man8/man8.x86: boot.8

Log Message:
Remove XXX todo marker left by mistake


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/share/man/man8/man8.x86/boot.8

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

Modified files:

Index: src/share/man/man8/man8.x86/boot.8
diff -u src/share/man/man8/man8.x86/boot.8:1.28 src/share/man/man8/man8.x86/boot.8:1.29
--- src/share/man/man8/man8.x86/boot.8:1.28	Fri May  5 00:34:40 2023
+++ src/share/man/man8/man8.x86/boot.8	Mon May  8 00:40:50 2023
@@ -1,4 +1,4 @@
-.\"	$NetBSD: boot.8,v 1.28 2023/05/05 00:34:40 manu Exp $
+.\"	$NetBSD: boot.8,v 1.29 2023/05/08 00:40:50 manu Exp $
 .\"
 .\" Copyright (c) 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -701,7 +701,7 @@ and may impact system security.
 Pass an explicit root specification to the kernel.
 See BTINFO_ROOTDEVICE for details.
 .It Ic splash Ar file
-[Only available for BIOS and UEFI boot] XXX document
+[Only available for BIOS and UEFI boot]
 Load a graphical image from the specified
 .Ar file
 and request the kernel to use it as a splash screen.



CVS commit: src/share/man/man8/man8.x86

2023-05-07 Thread Emmanuel Dreyfus
Module Name:src
Committed By:   manu
Date:   Mon May  8 00:40:50 UTC 2023

Modified Files:
src/share/man/man8/man8.x86: boot.8

Log Message:
Remove XXX todo marker left by mistake


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/share/man/man8/man8.x86/boot.8

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



CVS commit: src/share/man/man8/man8.x86

2023-04-24 Thread Emmanuel Dreyfus
Module Name:src
Committed By:   manu
Date:   Mon Apr 24 13:55:45 UTC 2023

Modified Files:
src/share/man/man8/man8.x86: boot.8 dosboot.8 pxeboot.8

Log Message:
Merge x86 boot options in x86/boot(8) and add undocumented UEFI options

We were supposed to keep the option list in x86/boot(8), x86/dosoot(8)
and x86/pxeboot(8) in sync, but it did not happen, hence it may work
better with all the options in x86/boot(8). Also add the undocumented
UEFI boot options.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/share/man/man8/man8.x86/boot.8
cvs rdiff -u -r1.3 -r1.4 src/share/man/man8/man8.x86/dosboot.8
cvs rdiff -u -r1.5 -r1.6 src/share/man/man8/man8.x86/pxeboot.8

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

Modified files:

Index: src/share/man/man8/man8.x86/boot.8
diff -u src/share/man/man8/man8.x86/boot.8:1.26 src/share/man/man8/man8.x86/boot.8:1.27
--- src/share/man/man8/man8.x86/boot.8:1.26	Tue Jun 22 03:39:21 2021
+++ src/share/man/man8/man8.x86/boot.8	Mon Apr 24 13:55:45 2023
@@ -1,4 +1,4 @@
-.\"	$NetBSD: boot.8,v 1.26 2021/06/22 03:39:21 gutteridge Exp $
+.\"	$NetBSD: boot.8,v 1.27 2023/04/24 13:55:45 manu Exp $
 .\"
 .\" Copyright (c) 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -364,6 +364,8 @@ flag in
 Boot the system in silent mode.
 .El
 .It Ic consdev Ar dev\| Ns Oo Ns Ic \&, Ns Ar speed Oc
+[Not available for 
+.Xr x86/dosboot 8 ]
 Immediately switch the console to the specified device
 .Ar dev
 and reprint the banner.
@@ -397,16 +399,26 @@ Without an argument, print the current s
 .Ar device
 is of the form specified in
 .Ic boot .
+.It Ic devpath
+[Only available for UEFI boot] Dump UEFI device paths.
+.It Ic efivar
+[Only available for UEFI boot] Dump UEFI environment variables from NVRAM.
 .It Ic fs Ar file
+[Only available for BIOS and UEFI boot]
 Load a file system image from the specified
 .Ar file ,
 and request the kernel to use it as the root file system.
 The
 .Xr makefs 8
 utility may be used to create suitable file system images.
+.It Ic gop Op Va mode_index
+[Only available for UEFI boot] Without argument, list the available
+video modes. If an argument is given, select a video mode.
 .It Ic help
 Print an overview about commands and arguments.
 .It Ic load Ar module Op Ar arguments
+[Not available for 
+.Xr x86/dosboot 8 ]
 Load the specified kernel
 .Ar module ,
 and pass it the specified
@@ -520,12 +532,17 @@ See
 .Xr pciback 4 .
 .El
 .It Ic ls Op Ar path
+[Not available for
+.Xr x86/pxeboot 8 ]
 Print a directory listing of
 .Ar path ,
 containing inode number, filename, and file type.
 .Ar path
 can contain a device specification.
+.It Ic memmap
+[Only available for UEFI boot] Dump UEFI memory map.
 .It Ic menu
+[Only available for BIOS and UEFI boot]
 Display the boot menu and initiate a countdown,
 similarly to what would have happened if interactive mode
 had not been entered.
@@ -534,6 +551,8 @@ had not been entered.
No \(or Li enabled \
No \(or Li disabled\^ \
Brc
+[Not available for
+.Xr x86/dosboot 8 ]
 The values
 .Ql enabled ,
 .Ql on
@@ -545,7 +564,18 @@ whereas
 .Ql disabled ,
 .Ql off
 will turn off the feature.
+.It Ic mode Va fstype
+[Only available for
+.Xr x86/dosboot 8 ]
+Switch file system type;
+.Va fstype
+should be one of
+.Ar dos
+or
+.Ar ufs .
 .It Ic multiboot Ar kernel Op Ar arguments
+[Not available for
+.Xr x86/dosboot 8 ]
 Boot the specified
 .Ar kernel ,
 using the
@@ -615,12 +645,30 @@ command.
 See the foreign operating system's documentation for the available
 .Ar arguments .
 .El
+.It Ic pkboot
+[Only available for BIOS and UEFI boot] Boot a kernel that has
+the
+.Cd KASLR
+option set, for Kernel Address Space Layout Randomizaton.
 .It Ic quit
 Reboot the system.
-.It Ic root Ar spec
-Pass an explicit root specification to the kernel.
-See BTINFO_ROOTDEVICE for details.
+.It Ic reloc Op Va default No \(or Va none No \(or Va address
+[Only UEFI boot] Sets where the kernel is copied by bootstrap
+before it is started. Values other than default require a kernel
+that can relocate itself at the right address, otherwise a crash
+occurs at boot time.
+.Bl -tag -width default
+.It Va default
+Copy the kernel at ELF header load address, this is the historical
+behavior.
+.It Va none
+Leave the kernel where it was loaded and start it as is. 
+.It Va address
+Copy the kernel at given
+.Va address .
+.El
 .It Ic rndseed Ar file
+[Only available for BIOS and UEFI boot]
 Load the specified
 .Ar file
 and request the kernel to use it as a seed for the
@@ -646,16 +694,12 @@ Using the same seed file on more then on
 or for more than one boot on the same host,
 will reduce the quality of random numbers
 and may impact system security.
-.It Ic userconf Ar command
-Pass command
-.Ar command
-to
-.Xr userconf 4
-at boot time.
-These commands are processed before the interactive
-.Xr

CVS commit: src/share/man/man8/man8.x86

2023-04-24 Thread Emmanuel Dreyfus
Module Name:src
Committed By:   manu
Date:   Mon Apr 24 13:55:45 UTC 2023

Modified Files:
src/share/man/man8/man8.x86: boot.8 dosboot.8 pxeboot.8

Log Message:
Merge x86 boot options in x86/boot(8) and add undocumented UEFI options

We were supposed to keep the option list in x86/boot(8), x86/dosoot(8)
and x86/pxeboot(8) in sync, but it did not happen, hence it may work
better with all the options in x86/boot(8). Also add the undocumented
UEFI boot options.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/share/man/man8/man8.x86/boot.8
cvs rdiff -u -r1.3 -r1.4 src/share/man/man8/man8.x86/dosboot.8
cvs rdiff -u -r1.5 -r1.6 src/share/man/man8/man8.x86/pxeboot.8

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



CVS commit: src/share/man/man8

2023-03-19 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Sun Mar 19 17:26:12 UTC 2023

Modified Files:
src/share/man/man8: afterboot.8

Log Message:
PR misc/57276 from Nan Xiao

Remove redundant word ("to").


To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.83 src/share/man/man8/afterboot.8

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

Modified files:

Index: src/share/man/man8/afterboot.8
diff -u src/share/man/man8/afterboot.8:1.82 src/share/man/man8/afterboot.8:1.83
--- src/share/man/man8/afterboot.8:1.82	Fri Jun  4 12:43:14 2021
+++ src/share/man/man8/afterboot.8	Sun Mar 19 17:26:12 2023
@@ -1,4 +1,4 @@
-.\"	$NetBSD: afterboot.8,v 1.82 2021/06/04 12:43:14 nia Exp $
+.\"	$NetBSD: afterboot.8,v 1.83 2023/03/19 17:26:12 kre Exp $
 .\"	$OpenBSD: afterboot.8,v 1.72 2002/02/22 02:02:33 miod Exp $
 .\"
 .\" Originally created by Marshall M. Midden -- 1997-10-20, m...@umn.edu
@@ -467,7 +467,7 @@ using WPA:
 .Ic wpa_passphrase networkname password >> /etc/wpa_supplicant.conf
 .Ed
 .Pp
-To to configure the system to connect to an open wireless network with
+To configure the system to connect to an open wireless network with
 no password, edit
 .Pa /etc/wpa_supplicant.conf
 instead of using



CVS commit: src/share/man/man8

2023-03-19 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Sun Mar 19 17:26:12 UTC 2023

Modified Files:
src/share/man/man8: afterboot.8

Log Message:
PR misc/57276 from Nan Xiao

Remove redundant word ("to").


To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.83 src/share/man/man8/afterboot.8

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



CVS commit: src/share/man/man8

2021-11-28 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Sun Nov 28 18:08:51 UTC 2021

Modified Files:
src/share/man/man8: compat_linux.8

Log Message:
aarch64 also now can execute both 32 and 64 bit


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/share/man/man8/compat_linux.8

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



CVS commit: src/share/man/man8

2021-11-28 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Sun Nov 28 18:08:51 UTC 2021

Modified Files:
src/share/man/man8: compat_linux.8

Log Message:
aarch64 also now can execute both 32 and 64 bit


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/share/man/man8/compat_linux.8

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

Modified files:

Index: src/share/man/man8/compat_linux.8
diff -u src/share/man/man8/compat_linux.8:1.45 src/share/man/man8/compat_linux.8:1.46
--- src/share/man/man8/compat_linux.8:1.45	Tue Oct 12 15:25:27 2021
+++ src/share/man/man8/compat_linux.8	Sun Nov 28 18:08:51 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: compat_linux.8,v 1.45 2021/10/12 15:25:27 andvar Exp $
+.\"	$NetBSD: compat_linux.8,v 1.46 2021/11/28 18:08:51 ryo Exp $
 .\"
 .\" Copyright (c) 1995 Frank van der Linden
 .\" All rights reserved.
@@ -42,7 +42,7 @@ This applies to aarch64, alpha, amd64, a
 Both the a.out and ELF binary formats are supported.
 Most programs should work.
 .Nx
-amd64 can execute both 32-bit and 64-bit Linux programs.
+aarch64 and amd64 can execute both 32-bit and 64-bit Linux programs.
 Programs that will not work include some that use
 i386-specific calls, such as enabling virtual 8086 mode.
 Currently, sound is supported through OSSv3 compat.



CVS commit: src/share/man/man8

2021-09-26 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sun Sep 26 11:22:29 UTC 2021

Modified Files:
src/share/man/man8: compat_linux.8

Log Message:
Update remarks on Linux-flavored procfs.


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/share/man/man8/compat_linux.8

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

Modified files:

Index: src/share/man/man8/compat_linux.8
diff -u src/share/man/man8/compat_linux.8:1.43 src/share/man/man8/compat_linux.8:1.44
--- src/share/man/man8/compat_linux.8:1.43	Thu Sep 23 09:07:39 2021
+++ src/share/man/man8/compat_linux.8	Sun Sep 26 11:22:29 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: compat_linux.8,v 1.43 2021/09/23 09:07:39 ryo Exp $
+.\"	$NetBSD: compat_linux.8,v 1.44 2021/09/26 11:22:29 nia Exp $
 .\"
 .\" Copyright (c) 1995 Frank van der Linden
 .\" All rights reserved.
@@ -29,7 +29,7 @@
 .\" (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 September 23, 2021
+.Dd September 26, 2021
 .Dt COMPAT_LINUX 8
 .Os
 .Sh NAME
@@ -165,16 +165,23 @@ Mount procfs on
 .Nx
 using following command:
 .Bl -tag -width 123 -offset indent
-.It $ mount_procfs -o linux procfs /emul/linux/proc
+.It $ mount_procfs procfs /emul/linux/proc
 .El
 .Pp
 You can also set up your system so that procfs is mounted automatically
 on system boot, by putting an entry like the one below to
 .Pa /etc/fstab .
 .Bl -tag -width 123 -offset indent
-.It procfs /emul/linux/proc procfs ro,linux
+.It procfs /emul/linux/proc procfs ro
 .El
 .Pp
+Note: 
+.Xr mount_procfs 8
+defaults to Linux flavored procfs since
+.Nx 5.0 .
+Ensure you do not mount procfs with
+.Ar nolinux .
+.Pp
 See
 .Xr mount_procfs 8
 for further information.



CVS commit: src/share/man/man8

2021-09-26 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sun Sep 26 11:22:29 UTC 2021

Modified Files:
src/share/man/man8: compat_linux.8

Log Message:
Update remarks on Linux-flavored procfs.


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/share/man/man8/compat_linux.8

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



CVS commit: src/share/man/man8

2021-09-23 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Thu Sep 23 09:07:39 UTC 2021

Modified Files:
src/share/man/man8: compat_linux.8

Log Message:
add aarch64, and sort architecture names by alphabetical order.


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/share/man/man8/compat_linux.8

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



CVS commit: src/share/man/man8

2021-09-23 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Thu Sep 23 09:07:39 UTC 2021

Modified Files:
src/share/man/man8: compat_linux.8

Log Message:
add aarch64, and sort architecture names by alphabetical order.


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/share/man/man8/compat_linux.8

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

Modified files:

Index: src/share/man/man8/compat_linux.8
diff -u src/share/man/man8/compat_linux.8:1.42 src/share/man/man8/compat_linux.8:1.43
--- src/share/man/man8/compat_linux.8:1.42	Sun Apr 25 05:52:22 2021
+++ src/share/man/man8/compat_linux.8	Thu Sep 23 09:07:39 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: compat_linux.8,v 1.42 2021/04/25 05:52:22 nia Exp $
+.\"	$NetBSD: compat_linux.8,v 1.43 2021/09/23 09:07:39 ryo Exp $
 .\"
 .\" Copyright (c) 1995 Frank van der Linden
 .\" All rights reserved.
@@ -29,7 +29,7 @@
 .\" (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 April 25, 2021
+.Dd September 23, 2021
 .Dt COMPAT_LINUX 8
 .Os
 .Sh NAME
@@ -38,7 +38,7 @@
 .Sh DESCRIPTION
 .Nx
 supports running Linux binaries.
-This applies to amd64, arm, alpha, i386, m68k, and powerpc systems for now.
+This applies to aarch64, alpha, amd64, arm, i386, m68k, and powerpc systems for now.
 Both the a.out and ELF binary formats are supported.
 Most programs should work.
 .Nx



Re: CVS commit: src/share/man/man8

2020-08-16 Thread Martin Husemann
On Sat, Aug 15, 2020 at 04:12:40PM +0200, Leonardo Taccari wrote:
> Can this use cdn.NetBSD.org and made a bit more general instead of
> hardcoding version/port please?

Maybe create a distinct "manually install pkgin" landing page with
enough magic/ links to guide the user to the "best" repo on our web
site and point the man page to that static url?

Martin


re: CVS commit: src/share/man/man8

2020-08-15 Thread matthew green
> Yeah. I was hesistant to do it this way because hw.machine_arch didn't
> occur to me (uname gives the wrong thing for package sets on arm, etc)

"uname -p"?


.mrg.


Re: CVS commit: src/share/man/man8

2020-08-15 Thread Valery Ushakov
On Sat, Aug 15, 2020 at 16:12:40 +0200, Leonardo Taccari wrote:

> > +.Ic export 
> > PKG_PATH=https://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/9.0/amd64/All
> > +.Ic pkg_add pkgin
> > [...]
> 
> Can this use cdn.NetBSD.org and made a bit more general instead of
> hardcoding version/port please?
> 
> Instead of 9.0/amd64 probably something like:
> 
>  $(uname -r | tr -cd '[0-9.]')/$(sysctl -n hw.machine_arch)

FWIW, that doesn't fit on the page in the PostScript output (groff -Tps
-mandoc)

-uwe


Re: CVS commit: src/share/man/man8

2020-08-15 Thread nia
On Sat, Aug 15, 2020 at 04:12:40PM +0200, Leonardo Taccari wrote:
> Hello Nia,
> 
> Nia Alarie writes:
> > [...]
> > Log Message:
> > afterboot.8: Explain how to install pkgin on a fresh system
> > [...]
> > +.Pp
> > +To install pkgin, if it was not done by the installer:
> > +.Bd -literal -offset indent
> > +.Ic export 
> > PKG_PATH=https://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/9.0/amd64/All
> > +.Ic pkg_add pkgin
> > [...]
> 
> Can this use cdn.NetBSD.org and made a bit more general instead of
> hardcoding version/port please?
> 
> Instead of 9.0/amd64 probably something like:
> 
>  $(uname -r | tr -cd '[0-9.]')/$(sysctl -n hw.machine_arch)
> 
> (the `tr -cd '[0-9.]'' should get rid of possible _STABLE, _BETA and
> similar... probably there are better way to do it, in that case please
> adjust it or let me know!)
> 
> 
> Thanks!

Yeah. I was hesistant to do it this way because hw.machine_arch didn't
occur to me (uname gives the wrong thing for package sets on arm, etc)


Re: CVS commit: src/share/man/man8

2020-08-15 Thread Leonardo Taccari
Hello Nia,

Nia Alarie writes:
> [...]
> Log Message:
> afterboot.8: Explain how to install pkgin on a fresh system
> [...]
> +.Pp
> +To install pkgin, if it was not done by the installer:
> +.Bd -literal -offset indent
> +.Ic export 
> PKG_PATH=https://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/9.0/amd64/All
> +.Ic pkg_add pkgin
> [...]

Can this use cdn.NetBSD.org and made a bit more general instead of
hardcoding version/port please?

Instead of 9.0/amd64 probably something like:

 $(uname -r | tr -cd '[0-9.]')/$(sysctl -n hw.machine_arch)

(the `tr -cd '[0-9.]'' should get rid of possible _STABLE, _BETA and
similar... probably there are better way to do it, in that case please
adjust it or let me know!)


Thanks!


CVS commit: src/share/man/man8/man8.x86

2019-09-15 Thread Emmanuel Dreyfus
Module Name:src
Committed By:   manu
Date:   Mon Sep 16 01:57:58 UTC 2019

Modified Files:
src/share/man/man8/man8.x86: boot.8

Log Message:
Remove obsoeolete BUGS note that UEFI bootloader does not support multiboot


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/share/man/man8/man8.x86/boot.8

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

Modified files:

Index: src/share/man/man8/man8.x86/boot.8
diff -u src/share/man/man8/man8.x86/boot.8:1.19 src/share/man/man8/man8.x86/boot.8:1.20
--- src/share/man/man8/man8.x86/boot.8:1.19	Fri Sep 13 07:11:04 2019
+++ src/share/man/man8/man8.x86/boot.8	Mon Sep 16 01:57:58 2019
@@ -1,4 +1,4 @@
-.\"	$NetBSD: boot.8,v 1.19 2019/09/13 07:11:04 wiz Exp $
+.\"	$NetBSD: boot.8,v 1.20 2019/09/16 01:57:58 manu Exp $
 .\"
 .\" Copyright (c) 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -826,11 +826,6 @@ field of the
 .Nx
 disklabel (if it is a hard disk).
 .Pp
-.Ic multiboot
-is not supported by
-.Tn UEFI
-bootstrap code.
-.Pp
 .Tn UEFI
 implementation are supposed to support either
 .Xr mbr 8



CVS commit: src/share/man/man8/man8.x86

2019-09-15 Thread Emmanuel Dreyfus
Module Name:src
Committed By:   manu
Date:   Mon Sep 16 01:57:58 UTC 2019

Modified Files:
src/share/man/man8/man8.x86: boot.8

Log Message:
Remove obsoeolete BUGS note that UEFI bootloader does not support multiboot


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/share/man/man8/man8.x86/boot.8

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



CVS commit: src/share/man/man8

2019-09-15 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sun Sep 15 15:15:02 UTC 2019

Modified Files:
src/share/man/man8: MAKEDEV.8

Log Message:
Regen for vHCI, IPMI (was forgotten it seems), and srt (for which a man
page is now available).


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/share/man/man8/MAKEDEV.8

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



CVS commit: src/share/man/man8

2019-09-15 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sun Sep 15 15:15:02 UTC 2019

Modified Files:
src/share/man/man8: MAKEDEV.8

Log Message:
Regen for vHCI, IPMI (was forgotten it seems), and srt (for which a man
page is now available).


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/share/man/man8/MAKEDEV.8

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

Modified files:

Index: src/share/man/man8/MAKEDEV.8
diff -u src/share/man/man8/MAKEDEV.8:1.54 src/share/man/man8/MAKEDEV.8:1.55
--- src/share/man/man8/MAKEDEV.8:1.54	Tue Mar 26 09:13:55 2019
+++ src/share/man/man8/MAKEDEV.8	Sun Sep 15 15:15:02 2019
@@ -6,7 +6,7 @@
 .\" *** DO NOT EDIT - any changes will be lost!!!
 .\" *** --
 .\"
-.\" $NetBSD: MAKEDEV.8,v 1.54 2019/03/26 09:13:55 pgoyette Exp $
+.\" $NetBSD: MAKEDEV.8,v 1.55 2019/09/15 15:15:02 maxv Exp $
 .\"
 .\" Copyright (c) 2001, 2003, 2007, 2008 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -35,7 +35,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd March 26, 2019
+.Dd September 15, 2019
 .Dt MAKEDEV 8
 .Os
 .Sh NAME
@@ -741,6 +741,9 @@ X86 IOPL access for COMPAT_10, COMPAT_FR
 . It Ar iop#
 I2O IOP control interface, see
 .Xr \&iop 4
+. It Ar ipmi#
+OpenIPMI compatible interface, see
+.Xr \&ipmi 4
 . It Ar ipl
 IP Filter
 . It Ar irframe#
@@ -832,7 +835,8 @@ SPI bus device, see
 . It Ar sram
 Battery backuped memory (x68k)
 . It Ar srt#
-Source-address based routing
+Source-address based routing, see
+.Xr \&srt 4
 . It Ar ss#
 SCSI scanner, see
 .Xr \&ss 4
@@ -862,6 +866,8 @@ Unknown SCSI device, see
 . It Ar veriexec
 Veriexec fingerprint loader, see
 .Xr \&veriexec 4
+. It Ar vhci
+Virtual host controller interface
 . It Ar video#
 Video capture devices, see
 .Xr \&video 4



CVS commit: src/share/man/man8/man8.x86

2019-09-13 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Fri Sep 13 07:11:04 UTC 2019

Modified Files:
src/share/man/man8/man8.x86: boot.8

Log Message:
New sentence, new line. Bump date for previous.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/share/man/man8/man8.x86/boot.8

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



CVS commit: src/share/man/man8/man8.x86

2019-09-13 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Fri Sep 13 07:11:04 UTC 2019

Modified Files:
src/share/man/man8/man8.x86: boot.8

Log Message:
New sentence, new line. Bump date for previous.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/share/man/man8/man8.x86/boot.8

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

Modified files:

Index: src/share/man/man8/man8.x86/boot.8
diff -u src/share/man/man8/man8.x86/boot.8:1.18 src/share/man/man8/man8.x86/boot.8:1.19
--- src/share/man/man8/man8.x86/boot.8:1.18	Fri Sep 13 01:34:19 2019
+++ src/share/man/man8/man8.x86/boot.8	Fri Sep 13 07:11:04 2019
@@ -1,4 +1,4 @@
-.\"	$NetBSD: boot.8,v 1.18 2019/09/13 01:34:19 manu Exp $
+.\"	$NetBSD: boot.8,v 1.19 2019/09/13 07:11:04 wiz Exp $
 .\"
 .\" Copyright (c) 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -32,7 +32,7 @@
 .\"
 .\" @(#)boot_i386.8	8.2 (Berkeley) 4/19/94
 .\"
-.Dd August 18, 2019
+.Dd September 13, 2019
 .Dt BOOT 8 x86
 .Os
 .Sh NAME
@@ -440,7 +440,8 @@ is of the form
 .Va NAME=partition_label
 for
 .Xr gpt 8
-partitionned disks. It can also be a unit name
+partitioned disks.
+It can also be a unit name
 .Po Dq wd0
 .Pc ,
 or an interface name



CVS commit: src/share/man/man8/man8.x86

2019-09-12 Thread Emmanuel Dreyfus
Module Name:src
Committed By:   manu
Date:   Fri Sep 13 01:34:19 UTC 2019

Modified Files:
src/share/man/man8/man8.x86: boot.8

Log Message:
Document that bootdev option accepts device specification as NAME=label


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/share/man/man8/man8.x86/boot.8

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

Modified files:

Index: src/share/man/man8/man8.x86/boot.8
diff -u src/share/man/man8/man8.x86/boot.8:1.17 src/share/man/man8/man8.x86/boot.8:1.18
--- src/share/man/man8/man8.x86/boot.8:1.17	Sun Aug 18 08:12:36 2019
+++ src/share/man/man8/man8.x86/boot.8	Fri Sep 13 01:34:19 2019
@@ -1,4 +1,4 @@
-.\"	$NetBSD: boot.8,v 1.17 2019/08/18 08:12:36 wiz Exp $
+.\"	$NetBSD: boot.8,v 1.18 2019/09/13 01:34:19 manu Exp $
 .\"
 .\" Copyright (c) 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -436,7 +436,11 @@ being separated with spaces
 .It Ic bootdev Ns = Ns Ar dev Po or Ic root Ns = Ns Ar dev Pc
 Override the default boot device.
 .Ar dev
-can be a unit name
+is of the form
+.Va NAME=partition_label
+for
+.Xr gpt 8
+partitionned disks. It can also be a unit name
 .Po Dq wd0
 .Pc ,
 or an interface name



CVS commit: src/share/man/man8/man8.x86

2019-09-12 Thread Emmanuel Dreyfus
Module Name:src
Committed By:   manu
Date:   Fri Sep 13 01:34:19 UTC 2019

Modified Files:
src/share/man/man8/man8.x86: boot.8

Log Message:
Document that bootdev option accepts device specification as NAME=label


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/share/man/man8/man8.x86/boot.8

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



CVS commit: src/share/man/man8/man8.next68k

2019-09-01 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sun Sep  1 15:08:52 UTC 2019

Modified Files:
src/share/man/man8/man8.next68k: boot.8

Log Message:
grammar


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/share/man/man8/man8.next68k/boot.8

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



CVS commit: src/share/man/man8/man8.next68k

2019-09-01 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sun Sep  1 15:08:52 UTC 2019

Modified Files:
src/share/man/man8/man8.next68k: boot.8

Log Message:
grammar


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/share/man/man8/man8.next68k/boot.8

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

Modified files:

Index: src/share/man/man8/man8.next68k/boot.8
diff -u src/share/man/man8/man8.next68k/boot.8:1.4 src/share/man/man8/man8.next68k/boot.8:1.5
--- src/share/man/man8/man8.next68k/boot.8:1.4	Wed Sep 24 20:07:05 2008
+++ src/share/man/man8/man8.next68k/boot.8	Sun Sep  1 15:08:52 2019
@@ -1,4 +1,4 @@
-.\"	$NetBSD: boot.8,v 1.4 2008/09/24 20:07:05 reed Exp $
+.\"	$NetBSD: boot.8,v 1.5 2019/09/01 15:08:52 sevan Exp $
 .\"
 .\" Copyright (c) 1990, 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -34,7 +34,7 @@
 .\" From:
 .\"	@(#)boot_hp300.8	8.2 (Berkeley) 4/19/94
 .\"
-.Dd April 19, 1994
+.Dd September 1, 2019
 .Dt BOOT 8 next68k
 .Os
 .Sh NAME
@@ -46,9 +46,8 @@ system bootstrapping procedures
 Normally, the system will reboot itself at power-up or after crashes.
 An automatic consistency check of the file systems will be performed,
 and unless this fails, the system will resume multi-user operations.
-.Pp
 .Ss Cold starts
-On an NeXT, the boot procedure uses the boot ROM to load a boot program
+On a NeXT, the boot procedure uses the boot ROM to load a boot program
 over the network using BOOTP and TFTP.
 The
 .Pa /usr/mdec



CVS commit: src/share/man/man8/man8.x86

2019-08-18 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sun Aug 18 08:12:36 UTC 2019

Modified Files:
src/share/man/man8/man8.x86: boot.8

Log Message:
Typo fixes, 'file system'; new sentence, new line; expand IA-32.
Bump date for previous.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/share/man/man8/man8.x86/boot.8

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

Modified files:

Index: src/share/man/man8/man8.x86/boot.8
diff -u src/share/man/man8/man8.x86/boot.8:1.16 src/share/man/man8/man8.x86/boot.8:1.17
--- src/share/man/man8/man8.x86/boot.8:1.16	Sun Aug 18 02:23:48 2019
+++ src/share/man/man8/man8.x86/boot.8	Sun Aug 18 08:12:36 2019
@@ -1,4 +1,4 @@
-.\"	$NetBSD: boot.8,v 1.16 2019/08/18 02:23:48 manu Exp $
+.\"	$NetBSD: boot.8,v 1.17 2019/08/18 08:12:36 wiz Exp $
 .\"
 .\" Copyright (c) 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -32,7 +32,7 @@
 .\"
 .\" @(#)boot_i386.8	8.2 (Berkeley) 4/19/94
 .\"
-.Dd May 15, 2019
+.Dd August 18, 2019
 .Dt BOOT 8 x86
 .Os
 .Sh NAME
@@ -40,13 +40,9 @@
 .Nd
 system bootstrapping procedures
 .Sh DESCRIPTION
-.Tn IA-32
-computers
-.Po
-the
+Intel Architecture, 32-bit (IA-32) computers (the
 .Tn IBM PC
-and its clones
-.Pc
+and its clones)
 that can run
 .Nx Ns /i386
 or
@@ -62,7 +58,7 @@ from the system
 .Tn BIOS
 .It efiboot
 bootstrap
-.Nx 
+.Nx
 from the system
 .Tn UEFI
 .It Xr x86/dosboot 8
@@ -180,8 +176,8 @@ input of these commands:
 .It Ic boot Oo Va device : Oc Ns Oo Va filename Oc Oo Fl 1234abcdmqsvxz Oc
 The default
 .Va device
-will be set to the disk from which the boot loader was loaded. The
-partition is set to the first match in this list:
+will be set to the disk from which the boot loader was loaded.
+The partition is set to the first match in this list:
 .Bl -enum -compact
 .It
 The first
@@ -193,7 +189,7 @@ attribute set.
 The partition from which the boot loader was loaded from, if that
 can be detected.
 .It
-The first partition with a filesystem that could be bootable.
+The first partition with a file system that could be bootable.
 .It
 The first partition.
 .El
@@ -204,7 +200,8 @@ is of the form
 .Va NAME=partition_label
 when booting from a
 .Xr gpt 8
-partitionned disk. Otherwise, the syntax is
+partitioned disk.
+Otherwise, the syntax is
 .Xo Va xd
 .Op Va N Ns Op Va x
 .Xc
@@ -231,17 +228,17 @@ Floppy drives as numbered by the BIOS.
 CD-ROM drives as numbered by the BIOS.
 .It raid
 RAIDframe configured from hard disks recognized by the BIOS.
-Only RAID level 1 sets are supported by bootstrap code. If
-the RAID is partitionned, the first partition is used, or the
+Only RAID level 1 sets are supported by bootstrap code.
+If the RAID is partitioned, the first partition is used, or the
 first
 .Xr gpt 8
 partition that has the
 .Va bootme
-attribute set. Inner RAIDframe partition can also be
-given to the
+attribute set.
+Inner RAIDframe partitions can also be given to the
 .Ic dev
 command using he
-.Va NAME=partiton_label
+.Va NAME=partition_label
 syntax.
 .El
 .Pp
@@ -839,12 +836,13 @@ partitionning, but some do not handle th
 Booting
 from a
 .Xr gpt 8
-partitionned disk is still possible in this case, by adding
+partitioned disk is still possible in this case, by adding
 an overlapping
 .Tn EFI
 partition in the protective
 .Xr mbr 8
-block. This can be achieved using the following commands
+block.
+This can be achieved using the following commands
 (you must adapt the hard disk and
 .Tn EFI
 partition start end size to fit your setup):
@@ -863,4 +861,3 @@ partition table will look like this:
 2: 
 3: 
 .Ed
-



CVS commit: src/share/man/man8/man8.x86

2019-08-18 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sun Aug 18 08:12:36 UTC 2019

Modified Files:
src/share/man/man8/man8.x86: boot.8

Log Message:
Typo fixes, 'file system'; new sentence, new line; expand IA-32.
Bump date for previous.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/share/man/man8/man8.x86/boot.8

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



CVS commit: src/share/man/man8/man8.x86

2019-08-17 Thread Emmanuel Dreyfus
Module Name:src
Committed By:   manu
Date:   Sun Aug 18 02:23:48 UTC 2019

Modified Files:
src/share/man/man8/man8.x86: boot.8

Log Message:
Document new GPT and RAIDframe capacity of bootstrap code

While there, also document EFI setup and some bugs


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/share/man/man8/man8.x86/boot.8

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

Modified files:

Index: src/share/man/man8/man8.x86/boot.8
diff -u src/share/man/man8/man8.x86/boot.8:1.15 src/share/man/man8/man8.x86/boot.8:1.16
--- src/share/man/man8/man8.x86/boot.8:1.15	Wed May 15 17:35:02 2019
+++ src/share/man/man8/man8.x86/boot.8	Sun Aug 18 02:23:48 2019
@@ -1,4 +1,4 @@
-.\"	$NetBSD: boot.8,v 1.15 2019/05/15 17:35:02 maxv Exp $
+.\"	$NetBSD: boot.8,v 1.16 2019/08/18 02:23:48 manu Exp $
 .\"
 .\" Copyright (c) 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -60,6 +60,11 @@ bootstrap
 .Nx
 from the system
 .Tn BIOS
+.It efiboot
+bootstrap
+.Nx 
+from the system
+.Tn UEFI
 .It Xr x86/dosboot 8
 bootstrap
 .Nx
@@ -175,12 +180,31 @@ input of these commands:
 .It Ic boot Oo Va device : Oc Ns Oo Va filename Oc Oo Fl 1234abcdmqsvxz Oc
 The default
 .Va device
-will be set to the disk that the boot loader was
-loaded from.
+will be set to the disk from which the boot loader was loaded. The
+partition is set to the first match in this list:
+.Bl -enum -compact
+.It
+The first
+.Xr gpt 8
+partition with the
+.Va bootme
+attribute set.
+.It
+The partition from which the boot loader was loaded from, if that
+can be detected.
+.It
+The first partition with a filesystem that could be bootable.
+.It
+The first partition.
+.El
 To boot from an alternate disk, the full name of the device should
 be given at the prompt.
 .Va device
 is of the form
+.Va NAME=partition_label
+when booting from a
+.Xr gpt 8
+partitionned disk. Otherwise, the syntax is
 .Xo Va xd
 .Op Va N Ns Op Va x
 .Xc
@@ -192,8 +216,8 @@ is the unit number, and
 .Va x
 is the partition letter.
 .Pp
-The following list of supported devices may vary from installation to
-installation:
+In the later case, the following list of supported devices may
+vary from installation to installation:
 .Pp
 .Bl -hang -compact
 .It hd
@@ -203,6 +227,22 @@ lookalike controller(s), and SCSI disks
 on SCSI controllers recognized by the BIOS.
 .It fd
 Floppy drives as numbered by the BIOS.
+.It cd
+CD-ROM drives as numbered by the BIOS.
+.It raid
+RAIDframe configured from hard disks recognized by the BIOS.
+Only RAID level 1 sets are supported by bootstrap code. If
+the RAID is partitionned, the first partition is used, or the
+first
+.Xr gpt 8
+partition that has the
+.Va bootme
+attribute set. Inner RAIDframe partition can also be
+given to the
+.Ic dev
+command using he
+.Va NAME=partiton_label
+syntax.
 .El
 .Pp
 The default
@@ -700,6 +740,33 @@ the
 .Nx
 partition by
 .Xr installboot 8 .
+.It Pa /usr/mdec/bootia32.efi
+.It Pa /usr/mdec/bootx64.efi
+.Tn UEFI
+bootstraps for
+.Nx Ns /i386
+and
+.Nx Ns /amd64 ,
+which should be copied to the
+.Pa /efi/boot
+directory in a
+.Tn FAT
+formatted partition of type
+.Tn EFI
+(Either
+.Xr mbr 8
+and
+.Xr gpt 8 ,
+see the
+.Sx BUGS
+section).
+.Nx
+.Tn UEFI
+bootstrap reads its configuration from the
+.Pa /efi/netBSD/boot.cfg
+file in the
+.Tn EFI
+partition.
 .El
 .Sh SEE ALSO
 .Xr ddb 4 ,
@@ -756,3 +823,44 @@ is derived from the
 field of the
 .Nx
 disklabel (if it is a hard disk).
+.Pp
+.Ic multiboot
+is not supported by
+.Tn UEFI
+bootstrap code.
+.Pp
+.Tn UEFI
+implementation are supposed to support either
+.Xr mbr 8
+or
+.Xr gpt 8
+partitionning, but some do not handle the later.
+.Tn UEFI
+Booting
+from a
+.Xr gpt 8
+partitionned disk is still possible in this case, by adding
+an overlapping
+.Tn EFI
+partition in the protective
+.Xr mbr 8
+block. This can be achieved using the following commands
+(you must adapt the hard disk and
+.Tn EFI
+partition start end size to fit your setup):
+.Dl Ic dd if=/dev/rwd0d bs=512 count=1 of=mbr
+.Dl Ic fdisk -FIfaui1s 4/34/32768 -c /usr/mdec/mbr mbr
+.Dl Ic dd if=mbr bs=512 count=1 of=/dev/rwd0d conv=notrunc
+The resulting
+.Xr mbr 8
+partition table will look like this:
+.Bd -unfilled -offset indent
+0: GPT Protective MBR (sysid 238)
+start 1, size 2097151 (1024 MB, Cyls 0-130/138/8)
+PBR is not bootable: Bad magic number (0x)
+1: Primary DOS with 16 bit FAT <32M (sysid 4)
+start 34, size 32768 (16 MB, Cyls 0/0/35-2/10/42), Active
+2: 
+3: 
+.Ed
+



CVS commit: src/share/man/man8/man8.x86

2019-08-17 Thread Emmanuel Dreyfus
Module Name:src
Committed By:   manu
Date:   Sun Aug 18 02:23:48 UTC 2019

Modified Files:
src/share/man/man8/man8.x86: boot.8

Log Message:
Document new GPT and RAIDframe capacity of bootstrap code

While there, also document EFI setup and some bugs


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/share/man/man8/man8.x86/boot.8

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



CVS commit: src/share/man/man8

2019-06-18 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Tue Jun 18 23:11:05 UTC 2019

Modified Files:
src/share/man/man8: afterboot.8

Log Message:
servpce -> service


To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 src/share/man/man8/afterboot.8

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

Modified files:

Index: src/share/man/man8/afterboot.8
diff -u src/share/man/man8/afterboot.8:1.61 src/share/man/man8/afterboot.8:1.62
--- src/share/man/man8/afterboot.8:1.61	Tue Jun 18 13:27:25 2019
+++ src/share/man/man8/afterboot.8	Tue Jun 18 23:11:05 2019
@@ -1,4 +1,4 @@
-.\"	$NetBSD: afterboot.8,v 1.61 2019/06/18 13:27:25 maya Exp $
+.\"	$NetBSD: afterboot.8,v 1.62 2019/06/18 23:11:05 nia Exp $
 .\"	$OpenBSD: afterboot.8,v 1.72 2002/02/22 02:02:33 miod Exp $
 .\"
 .\" Originally created by Marshall M. Midden -- 1997-10-20, m...@umn.edu
@@ -412,7 +412,7 @@ You can scan for nearby wireless network
 To connect to a wireless network using WPA and DHCP:
 .Bd -literal -offset indent
 .Ic wpa_passphrase networkname password >> /etc/wpa_supplicant.conf
-.Ic servpce wpa_supplicant onestart
+.Ic service wpa_supplicant onestart
 .Ic service dhcpcd onestart
 .Ed
 .Pp



CVS commit: src/share/man/man8

2019-06-18 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Tue Jun 18 23:11:05 UTC 2019

Modified Files:
src/share/man/man8: afterboot.8

Log Message:
servpce -> service


To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 src/share/man/man8/afterboot.8

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



CVS commit: src/share/man/man8

2019-06-18 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Tue Jun 18 13:27:25 UTC 2019

Modified Files:
src/share/man/man8: afterboot.8

Log Message:
Don't describe wpa supplicant flags now that they aren't needed.

I'm intentionally not describing wpa_cli since it seems to be a worse
user experience than appending with wpa_passphrase.


To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.61 src/share/man/man8/afterboot.8

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

Modified files:

Index: src/share/man/man8/afterboot.8
diff -u src/share/man/man8/afterboot.8:1.60 src/share/man/man8/afterboot.8:1.61
--- src/share/man/man8/afterboot.8:1.60	Sun Sep 10 19:08:17 2017
+++ src/share/man/man8/afterboot.8	Tue Jun 18 13:27:25 2019
@@ -1,4 +1,4 @@
-.\"	$NetBSD: afterboot.8,v 1.60 2017/09/10 19:08:17 maya Exp $
+.\"	$NetBSD: afterboot.8,v 1.61 2019/06/18 13:27:25 maya Exp $
 .\"	$OpenBSD: afterboot.8,v 1.72 2002/02/22 02:02:33 miod Exp $
 .\"
 .\" Originally created by Marshall M. Midden -- 1997-10-20, m...@umn.edu
@@ -59,7 +59,7 @@
 .\" (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 September 10, 2017
+.Dd June 18, 2019
 .Dt AFTERBOOT 8
 .Os
 .Sh NAME
@@ -411,18 +411,16 @@ You can scan for nearby wireless network
 .Pp
 To connect to a wireless network using WPA and DHCP:
 .Bd -literal -offset indent
-.Ic wpa_passphrase networkname password > /etc/wpa_supplicant.conf
-.Ic wpa_supplicant -i iwm0 -c /etc/wpa_supplicant.conf &
-.Ic dhcpcd iwm0
+.Ic wpa_passphrase networkname password >> /etc/wpa_supplicant.conf
+.Ic servpce wpa_supplicant onestart
+.Ic service dhcpcd onestart
 .Ed
 .Pp
-To automatically connect at boot, add the following flags to
+To automatically connect at boot, add the following to
 .Pa /etc/rc.conf :
 .Pp
 .Dl dhcpcd=YES
-.Dl dhcpcd_flags="-b"
 .Dl wpa_supplicant=YES
-.Dl wpa_supplicant_flags="-i iwm0 -c /etc/wpa_supplicant.conf"
 .Ss RPC-based network services
 Several services depend on the RPC portmapper
 .Xr rpcbind 8



CVS commit: src/share/man/man8

2019-06-18 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Tue Jun 18 13:27:25 UTC 2019

Modified Files:
src/share/man/man8: afterboot.8

Log Message:
Don't describe wpa supplicant flags now that they aren't needed.

I'm intentionally not describing wpa_cli since it seems to be a worse
user experience than appending with wpa_passphrase.


To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.61 src/share/man/man8/afterboot.8

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



CVS commit: src/share/man/man8/man8.x86

2019-05-15 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Wed May 15 17:35:03 UTC 2019

Modified Files:
src/share/man/man8/man8.x86: boot.8

Log Message:
RB_MD3 now disables SVS.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/share/man/man8/man8.x86/boot.8

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

Modified files:

Index: src/share/man/man8/man8.x86/boot.8
diff -u src/share/man/man8/man8.x86/boot.8:1.14 src/share/man/man8/man8.x86/boot.8:1.15
--- src/share/man/man8/man8.x86/boot.8:1.14	Tue Nov 27 10:35:03 2018
+++ src/share/man/man8/man8.x86/boot.8	Wed May 15 17:35:02 2019
@@ -1,4 +1,4 @@
-.\"	$NetBSD: boot.8,v 1.14 2018/11/27 10:35:03 wiz Exp $
+.\"	$NetBSD: boot.8,v 1.15 2019/05/15 17:35:02 maxv Exp $
 .\"
 .\" Copyright (c) 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -32,7 +32,7 @@
 .\"
 .\" @(#)boot_i386.8	8.2 (Berkeley) 4/19/94
 .\"
-.Dd November 25, 2018
+.Dd May 15, 2019
 .Dt BOOT 8 x86
 .Os
 .Sh NAME
@@ -245,8 +245,8 @@ Sets the machine-dependent flag
 in
 .Va boothowto .
 In
-.Nx Ns /x86 ,
-this has no effect.
+.Nx Ns /amd64 ,
+this disables SVS.
 .It Fl 4
 Sets the machine-dependent flag
 .Sy RB_MD4



CVS commit: src/share/man/man8/man8.x86

2019-05-15 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Wed May 15 17:35:03 UTC 2019

Modified Files:
src/share/man/man8/man8.x86: boot.8

Log Message:
RB_MD3 now disables SVS.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/share/man/man8/man8.x86/boot.8

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



CVS commit: src/share/man/man8

2010-02-16 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Wed Feb 17 00:49:21 UTC 2010

Modified Files:
src/share/man/man8: afterboot.8

Log Message:
Fix punctuation and update "SEE ALSO" section.  From Bug Hunting in
PR misc/40293.


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/share/man/man8/afterboot.8

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



CVS commit: src/share/man/man8

2010-02-09 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed Feb 10 07:38:10 UTC 2010

Modified Files:
src/share/man/man8: afterboot.8

Log Message:
Use comma in serialization instead of dot.


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/share/man/man8/afterboot.8

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



CVS commit: src/share/man/man8

2010-02-09 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Wed Feb 10 03:38:22 UTC 2010

Modified Files:
src/share/man/man8: afterboot.8

Log Message:
Some markup and capitalization nits, from Bug Hunting in PR misc/40062.
While here, give xdm its own subsection instead of awkwardly lumping it
in with the rc.conf section.


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/share/man/man8/afterboot.8

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



CVS commit: src/share/man/man8

2010-01-20 Thread Julio M. Merino Vidal
Module Name:src
Committed By:   jmmv
Date:   Wed Jan 20 22:24:18 UTC 2010

Modified Files:
src/share/man/man8: afterboot.8

Log Message:
Ask the user to enable fetch_pkg_vulnerabilities in /etc/daily.conf right
after installation.  Automatic changes from sysinst will come later.


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/share/man/man8/afterboot.8

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