From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luca Ferrari Subject: Re: cdrom and multisession Date: Tue, 24 Aug 2004 17:44:27 +0200 Sender: linux-admin-owner@vger.kernel.org Message-ID: <200408241744.27807.fluca1978@infinito.it> References: <200408231515.20852.fluca1978@infinito.it> Reply-To: fluca1978@infinito.it Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200408231515.20852.fluca1978@infinito.it> Content-Disposition: inline List-Id: Content-Type: text/plain; charset="us-ascii" To: linux-admin@vger.kernel.org On Monday 23 August 2004 15:15 Luca Ferrari's cat walking on the keyboard wrote: > Hi, > I'm writing a program for simple backups on cdroms, and it's supposed to > use command-line tools (cdrecord). I've burned a cd with -multi flag and > two sessions, but mounting the cd (on the same drive) shows me only the > first burn. How can I see the second burn? Ok, it was simple after all! A command line like the following: mount -t iso9660 -o session=3 /dev/cdrecorder /media/cdrecorder/ works correctly showing the third written data. Nevertheless I don't find this a smart approach, and I'd like to know if there's another way to add data to a cdrom making it possible to easily read it with a single mount. Otherwise, how can I iterate automatically on all the session of a cd to search for a specific file? Thanks, Luca -- Luca Ferrari, fluca1978@infinito.it