Re: udf: Prevent write-unsupported filesystem to be remounted read-write

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:
> > 
> > `# mkudffs --label=.... -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 >= 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.

-- 
Pali Rohár
pali.rohar@xxxxxxxxx




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux