linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [Bugme-new] [Bug 12112] New: Files with size more >2GB was truncated after copy by ncpfs
       [not found] <bug-12112-10286@http.bugzilla.kernel.org/>
@ 2008-11-27 17:54 ` Andrew Morton
  2008-11-29  5:59   ` Petr Vandrovec
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Morton @ 2008-11-27 17:54 UTC (permalink / raw)
  To: linux-fsdevel, Petr Vandrovec; +Cc: bugme-daemon, ginermail


(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@bugzilla.kernel.org 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@kernel-bugs.osdl.org
>         ReportedBy: ginermail@gmail.com
> 
> 
> 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.
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Bugme-new] [Bug 12112] New: Files with size more >2GB was truncated after copy by ncpfs
  2008-11-27 17:54 ` [Bugme-new] [Bug 12112] New: Files with size more >2GB was truncated after copy by ncpfs Andrew Morton
@ 2008-11-29  5:59   ` Petr Vandrovec
  0 siblings, 0 replies; 2+ messages in thread
From: Petr Vandrovec @ 2008-11-29  5:59 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-fsdevel, bugme-daemon, ginermail

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@bugzilla.kernel.org 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@kernel-bugs.osdl.org
>>         ReportedBy: ginermail@gmail.com
>>
>>
>> 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-11-29  6:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <bug-12112-10286@http.bugzilla.kernel.org/>
2008-11-27 17:54 ` [Bugme-new] [Bug 12112] New: Files with size more >2GB was truncated after copy by ncpfs Andrew Morton
2008-11-29  5:59   ` Petr Vandrovec

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).