Friday, June 1, 2007

添加afp的share point

在xserve1上添加一个share point:

sudo sharing -a /Applications/Gate
sudo sharing -e Gate -g 100

name:           Gate
path:           /Applications/Gate
        afp:    {
                name:   Gate
                shared: 1
                guest access:   1
                inherit perms:  0
        }
        ftp:    {
                name:   Gate
                shared: 1
                guest access:   0
        }
        smb:    {
                name:   Gate
                shared: 1
                guest access:   0
                inherit perms:  0
                oplocks:        0
                strict locking: 0
                directory mask: 493
                create mask:    420
        }


重启xserve1后,在xserve2上mount:

 mount_afp afp://xserve1.local/Gate /Volumes/Gate/


0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home