Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1480478imm; Mon, 3 Sep 2018 01:20:38 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdb7Rf4mLXPKkaw/cBVWJSwDYJwMNaolxrRODk88F235g4UOGqBBVMfwVZfjwVBBLxSe+Ji1 X-Received: by 2002:a63:7a0f:: with SMTP id v15-v6mr4796837pgc.127.1535962838894; Mon, 03 Sep 2018 01:20:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535962838; cv=none; d=google.com; s=arc-20160816; b=F8XxRZMOHM6jhs9b3noJY3P61TDVWDPXPFbnTzfCp9W4WR2m04NX///4+W2u2PlKYZ Y0yucVmpQIdD5EVdRSQxSCV2qO0+AtvbdHjF3zFDURF4p6Ke8KERhwcukVPbjZVbtvFB bGbVCShKW98PLOWGm2XU+BcY6w7ScZb7jFjUYbpf7DF8CA4uyeh2tu/MkJ5hCJuDRYow NTabZP4nKGMTj1qVmfGeO98rcUOGNQ/n33oM7JKCntcZmvCZhdvNXk4ESJFCjXolBFU+ OLLA7rZSgwYMqbBhWvJLZBgnx82wGGgTSoJUztUOyhRL4sDJyQ9P2qnQJHMfHj4EHxu6 weOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:message-id:in-reply-to:date:references:subject:cc:to :from:arc-authentication-results; bh=DC7IV8lMDAtYZtWC5twqBePZHWbZNBiveUrv6PC8vD0=; b=VPuz7mNana+FYgzOADL95mPBCVa/8EUW2ysmqxCtx1Pk1N9u+TublOMVyWGXnK9xJV TUVRdgbJi9JmzBtCs9QGXRDbuubWboZ08CTE8d6jKOag+AviJfJGNg0ip3v4Yk/q5XDT XUH8x06VdyFUifaHI2Yy4LQmFnFfotleIzjj/I1b/Io2Hi7Mb5Ghc7GKsktr8k63fre8 0N6LNwMkxNqcHr7f4N6lXXly5ZyR1KyQ8vbQwFPdvw3IqA22tkDhVlX+KYffw8iktkAI GKmN5+hjfHd6lwXHNGi06w7sMyABEHFWIxi0+Rd+b/wjgzVgNzConY3NAjJUbO5/VTYy edeQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f6-v6si15515474pgq.0.2018.09.03.01.20.22; Mon, 03 Sep 2018 01:20:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726212AbeICMiT (ORCPT + 99 others); Mon, 3 Sep 2018 08:38:19 -0400 Received: from mail.parknet.co.jp ([210.171.160.6]:54854 "EHLO mail.parknet.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725927AbeICMiT (ORCPT ); Mon, 3 Sep 2018 08:38:19 -0400 Received: from ibmpc.myhome.or.jp (server.parknet.ne.jp [210.171.168.39]) by mail.parknet.co.jp (Postfix) with ESMTPSA id 86B5315AF4B; Mon, 3 Sep 2018 17:19:16 +0900 (JST) Received: from devron.myhome.or.jp (foobar@devron.myhome.or.jp [192.168.0.3]) by ibmpc.myhome.or.jp (8.15.2/8.15.2/Debian-11) with ESMTPS id w838JFuS019118 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 3 Sep 2018 17:19:16 +0900 Received: from devron.myhome.or.jp (foobar@localhost [127.0.0.1]) by devron.myhome.or.jp (8.15.2/8.15.2/Debian-11) with ESMTPS id w838JFDx002073 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 3 Sep 2018 17:19:15 +0900 Received: (from hirofumi@localhost) by devron.myhome.or.jp (8.15.2/8.15.2/Submit) id w838JFNn002072; Mon, 3 Sep 2018 17:19:15 +0900 From: OGAWA Hirofumi To: Pali =?iso-8859-1?Q?Roh=E1r?= Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH] fat: Relax checks for sector size and media type References: <20180902131932.11558-1-pali.rohar@gmail.com> <87bm9ft5h5.fsf@mail.parknet.co.jp> <20180903074005.7e3guj24ksq2l44c@pali> <874lf7t3gg.fsf@mail.parknet.co.jp> <20180903080422.ta3clnhr5bobv6il@pali> Date: Mon, 03 Sep 2018 17:19:15 +0900 In-Reply-To: <20180903080422.ta3clnhr5bobv6il@pali> ("Pali =?iso-8859-1?Q?Roh=E1r=22's?= message of "Mon, 3 Sep 2018 10:04:22 +0200") Message-ID: <87zhwzro1o.fsf@mail.parknet.co.jp> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Pali Roh?r writes: >> That source seems to check power_of_2(size) and 128 <= size <= >> 4096. Rather why do you want to support larger than 4096? Or I'm missing >> something? > > I looked into (Linux) mkfs.fat and it supports formatting disk also with > sector size > 4096. Therefore I thought it may be good idea for ability > to mount and use it (on Linux). > > I could check what other operating system would do with FAT sector size > larger then 4096. If there is real user to use that, I'm ok though (of course, need serious tests). However, FAT would be for exchange data with other devices, and there is "cluster per sector", and spec recommends sector size == device sector size. So I suspect this format is not useful. Thanks. -- OGAWA Hirofumi