Re: Volume status (Modified by Adam K. Wuellner)
Re: Volume status (Modified by Adam K. Wuellner)
- Subject: Re: Volume status (Modified by Adam K. Wuellner)
- From: "Adam K. Wuellner" <email@hidden>
- Date: Fri, 1 Oct 2004 14:19:35 -0500
- Resent-date: Fri, 1 Oct 2004 14:21:57 -0500
- Resent-from: "Adam K. Wuellner" <email@hidden>
- Resent-message-id: <email@hidden>
- Resent-to: Users AppleScript <email@hidden>
(redirecting to list; sorry bout that Mr Tea)
On Oct 1, 2004, at 2:06 PM, Mr Tea wrote:
Is there any merit at all in the method I posited in my second
contribution
to this thread, which involved testing the target volume (or folder)
by the
extremely low-tech but apparently reliable means of attempting to
write to
it?
Sure, it's straight-forward, and tests exactly whether the desired
actions is going to fail or not. I, for one, would have a hard time
arguing against such level-headed approach. My contributions, which I
have to say I will drop in favor of the diskutil command that Graff
showed us, were intended to show an alternative where one could cull
the reported information about a drive and parse it to determine
whether you could write there.
I've used both approaches in my scripts.
--
Adam
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden