Return-Path: Received: from mx2.suse.de ([195.135.220.15]:54206 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728711AbeHVSt4 (ORCPT ); Wed, 22 Aug 2018 14:49:56 -0400 Date: Wed, 22 Aug 2018 17:24:35 +0200 From: Jan Kara To: jean-luc malet Cc: Jan Kara , linux-fsdevel@vger.kernel.org, pali.rohar@gmail.com Subject: Re: [PATCH 0/2] udf: A cleanup and a mount fix Message-ID: <20180822152435.GD23037@quack2.suse.cz> References: <20180821135429.676-1-jack@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Hi, On Wed 22-08-18 15:25:51, jean-luc malet wrote: > I didn't had time to test the patch yet but there is an issue in udf detection > of mount (using udf formated partition with mkfs.udf under linux) > when I do� > # mount /dev/sdx1 /some/mount/point� > it gives an error, syslog show and error saying exfat marker wasn't found (the > partion id is set to one of the windows compatible one, either exfat/ntfs or > one of the fat32 or 0x7 as described into�https://serverfault.com/questions/ > 35243/what-is-the-partition-id-filesystem-type-for-udf : Short answer: I would > suggest to use MBR id 0x07 for UDF partitions. so that it's detected by windows > and have a drive letter assigned) > but > #mount /dev/sdx1 /some/mount/point -t udf� > works fine > don't know where it is relevant to file the bug...� This is a different issue. Older versions of mkfs.udf did not wipe all locations on disk where other filesystems (previous filesystems on the media) could have their identifications. So mount finds exfat signature, tries to mount the device as FAT which fails (as UDF has already overwritten lots of its metadata). Right, Pali? Honza > > thanks and regards > > On Tue, Aug 21, 2018 at 3:54 PM Jan Kara wrote: > > > Hi, > > this series removes some dead code from UDF and fixes mounting of > Win7-created media. I plan to merge these fixes through my tree. Review > is welcome. > > � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � Honza > -- Jan Kara SUSE Labs, CR