Re: [Rpcemu] Mounting arbitrary ADFS images?

2015-07-23 Thread Theo Markettos
On Thu, Jul 23, 2015 at 10:07:12AM -0700, David Glover-Aoki wrote:
> Is there any way to mount them inside RPCEmu? I tried renaming one to 
> “hd5.hdf”, but trying to open it just results in a Disc Error.

You probably need to set the LBA flag in the image:
https://www.riscosopen.org/forum/forums/10/topics/2032

Theo

___
Rpcemu mailing list
Rpcemu@riscos.info
http://www.riscos.info/cgi-bin/mailman/listinfo/rpcemu


Re: [Rpcemu] Mounting arbitrary ADFS images?

2015-07-23 Thread David Glover-Aoki
On Jul 23, 2015, at 12:55 PM, Kai Thomsen  wrote:
> 
> Try mounting them using the "ftsuffix" option:
> 
>  $ mount   -t adfs -o ftsuffix=1

Great! That solves the problem nicely. Thanks. :)


___
Rpcemu mailing list
Rpcemu@riscos.info
http://www.riscos.info/cgi-bin/mailman/listinfo/rpcemu


Re: [Rpcemu] Mounting arbitrary ADFS images?

2015-07-23 Thread Kai Thomsen
On Thu, 23 Jul 2015 10:07:12 -0700,
David Glover-Aoki  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   -t adfs -o ftsuffix=1

From :

  ftsuffix=nWhen 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