commit - cfa81d56c6727c3adcaa160c202c914696097c58
commit + 1961ee822320bdc107e55f10b2db1bfe8f70d382
blob - afda0c520b1a2eb2b4bcbb46a2fd91fd44eb65ee
blob + 1fc5b049cae1c2886dba5dcd6b8499131a5b3379
--- src/lib9/_p9dir.c
+++ src/lib9/_p9dir.c
d->type = 'M';
d->muid = "";
- d->qid.path = ((uvlong)st->st_dev<<32) | st->st_ino;
+ d->qid.path = st->st_ino;
+ /*
+ * do not include st->st_dev in path, because
+ * automounters give the same file system different
+ * st_dev values for successive mounts, causing
+ * spurious write warnings in acme and sam.
+ d->qid.path |= (uvlong)st->st_dev<<32;
+ */
#ifdef _HAVESTGEN
d->qid.vers = st->st_gen;
#endif