vcd-info: Filesystem
3.2 ISO-9660 section
====================
This section contains something that looks pretty much like a directory
listing obtained by interpreting the ISO-9660 filesystem information.
Here's a sample:
/:
d d---1xrxrxr 0 0 [fn 00] [LSN 18] 2048 .
d d---1xrxrxr 0 0 [fn 00] [LSN 18] 2048 ..
d d---1xrxrxr 0 0 [fn 00] [LSN 19] 2048 EXT
d d---1xrxrxr 0 0 [fn 00] [LSN 20] 2048 MPEGAV
d d---1xrxrxr 0 0 [fn 00] [LSN 21] 2048 VCD
/EXT/:
d d---1xrxrxr 0 0 [fn 00] [LSN 19] 2048 .
d d---1xrxrxr 0 0 [fn 00] [LSN 18] 2048 ..
- ----1xrxrxr 0 0 [fn 01] [LSN 225] 65536 LOT_X.VCD;1
- ----1xrxrxr 0 0 [fn 01] [LSN 257] 6800 PSD_X.VCD;1
/MPEGAV/:
d d---1xrxrxr 0 0 [fn 00] [LSN 20] 2048 .
d d---1xrxrxr 0 0 [fn 00] [LSN 18] 2048 ..
- ---2-xrxrxr 0 0 [fn 01] [LSN 450] 639546208 (563593216) AVSEQ01.DAT;1
/VCD/:
d d---1xrxrxr 0 0 [fn 00] [LSN 21] 2048 .
d d---1xrxrxr 0 0 [fn 00] [LSN 18] 2048 ..
- ----1xrxrxr 0 0 [fn 00] [LSN 151] 2048 ENTRIES.VCD;1
- ----1xrxrxr 0 0 [fn 00] [LSN 150] 2048 INFO.VCD;1
- ----1xrxrxr 0 0 [fn 00] [LSN 152] 65536 LOT.VCD;1
- ----1xrxrxr 0 0 [fn 00] [LSN 184] 2456 PSD.VCD;1
Note that all the filenames seem to end with ';1'. This is a
"version" number of the file. ISO-9660 filename translation as might be
found if the filesystem were mounted is not performed here; if it were,
this would be stripped and probably the filenames would be in lowercase
letters.
The "attribute" characters at the beginning of left-hand side of the
listing, for the most part, looks like what you would get in a Unix
listing. Except there are these 1's and 2's before what in Unix would
be the user/group/other mode attributes. Those numbers indicate whether
the track is "mode2 form1" or "mode2 form2." So the example above,
AVSEQ01.DAT is in a mode2 form2 track while every other entry listed is
in a mode2 form1 track. The movie part is is this mode2 form2 track
while the remaining meta-data part is in a mode2 form1 track.
Another unusual thing about that single mode2 form2 track containing
AVSEQ01.DAT, is that there seem to be two numbers listed before the
AVSEQ01.DAT entry. All the other mode2 form1 entries have a single
number listed beforehand. The first number (63954208) is the number of
bytes that is occupied on the disk proper. The second number in
parenthesis (563593216) is the number of bytes if you assumed the file
had 2048-byte blocks rather than the 2334-byte mode2 format2 blocksize.
If you were to mount the CD filesystem you might see the second smaller
number in a listing there.
The exact meaning of the attributes section is listed below:
* The 1st character is either "d" if the entry is a directory, or "-"
if not.
* The 2nd character is either "a" if the entry is CD-DA (audio), or
"-" if not.
* The 3rd character is either "i" if the entry is interleaved, or "-"
if not.
* The 4th character is either "2" if the entry is mode2 form2 or "-"
if not.
* The 5th character is either "1" if the entry is mode2 form1 or "-"
if not.Note that an entry will either be in mode2 form1 or mode
form2. That is you will either see "2-" or "-1" in the 4th & 5th
positions.
* The 6th and 7th characters refer to permissions for everyone while
the
* the 8th and 9th characters refer to permissions for a group while,
and
* the 10th and 11th characters refer to permissions for a user.
In each of these pairs the first character (6, 8, 10) is "x" if the
entry is executable. For a directory this means the directory is
allowed to be listed or "searched". The second character of a pair (7,
9, 11) is "r" if the entry is allowed to be read.
The item in brackets, e.g. '[LSN 450]' for the AVSEQ01.DAT entry is
the "logical sector number" or the place on the CD where the entry
starts.