Hello: This may cause problems on media change, no? Adding an something like: pre-remove pktcdvd pktsetup -d /dev/pktcdvd0 # load scd0 before pktcdvd to /etc/modules/conf might help, but as I can see, one has to: 1. rmmod ptkcdvd 2. mount /dev/pktcdvd0 (again) Cheers, Ozkan. (PS: your 'mount /mnt/cdrw' is a typo, right? -)) Martin Lillepuu wrote:
Ühel kenal päeval (laupäev, 12. jaanuar 2002 15:24) kirjutas RK:
Looking over the changelogs, I see that the pktcdvd modules was tweaked to only configure when there is a CD/DVD/CD-R(W)/DVD-RW in the drive. Why is this? As long as using pktsetup requires a medium in the CD/DVD drive, automatically, (ie - via /etc/rc.d) setting up Packet-CD is precluded.
Here's one possible solution (should work with most ide cdrw drives):
part of my /etc/modules.conf:
# cd-r ide-scsi interface alias scd0 sr_mod #above ide-scsi imm # uncomment for some ZIP drives only above sg ide-scsi # load ide-scsi before sg above sr_mod ide-scsi # load ide-scsi before sr_mod
# cd-rw packet-writing alias block-major-97 pktcdvd pre-install pktcdvd modprobe scd0 # load scd0 before pktcdvd post-install pktcdvd pktsetup /dev/pktcdvd0 /dev/scd0 # start pktcdvd writer
and /etc/fstab:
/dev/pktcdvd0 /mnt/cdrw udf noauto,rw,noatime
now, all I have to do is insert cdrw disk into drive and type
mount /mnt/cdrw
(as root) and everything gets automatically set up.
-- Martin Lillepuu | e-mail: martin@lillepuu.com | gsm: +372 515 6450