Date: Sun, 26 Mar 2000 13:58:18 -0500 (EST) From: Brian Fundakowski Feldman <green@FreeBSD.org> To: Jeroen Ruigrok/Asmodai <asmodai@wxs.nl> Cc: current@freebsd.org Subject: Re: DDB and dumping disk Message-ID: <Pine.BSF.4.21.0003261317470.81993-100000@green.dyndns.org> In-Reply-To: <20000326161615.A5886@daemon.ninth-circle.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 26 Mar 2000, Jeroen Ruigrok/Asmodai wrote: > Ok, > > so thanks to Brian I can at least get a good value for my swap slice by > using show disk/ad0s1b. > > It returns that the dev_t is 0xc0b65800 > > Ok, so I then proceed to look at dumpdev > > A p dumpdev shows me that it is set to a weird value not matching my > dev_t above. Right, that's the address of "dev_t dumpdev". > A p *dumpdev returns ffffffff That's the value of dumpdev itself. The -1 is the value for NODEV, which is right as you haven't set it :) > When I want to set dumpdev to the dev_t by using w ffffffff > dumpdev=c0b65800 or w dumpdev=c0b65800 or whatever combination will > either result in `nothing written' or `symbol not found'. > > I am obviously doing something wrong. Help appreciated. Just do a "w dumpdev 0xc0b65800". You do need the 0x prefix, something I tried to hint at with the printout of show disk ;) > -- > Jeroen Ruigrok vd Werven/Asmodai asmodai@[wxs.nl|bart.nl|freebsd.org] > Documentation nutter/C-rated Coder BSD: Technical excellence at its best > The BSD Programmer's Documentation Project <http://home.wxs.nl/~asmodai> > The descent to hell is easy... > -- Brian Fundakowski Feldman \ FreeBSD: The Power to Serve! / green@FreeBSD.org `------------------------------' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0003261317470.81993-100000>