Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
NETFILES(1)		    General Commands Manual		   NETFILES(1)

NAME
       Netfiles, netfileget, netfileput, netfilestat - network file access in-
       side acme

SYNOPSIS
       Netfiles

       netfileget [ -d ] system	path

       netfileput system path

       netfilestat system path

DESCRIPTION
       Netfiles	presents remote	file systems in	windows.  Each window is named
       /n/system/path and displays the contents	of path	on system.

       Netfiles	 reads	names  of  windows to create from the plumbing channel
       netfileedit (see	and the	example	section	below).	  In  a	 netfiles-con-
       trolled	window,	 Get,  Put,  and button	3 loads	work as	in normal acme
       windows.	 External commands executed with button	2 run in the directory
       in which	acme was started.

       Netfiles	 uses the helper programs netfileget, netfileput, and netfile-
       stat to access the remote file systems.	The three first	check  to  see
       if  system  is a	service	in the current name space (see If so, they use
       to access it.  Otherwise, they assume that the system is	a network name
       and use sftp to access it.

       Netfileget  prints  the	contents of the	named path to standard output.
       If the -d option	is given, then netfileget prints a single-column list-
       ing  of	path,  which  must be a	directory.  Directories	in the listing
       have appended to	their names.

       Netfileput writes its standard input to the named path.

       Netfilestat prints the file type	of path, one  of  nonexistent,	direc-
       tory, or	file.

EXAMPLES
       The following plumbing rule (see	passes /n/ paths to Netfiles, starting
       it if necessary.

	      #	/n/ paths go to	simulator in acme
	      kind is text
	      data matches '[a-zA-Z0-9_\-./]+('$addr')?'
	      data matches '(/n/[a-zA-Z0-9_\-./]+)('$addr')?'
	      plumb to netfileedit
	      plumb client Netfiles

SOURCE
       /src/cmd/netfiles

SEE ALSO
BUGS
       Netfiles	depends	on which only works with OpenSSH versions 4.3 and ear-
       lier; later versions do not print the sftp> prompt frequently enough.

								   NETFILES(1)

NAME | SYNOPSIS | DESCRIPTION | EXAMPLES | SOURCE | SEE ALSO | BUGS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=netfiles&sektion=1&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help