I wrote:

(I shuld never write E-Mail in a hurry, an important detail is missing)

tar --format=posix -zcf testcase.tar.gz нули.dat
should be: tar --format=posix -zcf testcase.tar.gz testcase

export G_FILENAME_ENCODING="@locale"

That's because the book does this. The book does this because Glib2 developers forgot to read the "tar" page in POSIX standard, which implies that filenames should be stored in the locale encoding on the disk. Or they don't care about compatibility with tar and coreutils by default.

--
Alexander E. Patrakov
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to