Re: UDF filesystem image with Write-Once UDF Access Type

2019-08-02 Thread Jan Kara
On Thu 01-08-19 10:57:55, Pali Rohár wrote: > On Thursday 01 August 2019 10:38:00 Jan Kara wrote: > > Hum, looks like a problem with mkudffs. Relevant debug messages look like: > > > > UDF-fs: fs/udf/super.c:671:udf_check_vsd: Starting at sector 16 (2048 byte > > sectors) > > UDF-fs:

Re: UDF filesystem image with Write-Once UDF Access Type

2019-08-01 Thread Roald Strauss
Hey all I'm a bit pressed for time these days, so I won't be able to do any tests any time soon. Also have to admit that I lost interest in UDF a bit, since we ended up looking towards hardware solutions for write-protections instead. But when/if mkudffs includes an option to create a

Re: UDF filesystem image with Write-Once UDF Access Type

2019-08-01 Thread Pali Rohár
On Thursday 01 August 2019 10:38:00 Jan Kara wrote: > On Thu 01-08-19 09:35:30, Jan Kara wrote: > > > If you want to play with Write-Once Access Type, use recent version of > > > mkudffs and choose --media-type=cdr option, which generates UDF > > > filesystem suitable for CD-R (Write-Once Access

Re: UDF filesystem image with Write-Once UDF Access Type

2019-08-01 Thread Pali Rohár
On Thursday 01 August 2019 09:35:30 Jan Kara wrote: > On Fri 12-07-19 12:02:24, Pali Rohár wrote: > > Also in git master of udftools has mkduffs now new option --read-only > > which creates UDF image with Read-Only Access Type. > > I've tested this and the kernel properly mounts the image

Re: UDF filesystem image with Write-Once UDF Access Type

2019-08-01 Thread Jan Kara
On Thu 01-08-19 09:35:30, Jan Kara wrote: > > If you want to play with Write-Once Access Type, use recent version of > > mkudffs and choose --media-type=cdr option, which generates UDF > > filesystem suitable for CD-R (Write-Once Access Type with VAT and other > > UDF options according to UDF

Re: UDF filesystem image with Write-Once UDF Access Type

2019-08-01 Thread Jan Kara
On Fri 26-07-19 12:44:34, Steve Magnani wrote: > Hi, > > On 7/12/19 5:02 AM, Pali Rohár wrote: > > In my opinion without support for additional layer, kernel should treat > > UDF Write-Once Access Type as read-only mount for userspace. And not > > classic read/write mount. > > > > ... > > > >

Re: UDF filesystem image with Write-Once UDF Access Type

2019-08-01 Thread Jan Kara
Hello! On Fri 12-07-19 12:02:24, Pali Rohár wrote: > I had discussion with Roald and based on his tests, Linux kernel udf.ko > driver mounts UDF filesystem image with Write-Once UDF Access Type as > normal read/write filesystem. > > I think this is a bug as Write-Once Access

Re: UDF filesystem image with Write-Once UDF Access Type

2019-07-26 Thread Steve Magnani
Hi, On 7/12/19 5:02 AM, Pali Rohár wrote: In my opinion without support for additional layer, kernel should treat UDF Write-Once Access Type as read-only mount for userspace. And not classic read/write mount. ... It seems that udf.ko does not support updating VAT table, so probably it should

UDF filesystem image with Write-Once UDF Access Type

2019-07-12 Thread Pali Rohár
Hello, I had discussion with Roald and based on his tests, Linux kernel udf.ko driver mounts UDF filesystem image with Write-Once UDF Access Type as normal read/write filesystem. I think this is a bug as Write-Once Access Type is defined that existing blocks on filesystem cannot be rewritten