AminetAminet
Search:
83288 packages online
About
Recent
Browse
Search
Upload
Setup
Services

comm/net/nfs3.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Mount NFS3 shares using bsdsocket.lib
Author:s.franke at bebbosoft.de
Uploader:s franke bebbosoft de
Type:comm/net
Version:1.0
Architecture:m68k-amigaos
Required:bsdsocket.library (e.g AmiTCP)
Date:2020-11-21
Download:http://aminet.net/comm/net/nfs3.lha - View contents
Readme:http://aminet.net/comm/net/nfs3.readme
Downloads:55
This is a standalone executable to mount NFS3 shares using the
bsdsocket.library.
It needs a running NFS V3 server with RPC and PORTMAPPER enabled to connect to.

================================================================================
  FREE PUBLIC LICENSE
================================================================================

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:

  1. Every product and solution using this software, must be free
     of any charge. If the software is used by a client part, the
     server part must also be free and vice versa.

  2. Each redistribution must retain the copyright notice, and
     this list of conditions and the following disclaimer.

  3. Redistributions in binary form must reproduce the above copyright
     notice, this list of conditions and the following disclaimer in
     the documentation and/or other materials provided with the
     distribution.

  4. All advertising materials mentioning features or use of this
     software must display the following acknowledgment:
       "This product includes software developed by BebboSoft,
        written by Stefan Bebbo Franke. (http://www.bebbosoft.de)"

  5. Redistributions of any form whatsoever must retain the following
     acknowledgment:
       "This product includes software developed by BebboSoft,
        written by Stefan Bebbo Franke. (http://www.bebbosoft.de)"

================================================================================
DISCLAIMER OF WARRANTY

Software is provided "AS IS," without a warranty of any kind.
You may use it on your own risk.

================================================================================
LIMITATION OF LIABILITY

I SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY YOU OR ANY THIRD PARTY
AS A RESULT OF USING OR DISTRIBUTING SOFTWARE. IN NO EVENT WILL I BE LIABLE
FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, INDIRECT, SPECIAL,
CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED AND REGARDLESS
OF THE THEORY OF LIABILITY, ARISING OUT OF THE USE OF OR INABILITY TO USE
SOFTWARE, EVEN IF I HAVE ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

================================================================================
COPYRIGHT

(c) 1994-2020 by BebboSoft, Stefan "Bebbo" Franke, all rights reserved

================================================================================
NAME

nfs3
	
================================================================================
HISTORY

nfs3 V1.0
* upgraded to use NFS3 - most modern Linuxes no longer suport NFS2
* converted into a standalone executable to run from Workbench or CLI.

nfs-handler v0.0.4
* fix time stamp offset: add missing 8 years, use locale time zone

nfs-handler v0.0.3
* fixed bogus returned volume name

nfs-handler v0.0.2
* added dummy for ACTION_SET_COMMENT
* fixed reconnect handling
* fixed ACTION_FINDOUTPUT to overwrite a file
* mountlist example now contains "l:nfs-handler"

nfs-handler v0.0.1
* initial version
	
================================================================================
SYNOPSIS

From CLI:      DRIVE=Amiga drive name/A,VOLUME=volume name/K,URI=server and path
to connect to/A/K,UID=user id/K/N,GID=group id/K/N,MT=max transfer/K/N
From Worbench: Tooltypes with the same name as above.

Minimal needed:

   nfs3  X URI=1.2.3.4/foo/x

This will mount the share /foo/x at IP 1.2.3.4 with drive X and Volume VX.

DRIVE    the drive name
VOLUME   an optional volume name, if no volume is given the drive name with
prepended V is used.
URI      ip address plus share path
UID      an optional user id, defaults to 1000
GID      an optional group id, defaults to 1000
MT       an optional max block size, defaults to 0x8000

You also get killfs which sends ACTION_DIE to the given drive/volume.

	killfs X:

nfs3 supports the ACTION_DIE packet, unmounts the share and terminats.

================================================================================
DESCRIPTION

This nfs3 program mounts a NFS3 share as a Amiga Drive.

The most important feature is:
	It filters the folder names "." and ".." from shares!
	
================================================================================
HINTS

On Centos 7 (and many other Linuxes) NFS V3 via UDP is enabled by adding

   RPCNFSDARGS="--udp -V 3"
   
to the config file /etc/sysconfig/nfs.

Then start
  systemctl start rpcbind
  systemctl start nfs-server

and configure the firewall to accept:
  services:  mountd nfs rpc-bind
  ports:     2049/udp

 


Contents of comm/net/nfs3.lha
PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
-rw-r--r--  1000/1000      783    1284  61.0% -lh5- db72 Nov 21 11:42 nfs3/killfs
-rwxr-xr-x  1000/1000     5484    8164  67.2% -lh5- 8add Nov 21 11:45 nfs3/nfs3
-rw-r--r--  1000/1000      429     875  49.0% -lh5- d0ac Nov 21 11:10 nfs3/nfs3.info
-rw-r--r--  1000/1000     2026    4868  41.6% -lh5- 7efe Nov 21 12:03 nfs3/nfs3.readme
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total         4 files    8722   15191  57.4%            Nov 22 02:14

Aminet © 1992-2020 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>