Hi Jörg,
>> >> But I find the Chinese characters (UTF-8 charset) are not supported very >> well. The commands I used are the following. >> root@Ubuntu:~# ls long-name/ >> ?.1 >> ??.2 >> ???.3 >> ????.4 >> ?????.5 >> ??????.6 > Could you please mention the hex code for that chinese character? The hex code is "4E2D". >> ... ... >> root@Ubuntu:~# /opt/schily/bin/mkisofs -UDF -o a.udf ./long-name >> Setting input-charset to 'UTF-8' from locale. >> Total translation table size: 0 >> Total rockridge attributes bytes: 0 >> Total directory bytes: 0 >> Path table size(bytes): 10 >> Max brk space used 0 >> 507 extents written (0 MB) >> >> >> root@Ubuntu:~# mount ./a.udf /mnt >> mount???? /root/a.udf ???????????? >> >> >> root@Ubuntu:~# ls /mnt >> ?.1 >> ??.2 >> ???#00A6._ >> ????_#D14D >> ?????_#7C02 >> ??????_#8F1A >> >>...... >> >> >> We can see that some filenames cannot be read correctly. > What OS did you use to mount the filesystem? > Are you sure that the OS is bug free? I am using an old ubuntu system with the kernel version 3.13.0-100-generic. > Could you provide a tar archive that contains the files (0 bytes for each is OK)? Yes, I just created these files using "touch" command. Please find the attached tar file. > > > mkisofs -UDF -print-size >> >> > gives you the size. > > >> Well that's what I want. It's really useful feature. Does it count the size >> of entries? I mean that one directory may have thousands small files. The >> directory's entry size cannot be negligible. > This is the number of 2048 byte blocks that will be in the FS image in total. OK. -- WF
long-name.tgz
Description: Binary data