On Thu, 23 Jul 2015 10:07:12 -0700, David Glover-Aoki <m...@davidglover.org> wrote:
> Recently I dug out a bunch of zip disks (remember those?) that I had > once used on my old RiscPC, so they’re all ADFS formatted. I’ve > successfully used dd to make disk images of them all, and I know they > work because you can mount them under Linux as “adfs”. > > The problem is Linux doesn’t understand file types, so all these are > lost. Try mounting them using the "ftsuffix" option: $ mount <image_file> <target_dir> -t adfs -o ftsuffix=1 From <https://www.kernel.org/doc/Documentation/filesystems/adfs.txt>: ftsuffix=n When ftsuffix=0, no file type suffix will be applied. When ftsuffix=1, a hexadecimal suffix corresponding to the RISC OS file type will be added. Default 0. [...] To enable non-RISC OS systems to be used to store files without losing file type information, a file naming convention was devised (initially for use with NFS) such that a hexadecimal suffix of the form ,xyz denoted the file type: e.g. BasicFile,ffb is a BASIC (0xffb) file. This naming convention is now also used by RISC OS emulators such as RPCEmu. Mounting an ADFS disc with option ftsuffix=1 will cause appropriate file type suffixes to be appended to file names read from a directory. If the ftsuffix option is zero or omitted, no file type suffixes will be added. Cheers, --Kai _______________________________________________ Rpcemu mailing list Rpcemu@riscos.info http://www.riscos.info/cgi-bin/mailman/listinfo/rpcemu