Re: [Bugme-new] [Bug 12112] New: Files with size more >2GB was truncated after copy by ncpfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andrew Morton wrote:
(switched to email.  Please respond via emailed reply-to-all, not via the
bugzilla web interface).

On Thu, 27 Nov 2008 09:12:29 -0800 (PST) bugme-daemon@xxxxxxxxxxxxxxxxxxx wrote:

http://bugzilla.kernel.org/show_bug.cgi?id=12112

           Summary: Files with size more >2GB was truncated after copy by
                    ncpfs
           Product: File System
           Version: 2.5
     KernelVersion: 2.6.27
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: high
          Priority: P1
         Component: Other
        AssignedTo: fs_other@xxxxxxxxxxxxxxxxxxxx
        ReportedBy: ginermail@xxxxxxxxx


Latest working kernel version: none
Earliest failing kernel version: any
Distribution: Ubuntu/SuSE
Hardware Environment: any
Software Environment: any
Problem Description: I can't copy files more then 2Gb by ncpfs. They are
trancate.

Steps to reproduce: Copy files from Netware/SuSE server to Ubuntu/SuSE desktop
by ncpfs.

ncpfs does not support files bigger than 4GB. If you get truncated files, I guess that your app is at fault, it should get SIGXFSZ or an error when you go over 4GB boundary:

(from fs/ncpfs/inode.c)

        sb->s_flags |= MS_NODIRATIME;   /* probably even noatime */
        sb->s_maxbytes = 0xFFFFFFFFU;
        sb->s_blocksize = 1024; /* Eh...  Is this correct? */

								Petr

--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux