Ticket #2471 (closed defect: fixed)

Opened 8 years ago

Last modified 19 months ago

isoinfo adds ";1" to the end of file name when Joliet without Rock Ridge is used

Reported by: asy Owned by: andrew_b
Priority: minor Milestone: 4.8.0-pre1
Component: mc-vfs Version: 4.7.5
Keywords: Cc:
Blocked By: Blocking:
Branch state: Votes for changeset: committed-master committed-stable

Description

$ isoinfo -d -i tc1000_doc_lib_v.4.3.iso

CD-ROM is in ISO 9660 format
System id: CD-RTOS CD-BRIDGE
Volume id: 10043109
Volume set id:
Publisher id:
Data preparer id:
Application id: EASY CD CREATOR 5.0 (306) COPYRIGHT (C) 1999-2001 ROXIO, INC.
Copyright File id:
Abstract File id:
Bibliographic File id:
Volume set size is: 0
Volume set sequence number is: 0
Logical block size is: 2048
Volume size is: 43970
Joliet with UCS level 3 found
NO Rock Ridge present

$ isoinfo -J -l -i tc1000_doc_lib_v.4.3.iso

Directory listing of /
d---------   0    0    0             556 Jun 14 2001 [     21 02]  .
d---------   0    0    0             556 Jun 14 2001 [     21 02]  ..
d---------   0    0    0            1204 Jun 14 2001 [     22 02]  html
d---------   0    0    0             622 Jun 14 2001 [     23 02]  index
----------   0    0    0             950 Jun 13 2001 [     87 00]  index.pdx;1
d---------   0    0    0             214 Jun 14 2001 [     24 02]  install
----------   0    0    0           24192 Jun 14 2001 [    164 00]  mainmenu.gif;1
----------   0    0    0            2711 Jun 14 2001 [    108 00]  mainmenu.htm;1
d---------   0    0    0            3488 Jun 14 2001 [     25 02]  pdfdocs


The patch in attachment.

Attachments

mc-4.7.0.10-iso9660-semicolon.patch (1.3 KB) - added by asy 8 years ago.

Change History

Changed 8 years ago by asy

comment:1 Changed 8 years ago by andrew_b

Can we get rid of isoinfo -d -i double run in test_iso()?

comment:2 Changed 8 years ago by asy

It is possible but it complicate code. Need something like

ISOINFO_D_I=`isoinfo -d -i "$1"`

if [ "Joliet with UCS level 3 found" == "`echo $ISOINFO_D_I|sed "s/.*\(Joliet with UCS level 3 found\).*/\1/"`" ]; then
 echo 1
fi

On the other hand "isoinfo-d-i" is cached and works fast second and more time:

$ time isoinfo -d -i tc1000_doc_lib_v.4.3.iso | tail
0.00user 0.00system 0:00.00elapsed 400%CPU (0avgtext+0avgdata 2672maxresident)k
0inputs+0outputs (0major+249minor)pagefaults 0swaps

Last edited 19 months ago by andrew_b (previous) (diff)

comment:3 Changed 8 years ago by andrew_b

  • Keywords iso9660 removed
  • Owner set to andrew_b
  • Status changed from new to accepted
  • Milestone changed from 4.8 to 4.8.0-pre1

Created 2471_iso9660_semicolon branch. Parent branch is 4.7.5-stable.
Initial changeset:29c5beb766125c78170971e19515bd5abe7f820f

comment:4 Changed 8 years ago by andrew_b

  • severity changed from no branch to on review

comment:5 Changed 8 years ago by slavazanko

  • Votes for changeset set to slavazanko

comment:6 Changed 8 years ago by angel_il

  • Votes for changeset changed from slavazanko to slavazanko angel_il
  • severity changed from on review to approved

comment:7 Changed 8 years ago by andrew_b

  • Status changed from accepted to testing
  • Votes for changeset changed from slavazanko angel_il to committed-master committed-stable
  • Resolution set to fixed
  • severity changed from approved to merged

comment:8 Changed 8 years ago by andrew_b

  • Status changed from testing to closed
Note: See TracTickets for help on using tickets.