hello,

i reported before that vn_fullpath() does not currently deal with VCHR type of 
vnodes.

There is an easy solution for this:

                 if (vnp->v_type == VCHR) {
                           fullpath = vnp->v_rdev->si_name;
                           VOP_UNLOCK(vnp, 0, td);
                           len = sizeof("/dev/") + strlen(fullpath);
                                freepath = vdt_malloc(len);
                                sprintf(freepath, "/dev/%s", fullpath);
                                fullpath = freepath;
                 } else {

it this works for everyone, i could make and test a patch against whatever 
branch is 
appropriate.

thank you,
igor
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to