Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1305155

Re: [PATCH] add support for larger files in minix filesystem

From Al Viro <viro@ZenIV.linux.org.uk>
Newsgroups linux.kernel
Subject Re: [PATCH] add support for larger files in minix filesystem
Date 2016-01-09 04:40 +0100
Message-ID <qOSxH-84G-17@gated-at.bofh.it> (permalink)
References <qqeL8-I4-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sun, Nov 01, 2015 at 07:56:36PM -0800, Joshua Hudson wrote:
> From: Joshua Hudson <joshudson@gmail.com>
> 
> The Minix v3 filesystem and kernel driver have no actual dependency on files
> being less than 2GB in size; however the kernel does not allow creating a
> file of 2GB or larger on a Minix v3 filesystem. I was able to remove the pseudo-
> dependency easily by changing one line of code (filesystems need to tell VFS
> how big of files they allow).

Umm...  AFAICS, native Minix v3 fsck will throw a fit if it sees anything
between 2Gb and 4Gb and truncate the value.  Seeing that it's their
format _and_ silent changes like that (especially hidden by something like
"you need to binary-patch the field at this offset in superblock first")
are generally considered rude.

I'd suggest you to talk to Minix folks and convince them to raise that limit;
if it's merely a matter of unhappy fsck, it shouldn't be hard, but if their
minix/mfs/*.c code would get unhappy on files longer than 2Gb, it would be
harder and in that case we _really_ shouldn't run around creating such files
there.

Seriously, talk to Minix folks first.

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [PATCH] add support for larger files in minix filesystem Al Viro <viro@ZenIV.linux.org.uk> - 2016-01-09 04:40 +0100
  Re: [PATCH] add support for larger files in minix filesystem Joshua Hudson <joshudson@gmail.com> - 2016-01-09 19:50 +0100
    Re: [PATCH] add support for larger files in minix filesystem One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk> - 2016-01-09 22:40 +0100
      Re: [PATCH] add support for larger files in minix filesystem Al Viro <viro@ZenIV.linux.org.uk> - 2016-01-10 00:20 +0100
      Re: [PATCH] add support for larger files in minix filesystem Joshua Hudson <joshudson@gmail.com> - 2016-01-10 00:50 +0100

csiph-web