Bug 13831

Summary: config root on da0 dumps on da1 gives false warning
Product: Base System Reporter: dgilbert <dgilbert>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 3.3-RELEASE   
Hardware: Any   
OS: Any   

Description dgilbert 1999-09-19 20:00:01 UTC
When I 'config SABER' on this machine, it complains:

[1:16:316]root@sabre:/sys/i386/conf> config -g SABER
config: line 52: Warning: dump device is not a swap partition

... which is obviously not the case.

[1:18:318]root@sabre:/sys/i386/conf> pstat -s
Device      1K-blocks     Used    Avail Capacity  Type
/dev/da0s1b    524288      640   523520     0%    Interleaved
/dev/da1s1b    589820      520   589172     0%    Interleaved
Total         1113852     1160  1112692     0%

Fix: 

Ignoring this warning seems to produce the correct behaviour... although
I have not yet caused the dump to prove that it works.
How-To-Repeat: 
Line 52 reads:

config          kernel  root on da0 dumps on da1s1b

I have tried 'da1' and 'da1b' in place of 'da1s1b'
Comment 1 ru freebsd_committer freebsd_triage 1999-09-23 10:00:03 UTC
State Changed
From-To: open->closed

The correct `config' line in your case should look like: 

config          kernel  root on da0 swap on da0 and da1 dumps on da1 

See /usr/share/doc/smm/02.config, section 4.2, for more information.