From: Pali =?utf-8?B?Um9ow6Fy?= Subject: Re: udf: Prevent write-unsupported filesystem to be remounted read-write Date: Mon, 14 Jan 2019 16:12:42 +0100 Message-ID: <20190114151242.vrspcgld3n645qez@pali> References: <124cc6ea-ca79-20f2-651e-c2f909729ac0@gmx.de> <8cf39b7c-505b-91e6-849d-e66ba980042f@postn.eu> <20190114103011.GD13316@quack2.suse.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: Jan Kara , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org To: Kevin Weidemann Return-path: Content-Disposition: inline In-Reply-To: <20190114103011.GD13316@quack2.suse.cz> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Monday 14 January 2019 11:30:11 Jan Kara wrote: > On Mon 14-01-19 01:33:30, Kevin Weidemann wrote: > > I have an issue with UDF. I used to be able to create a UDF fs in a way > > that is very similar to this: > >=20 > > `# mkudffs --label=3D.... -m dvd -b 512 /dev/mapper/cryptdev1` Hi Kevin! You should use -m dvd only in case your crtypdev1 device is DVD. -m dvd prepares UDF filesystem layout and alignments for DVD media. So you should not use -m dvd for hard disks. Also DVDs have block size of 2048 bytes and UDF mandates that medium block size matches UDF block size. Linux versions >=3D 4.11 do not have problems with it, but other operating systems enforce that rule. So you should not use -b 512 for DVD medias. --=20 Pali Roh=C3=A1r pali.rohar@gmail.com