Ticket #2471 (closed defect: fixed)
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
Change History
comment:1 Changed 14 years ago by andrew_b
Can we get rid of isoinfo -d -i double run in test_iso()?
comment:2 Changed 14 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
comment:3 Changed 14 years ago by andrew_b
- Owner set to andrew_b
- Status changed from new to accepted
- Keywords iso9660 removed
- 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:6 Changed 14 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 14 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
Merged to 4.7.5-stable.
changeset:876b1677f303b6b86f06120432def3a3de2b42c2
Cherry-picked to master.
changeset:3293c5b2374f34a0013b766214fd91284996e1ea
Cherry-picked to 4.7.0-stable.
changeset:769a1a10b05afdc78d5e91b0220856dfec52d9a7