Project

General

Profile

Bug #762 » vinum.4.patch

thomas.nikolajsen, 08/09/2007 09:49 PM

View differences:

vinum.4 9 Aug 2007 15:41:43 -0000
344 344
serves no useful purpose on a
345 345
.Nm
346 346
volume.
347
If you run it, it will show you
348
three partitions,
349
.Ql a ,
350
.Ql b
351
and
352
.Ql c ,
353
all the same except for the
354
.Va fstype ,
355
for example:
356
.Bd -literal
357
3 partitions:
358
#        size   offset    fstype   [fsize bsize bps/cpg]
359
  a:     2048        0    4.2BSD     1024  8192     0   # (Cyl.    0 - 0)
360
  b:     2048        0      swap                        # (Cyl.    0 - 0)
361
  c:     2048        0    unused        0     0         # (Cyl.    0 - 0)
362
.Ed
363 347
.Pp
364 348
.Nm
365 349
ignores the
......
373 357
volumes do not contain partitions, the names do not need to conform to the
374 358
standard rules for naming disk partitions.
375 359
For a physical disk partition, the
376
last letter of the device name specifies the partition identifier (a to h).
360
last letter of the device name specifies the partition identifier (a to p).
377 361
.Nm
378 362
volumes need not conform to this convention, but if they do not,
379 363
.Xr newfs 8
......
811 795
.if t .vs -3
812 796
.Bd -literal
813 797
# \fBvinum dumpconfig\fP
814
Drive 4:        Device /dev/da3h
798
Drive 4:        Device /dev/da3s0h
815 799
                Created on crash.lemis.com at Sat May 20 16:32:44 2000
816 800
                Config last updated Sat May 20 16:32:56 2000
817 801
                Size:        601052160 bytes (573 MB)
......
898 882
does not contain symbols, you will not get an error message, but the stack trace
899 883
will not show the symbols.
900 884
Check the module before starting
901
.Xr gdb 1 :
885
.Xr kgdb 1 :
902 886
.Bd -literal
903 887
$ file /modules/vinum.ko
904 888
/modules/vinum.ko: ELF 32-bit LSB shared object, Intel 80386,
......
936 920
and enter:
937 921
.Bd -literal -offset indent
938 922
cd /var/crash
939
gdb -k kernel.debug vmcore.5
923
kgdb kernel.debug vmcore.5
940 924
.Ed
941 925
.Pp
942 926
This example assumes that you have installed the correct debug kernel at
......
951 935
and enter
952 936
.Bd -literal -offset indent
953 937
cd /var/crash
954
gdb -k kernel.debug
938
kgdb kernel.debug
955 939
.Ed
956 940
.Pp
957 941
In this case, the
(10-10/11)