Re: mkisofs error

2009-10-15 Thread Joerg Schilling
Be _very_ careful, genisoimage is full of bugs and creates defective 
filesystems.
Do not use it, genisoimage is unmaintained and does not even support files  4 
GB!
Other well known bugs in genisoimage create defective directory entries for . 
and ... This is because genisoimage is based on a 5 year old version of 
mkisofs with additional bugs added that never have been in the original 
software.

Mkisofs has no known bugs and is well maintained.

I see no reason why mkisofs should be the cause for your problem...

Well you did not describe the problem in a way that could allow to analyse the 
background. Possible reasons for your problem could be read errors on the 
medium, check using:

readcd f=/dev/null

whether the medium is fully readable.

Another possible reason could be a problem in the filesystem driver of the 
kernel. If a file gives a read error, there should be a kernel message related 
to the problem. 


If you are able to extract the file using isoinfo using the ISO-9660 name of 
the file (be careful not to use the defective isoinfo that comes with 
cdrkit), the problem is definitely not in mkisofs.

BTW: do you use a recent or an outdated mkisofs?

The latest version of mkisofs is 2.01.01a66 and FreeBSD by default 
unfortunately distributes extremely outdated versions.

Jörg

-- 
 EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
   j...@cs.tu-berlin.de(uni)  
   joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


mkisofs error

2009-10-14 Thread Warren Block

My data backups to DVD use mkisofs to build ISO9660 DVDs like so:

mkisofs -J -joliet-long -r -hide-rr-moved -graft-points dir1 dir2 dir3

and then piped into cdrecord.  However, I found a problem with one file 
that casts some doubt on the whole process.  The file is named 
img_0185-6x4crop.jpg and is 3,309,906 bytes.  On the hard drive, it 
reads fine.


The filename is present on the DVD, but the file always gives a read 
error:


# file img_0185-6x4crop.jpg
img_0185-6x4crop.jpg: ERROR: cannot read `img_0185-6x4crop.jpg' 
(Input/output error)


It's not a one-time error; every DVD always has the same problem.  What 
is going wrong?  A poison filename?


-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: mkisofs error

2009-10-14 Thread Warren Block

On Wed, 14 Oct 2009, Warren Block wrote:


My data backups to DVD use mkisofs to build ISO9660 DVDs like so:

mkisofs -J -joliet-long -r -hide-rr-moved -graft-points dir1 dir2 dir3

and then piped into cdrecord.  However, I found a problem with one file that 
casts some doubt on the whole process.  The file is named 
img_0185-6x4crop.jpg and is 3,309,906 bytes.  On the hard drive, it reads 
fine.


The filename is present on the DVD, but the file always gives a read error:

# file img_0185-6x4crop.jpg
img_0185-6x4crop.jpg: ERROR: cannot read `img_0185-6x4crop.jpg' (Input/output 
error)


It's not a one-time error; every DVD always has the same problem.  What is 
going wrong?  A poison filename?


Following up: growisofs with the same parameters has no problems with 
that file.


-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: mkisofs error

2009-10-14 Thread Al Plant

Warren Block wrote:

On Wed, 14 Oct 2009, Warren Block wrote:


My data backups to DVD use mkisofs to build ISO9660 DVDs like so:

mkisofs -J -joliet-long -r -hide-rr-moved -graft-points dir1 dir2 dir3

and then piped into cdrecord.  However, I found a problem with one 
file that casts some doubt on the whole process.  The file is named 
img_0185-6x4crop.jpg and is 3,309,906 bytes.  On the hard drive, it 
reads fine.


The filename is present on the DVD, but the file always gives a read 
error:


# file img_0185-6x4crop.jpg
img_0185-6x4crop.jpg: ERROR: cannot read `img_0185-6x4crop.jpg' 
(Input/output error)


It's not a one-time error; every DVD always has the same problem.  
What is going wrong?  A poison filename?


Following up: growisofs with the same parameters has no problems with 
that file.


-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org



Aloha Warren,

Manolis Kiagias pointed me to growisofs a while ago and I have had no 
problems making dvd's since from the command line.


~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org +
  + http://aloha50.net   - Supporting - FreeBSD  7.2 - 8.0 - 9* +
   email: n...@hdk5.net 
All that's really worth doing is what we do for others.- Lewis Carrol

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org