I have just installed Ubuntu 9.04, with the ext4 filesystem on my root partition. In the terminal I seem to be unable to use file names longer than 144 ASCII characters:
91$touch xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
92$touch xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
touch: cannot touch `xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx': File name too long
(Note: there are no spaces in these strings of x's; spaces seem to be inserted when I preview this post.)
This is a major problem for me since I have a huge tar file containing the "Documents" directory from my old computer, but I cannot extract the files on my new computer since tar exits with error 2 as soon as it hits one of my files with a name longer than 144 characters. (As a temporary solution I tried adding the --exclude flag with 145 .'s followed by * but tar still aborts when it gets to the big file name.)
Does Ubuntu not use the posix standard maximum file name length of 256 characters??? What is wrong here and how do I fix it?



Adv Reply

Bookmarks