linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jan Kara <jack@suse.cz>
To: jean-luc malet <jeanluc.malet@gmail.com>
Cc: Jan Kara <jack@suse.cz>,
	linux-fsdevel@vger.kernel.org, pali.rohar@gmail.com
Subject: Re: [PATCH 0/2] udf: A cleanup and a mount fix
Date: Wed, 22 Aug 2018 17:24:35 +0200	[thread overview]
Message-ID: <20180822152435.GD23037@quack2.suse.cz> (raw)
In-Reply-To: <CAMjKNNOUHCReCUJCkHxh2k7N6LmcBg_TOHFrCAhE3BKLfNWkzQ@mail.gmail.com>

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 <jack@suse.cz> 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 <jack@suse.com>
SUSE Labs, CR

  parent reply	other threads:[~2018-08-22 18:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-21 13:54 [PATCH 0/2] udf: A cleanup and a mount fix Jan Kara
2018-08-21 13:54 ` [PATCH 1/2] udf: Remove dead code from udf_find_fileset() Jan Kara
2018-08-21 13:54 ` [PATCH 2/2] udf: Fix mounting of Win7 created UDF filesystems Jan Kara
     [not found] ` <CAMjKNNOUHCReCUJCkHxh2k7N6LmcBg_TOHFrCAhE3BKLfNWkzQ@mail.gmail.com>
2018-08-22 15:24   ` Jan Kara [this message]
2018-08-22 15:35     ` [PATCH 0/2] udf: A cleanup and a mount fix Pali Rohár

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180822152435.GD23037@quack2.suse.cz \
    --to=jack@suse.cz \
    --cc=jeanluc.malet@gmail.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=pali.rohar@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).