From owner-freebsd-current Tue Apr 21 01:53:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA25037 for freebsd-current-outgoing; Tue, 21 Apr 1998 01:53:10 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from ceia.nordier.com (m1-46-dbn.dial-up.net [196.34.155.46]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA25022 for ; Tue, 21 Apr 1998 08:53:00 GMT (envelope-from rnordier@iafrica.com) Received: (from rnordier@localhost) by ceia.nordier.com (8.8.8/8.6.12) id KAA12020; Tue, 21 Apr 1998 10:51:38 +0200 (SAT) From: Robert Nordier Message-Id: <199804210851.KAA12020@ceia.nordier.com> Subject: Re: next stages in devfs In-Reply-To: from Julian Elischer at "Apr 21, 98 00:24:00 am" To: julian@whistle.com (Julian Elischer) Date: Tue, 21 Apr 1998 10:51:36 +0200 (SAT) Cc: current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Julian Elischer wrote: > THere are a few stages that need to be taken for devfs at this point. > Some of them need discussion: > > removable media: > how do we detect that they have changed? > this is ok for SCSI, as the first access after a change will > have the usual effect.. (annoying but safe). > but there is no way to know that the floppy has changed (is there?, > I heard recently that there is actually a way to tell this under AT or > newer machines (that's everything with a 386 or greater). > does anyone have any info on this? Disk change line (line 34 of the interface cable) support was added when the AT was introduced. This is accessible via the digital input register (DIR) at port address 0x3f7. The MS default block device also implemented a virtual change line capability by storing system clock ticks at each access. In response to a "media check" request from the kernel, if <= two seconds had elapsed, the media was assumed to be unchanged. > [ ... ] > * There needs to be a handler for extended DOS partitions. > I need a tester for that too.. :-) I can help with that one. -- Robert Nordier To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message