From owner-freebsd-current Fri Sep 25 07:31:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA08432 for freebsd-current-outgoing; Fri, 25 Sep 1998 07:31:10 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id HAA08383; Fri, 25 Sep 1998 07:30:44 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id OAA12463; Fri, 25 Sep 1998 14:42:44 +0200 From: Luigi Rizzo Message-Id: <199809251242.OAA12463@labinfo.iet.unipi.it> Subject: cd9660 mounts... To: current@FreeBSD.ORG Date: Fri, 25 Sep 1998 14:42:44 +0200 (MET DST) Cc: sos@FreeBSD.ORG X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 2.2.6 at least, I have a problem in mounting CDrom whose data track is not the first one on the CD. Can someone verify if the same problem also exists on -current ? The reason i am looking at this is that it is very practical to dump multiple tracks containing separate disk images to the same CD when doing backups (and before fixating the disk). To do this, i need to mount a track that is not at offset 0 on the disk, and currently this is not possible. I implemented kernel support for this, and it did not work. So i looked at mount_cd9660.c and noticed that it already supports this configuration: the code searches the last data track on a disk and passes the starting block address for the track to the mount() call. It even allows a user to specify a starting track. Then i removed my code, and things still not worked. I instrumented the code and noticed that an access at LBA 22 is attempted. Looking at /sys/isofs/cd9660/cd9660_vfsops.c i have the feeling that the start sector offset (ssector) is not accounted for in some of the bread() calls, but i am not enough familiar with the code to understand where and how to fix this... thanks luigi -----------------------------+-------------------------------------- Luigi Rizzo | Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it | Universita' di Pisa tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/ _____________________________|______________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message