My server is running Linux 2-2.11 (Intel) with netatalk + asun 2.1.3. We have four volumes (on four different disk drives) viewable from the MACs. My users are seeing some strange problems with files. They are running a 7.? or 8.? on their MACs. I have not figured out what is happening yet. Some complain that their update to a file are not on the server. Some complain that the graphics or tables in their MS Word 5 or 6 file gets corrupted on the server. (the file is fine on their desktop). Some complain that their file(s) is/are missing on the server. (sometimes it reappears if they "Put Away" or "Trash" the server volumes). Some complain of someone else's server files in their Trash, which they should not have write access to. The only things I can think of is that the FNUMs are the same for more than one file. Is it a problem if they are the same? I noticed in etc/afpd/file.c the line aint = htonl(( st->st_dev << 16 ) | (st->st_ino & 0x0000ffff)); and in etc/afpd/fork.c aint = ( st.st_dev << 16 ) | ( st.st_ino & 0x0000ffff ); which seems to me would limit the number of unique files to 65536. I noticed some of my files have INODEs up in the 519000 range. I created a standard ext2 disk volume which created space for 1048576 Inodes on a 4GB drive. SO, MY QUESTION IS Can I change the lines above to be aint = htonl(( st->st_dev << 24 ) | (st->st_ino & 0x00ffffff)); aint = ( st.st_dev << 24 ) | ( st.st_ino & 0x00ffffff ); Will that cause any problems? This probably will not take care of all the problems, but I don't know what else to do. Thanks for any help, Robert Bell.
