We need to set the link count on the root node:
2001-05-01 Neal H Walfield <[EMAIL PROTECTED]>
* tmpfs.c (main): Set diskfs_root_node->dn_stat.st_nlink to 2.
Index: tmpfs.c
===================================================================
RCS file: /home/neal/shared/CVS/hurd/tmpfs/tmpfs.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 tmpfs.c
--- tmpfs.c 2001/04/19 12:42:41 1.1.1.1
+++ tmpfs.c 2001/04/23 14:06:57
@@ -292,6 +292,7 @@
}
diskfs_root_node->dn_stat.st_mode &= ~S_ITRANS;
diskfs_root_node->dn_stat.st_mode |= S_IROOT;
+ diskfs_root_node->dn_stat.st_nlink = 2;
mutex_unlock (&diskfs_root_node->lock);
PGP signature