Browse Source

Marking HFS+ partition in APM as automountable for legacy Macs.

release-1.5.4.branch
Thomas Schmitt 8 years ago
parent
commit
45bee0a849
2 changed files with 8 additions and 3 deletions
  1. +1
    -1
      doc/iso_hybrid_fs.txt
  2. +7
    -2
      libisofs/system_area.c

+ 1
- 1
doc/iso_hybrid_fs.txt View File

@ -3,7 +3,7 @@
by Thomas Schmitt - mailto:scdbackup@gmx.net
Libburnia project - mailto:libburn-hackers@pykix.org
21 Feb 2012
07 Jun 2012
The overall framework for the filesystem images produced by libisofs is given


+ 7
- 2
libisofs/system_area.c View File

@ -820,11 +820,16 @@ static int iso_write_apm_entry(Ecma119Image *t, int apm_block_size,
wpt += 4;
/* Status flags : bit0= entry is valid , bit1= entry is allocated
bit4= partition is readable , bit5= partition is writable
bit30= automatic mount (legacy Mac)
*/
if (flag & 1)
if (flag & 1) {
flags = 3;
else
} else {
flags = 0x13;
if (strncmp((char *) req->type, "Apple_HFS", 9) == 0 &&
req->type[9] == 0)
flags |= 0x40000000;
}
iso_msb(wpt, flags, 4);
wpt += 4;


Loading…
Cancel
Save