Mac shell script to return current partition

Discussion in 'Programming/Scripts' started by a-spencer, Mar 31, 2010.

  1. a-spencer

    a-spencer New Member

    Hi,

    I'm writing a shell script to reboot my mac into one of various partitions I have on it for testing purposes.

    Is it possible for the script to return the current active partition name, and if so, how do I do it?

    Thanks.
     

Share This Page