From owner-cvs-all Thu Jan 18 2:33:35 2001 Delivered-To: cvs-all@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 5F0AB37B404; Thu, 18 Jan 2001 02:33:13 -0800 (PST) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id VAA10080; Thu, 18 Jan 2001 21:32:38 +1100 Date: Thu, 18 Jan 2001 21:32:50 +1100 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: Josef Karthauser Cc: Paul Richards , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/compat/linux linux_stats.c In-Reply-To: <20010117110942.A917@tao.org.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 17 Jan 2001, Josef Karthauser wrote: > On Wed, Jan 17, 2001 at 06:37:36PM +1100, Bruce Evans wrote: > > On Tue, 16 Jan 2001, Josef Karthauser wrote: > > > > > On the assumption that linux uses block mode for all "disk" access > > > it seems like the correct thing to do. I'll verify that vmware > > > still accesses the cdrom device... md's and vn's aren't going to be > > > directly accessed by the linuxulator (are they?), rather accessed as > > > pre-mounted filesystems. > > > > Of course they are. From one of my old vmware2 configs: > > > > DRIVETYPE ide > > CYLINDERS 13328 > > HEADS 15 > > SECTORS 63 > > ACCESS "/dev/vn0" 0 12594960 > > In this case looking at D_DISK does the correct thing, doesn't it? If not, the bug is in the non-disk driver that set D_DISK :-). Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message