Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Mar 2001 21:09:21 -0800
From:      Mike Smith <msmith@freebsd.org>
To:        leclercn@videotron.ca
Cc:        grog@freebsd.org, freebsd-alpha@freebsd.org
Subject:   Re: dev_t size mismatch kernel / userland 
Message-ID:  <200103240509.f2O59L900618@mass.dis.org>
In-Reply-To: Your message of "Fri, 23 Mar 2001 23:05:18 EST." <3ABC1CFE.8070000@videotron.ca> 

next in thread | previous in thread | raw e-mail | index | archive | help
>   Already tried vinum, works fine after modification of dev_t to 
> u_int64_t.  I'll change it to uintptr_t tough (cleaner).  Hope this gets 
> fixed!

This is wrong.  In the kernel or in a module, dev_t is an opaque type.  
In userspace, you use udev_t, not dev_t.

It sounds like vinum is failing to perform the required conversions when 
exchanging a dev_t with userland, and the correct fix is going to be to 
add these.
-- 
... every activity meets with opposition, everyone who acts has his
rivals and unfortunately opponents also.  But not because people want
to be opponents, rather because the tasks and relationships force
people to take different points of view.  [Dr. Fritz Todt]
           V I C T O R Y   N O T   V E N G E A N C E



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103240509.f2O59L900618>