From owner-freebsd-hackers Tue May 23 00:35:55 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id AAA11595 for hackers-outgoing; Tue, 23 May 1995 00:35:55 -0700 Received: from star-gate.com ([204.188.121.18]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id AAA11589 for ; Tue, 23 May 1995 00:35:54 -0700 Received: from localhost (localhost [127.0.0.1]) by star-gate.com (8.6.9/8.6.9) with SMTP id AAA00579 for ; Tue, 23 May 1995 00:25:20 -0700 Message-Id: <199505230725.AAA00579@star-gate.com> X-Authentication-Warning: 204.188.121.18: Host localhost didn't use HELO protocol X-Mailer: exmh version 1.6delta 4/7/95 To: hackers@FreeBSD.org Subject: physical block number of a file? Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 23 May 1995 00:25:14 -0700 From: Amancio Hasty Sender: hackers-owner@FreeBSD.org Precedence: bulk Hi, Is there an easy to get the starting physical block of file? I am writing an application which is manipulating the block size of for reads to a cd9660 cdrom. In a nutshell, I am reading a file in a VideoCD whose block size is 2336. However, whith normal reads the system returns 2048 blocks. I am able to program the cddrom drive and tell it that the block size is 2336 . So far I can read a movie and display in my system however my starting block location number for the file is fixed right now. Tnks, Amancio