lockfs man page on Inferno

Man page or keyword search:  
man Server   579 pages
apropos Keyword Search (all sections)
Output format
Inferno logo
[printable version]

LOCKFS(4)							     LOCKFS(4)

NAME
       lockfs - exclusive access file server

SYNOPSIS
       lockfs [ -A ] [ -a alg ]... [ -p addr ] dir [ mountpoint ]

DESCRIPTION
       Lockfs acts as a filesystem layer above an existing namespace, allowing
       multiple-reader, exclusive writer access to the files therein.  Opening
       a  file	served by lockfs obtains a lock on the file, or blocks until a
       lock can be obtained.  Lockfs serves a single-level directory that ini‐
       tially contains the files in dir.  If the -p option is provided, lockfs
       will listen for incoming connections on addr,  authenticating  them  as
       required.   Each -a argument provides an acceptable algorithm to run on
       the connection.	The list of all algs is passed to  server  (see	 secu‐
       rity-auth(2)).	If  no -a arguments are given, -a none is assumed.  If
       the -A option is given, then no authentication will be performed.

       If the -p option is not given, the lockfs file system will  be  mounted
       on mountpoint, or dir if mountpoint is not given.

EXAMPLE
       Run a lock server guarding access to /lib/datafiles:

	      lockfs -p 'tcp!*!32454' /lib/datafiles

       Mount  the  above  server (where locksrv was originally run on a server
       named machine.

	      mount -c tcp!machine!32454 /n/remote

SOURCE
       /appl/cmd/lockfs.b

BUGS
       There's no way to break a lock held by a malingering process.

       Should probably support multi-level directories.

								     LOCKFS(4)
[top]

List of man pages available for Inferno

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net