LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   packet writing - cdrw (https://www.linuxquestions.org/questions/linux-software-2/packet-writing-cdrw-126339/)

vinay_s_s 12-16-2003 09:17 AM

packet writing - cdrw
 
I installed udf tools, patched the kernel successfully and got packet writing successfully.

But now i can write to cdrw only as root.

How can i give permissions to users to write to the cdrw?

http://packet-cd.sourceforge.net/

got patches from here:
http://w1.894.telia.com/~u89404340/patches/packet/2.5/



----------------------------------------------------------------------
kernel-2.6 test11
Slackware 9.1
P4 1.7 GHz
LG CDRW (32x 10x 40x)

vinay_s_s 12-16-2003 11:13 PM

anyone ?

vinay_s_s 02-13-2004 08:26 PM

Can anyone HELP ME???? Its BEEN MONTHS!!!

rmanocha 02-13-2004 08:47 PM

maybe you have not given the normal user permissions to access the drive.
have you tried:
/dev/cdrom1 /cdrom1 iso9660 ro,user,noauto 0 0
this is the entry for my CD-RW.
maybe this will help.
if you can mount as normal user then this will not help...but if u cant mount the drive as normal user...then this should help your situation.
let me know if it does.

vinay_s_s 02-15-2004 05:30 AM

I can mount cdroms and cdrws as user.
Did u check the packet link i mentioned??
Actually a special device /dev/pktcdvd0 is created (mknod /dev/pktcdvd0 b 97 0 )
here is the readme:

--------------------


Getting started quick
---------------------

- Select packet support in the block device section and UDF support in
the file system section.

- Compile and install kernel and modules, reboot.

- You need the udftools package (pktsetup, mkudffs, cdrwtool).
Download from http://sourceforge.net/projects/linux-udf/

- Grab a new CD-RW disc and format it (assuming CD-RW is sr0, substitute
as appropriate):
# cdrwtool -d /dev/sr0 -q

- Make sure that /dev/pktcdvd0 exists (mknod /dev/pktcdvd0 b 97 0)

- Setup your writer
# pktsetup /dev/pktcdvd0 /dev/sr0

- Now you can mount /dev/pktcdvd0 and copy files to it. Enjoy!
# mount /dev/pktcdvd0 /cdrom -t udf -o rw,noatime


Tips
----

- Put something like this in /etc/modprobe.conf to allow auto-load of pktcdvd:

-----------------------------------


All times are GMT -5. The time now is 06:27 PM.