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! /
[EMAIL PROTECTED] `------------------------------'
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message