From owner-cvs-all Wed Jan 17 3:10: 9 2001 Delivered-To: cvs-all@freebsd.org Received: from tao.org.uk (unknown [194.128.198.234]) by hub.freebsd.org (Postfix) with ESMTP id 2BBBE37B400; Wed, 17 Jan 2001 03:09:43 -0800 (PST) Received: by tao.org.uk (Postfix, from userid 100) id F0DDB3244; Wed, 17 Jan 2001 11:09:42 +0000 (GMT) Date: Wed, 17 Jan 2001 11:09:42 +0000 From: Josef Karthauser To: Bruce Evans Cc: Paul Richards , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/compat/linux linux_stats.c Message-ID: <20010117110942.A917@tao.org.uk> References: <20010116233153.E1731@tao.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from bde@zeta.org.au on Wed, Jan 17, 2001 at 06:37:36PM +1100 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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? Joe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message