From owner-freebsd-questions@FreeBSD.ORG Wed Sep 8 10:35:21 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D0E6316A4CE for ; Wed, 8 Sep 2004 10:35:21 +0000 (GMT) Received: from mailgate.teledome.gr (mailgate.teledome.gr [213.142.128.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id E3C5C43D49 for ; Wed, 8 Sep 2004 10:35:20 +0000 (GMT) (envelope-from nvass@teledome.gr) Received: from [192.168.1.71] (helo=iris.teledomenet.gr) by mailgate.teledome.gr with esmtp (Exim 4.34) id 1C504K-0006nF-Ok; Wed, 08 Sep 2004 13:52:52 +0300 From: Nikos Vassiliadis To: "clayton rollins" , freebsd-questions@freebsd.org Date: Wed, 8 Sep 2004 13:31:27 +0300 User-Agent: KMail/1.5.4 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-7" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200409081331.27184.nvass@teledome.gr> Subject: Re: Retrieving audio from memory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Sep 2004 10:35:21 -0000 The file's data will be intact 'till kaboodle close(2)s the file. So check which files kaboodle has opened with fstat -p pid_of_kaboodle. The field SZ (size) will help you identify the file, and what you actually need is the INUM (inode number) field. I guess then you can use fsdb to try to recover the file, but bad things may happen... from fsdb(8) WARNING Use this tool with extreme caution--you can damage an FFS file system beyond what fsck(8) can repair. Of course you should first experiment with fsdb on a new just_for_testing filesystem. Hope this helps, NikV On Monday 06 September 2004 04:05, clayton rollins wrote: > OK, funny one. > > I accidentally deleted a media file... However, I did have the file > opened in kaboodle. > > The file appears to be intact in memory; I can listen to it from > start to finish. Kaboodle, unfortunately, doesn't have any "save" > feature, so that's out. > > I'm wondering if there is some way I could hack in and read > the file out of memory. (I have root access, and am comfortable > with reading directly from memory.) > > Lacking that, is there any tool that could capture the audio > as it plays out the card? > > Though I worry about loss of audio quality, looping the > sound card output back to an input might be a possibility. > Anyone have ideas on that? > > TIA, > Clayton > > PS. please CC... > > _________________________________________________________________ > On the road to retirement? Check out MSN Life Events for advice on how to > get there! http://lifeevents.msn.com/category.aspx?cid=Retirement > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org"