Unfortunately I still get the "What the hell!?" value on the screen...
I'm not entirely sure what your needs are, but you can get volume information with http://www.nntp.perl.org/group/perl.macperl/2922
Mac::Volumes. I'm not sure if you get the startup volume, though.
Oop, looks like you can:
----
Volumes()is a good way to practice with filespecs and paths. In a scalar
context, this function returns the filespec of the startup volume. In a list context, it returns the filespecs of all available volumes, in the order that they were mounted (the startup volume is always first). The script below uses Volumes()to display these filespecs, sorted by volume
$svol = MacPerl::Volumes();
print "The path name of the startup volume is:\n";
printf("%s\n", MacPerl::MakePath($svol));
----
http://macperl.com/ptf_book/r/MP/315.MP_Pkg.html
-- Morbus Iff ( putting the sanity back in sanity ) Technical: http://www.oreillynet.com/pub/au/779 Culture: http://www.disobey.com/ and http://www.gamegrene.com/ icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus