diff options
| author | Rick Macklem <rmacklem@FreeBSD.org> | 2015-05-16 12:05:26 +0000 |
|---|---|---|
| committer | Rick Macklem <rmacklem@FreeBSD.org> | 2015-05-16 12:05:26 +0000 |
| commit | 9896584a4bed558f90291eb70f76ee9c3b53c08e (patch) | |
| tree | eef94a1047057cf97f2cfb5423d819f327b376fe /usr.sbin/mountd | |
| parent | c379e930e7410d1558703db3f770bb354cac84b9 (diff) | |
Notes
Diffstat (limited to 'usr.sbin/mountd')
| -rw-r--r-- | usr.sbin/mountd/mountd.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/mountd/mountd.c b/usr.sbin/mountd/mountd.c index 3508f5047cd08..d916577b6558b 100644 --- a/usr.sbin/mountd/mountd.c +++ b/usr.sbin/mountd/mountd.c @@ -1410,6 +1410,9 @@ get_exportlist_one(void) } if (check_dirpath(cp) && statfs(cp, &fsb) >= 0) { + if ((fsb.f_flags & MNT_AUTOMOUNTED) != 0) + syslog(LOG_ERR, "Warning: exporting of " + "automounted fs %s not supported", cp); if (got_nondir) { syslog(LOG_ERR, "dirs must be first"); getexp_err(ep, tgrp); |
