pali
pali
> But how to construct those metadata files? @Randrianasulu What about to read official specification :D and not looking at random/incomplete suggestions? Nothing wrong, just I want to point that...
Just to note that udfinfo has already support for reading/parsing metadata partition and metadata file.
mkudfiso project (from sourceforge.net) produce invalid and broken UDF images. I was using it during testing of udfinfo to ensure that such broken/invalid images do not cause segfaults of udfinfo...
> Without these two commands, `mkudffs --media-type dvdr /dev/pktcdvd0` returns `mkudffs: Error: Cannot create new image file '/dev/pktcdvd0': block-count was not specified` This looks like `/dev/pktcdvd0` does not exist...
Also, you cannot write to (or modify) read-only media by their definition.
Also note that CD-R, DVD+R, DVD-R and BD-R are write-once media (R means recordable). CD-ROM, DVD-ROM and BD-ROM are read-only media which are not possible to modify in any way.
Looking into pktcdvd.ko source code and it looks like that packet writing it possible only for CD-RW, DVD+RW, DVD-RW and DVD-RAM medias, see: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/block/pktcdvd.c?h=v5.4#n1768 So I think you cannot use...
I looked at code and there was no support for CD-R directly in kernel/VFS. You always had to use some burner/packetwriting SW in userspace to write new data to CD-R...
wrudf is mostly in unmaintained state, so expect problems. You would have to figure out if it works and how. If you need empty CD-R UDF image, you can create...
Another option for preparing initial filesystem is via `genisoimage`, but IIRC it supports only UDF 1.02.