Subject: Re: Playing with dkwedge
To: None <tech-kern@netbsd.org>
From: Michael van Elst <mlelstv@serpens.de>
List: tech-kern
Date: 08/21/2005 18:34:09
rpaulo@NetBSD.org (Rui Paulo) writes:

>What should be the major number for /dev/rdk* ?

From the discussion on current-user last year I guess there
is none. You can still access the complete raw disk via its
own driver.

>When I try to enable the swap, I get:
>proton# swapon -a                                                          =
> [~]
>swapon: /dev/dk1: Device not configured

It is work in progress.

sys/dev/dkwedge/dk.c:
static int
dksize(dev_t dev)
{

        /* XXX */
        return (-1);
}

sys/uvm/uvm_swap.c:
                    (nblocks = (*bdev->d_psize)(dev)) == -1) {
                        error = ENXIO;
                        goto bad;


-- 
-- 
                                Michael van Elst
Internet: mlelstv@serpens.de
                                "A potential Snark may lurk in every tree."