Replace /kernel with /boot/kernel/kernel.
PR: docs/37757 Submitted by: Hiten Pandya <hiten@uk.FreeBSD.org>
This commit is contained in:
parent
349f81351d
commit
36c976074e
@ -119,7 +119,7 @@ Sort by memory usage, instead of by process
|
||||
.Tn ID .
|
||||
.It Fl N
|
||||
Extract the name list from the specified system instead of the default
|
||||
.Pa /kernel .
|
||||
.Pa /boot/kernel/kernel .
|
||||
.It Fl O
|
||||
Add the information associated with the space or comma separated list
|
||||
of keywords specified, after the process
|
||||
@ -518,7 +518,7 @@ KLD
|
||||
/dev name database
|
||||
.It Pa /var/db/kvm_kernel.db
|
||||
system namelist database
|
||||
.It Pa /kernel
|
||||
.It Pa /boot/kernel/kernel
|
||||
default system namelist
|
||||
.It Pa /proc
|
||||
the mount point of
|
||||
|
@ -63,7 +63,7 @@ placed in the global location
|
||||
.Sh BUGS
|
||||
If the boot blocks have not been modified to pass this information into
|
||||
the kernel at boot time, the static string
|
||||
.Dq Pa /kernel
|
||||
.Dq Pa /boot/kernel/kernel
|
||||
is returned instead of the real boot file.
|
||||
.Sh HISTORY
|
||||
The
|
||||
|
@ -76,14 +76,15 @@ At this time the nameblock will contain only zeroed out names.
|
||||
.Pp
|
||||
An example of usage might be:
|
||||
.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
|
||||
.Pp
|
||||
Which would instruct the boot blocks at the next boot,
|
||||
to try boot the experimental kernel off the SCSI disk.
|
||||
If for any reason this failed, the next boot attempt would
|
||||
boot the kernel
|
||||
.Pa /kernel.old
|
||||
.Pa /boot/kernel.old/kernel
|
||||
off the IDE drive. (Assuming the write-back option were enabled) If this
|
||||
in turn failed.
|
||||
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
|
||||
.Nm gdb :
|
||||
.Bd -literal
|
||||
$ file /modules/vinum.ko
|
||||
/modules/vinum.ko: ELF 32-bit LSB shared object, Intel 80386,
|
||||
$ file /boot/kernel/vinum.ko
|
||||
/boot/kernel/vinum.ko: ELF 32-bit LSB shared object, Intel 80386,
|
||||
version 1 (FreeBSD), not stripped
|
||||
.Ed
|
||||
.Pp
|
||||
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
|
||||
either in
|
||||
.Pa /usr/obj/sys/modules/vinum/vinum.ko
|
||||
|
@ -176,7 +176,7 @@ start
|
||||
Loads a different kernel with the standard configuration:
|
||||
.Pp
|
||||
.Bd -literal -offset indent -compact
|
||||
set kernel="kernel.old"
|
||||
set kernel="/boot/kernel.old/kernel"
|
||||
unload
|
||||
boot-conf
|
||||
.Ed
|
||||
|
@ -154,7 +154,7 @@ selects the video console, and
|
||||
selects a mute console
|
||||
(useful for systems with neither a video console nor a serial port).
|
||||
.It Va kernel
|
||||
.Pq Dq /kernel
|
||||
.Pq Dq /boot/kernel/kernel
|
||||
.It Va loader_conf_files
|
||||
.Pq Do /boot/loader.conf /boot/loader.conf.local Dc
|
||||
.It Va splash_bmp_load
|
||||
|
@ -74,7 +74,7 @@ instead of the default
|
||||
.Pa /dev/kmem .
|
||||
.It Fl N
|
||||
Extract the name list from the specified system instead of the default
|
||||
.Pa /kernel .
|
||||
.Pa /boot/kernel/kernel .
|
||||
.It Fl m
|
||||
Include memory-mapped files in the listing; normally these are excluded
|
||||
due to the extra processing required.
|
||||
|
@ -100,7 +100,7 @@ or the last operation on a semaphore.
|
||||
.It Fl C Ar system
|
||||
Extract the name list from the specified system instead of the
|
||||
default
|
||||
.Dq Pa /kernel .
|
||||
.Dq Pa /boot/kernel/kernel .
|
||||
Implies
|
||||
.Fl y .
|
||||
.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
|
||||
.Nm .
|
||||
.Sh FILES
|
||||
.Bl -tag -width /etc/passwd -compact
|
||||
.Bl -tag -width /boot/kernel/kernel -compact
|
||||
.It Pa /dev/kmem
|
||||
default kernel memory
|
||||
.It Pa /kernel
|
||||
.It Pa /boot/kernel/kernel
|
||||
default system name list
|
||||
.El
|
||||
.Sh SEE ALSO
|
||||
|
@ -63,7 +63,7 @@ instead of the default
|
||||
.Pa /dev/kmem .
|
||||
.It Fl N
|
||||
Extract the name list from the specified system instead of the default
|
||||
.Pa /kernel .
|
||||
.Pa /boot/kernel/kernel .
|
||||
.It Fl s
|
||||
Only display server side statistics
|
||||
.It Fl W
|
||||
@ -77,8 +77,8 @@ activity for both the client and server at
|
||||
second intervals.
|
||||
.El
|
||||
.Sh FILES
|
||||
.Bl -tag -width /dev/kmem -compact
|
||||
.It Pa /kernel
|
||||
.Bl -tag -width /boot/kernel/kernel -compact
|
||||
.It Pa /boot/kernel/kernel
|
||||
default kernel namelist
|
||||
.It Pa /dev/kmem
|
||||
default memory file
|
||||
|
@ -76,7 +76,7 @@ Exit with status zero, even if some symbols are missing.
|
||||
.Pp
|
||||
This program was specifically designed to cut down on the
|
||||
overhead of getting symbols from
|
||||
.Pa /kernel .
|
||||
.Pa /boot/kernel/kernel .
|
||||
.Sh DIAGNOSTICS
|
||||
The
|
||||
.Nm
|
||||
|
@ -503,8 +503,8 @@ and all passthrough devices that provide access to CDROM drives.
|
||||
.Xr iostat 8 ,
|
||||
.Xr vmstat 8
|
||||
.Sh FILES
|
||||
.Bl -tag -width /etc/networks -compact
|
||||
.It Pa /kernel
|
||||
.Bl -tag -width /boot/kernel/kernel -compact
|
||||
.It Pa /boot/kernel/kernel
|
||||
For the namelist.
|
||||
.It Pa /dev/kmem
|
||||
For information in main memory.
|
||||
|
@ -91,7 +91,7 @@ instead of the default
|
||||
Extract the name list from the specified
|
||||
.Ar system
|
||||
instead of the default
|
||||
.Pa /kernel .
|
||||
.Pa /boot/kernel/kernel .
|
||||
.It Fl m
|
||||
Report on the usage of kernel dynamic memory listed first by size of
|
||||
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
|
||||
statistics every second.
|
||||
.Sh FILES
|
||||
.Bl -tag -width /dev/kmemxxx -compact
|
||||
.It Pa /kernel
|
||||
.Bl -tag -width /boot/kernel/kernel -compact
|
||||
.It Pa /boot/kernel/kernel
|
||||
default kernel namelist
|
||||
.It Pa /dev/kmem
|
||||
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
|
||||
1, 5, and 15 minutes.
|
||||
.Sh FILES
|
||||
.Bl -tag -width /kernel
|
||||
.It Pa /kernel
|
||||
.Bl -tag -width /boot/kernel/kernel
|
||||
.It Pa /boot/kernel/kernel
|
||||
system name list
|
||||
.El
|
||||
.Sh SEE ALSO
|
||||
|
@ -76,7 +76,7 @@ core instead of the default
|
||||
.It Fl N
|
||||
Extract the name list from the specified system instead of the
|
||||
default
|
||||
.Dq /kernel .
|
||||
.Dq /boot/kernel/kernel .
|
||||
.It Fl n
|
||||
Don't attempt to resolve network addresses (normally
|
||||
.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.
|
||||
.Sh EXAMPLES
|
||||
.Bd -literal -offset indent
|
||||
# getextattr system md5 /kernel
|
||||
/kernel:
|
||||
# getextattr system md5 /boot/kernel/kernel
|
||||
/boot/kernel/kernel:
|
||||
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
|
||||
# getextattr -s system md5 /kernel
|
||||
/kernel: "aa3b99fe15521be2b686b1f9cd395661"
|
||||
# getextattr -s system md5 /boot/kernel/kernel
|
||||
/boot/kernel/kernel: "aa3b99fe15521be2b686b1f9cd395661"
|
||||
.Ed
|
||||
.Pp
|
||||
Retrieve the
|
||||
.Dq md5
|
||||
extended attribute for the file
|
||||
.Pa /kernel .
|
||||
.Pa /boot/kernel/kernel .
|
||||
.Sh SEE ALSO
|
||||
.Xr extattr 2 ,
|
||||
.Xr extattr 3 ,
|
||||
|
@ -144,7 +144,7 @@ will display fewer devices if there aren't
|
||||
devices present.
|
||||
.It Fl N
|
||||
Extract the name list from the specified system instead of the default
|
||||
.Dq Pa /kernel .
|
||||
.Dq Pa /boot/kernel/kernel .
|
||||
.It Fl o
|
||||
Display old-style
|
||||
.Nm
|
||||
@ -350,8 +350,8 @@ average milliseconds per transaction
|
||||
.El
|
||||
.El
|
||||
.Sh FILES
|
||||
.Bl -tag -width /dev/kmem -compact
|
||||
.It Pa /kernel
|
||||
.Bl -tag -width /boot/kernel/kernel -compact
|
||||
.It Pa /boot/kernel/kernel
|
||||
Default kernel namelist.
|
||||
.It Pa /dev/kmem
|
||||
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
|
||||
the previous two fields.
|
||||
.Sh FILES
|
||||
.Bl -tag -width /dev/kmemx -compact
|
||||
.It Pa /kernel
|
||||
.Bl -tag -width /boot/kernel/kernel -compact
|
||||
.It Pa /boot/kernel/kernel
|
||||
the default system
|
||||
.It Pa /dev/kmem
|
||||
the default memory
|
||||
|
@ -364,11 +364,11 @@ instead of the default
|
||||
.Pa /dev/kmem .
|
||||
.It Fl N
|
||||
Extract the name list from the specified system instead of the default
|
||||
.Pa /kernel .
|
||||
.Pa /boot/kernel/kernel .
|
||||
.El
|
||||
.Sh FILES
|
||||
.Bl -tag -width /dev/memxxx -compact
|
||||
.It Pa /kernel
|
||||
.Bl -tag -width /boot/kernel/kernel -compact
|
||||
.It Pa /boot/kernel/kernel
|
||||
namelist
|
||||
.It Pa /dev/mem
|
||||
default source of tables
|
||||
|
@ -216,7 +216,7 @@ Status messages are generated approximately once every
|
||||
performs an
|
||||
.Xr nlist 3
|
||||
on
|
||||
.Pa /kernel
|
||||
.Pa /boot/kernel/kernel
|
||||
every 30 minutes to guard against
|
||||
the possibility that this file is not the system
|
||||
image currently operating.
|
||||
|
@ -59,13 +59,13 @@ In order for
|
||||
to succeed, the attribute service must be available on the file system,
|
||||
and appropriate privilege may be required.
|
||||
.Sh EXAMPLES
|
||||
.Dl # setextattr system md5 /kernel `md5 -q /kernel`
|
||||
.Dl # setextattr system md5 /boot/kernel/kernel `md5 -q /boot/kernel/kernel`
|
||||
.Pp
|
||||
Set the
|
||||
.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
|
||||
.Dq md5 -q /kernel .
|
||||
.Dq md5 -q /boot/kernel/kernel .
|
||||
.Sh SEE ALSO
|
||||
.Xr extattr 2 ,
|
||||
.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
|
||||
arguments may be used to supplant the defaults.
|
||||
.Sh FILES
|
||||
.Bl -tag -width /dev/kmem -compact
|
||||
.It Pa /kernel
|
||||
.Bl -tag -width /boot/kernel/kernel -compact
|
||||
.It Pa /boot/kernel/kernel
|
||||
.It Pa /dev/kmem
|
||||
.El
|
||||
.Sh SEE ALSO
|
||||
|
Loading…
x
Reference in New Issue
Block a user