Changeset 300 for soft/giet_vm/create_dmg
- Timestamp:
- Apr 10, 2014, 2:33:56 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/create_dmg
r261 r300 6 6 sector_size=512 7 7 sectors_per_cluster=8 8 reserved_sectors= 328 reserved_sectors=512 9 9 10 10 # FAT32 SPEC: The first two clusters are not present in the data region but … … 59 59 format="UDRW" 60 60 61 echo "Creating partition file $3 from $2 directory" 61 # -F FAT type = 32 (FAT32) 62 # -c sectors/cluster 63 # -n number of FATs 64 # -r reserved sectors 65 # -k backup boot sector (VBR and FS INFO) = 0xffff (no backup) 66 echo "Creating partition file $3.dmg from $2 directory" 67 fsargs="-F32 -c $sectors_per_cluster -n 1 -r $reserved_sectors -k 0xffff" 62 68 hdiutil create \ 63 69 -fs MS-DOS \ … … 66 72 -sectors $sectors \ 67 73 -ov \ 68 -fsargs " -F32 -c$sectors_per_cluster -n1 -r$reserved_sectors" \74 -fsargs "$fsargs" \ 69 75 -format $format \ 70 76 $3;
Note: See TracChangeset
for help on using the changeset viewer.