From: Steve Magnani <steve.magnani@digidescorp.com>
To: Jan Kara <jack@suse.cz>
Cc: linux-kernel@vger.kernel.org,
"Steven J. Magnani" <steve@digidescorp.com>
Subject: Re: [PATCH] udf: Don't corrupt unalloc spacetable when writing it
Date: Thu, 09 Jul 2015 13:20:27 -0500 [thread overview]
Message-ID: <559EBB6B.1090902@digidescorp.com> (raw)
In-Reply-To: <20150709151603.GI2900@quack.suse.cz>
On 07/09/2015 10:16 AM, Jan Kara wrote:
> On Tue 07-07-15 13:06:05, Steven J. Magnani wrote:
>> For a UDF filesystem configured with an Unallocated Space Table,
>> a filesystem operation that triggers an update to the table results
>> in on-disk corruption that prevents remounting:
>>
>> udf_read_tagged: tag version 0x0000 != 0x0002 || 0x0003, block 274
>>
>> For example:
>> 1. Create a filesystem
>> $ mkudffs --media-type=hd --blocksize=512 --lvid=BUGTEST \
>> --vid=BUGTEST --fsid=BUGTEST --space=unalloctable \
>> /dev/mmcblk0
>>
>> 2. Mount it
>> # mount /dev/mmcblk0 /mnt
>>
>> ...
> So the patch looks good to me. But what kind of mkudffs are you using?
> Because when I use the command you wrote into the changelog, I cannot mount
> the filesystem. The kernel complains about:
>
> UDF-fs: error (device ubdb): udf_read_inode: (ino 274) failed ident=256
> mount: /dev/ubdb: can't read superblock
>
> Now ident 256 is TAG_IDENT_FSD (file set descriptor). So apparently my
> mkudffs doesn't create proper partition table with your parameters...
>
>
It identifies itself as:
mkudffs 1.0.0b2 for UDF FS 1.0.0-cvs, 2002/02/09
...from Ubuntu udftools 1.0.0b3-14.2.
------------------------------------------------------------------------
Steven J. Magnani "I claim this network for MARS!
www.digidescorp.com Earthling, return my space modulator!"
#include <standard.disclaimer>
next prev parent reply other threads:[~2015-07-09 18:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-07 18:06 [PATCH] udf: Don't corrupt unalloc spacetable when writing it Steven J. Magnani
2015-07-09 15:16 ` Jan Kara
2015-07-09 18:20 ` Steve Magnani [this message]
2015-07-10 14:01 ` Jan Kara
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=559EBB6B.1090902@digidescorp.com \
--to=steve.magnani@digidescorp.com \
--cc=jack@suse.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=steve@digidescorp.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.