Messages in this thread | | | Date | Wed, 26 Aug 1998 14:57:08 -0700 | From | Bill Hawes <> | Subject | Re: Useless smbfs ! |
| |
Shaw Carruthers wrote:
> I had CONFIG_SMB_WIN95=y which does not fix the problem > > but > > smbmount \\\\gillian.leinster\\gillc XXXXXXXX -c "mount /GILLC -f 3666" > > does. > > So CONFIG_SMB_WIN95=y does not enable? > > Aug 26 21:18:03 shawc kernel: SMBFS: Using core getattr (Win 95 speedup)
Hi Shaw,
Using -f 3666 should enable both the w95 base workaround and the core getattr option. The selection code looks like this:#ifdef CONFIG_SMB_WIN95 mnt->version |= SMB_FIX_WIN95; #endif mnt->file_mode &= (S_IRWXU | S_IRWXG | S_IRWXO); mnt->file_mode |= S_IFREG; mnt->dir_mode &= (S_IRWXU | S_IRWXG | S_IRWXO); mnt->dir_mode |= S_IFDIR; sb->u.smbfs_sb.mnt = mnt; /* * Display the enabled options */ if (mnt->version & SMB_FIX_WIN95) printk("SMBFS: Win 95 bug fixes enabled\n"); if (mnt->version & SMB_FIX_OLDATTR) printk("SMBFS: Using core getattr (Win 95 speedup)\n");
so you should see _both_ messages.
The SMB_FIX_OLDATTR flag was supposed to be an optional speed-up at the expense of less information. Are you saying w95 works only if this is enabled?
Regards, Bill
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html
| |