nfssetlock.8nfs

来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 8NFS 代码 · 共 57 行

8NFS
57
字号
.\" SCCSID: @(#)nfssetlock.8nfs	8.1	9/11/90.TH nfssetlock 8nfs.SH Namenfssetlock \- turn on or off the NFS locking service.SH Syntax\fB/etc/nfssetlock\fR \fIoption\fR.SH Description.NXR "nfssetlock command".NXR "NFS locking service" "turning on the".NXR "NFS locking service" "turning off the"The.PN nfssetlockcommand turns the NFS locking service on or off at the kernel level.By default,the NFS locking service is turned off..PPIf the NFS locking service is turned off,local locking is active.Local locking only coordinates the dispersal of advisory locks tolocal files and file regions.The NFS locking service coordinates the dispersal ofadvisory locks to both localand remote files and file regions through the.PN fcntland.PN lockfprimitives..PPOnly the superuser or root can run.PN nfssetlock .The best way to run.PN nfssetlockis through the.PN nfssetupcommand,which provides an interactive means for enabling and disablingthe NFS locking service..SH RestrictionsIf you run.PN nfssetlockmanually,you must issue it while the system is in single-user mode.Otherwise,the locking information could become lost during the transitionbetween local and NFS locking..SH Options.IP \fBon\fR 7Turn on the NFS locking service..IP \fBoff\fRTurn off the NFS locking service..SH Files.PN /etc/rc.local.SH See Alsofcntl(2), lockf(3), nfssetup(8nfs).br.I "Guide to the Network File System"

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?