From owner-freebsd-current Tue Jun 12 14:45:34 2001 Delivered-To: freebsd-current@freebsd.org Received: from mail.dada.it (mail5.dada.it [195.110.96.37]) by hub.freebsd.org (Postfix) with SMTP id 2A92D37B413 for ; Tue, 12 Jun 2001 14:45:22 -0700 (PDT) (envelope-from riccardo@torrini.org) Received: (qmail 32738 invoked from network); 12 Jun 2001 21:45:14 -0000 Received: from unknown (HELO torrini.org) (195.110.114.101) by mail.dada.it with SMTP; 12 Jun 2001 21:45:14 -0000 Received: (from riccardo@localhost) by torrini.org (8.11.3/8.11.3) id f5CLjJ900603 for freebsd-current@FreeBSD.ORG; Tue, 12 Jun 2001 23:45:19 +0200 (CEST) (envelope-from riccardo) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Tue, 12 Jun 2001 23:45:19 +0200 (CEST) From: Riccardo Torrini To: freebsd-current@FreeBSD.ORG Subject: Can a program ignore all signals? Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'm trying to obtain a dump of a (working) cd disk on FreeBSD 5.0-CURRENT #17: Sat Apr 28 03:30:53 CEST 2001 I also have a 4.3-STABLE machine but I cannot test on it because it has no cd... The machine is all ide/ata, one hd, one cd and a writer. ---[ short-dmesg ]--- atapci0: port ... ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 [...] ad0: 6197MB [12592/16/63] at ata0-master UDMA33 acd0: CD-RW at ata1-master PIO3 acd1: CDROM at ata1-slave PIO4 ---[ /short-dmesg ]--- # isoinfo -i /dev/acd0c -l shows me a dir listing (w/out mounting it), also disk mount fine as iso_9660 (no extension, short names, only level-1, no RR nor Joliet) I tryed with (from my user and from root): # cp /dev/acd0c /tmp/mydump.iso Activity led on cd stay on, nothing happens :-( Killing process fail. Any signal fail. From same shell (tcsh) neither ^C, ^Z, ^\ or any other key combination works nor from another shell (either from same user and from root) with all signals showed by kill -l. Tryed more and more... Killing shell leave process running, with PPID=1 instead of PPID=(same pid of tcsh) Only shutdown stop it, but with message: "some processes would not die; ps axl advised" After reboot all partitions are clean, no need of fsck. Maybe cp is the wrong command to obtaining an iso image dump, but why it survive kill? Is normal? Pilot error? How can I make a copy of a self made (or even better of _ANY_ data cd) without archiving all iso images on hd? I noticed /dev/acd0t1 appears (I'm using DEVFS) under /dev after isoinfo. Can I (must ?) use that instead of acd0c? Yes, under another os (?) I am able to copy it :-( Ciao++ Riccardo. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message