Jacques or anybody- Help pls adjusting a simple disc-unmounting script

Need help please adjusting this cool little script I got from member Jacques a couple years ago.
It’s for unmounting individual partitions of an external HD. I had this ext. HD w/ 3 partitions, one of which was my boot volume, and the other two which I wanted to unmount at startup.

Now I want only one of the partitions to unmount, so I need to adjust that and I’m not savvy enough to feel confident editing shell-level stuff on my own (help!) Mucho TIA!

Model: PowerBook G4
AppleScript: 1.10.7
Browser: Safari 419.3
Operating System: Mac OS X (10.4)


for one partition this is sufficient, replace myDisk with the name of the partition.
If the name doesn’t contains space characters, you can omit the single quotes

do shell script "diskutil unmount '/Volumes/myDisk'"

Sweet. Thanks StefanK.