vinum patch to test - (was Re: vinum problems)
Simon 'corecode' Schubert
corecode at fs.ei.tum.de
Sun Jul 29 17:10:00 PDT 2007
Matthew Dillon wrote:
+ error = nlookup_init(&nd, drive->devicename, UIO_SYSSPACE, NLC_FOLLOW);
+ if (error)
+ return error;
+ error = vn_open(&nd, NULL, FREAD|FWRITE, 0);
+ drive->vp = nd.nl_open_vp;
+ nd.nl_open_vp = NULL;
+ nlookup_done(&nd);
+ if (error == 0 && drive->vp == NULL)
+ error = ENODEV;
I guess this won't work prior to mounting /dev, right? This would break having root on vinum and loading vinum from loader :/
thanks for your work
simon
--
Serve - BSD +++ RENT this banner advert +++ ASCII Ribbon /"\
Work - Mac +++ space for low â¬â¬â¬ NOW!1 +++ Campaign \ /
Party Enjoy Relax | http://dragonflybsd.org Against HTML \
Dude 2c 2 the max ! http://golden-apple.biz Mail + News / \
More information about the Bugs
mailing list