I have just been fiddling with trying to share a copy of a cdrom.  My idea
was to copy the contents of the cd to my hard disk and share from there
using samba.

For some reason that I can't remember I think I can't just use cp to copy
the cd contents to the hard disk.  (Perhaps someone could tell me if I am
making this much more complicated than it need be.)

I tried:   dd if=/dev/hdb of=/home/test3

followed by:  mount -t iso9660 -o loop /home/test3 /mnt/test

It seems to work (sort of).  However at the end of the dd I get these
errors.

HDB: Command Error: Status=0x51 {DriveReady SeekComplete Error }
HDB: Command Error: error 0x54
end_request: I/O error, dev 03:40 (hdb), sector 1165908
ATAPI device hdb:
     Error: Illegal request -- (Sense key = 0x05 )
    Logical block address out of range -- (asc=0x21, ascq=0x00)

& then all the same errors for sector 116912

So I am not sure that I am really getting the full contents of the cd
correctly.  My test3 file is about half a MB larger than the cd.

There doesn't seem to be an appropriate HOWTO.  Could someone please tell
me what am I doing wrong .  Is there a better way to approach this?

regards
Steven



--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text

Reply via email to