From owner-freebsd-fs Thu May 25 23:50:52 2000 Delivered-To: freebsd-fs@freebsd.org Received: from aplcenMP.apl.jhu.edu (apl.jhu.edu [128.220.101.100]) by hub.freebsd.org (Postfix) with ESMTP id 9816D37B7DD for ; Thu, 25 May 2000 23:50:44 -0700 (PDT) (envelope-from mccrobi@aplcenMP.apl.jhu.edu) Received: from apl.jhu.edu (kslip27.apl.jhu.edu [128.220.108.37]) by aplcenMP.apl.jhu.edu (8.9.3/8.9.1) with ESMTP id CAA25704 for ; Fri, 26 May 2000 02:50:12 -0400 (EDT) Message-ID: <392E2096.FED6F59B@apl.jhu.edu> Date: Fri, 26 May 2000 02:58:30 -0400 From: Chuck McCrobie X-Mailer: Mozilla 4.72 [en] (X11; I; FreeBSD 4.0-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-fs@FreeBSD.ORG Subject: Opinion on File System Implementation Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I am working on readability of the OpenVMS Files-11 On-Disk Structure 2 file system under FreeBSD. As many of you may know, Files-11 ODS-2 has a "wealth" of record attributes and file organizations to choose from. The actual file data for some of these record types contains record level meta-data. Simply reading the file "blindly" will result in both the "intended" data and the meta-data being returned. I'm wondering if I should just return the "raw" data, including embedded record attributes back during the "read" routine. If so, I would like to provide some mechanism so that user mode programs can get the record attributes and "do the right thing". Is there such a thing as an "ioctl" interface to a file system? If I approach the embedded meta-data in this manner, what would be the best mechanism for returning the record attributes? Perhaps a special file, which when opened and read, will return a fixed structure describing the file/record attributes? It doesn't seem too hard to handle special files inside the operating system. I suspect that the majority of customers (I plan on commericalizing my work) would like to have the file system interpret the record attributes and file organizations. Thus, the user mode programs would see the "intended" data, not the embedded meta-data. Thanks for your time, Chuck McCrobie (** MAD VAX **) mccrobi@apl.jhu.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message