LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-14-2007, 12:39 AM   #1
tibbitts
Member
 
Registered: May 2004
Posts: 33

Rep: Reputation: 15
showmount -e : everyone vs. asterisk


What causes showmount -e to display the following?

/tmp *

as opposed to

/tmp (everyone)

for an exports file:

/tmp *(various options..)

This is apparently being printed from here (according to grouplist being null or not):

while (exportlist) {
printf("%-*s ", maxlen, exportlist->ex_dir);
grouplist = exportlist->ex_groups;
if (grouplist)
while (grouplist) {
printf("%s%s", grouplist->gr_name,
grouplist->gr_next ? "," : "");
grouplist = grouplist->gr_next;
}
else
printf("(everyone)");
printf("\n");
exportlist = exportlist->ex_next;
}
 
Old 06-12-2008, 02:34 PM   #2
anotherminorpawn
LQ Newbie
 
Registered: Jun 2008
Location: Washington DC
Distribution: Redhat mostly
Posts: 1

Rep: Reputation: Disabled
Also looking for a definitive answer, though it seems that "*" is displayed for a single export rule and "(everone)" is displayed for exports with multiple rules that include a general catchall.

That almost seems opposite the code snippet above.
 
  


Reply

Tags
asterisk


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
showmount -a shows directories that aren't there anymore toloughlin Linux - Server 0 07-26-2007 03:51 PM
asterisk configuration to make a call PC - PC through asterisk priya001 Linux - Server 0 11-08-2006 06:06 AM
LXer: VoIPowering Your Office with Asterisk: Shiny New Asterisk 1.4 LXer Syndicated Linux News 0 11-03-2006 06:54 AM
no showmount vvuiverine Linux - Networking 1 03-28-2004 09:09 AM
showmount fails but rpcinfo works? rindress Linux - Networking 0 06-20-2003 01:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration