I'm looking for a way to identify all my bootcamp macs. Casper identifies
partitions, but I don't see any way to build a smart group off of that. I
haven't used extension attributes much. I'm thinking I can set one up
with something like:
diskutil list | grep disk0 | grep Microsoft | awk -F 'Microsoft Basic Data
' '{print $2}'
This should give me partition name, size and disk number if there is a
Windows NTFS partition. Anyone else come up with anything better for
accomplishing this? Or perhaps I am missing an easier way to do it.
Chad