[lkml]   [1998]   [Aug]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: 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;
    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


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:44    [W:0.020 / U:19.956 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site