Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jun 2001 23:45:19 +0200 (CEST)
From:      Riccardo Torrini <riccardo@torrini.org>
To:        freebsd-current@FreeBSD.ORG
Subject:   Can a program ignore all signals?
Message-ID:  <XFMail.010612234519.riccardo@torrini.org>

next in thread | raw e-mail | index | archive | help
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: <VIA 82C586 ATA33 controller> port ...
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
[...]
ad0: 6197MB <IBM-DHEA-36480> [12592/16/63] at ata0-master UDMA33
acd0: CD-RW <YAMAHA CRW4001> at ata1-master PIO3
acd1: CDROM <ATAPI CD-ROM DRIVE 40X MAXIMUM> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.010612234519.riccardo>