Operating System - HP-UX
1836648 Members
1910 Online
110102 Solutions
New Discussion

pfs_exportfs -u doesn't run as described in man pages

 
SOLVED
Go to solution
Jdamian
Respected Contributor

pfs_exportfs -u doesn't run as described in man pages

Hi

I'm using PFS to share CD-ROMs and found that pfs_exportfs -au doesn't unexport
the exported pathnames.
Man pages says:

Options
-a All. Export all pathnames listed in /etc/pfs_exports, or if -u
is specified, unexport all of the currently exported pathnames.

But if you run pfs_exportfs to check the exported path names... they are still
exported.
Then you must run pfs_exportfs -u for every exported pathname. In this case the
following message is displayed:

/cdrom not in /etc/pfs_xtab

HP-UX 11.00 is used and PHCO_16438 is installed.

Any idea ?

4 REPLIES 4
Eugen Cocalea
Respected Contributor
Solution

Re: pfs_exportfs -u doesn't run as described in man pages

Hi,

seems like pfs_exportfs -au doesn't work but

pfs_exportfs -a -u does (with the ' is not in /etc/pfs_xtab' warning).

E.
To Live Is To Learn
Eugen Cocalea
Respected Contributor

Re: pfs_exportfs -u doesn't run as described in man pages

Hi,

additional:

please notice in the man page that the command line is like:

pfs_exportfs [-a -u -v]

not

pfs_exportfs [-auv]

E.
To Live Is To Learn
Eugen Cocalea
Respected Contributor

Re: pfs_exportfs -u doesn't run as described in man pages

...and me again

the warning is there disregarding if the pfs_xtab file is updated by pfs_exportfs or not, but the command performs ok anyway.

E.
To Live Is To Learn
Jdamian
Respected Contributor

Re: pfs_exportfs -u doesn't run as described in man pages

Thanx a lot.

I find silly the fact of separating the options instead of grouping in single string as the most of UNIX commands.