Re: Volume index bug in Panther?
Re: Volume index bug in Panther?
- Subject: Re: Volume index bug in Panther?
- From: Deivy Petrescu <email@hidden>
- Date: Fri, 7 Nov 2003 18:05:21 -0500
On Nov 7, 2003, at 5:02 PM, John W. Baxter wrote:
From this:
set ans to {}
tell application "Finder"
set x to (get the properties of every disk)
repeat with ix in x
set end of ans to {name of ix, index of ix}
end repeat
end tell
ans
I get this:
--> {{"Blake", 2}, {"Vashon", 3}, {"Network", missing value}}
When I then mount a handy disk image which was lying on the desktop, I
get
--> {{"Blake", 2}, {"Vashon", 3}, {"Network", missing value},
{"Calendar X
v10.2 (Preview 2A80)", 4}}
From which I get the impression that disk index 1 has probably existed
and
gone away as part of the startup or login process. (More likely
login.) On
my machine the volumes Blake and Vashon are partitions on the startup
spindle.
From this:
set ans to {}
tell application "Finder"
set x to (get the properties of every disk)
repeat with ix in x
set end of ans to {name of ix, index of ix}
end repeat
set k to get name of disk 1
end tell
ans & k
-->{{"SantosFC", 2}, {"Network", missing value}, "SantosFC"}
I infer that indeed it is a bug.
By the way, did I say Santos FC is my Football team?
It is currently in second place in the Brazilian championship, but hope
is the is the last thing to vanish.
I thought you all would be curious, just that... :)
Regards
Deivy Petrescu
http://www.dicas.com/
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.