From owner-freebsd-alpha Fri Mar 23 21:11:42 2001 Delivered-To: freebsd-alpha@freebsd.org Received: from mass.dis.org (mass.dis.org [216.240.45.41]) by hub.freebsd.org (Postfix) with ESMTP id 60E7437B719; Fri, 23 Mar 2001 21:11:38 -0800 (PST) (envelope-from msmith@mass.dis.org) Received: from mass.dis.org (localhost [127.0.0.1]) by mass.dis.org (8.11.2/8.11.2) with ESMTP id f2O59L900618; Fri, 23 Mar 2001 21:09:22 -0800 (PST) (envelope-from msmith@mass.dis.org) Message-Id: <200103240509.f2O59L900618@mass.dis.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: leclercn@videotron.ca Cc: grog@freebsd.org, freebsd-alpha@freebsd.org Subject: Re: dev_t size mismatch kernel / userland In-reply-to: Your message of "Fri, 23 Mar 2001 23:05:18 EST." <3ABC1CFE.8070000@videotron.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 23 Mar 2001 21:09:21 -0800 From: Mike Smith Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > 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