Remove the dependency on procfs.
Reviewed by: kib MFC after: 1 week X-MFC with: r257430
This commit is contained in:
parent
915f2b7c89
commit
deb7ab1d6b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=257502
@ -19,7 +19,7 @@
|
|||||||
.\"
|
.\"
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.\"
|
.\"
|
||||||
.Dd January 23, 2012
|
.Dd October 31, 2013
|
||||||
.Dt LIMITS 1
|
.Dt LIMITS 1
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -87,9 +87,6 @@ Like the previous usage, it outputs these values to standard
|
|||||||
output, except that it will emit them in
|
output, except that it will emit them in
|
||||||
.Ic eval
|
.Ic eval
|
||||||
format, suitable for the calling shell.
|
format, suitable for the calling shell.
|
||||||
The calling shell is determined by examining the entries in the
|
|
||||||
.Pa /proc
|
|
||||||
file system for the parent process.
|
|
||||||
If the shell is known (i.e., it is one of
|
If the shell is known (i.e., it is one of
|
||||||
.Nm sh , csh , bash , tcsh , ksh , pdksh
|
.Nm sh , csh , bash , tcsh , ksh , pdksh
|
||||||
or
|
or
|
||||||
@ -386,21 +383,6 @@ utility does not handle commands with equal
|
|||||||
signs in their
|
signs in their
|
||||||
names, for obvious reasons.
|
names, for obvious reasons.
|
||||||
.Pp
|
.Pp
|
||||||
When eval output is selected, the
|
|
||||||
.Pa /proc
|
|
||||||
file system must be installed
|
|
||||||
and mounted for the shell to be correctly determined, and therefore
|
|
||||||
output syntax correct for the running shell.
|
|
||||||
The default output is valid for
|
|
||||||
.Xr sh 1 ,
|
|
||||||
so this means that any
|
|
||||||
usage of
|
|
||||||
.Nm
|
|
||||||
in eval mode prior mounting
|
|
||||||
.Pa /proc
|
|
||||||
may only occur in standard bourne
|
|
||||||
shell scripts.
|
|
||||||
.Pp
|
|
||||||
The
|
The
|
||||||
.Nm
|
.Nm
|
||||||
utility makes no effort to ensure that resource settings emitted or displayed
|
utility makes no effort to ensure that resource settings emitted or displayed
|
||||||
|
Loading…
Reference in New Issue
Block a user