Re: pktsetup problem...

Raquel Paz <[email protected]> Fri, 28 Oct 2005 02:13:49 -0500
Newsgroups gmane.linux.suse.packet-writing
Organization Ramses Paz
Message-ID <[email protected]>
Hello list:
El jue, 27-10-2005 a las 20:30 +0000, Chris Clayton escribió: 
> On Thursday 27 Oct 2005 20:00, Marc Collin wrote:
> > Le 27 Octobre 2005 15:52, Chris Clayton a écrit :
> > > On Thursday 27 Oct 2005 19:34, Marc Collin wrote:
> > > > pktsetup /dev/pktcdvd0 /dev/dvdram
> > >
> > > Packet writing setup changed when pktcdvd made its way into mainline
> > > kernel. If you have recent 2.6 sources have a look at
> > > Documentation/cdrom/packet-writing.txt
> > >
> > > If you don't have the sources, mail me off-list and I will mail
> > > packet-writing.txt back to you.
> > >
> > > Chris
> > 
> > i use suse 10, kernel: 2.6.13-15-default
> > 
> > in this txt file:
> > 
> > Grab a new CD-RW disc and format it (assuming CD-RW is hdc, substitute
> >   as appropriate):
> >         # cdrwtool -d /dev/hdc -q
> > 
> > - Setup your writer
> >         # pktsetup dev_name /dev/hdc
> > 
> > - Now you can mount /dev/pktcdvd/dev_name and copy files to it. Enjoy!
> >         # mount /dev/pktcdvd/dev_name /cdrom -t udf -o rw,noatime
> > 
> > 
> > what i do
> > 
> > cdrwtool -d /dev/dvdram/ -q
> > 
> > pktsetup pktcdvd0 /dev/hdc
> > ctl open: Not a directory
> > 
> 
> It looks like you don't have the directory /dev/pktcdvd. Create that directory
> and your pktsetup command should work. Then you should be able to mount the
> packet device with:
> 
I have the same problem, and I sended a mail to the list but anybody
answer me, I have the last version of udf, I created that directory then
the device file in /dev is not created:

linux:/dev # linux:/dev # ls -ls pkt*
total 178
  0 d---------   2 root root     48 Oct 28 01:26 .
178 drwxr-xr-x  36 root root 182088 Oct 28 01:30 ..

 but i need the device file then I deleted the directory and When I
loaded the module the system created a device file in /dev:

linux:/dev # ls -ls pkt*
0 crw-rw----  1 root root 10, 62 Oct 28 02:10 pktcdvd
 After of that i run:

linux:/dev # pktsetup cdrw /dev/hdd
ioctl: Inappropriate ioctl for device

then the system created a file cdrw in the directory where i ejecuted
pktsetup:

linux:/dev # la cdrw
--wSr-sr-x  1 root root 0 Oct 28 02:12 cdrw

pealeeee guys can anybody help me?

Reachel