* Dan Nelson <dnelson@allantgroup.com>
August 2, 2004: pawd to recognize "host" type mounts.
+
+* Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
+August 3, 2004: pawd to recognize "linkx" type mounts.
2004-08-03 Erez Zadok <ezk@cs.sunysb.edu>
+ * amq/pawd.c (find_mt): recognize "linkx" type mounts. Patch from
+ Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>. Support "nfsx" while
+ we're at it.
+
* doc/am-utils.texi: mention bugzilla. Fix broken URL HREF's.
2004-08-02 Erez Zadok <ezk@cs.sunysb.edu>
* fixed a race involving late replies to network queries which
arrive after the file system has already been mounted
* recognize pcfs_args_t fields in FreeBSD 5
- * recognize "host" type mounts in pawd
+ * recognize other mount types in pawd: host, linkx, and nfsx
*** Notes specific to am-utils version 6.1b4
* SUCH DAMAGE.
*
*
- * $Id: pawd.c,v 1.13 2004/08/03 18:23:13 ezk Exp $
+ * $Id: pawd.c,v 1.14 2004/08/03 21:28:41 ezk Exp $
*
*/
find_mt(amq_mount_tree *mt, char *dir)
{
while (mt) {
- if (STREQ(mt->mt_type, "host") ||
+ if (
+ STREQ(mt->mt_type, "host") ||
STREQ(mt->mt_type, "link") ||
+ STREQ(mt->mt_type, "linkx") ||
STREQ(mt->mt_type, "nfs") ||
- STREQ(mt->mt_type, "nfsl")) {
+ STREQ(mt->mt_type, "nfsl") ||
+ STREQ(mt->mt_type, "nfsx")
+ ) {
int len = strlen(mt->mt_mountpoint);
if (NSTREQ(mt->mt_mountpoint, dir, len) &&
((dir[len] == '\0') || (dir[len] == '/'))) {