[osol-mktg] Re: Most advanced OS on the planet

Dennis Clarke dclarke at blastwave.org
Fri Jun 30 10:36:21 PDT 2006


> "Dennis Clarke" <dclarke at blastwave.org> wrote:
>
>> Actually cdrecord is now included in Solaris 10 Update 2 but one must be
root to use it.
>
> Then Solaris 10 U2 has a bug :-(
>

Well .. maybe I had better test that.

> While cdrecord is able to run completely rootless,
> cdrw needs to be instaled suid root.

$ which cdrw
/bin/cdrw
$ ls -lap /bin/cdrw
-rwsr-xr-x   1 root     bin        69316 Apr 14 20:14 /bin/cdrw

well look at that.  It is too.

> I did not yet fetch U2, but the plan was to do it similar to
> how it is described in the cdrecord documentation:
>
> -	add a cdrecord/readcd/cdda2wav entry to /etc/security/*
> 	and granting extra fine grained privs
>
> -	allow any user to use the tools
>
> -	make cdrecord/readcd/cdda2wav shell scripts that
> 	call:
> 		pfexec real-{cdrecord/readcd/cdda2wav} "$@"
>
> BTW: because the license change was really hard, I missed the
> deadline by one week in order to integrate DVD writing into S10 U2

thats a significant feature we all need.

> but in case that the privileges framework has been done correctly, you
should be easily able to replace the binary by a more recent one.

I smake my own anyways :-)

>> Here is a comparison of the two tools that I use :
>> With cdrw I can burn almost anything.  Almost.  I do not need to be root
>
> Not correct: cdrw is very limited related to drive support and extremely
limited regarding CD write methods/formats.

Well I only use tier one devices and cdrw supports SONY and Pioneer well
enough.  However, it seem to have no clue about DVD+R/DL and clearly
cdrecord does.  Although I have never actually seen it work.  Hopefully we
can work on that.

> cdrw needs to be installed suid root, cdrecord runs completely rootless.

really ?

I will have to test that too.

>> to use it and I don't need any special libraries ( libscg ) however,  it
is a tad simple and can fail at times :
>
> ???
>
> Of course, cdrw needs the volmgt libraries as cdrecord does.

I never have used volmgt at the same time as cdrecord.  Then again, I always
burn as root and I target the devices in the usual manner with dev=x,y,z and
this has worked very very well.

>> [ try to burn CD1 from SUSE Enterprise Linux 10 ]
>> bash-3.1$ cdrw -v -d cdrom0 -i ./SLES-10-CD-x86_64-RC3-CD1.iso
>> Initializing device...done.
>> Size required (709224448 bytes) is greater than available space
(681986048
>> bytes).
>> So that fails.  Possibly for good reason.
>
> I would guess this fails because of the limiations in cdrw that are not
present with cdrecord.

  That's a truism at this point.

  Suffice it to say .. it fails.

  I don't know why and this is not some fly-by-night cheap drive I have
 here.  This is a brand new SONY dual layer DVD burner complete with a whack
of software for Windows XP that I tossed over my shoulder as I  opened up
the box.  :-)

> Most likely, cdrw is unable to retrieve media information and makes only a
guess.

 Could be.  Unless I were to truss the process or single step through a pile
of stuff I will never know.  To be honest, with cdrecord working for me I
really look at cdrw as just "broken" or at least slightly off kilter.

>> Now then, a look at cdrecord.  As the root user only <--- !!!
>
> Wrong!

  If you say so !

  I'll test that anyway okay ?   ;-)

>> What version of cdrecord ?
>> # cdrecord --version
>> Cdrecord-ProDVD-Clone 2.01.01a09 (i386-pc-solaris2.11) Copyright (C)
1995-2006 Jörg Schilling
>
> Outdated, this does not include several workarounds for newer DVD writers.

Holy hell Jörg !  How is that outdated?  You just released it a few weeks
ago or maybe one month.  This is the version that you and I were talking
about and you asked me to modify the code to support the SONY drive. 
Remember that?

What release are you at now and ... where's the source?

I'll smake it right away and then you and I can perhaps stay in touch and
get the dual layer feature working okay ?  Please ?

>>   You can see that cdrecord seems to find everything on every bus but
does
>> not see the tape drive for some reason.
>
> If you were using /dev/scg, you would see them.
> Eventually, I will add support for tape drives using USCSI.

Well, unless this is a feature that will allow me to burn a bootable ISO
image to a DLT tape and then boot from tape ( like BSD ) then why bother ?

Its not a feature thats worth the effort.

>> Here is what I see right away :
>>   The device details in mixed English :
>>     Vendor_info    : 'SONY    '
>>     Identifikation : 'DVD RW DRU-820A '
>>     Revision       : '1.0b'
>
> This is wriong by intention (since August 1986), it helps
> a lot with google ;-)

 how very crafty of you

>> Thus we can verify the burn was absolutely accurate :
>> # which readcd
>> /root/schily/bin/readcd
>> # readcd -v -dev=0,0,0 meshpoints=20 \
>> > f=/export/nfs/linux/suse/SLES-10-CD-x86_64-RC3-CD1.verify
>
>
> With a CD, you could also use '-c2scan'

I guess I am just familiar with the DVD process that I use in which I often
burn and then readcd with a md5 sig check step in there.

Now then .. where is this new cdrecord source and will it support dual layer
DVD media on my SONY ?

Dennis

ps: send your mailing address to Sara Dornsife, she is looking for you and
its a Friday before a long weekend.  If you are not fast I will give her
your address in Kelona, British Columbia.
_______________________________________________
opensolaris-mktg mailing list
opensolaris-mktg at opensolaris.org



More information about the opensolaris-mktg mailing list