MFC mount_nfs.c rev. 1.72, mount_nfs.8 rev. 1.47:
Add "fg" option as antonym to "bg"; add "hard" option as antonym to "soft". This is for better compatibility with other environments (Linux, Solaris, HP-UX, AIX and Tru64 support these options). PR: bin/109924
This commit is contained in:
parent
c1e083e9f0
commit
78c21575e4
@ -244,6 +244,9 @@ compatibility with historic versions of
|
||||
.It Cm bg
|
||||
Same as
|
||||
.Fl b .
|
||||
.It Cm fg
|
||||
Same as not specifying
|
||||
.Fl b .
|
||||
.It Cm conn
|
||||
Same as not specifying
|
||||
.Fl c .
|
||||
@ -274,6 +277,9 @@ Same as
|
||||
.It Cm soft
|
||||
Same as
|
||||
.Fl s .
|
||||
.It Cm hard
|
||||
Same as not specifying
|
||||
.Fl s .
|
||||
.It Cm tcp
|
||||
Same as
|
||||
.Fl T .
|
||||
|
@ -103,6 +103,7 @@ struct mntopt mopts[] = {
|
||||
MOPT_UPDATE,
|
||||
MOPT_ASYNC,
|
||||
{ "bg", 0, ALTF_BG, 1 },
|
||||
{ "fg", 1, ALTF_BG, 1 },
|
||||
{ "conn", 1, ALTF_NOCONN, 1 },
|
||||
{ "dumbtimer", 0, ALTF_DUMBTIMR, 1 },
|
||||
{ "intr", 0, ALTF_INTR, 1 },
|
||||
@ -111,6 +112,7 @@ struct mntopt mopts[] = {
|
||||
{ "mntudp", 0, ALTF_MNTUDP, 1 },
|
||||
{ "resvport", 0, ALTF_RESVPORT, 1 },
|
||||
{ "soft", 0, ALTF_SOFT, 1 },
|
||||
{ "hard", 1, ALTF_SOFT, 1 },
|
||||
{ "tcp", 0, ALTF_TCP, 1 },
|
||||
{ "port=", 0, ALTF_PORT, 1 },
|
||||
{ "nfsv2", 0, ALTF_NFSV2, 1 },
|
||||
|
Loading…
x
Reference in New Issue
Block a user