Talk About Network

Google




Programming > Applescript > Re: mount volum...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 1504 of 1697
Post > Topic >>

Re: mount volume NFS options

by xylo <public.jmm@[EMAIL PROTECTED] > Sep 10, 2007 at 06:33 AM

In <2007090508592943658-wbyylebtre@[EMAIL PROTECTED]
> Jolly Roger  wrote:
> On 2007-09-05 00:41:01 -0500, Jerry Kindall <jerrykindall@[EMAIL PROTECTED]
> invalid> said:
>
>> In article <2007090500245650073-jollyroger@[EMAIL PROTECTED]
>, Jolly 
>> Roger <jollyroger@[EMAIL PROTECTED]
> wrote: 
>>> On 2007-09-04 22:57:12 -0500, Jerry Kindall <jerrykindall@[EMAIL PROTECTED]
>>> invalid> said: 
>>>> In article <2007090410023750073-wbyylebtre@[EMAIL PROTECTED]
>, Jolly Roger
>>>> <wbyylebtre@[EMAIL PROTECTED]
> wrote:
>>>> 
>>>>> On 2007-09-04 01:28:58 -0500, xylo <public.jmm@[EMAIL PROTECTED]
> said:
>>>>> 
>>>>>> In <2007090322501416807-wbyylebtre@[EMAIL PROTECTED]
> Jolly Roger  wrote:
>>>>>>> On 2007-09-03 06:41:40 -0500, xylo <public.jmm@[EMAIL PROTECTED]
> said:
>>>>>>> 
>>>>>>>> Is it possible to add -P option when I use 'mount volume' of 
>>>>>>>> type NFS?
>>>>>>> 
>>>>>>> What -P option?
>>>>>>> 
>>>>>> see man...
>>>>> 
>>>>> I did a "man mount" and don't see a -P option:
>>>>> 
>>>>> MOUNT(8)                  BSD System Manager's Manual
>>>>> MOUNT(8)
>>>>> 
>>>>> NAME
>>>>> mount -- mount file systems
>>>>> 
>>>>> SYNOPSIS
>>>>> mount [-adfruvw] [-t ufs | lfs | external_type]
>>>>> mount [-dfruvw] special | node
>>>>> mount [-dfruvw] [-o options] [-t ufs | lfs | external_type] 
>>>>> special node  Etc...  So, again, what -P option?
>>>> 
>>>> The one in mount_nfs:
>>>> 
>>>> -P      Use a reserved socket ****t number.  This is useful for
>>>> mounting servers that require clients to use a reserved
>>>> ****t number on the mistaken belief that this makes NFS
>>>> more secure. [...]
>>> 
>>> Finally!...
>>> 
>>> Okay, so to answer your question, if you are using AppleScript's "do
>>> shell script" command to execute the mount_nfs command-line tool, 
>>> you can use whatever command-line switches you want (including -P).
>>> 
>>> But I suspect you are using the AppleScript command "mount volume",
>>> which is not the same thing. If you want to see what options the
>>> AppleScript "mount volume" command sup****ts, open
>>> /Applications/AppleScript/Script Editor, then choose File > Open
>>> Dictionary > Standard Additions. You can look up "mount volume" in 
>>> this dictionary to see the syntax of the AppleScript "mount volume" 
>>> command:  mount volume?v : Mount the specified AppleShare volume
>>> mount volume string : the name or URL path (starting with Œafp://¹) 
>>> of the volume to mount on server string : the server on which the 
>>> volume resides; omit if URL path provided [in AppleTalk zone string] :

>>> the AppleTalk zone in which the server resides; omit if URL path 
>>> provided [as user name string] : the user name with which to log in 
>>> to the server; omit for guest access [with password string] : the 
>>> password for the user name; omit for guest access
>> 
>> Come to think of it, you might be able to specify the ****t number as
>> part of an NFS URL, using the expected syntax, in the mount volume
>> command.  I don't have an NFS volume to test it with, though.  It 
>> would probably be something like: 
>>    nfs://server.example.com:****tnum/volumename
>> 
>> In fact, yeah: http://gim.org.pl/rfcs/rfc2224.html
> 
> Good point, yes.  I'm sure that's possible, if that's all -P does.
> 
Many thanks, I try this.

JM Marino
http://jm.marino.free.fr
 




 1 Posts in Topic:
Re: mount volume NFS options
xylo <public.jmm@[EMAI  2007-09-10 06:33:55 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Tue Jan 6 10:50:26 PST 2009.