Re: Wrong times written by mkisofs?
Giorgos Keramidas <[EMAIL PROTECTED]> wrote: > >> mkisofs 2.01 (i386-unknown-freebsd6.2) > > > > This is nearly 4 years old, why don't you use a recent version? > > recent is 2.01.01a37 > > FWIW, > > 2.01 is the version available in the Ports tree as `sysutils/cdrtools'. > The 2.01.01a37 version is available too, as `cdrtools-devel'. But "stable" versions are dead versions because they don't change. Jörg -- EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin [EMAIL PROTECTED](uni) [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/old/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 "[EMAIL PROTECTED]"
Re: Wrong times written by mkisofs?
On 2008-01-20 11:16, Joerg Schilling <[EMAIL PROTECTED]> wrote: >Bob Johnson <[EMAIL PROTECTED]> wrote: >>> Let me asume you use a _recent_ mkisofs and set up a correct timezone... >>> >>[...] >>> >>> What do you get from "mkisofs -version"? >> >> mkisofs 2.01 (i386-unknown-freebsd6.2) > > This is nearly 4 years old, why don't you use a recent version? > recent is 2.01.01a37 FWIW, 2.01 is the version available in the Ports tree as `sysutils/cdrtools'. The 2.01.01a37 version is available too, as `cdrtools-devel'. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Wrong times written by mkisofs?
Bob Johnson <[EMAIL PROTECTED]> wrote: > > Let me asume you use a _recent_ mkisofs and set up a correct timezone... > > > [...] > > > > What do you get from "mkisofs -version"? > > mkisofs 2.01 (i386-unknown-freebsd6.2) This is nearly 4 years old, why don't you use a recent version? recent is 2.01.01a37 > > What timezone do you have (how many hours from GMT and which location)? > > U.S. Eastern Standard Time (EST = GMT-5) > > > What do you have in the TZ= variable? > > It seems to be empty. So you run your system in GMT? > > What do you see with "TZ=GMT ls -l ToJoe"? > > # TZ=GMT ls -l /mnt > total 62113 > -rw--- 1 bobj bobj 2246671 Jan 19 12:22 IMG_0660_080115_2348.JPG > -rw--- 1 bobj bobj 3346787 Jan 19 12:22 IMG_0661_080116_0524.JPG You see, it did not change > These times are the correct LOCAL time, not GMT. The following are five hours > off: > > # TZ=EST ls -l /mnt > total 62113 > -rw--- 1 bobj bobj 2246671 Jan 19 07:22 IMG_0660_080115_2348.JPG > -rw--- 1 bobj bobj 3346787 Jan 19 07:22 IMG_0661_080116_0524.JPG You know these times already? Something is wrong anyway, but I cannot help from remote Jörg -- EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin [EMAIL PROTECTED](uni) [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/old/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 "[EMAIL PROTECTED]"
Re: Wrong times written by mkisofs?
On Saturday 19 January 2008 05:22:58 pm you wrote: > > Irecently built a CD of images to give to a friend. I noticed the > > timestamps displayed when I list the CD contents are five hours earlier > > than they should be. Five hours matches my GMT offset. This is a > > dual-boot system with Win XP, so the hardware clock is set to local time. > > > > E.g. a file on my hard drive has a correct timestamp > > -rw--- 1 bobo bobo 2246671 Jan 19 12:22 IMG_0660_080115_2348.JPG > > > > while the same file on the resulting CD looks like > > -rw--- 1 bobo bobo 2246671 Jan 19 07:22 IMG_0660_080115_2348.JPG > > > > The "date" command returns the correct local time. > > > > Did I do something incorrectly, or is this a bug in mkisofs? It appears > > to me that mkisofs decided to correct for GMT offset when it shouldn't > > have. > > > > Let me asume you use a _recent_ mkisofs and set up a correct timezone... > [...] > > What do you get from "mkisofs -version"? mkisofs 2.01 (i386-unknown-freebsd6.2) > What timezone do you have (how many hours from GMT and which location)? U.S. Eastern Standard Time (EST = GMT-5) > What do you have in the TZ= variable? It seems to be empty. > What do you see with "TZ=GMT ls -l ToJoe"? # TZ=GMT ls -l /mnt total 62113 -rw--- 1 bobj bobj 2246671 Jan 19 12:22 IMG_0660_080115_2348.JPG -rw--- 1 bobj bobj 3346787 Jan 19 12:22 IMG_0661_080116_0524.JPG -rw--- 1 bobj bobj 3623969 Jan 19 12:22 IMG_0662_080116_0525.JPG -rw--- 1 bobj bobj 3966310 Jan 19 12:22 IMG_0663_080116_0526.JPG -rw--- 1 bobj bobj 3971338 Jan 19 12:22 IMG_0664_080116_0526.JPG -rw--- 1 bobj bobj 3946837 Jan 19 12:22 IMG_0665_080116_0528.JPG -rw--- 1 bobj bobj 3873753 Jan 19 12:22 IMG_0666_080116_0528.JPG -rw--- 1 bobj bobj 3832501 Jan 19 12:22 IMG_0667_080116_0529.JPG -rw--- 1 bobj bobj 3854064 Jan 19 12:22 IMG_0668_080116_0531.JPG -rw--- 1 bobj bobj 3849156 Jan 19 12:22 IMG_0669_080116_0532.JPG -rw--- 1 bobj bobj 3868314 Jan 19 12:23 IMG_0670_080116_0533.JPG -rw--- 1 bobj bobj 3901654 Jan 19 12:23 IMG_0671_080116_0534.JPG -rw--- 1 bobj bobj 3851665 Jan 19 12:23 IMG_0672_080116_0537.JPG -rw--- 1 bobj bobj 3850832 Jan 19 12:23 IMG_0673_080116_0538.JPG -rw--- 1 bobj bobj 3876448 Jan 19 12:23 IMG_0674_080116_0542.JPG -rw--- 1 bobj bobj 3866105 Jan 19 12:23 IMG_0675_080116_0543.JPG -rw--- 1 bobj bobj 3881576 Jan 19 12:23 IMG_0676_080116_0543.JPG These times are the correct LOCAL time, not GMT. The following are five hours off: # TZ=EST ls -l /mnt total 62113 -rw--- 1 bobj bobj 2246671 Jan 19 07:22 IMG_0660_080115_2348.JPG -rw--- 1 bobj bobj 3346787 Jan 19 07:22 IMG_0661_080116_0524.JPG -rw--- 1 bobj bobj 3623969 Jan 19 07:22 IMG_0662_080116_0525.JPG -rw--- 1 bobj bobj 3966310 Jan 19 07:22 IMG_0663_080116_0526.JPG -rw--- 1 bobj bobj 3971338 Jan 19 07:22 IMG_0664_080116_0526.JPG -rw--- 1 bobj bobj 3946837 Jan 19 07:22 IMG_0665_080116_0528.JPG -rw--- 1 bobj bobj 3873753 Jan 19 07:22 IMG_0666_080116_0528.JPG -rw--- 1 bobj bobj 3832501 Jan 19 07:22 IMG_0667_080116_0529.JPG -rw--- 1 bobj bobj 3854064 Jan 19 07:22 IMG_0668_080116_0531.JPG -rw--- 1 bobj bobj 3849156 Jan 19 07:22 IMG_0669_080116_0532.JPG -rw--- 1 bobj bobj 3868314 Jan 19 07:23 IMG_0670_080116_0533.JPG -rw--- 1 bobj bobj 3901654 Jan 19 07:23 IMG_0671_080116_0534.JPG -rw--- 1 bobj bobj 3851665 Jan 19 07:23 IMG_0672_080116_0537.JPG -rw--- 1 bobj bobj 3850832 Jan 19 07:23 IMG_0673_080116_0538.JPG -rw--- 1 bobj bobj 3876448 Jan 19 07:23 IMG_0674_080116_0542.JPG -rw--- 1 bobj bobj 3866105 Jan 19 07:23 IMG_0675_080116_0543.JPG -rw--- 1 bobj bobj 3881576 Jan 19 07:23 IMG_0676_080116_0543.JPG I thought this system had been updated recently, but: # uname -a FreeBSD sniffles.bobj.org 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #0: Thu Apr 26 17:40:53 UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 so for my next trick, I will at least get it up to the lastest binary patch level, and try again. - Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Wrong times written by mkisofs?
> Irecently built a CD of images to give to a friend. I noticed the timestamps > displayed when I list the CD contents are five hours earlier than they should > be. Five hours matches my GMT offset. This is a dual-boot system with Win XP, > so the hardware clock is set to local time. > E.g. a file on my hard drive has a correct timestamp > -rw--- 1 bobo bobo 2246671 Jan 19 12:22 IMG_0660_080115_2348.JPG > while the same file on the resulting CD looks like > -rw--- 1 bobo bobo 2246671 Jan 19 07:22 IMG_0660_080115_2348.JPG > The "date" command returns the correct local time. > Did I do something incorrectly, or is this a bug in mkisofs? It appears to me > that mkisofs decided to correct for GMT offset when it shouldn't have. > The sequence of operations I followed is below. Let me asume you use a _recent_ mkisofs and set up a correct timezone... Then you found a FreeBSD kernel bug in your filesystem code. BTW: The first bug I found in mkisofs (this was in 1995) was a TZ bug and mkisofs did use the wrong sign for the timezone offset. Since this has been fixed, the only reported problems where in effect +- 24 hours from New-year. What do you get from "mkisofs -version"? What timezone do you have (how many hours from GMT and which location)? What do you have in the TZ= variable? What do you see with "TZ=GMT ls -l ToJoe"? Jörg -- EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin [EMAIL PROTECTED](uni) [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/old/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 "[EMAIL PROTECTED]"
Wrong times written by mkisofs?
I recently built a CD of images to give to a friend. I noticed the timestamps displayed when I list the CD contents are five hours earlier than they should be. Five hours matches my GMT offset. This is a dual-boot system with Win XP, so the hardware clock is set to local time. E.g. a file on my hard drive has a correct timestamp -rw--- 1 bobo bobo 2246671 Jan 19 12:22 IMG_0660_080115_2348.JPG while the same file on the resulting CD looks like -rw--- 1 bobo bobo 2246671 Jan 19 07:22 IMG_0660_080115_2348.JPG The "date" command returns the correct local time. Did I do something incorrectly, or is this a bug in mkisofs? It appears to me that mkisofs decided to correct for GMT offset when it shouldn't have. The sequence of operations I followed is below. - Bob # ls -l ToJoe total 62544 -rw--- 1 bobo bobo 2246671 Jan 19 12:22 IMG_0660_080115_2348.JPG -rw--- 1 bobo bobo 3346787 Jan 19 12:22 IMG_0661_080116_0524.JPG -rw--- 1 bobo bobo 3623969 Jan 19 12:22 IMG_0662_080116_0525.JPG -rw--- 1 bobo bobo 3966310 Jan 19 12:22 IMG_0663_080116_0526.JPG -rw--- 1 bobo bobo 3971338 Jan 19 12:22 IMG_0664_080116_0526.JPG -rw--- 1 bobo bobo 3946837 Jan 19 12:22 IMG_0665_080116_0528.JPG -rw--- 1 bobo bobo 3873753 Jan 19 12:22 IMG_0666_080116_0528.JPG -rw--- 1 bobo bobo 3832501 Jan 19 12:22 IMG_0667_080116_0529.JPG -rw--- 1 bobo bobo 3854064 Jan 19 12:22 IMG_0668_080116_0531.JPG -rw--- 1 bobo bobo 3849156 Jan 19 12:22 IMG_0669_080116_0532.JPG -rw--- 1 bobo bobo 3868314 Jan 19 12:23 IMG_0670_080116_0533.JPG -rw--- 1 bobo bobo 3901654 Jan 19 12:23 IMG_0671_080116_0534.JPG -rw--- 1 bobo bobo 3851665 Jan 19 12:23 IMG_0672_080116_0537.JPG -rw--- 1 bobo bobo 3850832 Jan 19 12:23 IMG_0673_080116_0538.JPG -rw--- 1 bobo bobo 3876448 Jan 19 12:23 IMG_0674_080116_0542.JPG -rw--- 1 bobo bobo 3866105 Jan 19 12:23 IMG_0675_080116_0543.JPG -rw--- 1 bobo bobo 3881576 Jan 19 12:23 IMG_0676_080116_0543.JPG [EMAIL PROTECTED] ~/images]$ mkisofs -J -R -o FMband.iso ToJoe/* 16.05% done, estimate finish Sat Jan 19 12:24:16 2008 32.04% done, estimate finish Sat Jan 19 12:24:16 2008 48.00% done, estimate finish Sat Jan 19 12:24:18 2008 64.04% done, estimate finish Sat Jan 19 12:24:17 2008 80.04% done, estimate finish Sat Jan 19 12:24:17 2008 96.01% done, estimate finish Sat Jan 19 12:24:18 2008 Total translation table size: 0 Total rockridge attributes bytes: 1801 Total directory bytes: 0 Path table size(bytes): 10 Max brk space used d064 31250 extents written (61 MB) [EMAIL PROTECTED] ~/images]$ su Password: [EMAIL PROTECTED] /home/bobo/images]# burncd -f /dev/acd0 -s 8 data FMband.iso fixate next writeable LBA 0 writing from file FMband.iso size 62500 KB written this track 62500 KB (100%) total 62500 KB fixating CD, please wait.. [EMAIL PROTECTED] /home/bobo/images]# mount_cd9660 /dev/acd0 /mnt [EMAIL PROTECTED] /home/bobo/images]# ls -l /mnt total 62113 -rw--- 1 bobo bobo 2246671 Jan 19 07:22 IMG_0660_080115_2348.JPG -rw--- 1 bobo bobo 3346787 Jan 19 07:22 IMG_0661_080116_0524.JPG -rw--- 1 bobo bobo 3623969 Jan 19 07:22 IMG_0662_080116_0525.JPG -rw--- 1 bobo bobo 3966310 Jan 19 07:22 IMG_0663_080116_0526.JPG -rw--- 1 bobo bobo 3971338 Jan 19 07:22 IMG_0664_080116_0526.JPG -rw--- 1 bobo bobo 3946837 Jan 19 07:22 IMG_0665_080116_0528.JPG -rw--- 1 bobo bobo 3873753 Jan 19 07:22 IMG_0666_080116_0528.JPG -rw--- 1 bobo bobo 3832501 Jan 19 07:22 IMG_0667_080116_0529.JPG -rw--- 1 bobo bobo 3854064 Jan 19 07:22 IMG_0668_080116_0531.JPG -rw--- 1 bobo bobo 3849156 Jan 19 07:22 IMG_0669_080116_0532.JPG -rw--- 1 bobo bobo 3868314 Jan 19 07:23 IMG_0670_080116_0533.JPG -rw--- 1 bobo bobo 3901654 Jan 19 07:23 IMG_0671_080116_0534.JPG -rw--- 1 bobo bobo 3851665 Jan 19 07:23 IMG_0672_080116_0537.JPG -rw--- 1 bobo bobo 3850832 Jan 19 07:23 IMG_0673_080116_0538.JPG -rw--- 1 bobo bobo 3876448 Jan 19 07:23 IMG_0674_080116_0542.JPG -rw--- 1 bobo bobo 3866105 Jan 19 07:23 IMG_0675_080116_0543.JPG -rw--- 1 bobo bobo 3881576 Jan 19 07:23 IMG_0676_080116_0543.JPG [EMAIL PROTECTED] /home/bobo/images]# date Sat Jan 19 12:27:25 EST 2008 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"