NetBSD-Users archive

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

cd9660/udf issues with files > 4GB



Hi,

I am trying to write file larger than 4GB to the DVD, mkisofs man page claims
that -iso-level 3 supports big files. Image was generated successfully but after
mounting the image, ls reported duplicated filenames with size reduced to 
4096MB.
So I've tried to create udf image:

# dd if=/dev/zero of=image.udf bs=2048 count=2295104
# vnconfig -c vnd0 image.udf 2048/1/1/1
# newfs_udf /dev/rvnd0d
# mount -t udf /dev/vnd0d /mnt/udf
# cp archive.7z /mnt/udf/
# md5 archive.7z 
MD5 (archive.7z) = 5bb8755daa2ab90ee4cacc92eb2f1f04
# md5 /mnt/udf/archive.7z 
MD5 (/mnt/udf/archive.7z) = 78006b07a539c91fec988592d3cdf102

Udf file is of course unusable.

The mount_cd9660 and mount_udf man pages does not mention any issues with big
files so am i doing something wrong or is this not reported bug/lack of support
for big files?

I'm running 5.0_STABLE, amd64.

BTW in the examples section, newfs_udf man page there is:
"dd if=/dev/zero of=bigdisk.2048.udf seek=9999999 count=1"
(...)
mounting image created this way results in I/O error.

Cheers


Home | Main Index | Thread Index | Old Index