* [2.4.18] vfat doesn't support files > 2GB under Linux, under Windoze it does @ 2002-06-06 22:49 F ker 2002-06-07 18:46 ` OGAWA Hirofumi 0 siblings, 1 reply; 9+ messages in thread From: F ker @ 2002-06-06 22:49 UTC (permalink / raw) To: linux-kernel Could someone direct me towards a patch? Many thanks. __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [2.4.18] vfat doesn't support files > 2GB under Linux, under Windoze it does 2002-06-06 22:49 [2.4.18] vfat doesn't support files > 2GB under Linux, under Windoze it does F ker @ 2002-06-07 18:46 ` OGAWA Hirofumi 2002-06-09 18:00 ` F ker 0 siblings, 1 reply; 9+ messages in thread From: OGAWA Hirofumi @ 2002-06-07 18:46 UTC (permalink / raw) To: F ker; +Cc: linux-kernel [-- Attachment #1: Type: text/plain, Size: 226 bytes --] F ker <f_ker@yahoo.co.uk> writes: > Could someone direct me towards a patch? Many thanks. This patch is for 2.5.19, but, the back porting to 2.5.18 should be not difficult. -- OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> [-- Attachment #2: fat-big_file-2.5.19.diff --] [-- Type: text/plain, Size: 2523 bytes --] diff -urN linux-2.5.19/fs/buffer.c fat-big_file-2.5.19/fs/buffer.c --- linux-2.5.19/fs/buffer.c Sat Jun 8 03:33:39 2002 +++ fat-big_file-2.5.19/fs/buffer.c Sat Jun 8 01:29:20 2002 @@ -1931,7 +1931,7 @@ */ int cont_prepare_write(struct page *page, unsigned offset, - unsigned to, get_block_t *get_block, unsigned long *bytes) + unsigned to, get_block_t *get_block, loff_t *bytes) { struct address_space *mapping = page->mapping; struct inode *inode = mapping->host; diff -urN linux-2.5.19/fs/fat/file.c fat-big_file-2.5.19/fs/fat/file.c --- linux-2.5.19/fs/fat/file.c Sat Jun 8 03:33:40 2002 +++ fat-big_file-2.5.19/fs/fat/file.c Sat Jun 8 01:56:24 2002 @@ -54,7 +54,7 @@ } if (!create) return 0; - if (iblock << sb->s_blocksize_bits != MSDOS_I(inode)->mmu_private) { + if (iblock != MSDOS_I(inode)->mmu_private >> sb->s_blocksize_bits) { BUG(); return -EIO; } diff -urN linux-2.5.19/fs/fat/inode.c fat-big_file-2.5.19/fs/fat/inode.c --- linux-2.5.19/fs/fat/inode.c Sat Jun 8 03:33:40 2002 +++ fat-big_file-2.5.19/fs/fat/inode.c Sat Jun 8 01:31:41 2002 @@ -775,6 +775,8 @@ sbi->fat_length = CF_LE_L(b->fat32_length); sbi->root_cluster = CF_LE_L(b->root_cluster); + sb->s_maxbytes = 0xffffffff; + /* MC - if info_sector is 0, don't multiply by 0 */ sbi->fsinfo_sector = CF_LE_W(b->info_sector); if (sbi->fsinfo_sector == 0) diff -urN linux-2.5.19/include/linux/buffer_head.h fat-big_file-2.5.19/include/linux/buffer_head.h --- linux-2.5.19/include/linux/buffer_head.h Sat Jun 8 03:33:58 2002 +++ fat-big_file-2.5.19/include/linux/buffer_head.h Sat Jun 8 01:31:01 2002 @@ -197,7 +197,7 @@ int block_read_full_page(struct page*, get_block_t*); int block_prepare_write(struct page*, unsigned, unsigned, get_block_t*); int cont_prepare_write(struct page*, unsigned, unsigned, get_block_t*, - unsigned long *); + loff_t *); int generic_cont_expand(struct inode *inode, loff_t size) ; int block_commit_write(struct page *page, unsigned from, unsigned to); int block_sync_page(struct page *); diff -urN linux-2.5.19/include/linux/msdos_fs_i.h fat-big_file-2.5.19/include/linux/msdos_fs_i.h --- linux-2.5.19/include/linux/msdos_fs_i.h Sat Jun 8 03:33:59 2002 +++ fat-big_file-2.5.19/include/linux/msdos_fs_i.h Sat Jun 8 01:43:41 2002 @@ -8,7 +8,7 @@ */ struct msdos_inode_info { - unsigned long mmu_private; + loff_t mmu_private; int i_start; /* first cluster or 0 */ int i_logstart; /* logical first cluster */ int i_attrs; /* unused attribute bits */ ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [2.4.18] vfat doesn't support files > 2GB under Linux, under Windoze it does 2002-06-07 18:46 ` OGAWA Hirofumi @ 2002-06-09 18:00 ` F ker 2002-06-09 19:59 ` OGAWA Hirofumi 0 siblings, 1 reply; 9+ messages in thread From: F ker @ 2002-06-09 18:00 UTC (permalink / raw) To: linux-kernel --- OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> wrote: > F ker <f_ker@yahoo.co.uk> writes: > > > Could someone direct me towards a patch? Many thanks. > > This patch is for 2.5.19, but, the back porting to 2.5.18 should > be not difficult. hmm... so 2.4 series won't be getting it then? I'm not a kernel hacker as such, so I can't do it myself. If I use a journalling fs, should I just move to the 2.5 series? __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [2.4.18] vfat doesn't support files > 2GB under Linux, under Windoze it does 2002-06-09 18:00 ` F ker @ 2002-06-09 19:59 ` OGAWA Hirofumi 2002-06-10 14:31 ` Tomas Szepe 2002-06-17 22:51 ` F ker 0 siblings, 2 replies; 9+ messages in thread From: OGAWA Hirofumi @ 2002-06-09 19:59 UTC (permalink / raw) To: F ker; +Cc: linux-kernel F ker <f_ker@yahoo.co.uk> writes: > > > Could someone direct me towards a patch? Many thanks. > > > > This patch is for 2.5.19, but, the back porting to 2.5.18 should ^^^^^^ Grr. I didn't notice typo. 2.4.18 > > be not difficult. > > hmm... so 2.4 series won't be getting it then? I'm not a kernel > hacker as such, so I can't do it myself. This patch break some filesystems (adfs, affs, hfs, hpfs, qnx4). And I haven't fixed them yet. So, I can't submit this patch. If it's OK, I'll make the patch for 2.4.18. -- OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [2.4.18] vfat doesn't support files > 2GB under Linux, under Windoze it does 2002-06-09 19:59 ` OGAWA Hirofumi @ 2002-06-10 14:31 ` Tomas Szepe 2002-06-17 22:51 ` F ker 1 sibling, 0 replies; 9+ messages in thread From: Tomas Szepe @ 2002-06-10 14:31 UTC (permalink / raw) To: OGAWA Hirofumi; +Cc: linux-kernel > > hmm... so 2.4 series won't be getting it then? I'm not a kernel > > hacker as such, so I can't do it myself. > > This patch break some filesystems (adfs, affs, hfs, hpfs, qnx4). > And I haven't fixed them yet. So, I can't submit this patch. > > If it's OK, I'll make the patch for 2.4.18. That would be appreciated I believe. T. ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [2.4.18] vfat doesn't support files > 2GB under Linux, under Windoze it does 2002-06-09 19:59 ` OGAWA Hirofumi 2002-06-10 14:31 ` Tomas Szepe @ 2002-06-17 22:51 ` F ker 2002-06-18 23:36 ` OGAWA Hirofumi 1 sibling, 1 reply; 9+ messages in thread From: F ker @ 2002-06-17 22:51 UTC (permalink / raw) To: OGAWA Hirofumi; +Cc: linux-kernel > > This patch break some filesystems (adfs, affs, hfs, hpfs, qnx4). > And I haven't fixed them yet. So, I can't submit this patch. > > If it's OK, I'll make the patch for 2.4.18. Any update on the patch yet? __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [2.4.18] vfat doesn't support files > 2GB under Linux, under Windoze it does 2002-06-17 22:51 ` F ker @ 2002-06-18 23:36 ` OGAWA Hirofumi 2002-06-19 7:20 ` Tomas Szepe 0 siblings, 1 reply; 9+ messages in thread From: OGAWA Hirofumi @ 2002-06-18 23:36 UTC (permalink / raw) To: F ker; +Cc: linux-kernel [-- Attachment #1: Type: text/plain, Size: 387 bytes --] F ker <f_ker@yahoo.co.uk> writes: > > > > This patch break some filesystems (adfs, affs, hfs, hpfs, qnx4). > > And I haven't fixed them yet. So, I can't submit this patch. > > > > If it's OK, I'll make the patch for 2.4.18. > > > Any update on the patch yet? Whether it's needed, there is patch of fat for 2.4.18 and 2.5.19, here. -- OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> [-- Attachment #2: fat_big-file-2.4.18.diff.gz --] [-- Type: application/octet-stream, Size: 1274 bytes --] [-- Attachment #3: fat_big-file-2.5.19.diff.gz --] [-- Type: application/octet-stream, Size: 1054 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [2.4.18] vfat doesn't support files > 2GB under Linux, under Windoze it does 2002-06-18 23:36 ` OGAWA Hirofumi @ 2002-06-19 7:20 ` Tomas Szepe 2002-06-19 15:11 ` OGAWA Hirofumi 0 siblings, 1 reply; 9+ messages in thread From: Tomas Szepe @ 2002-06-19 7:20 UTC (permalink / raw) To: OGAWA Hirofumi; +Cc: linux-kernel > > > This patch break some filesystems (adfs, affs, hfs, hpfs, qnx4). > > > And I haven't fixed them yet. So, I can't submit this patch. > > > > > > If it's OK, I'll make the patch for 2.4.18. > > > > > > Any update on the patch yet? > > Whether it's needed, there is patch of fat for 2.4.18 and 2.5.19, here. Any chance you're sending this to Marcelo for possible inclusion in 2.4.20? T. ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [2.4.18] vfat doesn't support files > 2GB under Linux, under Windoze it does 2002-06-19 7:20 ` Tomas Szepe @ 2002-06-19 15:11 ` OGAWA Hirofumi 0 siblings, 0 replies; 9+ messages in thread From: OGAWA Hirofumi @ 2002-06-19 15:11 UTC (permalink / raw) To: Tomas Szepe; +Cc: linux-kernel Tomas Szepe <szepe@pinerecords.com> writes: > > > > This patch break some filesystems (adfs, affs, hfs, hpfs, qnx4). > > > > And I haven't fixed them yet. So, I can't submit this patch. > > > > > > > > If it's OK, I'll make the patch for 2.4.18. > > > > > > > > > Any update on the patch yet? > > > > Whether it's needed, there is patch of fat for 2.4.18 and 2.5.19, here. > > Any chance you're sending this to Marcelo for possible inclusion in 2.4.20? Before, I want to some test on 2.5.x at least. After it, I'll try to submit a patch... -- OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2002-06-19 15:12 UTC | newest] Thread overview: 9+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2002-06-06 22:49 [2.4.18] vfat doesn't support files > 2GB under Linux, under Windoze it does F ker 2002-06-07 18:46 ` OGAWA Hirofumi 2002-06-09 18:00 ` F ker 2002-06-09 19:59 ` OGAWA Hirofumi 2002-06-10 14:31 ` Tomas Szepe 2002-06-17 22:51 ` F ker 2002-06-18 23:36 ` OGAWA Hirofumi 2002-06-19 7:20 ` Tomas Szepe 2002-06-19 15:11 ` OGAWA Hirofumi
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox