From owner-freebsd-hackers Tue May 23 13:45:28 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id NAA14063 for hackers-outgoing; Tue, 23 May 1995 13:45:28 -0700 Received: from cs.weber.edu (cs.weber.edu [137.190.16.16]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id NAA14052 for ; Tue, 23 May 1995 13:45:18 -0700 Received: by cs.weber.edu (4.1/SMI-4.1.1) id AA26348; Tue, 23 May 95 14:38:36 MDT From: terry@cs.weber.edu (Terry Lambert) Message-Id: <9505232038.AA26348@cs.weber.edu> Subject: Re: physical block number of a file? To: hasty@204.188.121.18 (Amancio Hasty) Date: Tue, 23 May 95 14:38:36 MDT Cc: hackers@FreeBSD.org In-Reply-To: <199505230725.AAA00579@star-gate.com> from "Amancio Hasty" at May 23, 95 00:25:14 am X-Mailer: ELM [version 2.4dev PL52] Sender: hackers-owner@FreeBSD.org Precedence: bulk > Is there an easy to get the starting physical block of file? bread. Or you can get it's location (rather than the block itself) by looking at the per file system type specific ion disk inode/file entry meta data structure contents for the file. > 2336. However, whith normal reads the system returns 2048 blocks. Driver problem. should be specifiable at mount time (if not auto-detected) or automatic (if detected). Depends on how much knowledge of the CDROM layout is embedded in the CDROM FS at the time it was implemented. Terry Lambert terry@cs.weber.edu --- Any opinions in this posting are my own and not those of my present or previous employers.