Replace /kernel with /boot/kernel/kernel.
PR: docs/37757 Submitted by: Hiten Pandya <hiten@uk.FreeBSD.org>
This commit is contained in:
parent
7dac28cfc3
commit
1063e12617
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=96247
@ -119,7 +119,7 @@ Sort by memory usage, instead of by process
|
|||||||
.Tn ID .
|
.Tn ID .
|
||||||
.It Fl N
|
.It Fl N
|
||||||
Extract the name list from the specified system instead of the default
|
Extract the name list from the specified system instead of the default
|
||||||
.Pa /kernel .
|
.Pa /boot/kernel/kernel .
|
||||||
.It Fl O
|
.It Fl O
|
||||||
Add the information associated with the space or comma separated list
|
Add the information associated with the space or comma separated list
|
||||||
of keywords specified, after the process
|
of keywords specified, after the process
|
||||||
@ -518,7 +518,7 @@ KLD
|
|||||||
/dev name database
|
/dev name database
|
||||||
.It Pa /var/db/kvm_kernel.db
|
.It Pa /var/db/kvm_kernel.db
|
||||||
system namelist database
|
system namelist database
|
||||||
.It Pa /kernel
|
.It Pa /boot/kernel/kernel
|
||||||
default system namelist
|
default system namelist
|
||||||
.It Pa /proc
|
.It Pa /proc
|
||||||
the mount point of
|
the mount point of
|
||||||
|
@ -63,7 +63,7 @@ placed in the global location
|
|||||||
.Sh BUGS
|
.Sh BUGS
|
||||||
If the boot blocks have not been modified to pass this information into
|
If the boot blocks have not been modified to pass this information into
|
||||||
the kernel at boot time, the static string
|
the kernel at boot time, the static string
|
||||||
.Dq Pa /kernel
|
.Dq Pa /boot/kernel/kernel
|
||||||
is returned instead of the real boot file.
|
is returned instead of the real boot file.
|
||||||
.Sh HISTORY
|
.Sh HISTORY
|
||||||
The
|
The
|
||||||
|
@ -76,14 +76,15 @@ At this time the nameblock will contain only zeroed out names.
|
|||||||
.Pp
|
.Pp
|
||||||
An example of usage might be:
|
An example of usage might be:
|
||||||
.Bd -literal
|
.Bd -literal
|
||||||
nextboot -b /dev/rwd0 1:sd(0,a)/kernel.experimental wd(0,a)/kernel.old
|
nextboot -b /dev/rwd0 1:sd(0,a)/boot/kernel/kernel.experimental \\
|
||||||
|
wd(0,a)/boot/kernel.old/kernel
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
Which would instruct the boot blocks at the next boot,
|
Which would instruct the boot blocks at the next boot,
|
||||||
to try boot the experimental kernel off the SCSI disk.
|
to try boot the experimental kernel off the SCSI disk.
|
||||||
If for any reason this failed, the next boot attempt would
|
If for any reason this failed, the next boot attempt would
|
||||||
boot the kernel
|
boot the kernel
|
||||||
.Pa /kernel.old
|
.Pa /boot/kernel.old/kernel
|
||||||
off the IDE drive. (Assuming the write-back option were enabled) If this
|
off the IDE drive. (Assuming the write-back option were enabled) If this
|
||||||
in turn failed.
|
in turn failed.
|
||||||
The compiled in default would be used.
|
The compiled in default would be used.
|
||||||
|
@ -837,13 +837,13 @@ does not contain symbols, you will not get an error message, but the stack trace
|
|||||||
will not show the symbols. Check the module before starting
|
will not show the symbols. Check the module before starting
|
||||||
.Nm gdb :
|
.Nm gdb :
|
||||||
.Bd -literal
|
.Bd -literal
|
||||||
$ file /modules/vinum.ko
|
$ file /boot/kernel/vinum.ko
|
||||||
/modules/vinum.ko: ELF 32-bit LSB shared object, Intel 80386,
|
/boot/kernel/vinum.ko: ELF 32-bit LSB shared object, Intel 80386,
|
||||||
version 1 (FreeBSD), not stripped
|
version 1 (FreeBSD), not stripped
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
If the output shows that
|
If the output shows that
|
||||||
.Pa /modules/vinum.ko
|
.Pa /boot/kernel/vinum.ko
|
||||||
is stripped, you will have to find a version which is not. Usually this will be
|
is stripped, you will have to find a version which is not. Usually this will be
|
||||||
either in
|
either in
|
||||||
.Pa /usr/obj/sys/modules/vinum/vinum.ko
|
.Pa /usr/obj/sys/modules/vinum/vinum.ko
|
||||||
|
@ -176,7 +176,7 @@ start
|
|||||||
Loads a different kernel with the standard configuration:
|
Loads a different kernel with the standard configuration:
|
||||||
.Pp
|
.Pp
|
||||||
.Bd -literal -offset indent -compact
|
.Bd -literal -offset indent -compact
|
||||||
set kernel="kernel.old"
|
set kernel="/boot/kernel.old/kernel"
|
||||||
unload
|
unload
|
||||||
boot-conf
|
boot-conf
|
||||||
.Ed
|
.Ed
|
||||||
|
@ -154,7 +154,7 @@ selects the video console, and
|
|||||||
selects a mute console
|
selects a mute console
|
||||||
(useful for systems with neither a video console nor a serial port).
|
(useful for systems with neither a video console nor a serial port).
|
||||||
.It Va kernel
|
.It Va kernel
|
||||||
.Pq Dq /kernel
|
.Pq Dq /boot/kernel/kernel
|
||||||
.It Va loader_conf_files
|
.It Va loader_conf_files
|
||||||
.Pq Do /boot/loader.conf /boot/loader.conf.local Dc
|
.Pq Do /boot/loader.conf /boot/loader.conf.local Dc
|
||||||
.It Va splash_bmp_load
|
.It Va splash_bmp_load
|
||||||
|
@ -74,7 +74,7 @@ instead of the default
|
|||||||
.Pa /dev/kmem .
|
.Pa /dev/kmem .
|
||||||
.It Fl N
|
.It Fl N
|
||||||
Extract the name list from the specified system instead of the default
|
Extract the name list from the specified system instead of the default
|
||||||
.Pa /kernel .
|
.Pa /boot/kernel/kernel .
|
||||||
.It Fl m
|
.It Fl m
|
||||||
Include memory-mapped files in the listing; normally these are excluded
|
Include memory-mapped files in the listing; normally these are excluded
|
||||||
due to the extra processing required.
|
due to the extra processing required.
|
||||||
|
@ -100,7 +100,7 @@ or the last operation on a semaphore.
|
|||||||
.It Fl C Ar system
|
.It Fl C Ar system
|
||||||
Extract the name list from the specified system instead of the
|
Extract the name list from the specified system instead of the
|
||||||
default
|
default
|
||||||
.Dq Pa /kernel .
|
.Dq Pa /boot/kernel/kernel .
|
||||||
Implies
|
Implies
|
||||||
.Fl y .
|
.Fl y .
|
||||||
.It Fl M
|
.It Fl M
|
||||||
@ -154,10 +154,10 @@ This manual page is woefully incomplete, because it does not
|
|||||||
at all attempt to explain the information printed by
|
at all attempt to explain the information printed by
|
||||||
.Nm .
|
.Nm .
|
||||||
.Sh FILES
|
.Sh FILES
|
||||||
.Bl -tag -width /etc/passwd -compact
|
.Bl -tag -width /boot/kernel/kernel -compact
|
||||||
.It Pa /dev/kmem
|
.It Pa /dev/kmem
|
||||||
default kernel memory
|
default kernel memory
|
||||||
.It Pa /kernel
|
.It Pa /boot/kernel/kernel
|
||||||
default system name list
|
default system name list
|
||||||
.El
|
.El
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
|
@ -63,7 +63,7 @@ instead of the default
|
|||||||
.Pa /dev/kmem .
|
.Pa /dev/kmem .
|
||||||
.It Fl N
|
.It Fl N
|
||||||
Extract the name list from the specified system instead of the default
|
Extract the name list from the specified system instead of the default
|
||||||
.Pa /kernel .
|
.Pa /boot/kernel/kernel .
|
||||||
.It Fl s
|
.It Fl s
|
||||||
Only display server side statistics
|
Only display server side statistics
|
||||||
.It Fl W
|
.It Fl W
|
||||||
@ -77,8 +77,8 @@ activity for both the client and server at
|
|||||||
second intervals.
|
second intervals.
|
||||||
.El
|
.El
|
||||||
.Sh FILES
|
.Sh FILES
|
||||||
.Bl -tag -width /dev/kmem -compact
|
.Bl -tag -width /boot/kernel/kernel -compact
|
||||||
.It Pa /kernel
|
.It Pa /boot/kernel/kernel
|
||||||
default kernel namelist
|
default kernel namelist
|
||||||
.It Pa /dev/kmem
|
.It Pa /dev/kmem
|
||||||
default memory file
|
default memory file
|
||||||
|
@ -76,7 +76,7 @@ Exit with status zero, even if some symbols are missing.
|
|||||||
.Pp
|
.Pp
|
||||||
This program was specifically designed to cut down on the
|
This program was specifically designed to cut down on the
|
||||||
overhead of getting symbols from
|
overhead of getting symbols from
|
||||||
.Pa /kernel .
|
.Pa /boot/kernel/kernel .
|
||||||
.Sh DIAGNOSTICS
|
.Sh DIAGNOSTICS
|
||||||
The
|
The
|
||||||
.Nm
|
.Nm
|
||||||
|
@ -503,8 +503,8 @@ and all passthrough devices that provide access to CDROM drives.
|
|||||||
.Xr iostat 8 ,
|
.Xr iostat 8 ,
|
||||||
.Xr vmstat 8
|
.Xr vmstat 8
|
||||||
.Sh FILES
|
.Sh FILES
|
||||||
.Bl -tag -width /etc/networks -compact
|
.Bl -tag -width /boot/kernel/kernel -compact
|
||||||
.It Pa /kernel
|
.It Pa /boot/kernel/kernel
|
||||||
For the namelist.
|
For the namelist.
|
||||||
.It Pa /dev/kmem
|
.It Pa /dev/kmem
|
||||||
For information in main memory.
|
For information in main memory.
|
||||||
|
@ -91,7 +91,7 @@ instead of the default
|
|||||||
Extract the name list from the specified
|
Extract the name list from the specified
|
||||||
.Ar system
|
.Ar system
|
||||||
instead of the default
|
instead of the default
|
||||||
.Pa /kernel .
|
.Pa /boot/kernel/kernel .
|
||||||
.It Fl m
|
.It Fl m
|
||||||
Report on the usage of kernel dynamic memory listed first by size of
|
Report on the usage of kernel dynamic memory listed first by size of
|
||||||
allocation and then by type of usage.
|
allocation and then by type of usage.
|
||||||
@ -297,8 +297,8 @@ will tell vmstat to select the first three direct access or CDROM devices
|
|||||||
and display statistics on those devices, as well as other systems
|
and display statistics on those devices, as well as other systems
|
||||||
statistics every second.
|
statistics every second.
|
||||||
.Sh FILES
|
.Sh FILES
|
||||||
.Bl -tag -width /dev/kmemxxx -compact
|
.Bl -tag -width /boot/kernel/kernel -compact
|
||||||
.It Pa /kernel
|
.It Pa /boot/kernel/kernel
|
||||||
default kernel namelist
|
default kernel namelist
|
||||||
.It Pa /dev/kmem
|
.It Pa /dev/kmem
|
||||||
default memory file
|
default memory file
|
||||||
|
@ -48,8 +48,8 @@ the length of time the system has been up,
|
|||||||
the number of users, and the load average of the system over the last
|
the number of users, and the load average of the system over the last
|
||||||
1, 5, and 15 minutes.
|
1, 5, and 15 minutes.
|
||||||
.Sh FILES
|
.Sh FILES
|
||||||
.Bl -tag -width /kernel
|
.Bl -tag -width /boot/kernel/kernel
|
||||||
.It Pa /kernel
|
.It Pa /boot/kernel/kernel
|
||||||
system name list
|
system name list
|
||||||
.El
|
.El
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
|
@ -76,7 +76,7 @@ core instead of the default
|
|||||||
.It Fl N
|
.It Fl N
|
||||||
Extract the name list from the specified system instead of the
|
Extract the name list from the specified system instead of the
|
||||||
default
|
default
|
||||||
.Dq /kernel .
|
.Dq /boot/kernel/kernel .
|
||||||
.It Fl n
|
.It Fl n
|
||||||
Don't attempt to resolve network addresses (normally
|
Don't attempt to resolve network addresses (normally
|
||||||
.Nm
|
.Nm
|
||||||
|
@ -78,18 +78,18 @@ to succeed, the attribute service must be available on the file system,
|
|||||||
and the attribute must of defined for the file queried.
|
and the attribute must of defined for the file queried.
|
||||||
.Sh EXAMPLES
|
.Sh EXAMPLES
|
||||||
.Bd -literal -offset indent
|
.Bd -literal -offset indent
|
||||||
# getextattr system md5 /kernel
|
# getextattr system md5 /boot/kernel/kernel
|
||||||
/kernel:
|
/boot/kernel/kernel:
|
||||||
61 61 33 62 39 39 66 65 31 35 35 32 31 62 65 32
|
61 61 33 62 39 39 66 65 31 35 35 32 31 62 65 32
|
||||||
62 36 38 36 62 31 66 39 63 64 33 39 35 36 36 31
|
62 36 38 36 62 31 66 39 63 64 33 39 35 36 36 31
|
||||||
# getextattr -s system md5 /kernel
|
# getextattr -s system md5 /boot/kernel/kernel
|
||||||
/kernel: "aa3b99fe15521be2b686b1f9cd395661"
|
/boot/kernel/kernel: "aa3b99fe15521be2b686b1f9cd395661"
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
Retrieve the
|
Retrieve the
|
||||||
.Dq md5
|
.Dq md5
|
||||||
extended attribute for the file
|
extended attribute for the file
|
||||||
.Pa /kernel .
|
.Pa /boot/kernel/kernel .
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr extattr 2 ,
|
.Xr extattr 2 ,
|
||||||
.Xr extattr 3 ,
|
.Xr extattr 3 ,
|
||||||
|
@ -144,7 +144,7 @@ will display fewer devices if there aren't
|
|||||||
devices present.
|
devices present.
|
||||||
.It Fl N
|
.It Fl N
|
||||||
Extract the name list from the specified system instead of the default
|
Extract the name list from the specified system instead of the default
|
||||||
.Dq Pa /kernel .
|
.Dq Pa /boot/kernel/kernel .
|
||||||
.It Fl o
|
.It Fl o
|
||||||
Display old-style
|
Display old-style
|
||||||
.Nm
|
.Nm
|
||||||
@ -350,8 +350,8 @@ average milliseconds per transaction
|
|||||||
.El
|
.El
|
||||||
.El
|
.El
|
||||||
.Sh FILES
|
.Sh FILES
|
||||||
.Bl -tag -width /dev/kmem -compact
|
.Bl -tag -width /boot/kernel/kernel -compact
|
||||||
.It Pa /kernel
|
.It Pa /boot/kernel/kernel
|
||||||
Default kernel namelist.
|
Default kernel namelist.
|
||||||
.It Pa /dev/kmem
|
.It Pa /dev/kmem
|
||||||
Default memory file.
|
Default memory file.
|
||||||
|
@ -56,8 +56,8 @@ following fields: filename, linenumber, procedure, address, count
|
|||||||
of executions, length of the basic-block in bytes and the product of
|
of executions, length of the basic-block in bytes and the product of
|
||||||
the previous two fields.
|
the previous two fields.
|
||||||
.Sh FILES
|
.Sh FILES
|
||||||
.Bl -tag -width /dev/kmemx -compact
|
.Bl -tag -width /boot/kernel/kernel -compact
|
||||||
.It Pa /kernel
|
.It Pa /boot/kernel/kernel
|
||||||
the default system
|
the default system
|
||||||
.It Pa /dev/kmem
|
.It Pa /dev/kmem
|
||||||
the default memory
|
the default memory
|
||||||
|
@ -364,11 +364,11 @@ instead of the default
|
|||||||
.Pa /dev/kmem .
|
.Pa /dev/kmem .
|
||||||
.It Fl N
|
.It Fl N
|
||||||
Extract the name list from the specified system instead of the default
|
Extract the name list from the specified system instead of the default
|
||||||
.Pa /kernel .
|
.Pa /boot/kernel/kernel .
|
||||||
.El
|
.El
|
||||||
.Sh FILES
|
.Sh FILES
|
||||||
.Bl -tag -width /dev/memxxx -compact
|
.Bl -tag -width /boot/kernel/kernel -compact
|
||||||
.It Pa /kernel
|
.It Pa /boot/kernel/kernel
|
||||||
namelist
|
namelist
|
||||||
.It Pa /dev/mem
|
.It Pa /dev/mem
|
||||||
default source of tables
|
default source of tables
|
||||||
|
@ -216,7 +216,7 @@ Status messages are generated approximately once every
|
|||||||
performs an
|
performs an
|
||||||
.Xr nlist 3
|
.Xr nlist 3
|
||||||
on
|
on
|
||||||
.Pa /kernel
|
.Pa /boot/kernel/kernel
|
||||||
every 30 minutes to guard against
|
every 30 minutes to guard against
|
||||||
the possibility that this file is not the system
|
the possibility that this file is not the system
|
||||||
image currently operating.
|
image currently operating.
|
||||||
|
@ -59,13 +59,13 @@ In order for
|
|||||||
to succeed, the attribute service must be available on the file system,
|
to succeed, the attribute service must be available on the file system,
|
||||||
and appropriate privilege may be required.
|
and appropriate privilege may be required.
|
||||||
.Sh EXAMPLES
|
.Sh EXAMPLES
|
||||||
.Dl # setextattr system md5 /kernel `md5 -q /kernel`
|
.Dl # setextattr system md5 /boot/kernel/kernel `md5 -q /boot/kernel/kernel`
|
||||||
.Pp
|
.Pp
|
||||||
Set the
|
Set the
|
||||||
.Dq md5
|
.Dq md5
|
||||||
extended attribute on the file /kernel to the string
|
extended attribute on the file /boot/kernel/kernel to the string
|
||||||
containing the output of
|
containing the output of
|
||||||
.Dq md5 -q /kernel .
|
.Dq md5 -q /boot/kernel/kernel .
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr extattr 2 ,
|
.Xr extattr 2 ,
|
||||||
.Xr extattr 3 ,
|
.Xr extattr 3 ,
|
||||||
|
@ -125,8 +125,8 @@ If debugging is being performed on a system or
|
|||||||
core file other than the default, the last two
|
core file other than the default, the last two
|
||||||
arguments may be used to supplant the defaults.
|
arguments may be used to supplant the defaults.
|
||||||
.Sh FILES
|
.Sh FILES
|
||||||
.Bl -tag -width /dev/kmem -compact
|
.Bl -tag -width /boot/kernel/kernel -compact
|
||||||
.It Pa /kernel
|
.It Pa /boot/kernel/kernel
|
||||||
.It Pa /dev/kmem
|
.It Pa /dev/kmem
|
||||||
.El
|
.El
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
|
Loading…
Reference in New Issue
Block a user