Managing Disks and Volumes


You can get all of the functionality available in Disk Utility with two commands accessible from the command-line interface. The first is hdiutil, which handles disk image management. The second is diskutil, which handles the rest of the Disk Utility functionality. You can read man pages to learn how to use the different features, or you can enter either command at the command line to read text describing the different options you can use.

You can use the command-line utilities df and du to determine free space and space utilization on a volume. The utility tar can create archives, but note that tar does not preserve resource forks.




Apple Training Series Mac OS X Support Essentials
Apple Training Series: Mac OS X Support Essentials v10.6: A Guide to Supporting and Troubleshooting Mac OS X v10.6 Snow Leopard
ISBN: 0321635345
EAN: 2147483647
Year: 2003
Pages: 233

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net