Currently using Deploy Studio for system imaging and modular deployment
of packages in a lab environment. I am resizing the boot partition of
disks0, creating a back-end MS-DOS partition on this same disk, and
formatting disks1 as a data-only drive through an ARD UNIX-command. I
am then using WinClone to format the back-end partition and install
Windows XP for dual-booting. All of this manipulation is being
performed on known-sized hard drives (i.e. all of my lab computers have
320G disks0 and 500G disks1).
I would like to modify my script so it can be extended to other labs
and need to take into account (a) there may be only 1 installed disk
(iMacs) and (b) the disks0 may not be 320G in size.
My scripting abilities are somewhat limited so I'm looking for a little
help. I know 'diskutil list' will provide me with the # of disks and
disk sizes but I do not know how to collect this data and use it for my
needs.
Any help would be greatly appreciated.
-Allen