29 December 2013, 13:18 | #1 |
Registered User
Join Date: Mar 2013
Location: Leipzig/Germany
Posts: 466
|
AmiKit for linux: errors in filesystem
Hi #?
I recently installed the linux version of AmiKit to use with fs-uae. It works very well. Because there are more than 38.000 files and this could be bad for the host filesystem (and the ssd) I decided to make a .hdf, but I got some errors while copying all the files using dopus. I took a closer look and found 314 files which can't be used inside the emulated Amiga. http://paste.debian.net/plain/72990 These files are invisible to the amiga, but if you try to copy the directories, you get filesystem errors. As a workaround I deleted the files, but it would be nice to have this fixed in the next release of AmiKit. I don't know if the windows- and mac versions are affected as well. |
31 December 2013, 15:50 | #2 |
Amiga NetRunner
Join Date: Apr 2005
Location: Spain
Age: 45
Posts: 941
|
What workbench files are you using for the instalation?. I remember having issues when using the amiga forever dvd for the installation, the amikit installer would copy certain files with wrong file permissions, and the only solution was to manually modify file permissions back.
|
01 January 2014, 15:35 | #3 |
Registered User
Join Date: Mar 2013
Location: Leipzig/Germany
Posts: 466
|
Thanks for your reply, but I think this problem is different from yours. It is not about the permissions, it's about the encoding of the file-/directory names. In addition theses file aren't from the cd, they are inside the archive you can download.
Windows version works file btw., now I'm using these files. |
18 January 2014, 18:38 | #4 |
FS-UAE Developer
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
|
I checked the zip file - it isn't broken as such. Unfortunately, there wasn't originally a standard for what character set to have in zip files. So using non-ASCII file names are generally unreliable. Nowadays, many programs support using unicode names in zip files, but of course Windows Explorer does not (last time I checked...).
But anyway, in this zip file, file names are stored with ISO-8859-1 encoding, so either the unzip program must assume that, or use heuristics to guess it, or allow the user to specify ISO-8859-1 as source encoding when extracting the names :-/ Here's a python snipped to verify (the printed file names look good): Code:
from zipfile import ZipFile zf = ZipFile("AmiKit.zip") for name in zf.namelist(): for c in name: if ord(c) > 127: print(name.decode("ISO-8859-1")) break |
18 January 2014, 18:50 | #5 |
FS-UAE Developer
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
|
In Linux (and probably OS X too), you can unzip it like this:
Code:
unzip -I latin1 ../../Public/AmiKit.zip |
18 January 2014, 22:30 | #6 | ||
Registered User
Join Date: Mar 2013
Location: Leipzig/Germany
Posts: 466
|
Ok, file names are stored with ISO-8859-1, thanks for pointing that out.
Quote:
Quote:
|
||
18 January 2014, 23:13 | #7 |
FS-UAE Developer
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
|
Code:
$ unzip -v UnZip 6.00 of 20 April 2009, by Debian. Original by Info-ZIP. Latest sources and executables are at ftp://ftp.info-zip.org/pub/infozip/ ; see ftp://ftp.info-zip.org/pub/infozip/UnZip.html for other sites. ... |
19 January 2014, 00:02 | #8 |
Registered User
Join Date: Mar 2013
Location: Leipzig/Germany
Posts: 466
|
Ubuntu only specific patch
(debian/patches/06-unzip60-alt-iconv-utf8) |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
What FileSystem should I use? | Sim085 | support.Other | 16 | 25 November 2013 10:59 |
Porting to Tiny Core Linux and Puppy Linux | lorenzos | support.FS-UAE | 1 | 05 January 2013 16:13 |
Ramblings about E-UAE with Amikit on 64bit Linux | modrobert | support.OtherUAE | 1 | 14 February 2012 08:25 |
CD filesystem | Rod_cl | support.Apps | 15 | 02 October 2007 02:07 |
What FileSystem? | SGBEATTIE | support.Hardware | 1 | 31 October 2001 19:49 |
|
|