[Virtualacorn-list] File present in VA but absent in Windows

Jeremy Nicoll - virtualacorn jn.ml.vac.83 at wingsandbeaks.org.uk
Mon Dec 28 21:10:35 GMT 2009


"M J D Brown" <mjdb at dorevale.demon.co.uk> wrote:

> This is very odd, as I was under the distinct impression that Virtual 
> RISC OS hard drives were actually single files so far as the Windows 
> filing system are concerned.

That's true for ADFS ones, but HostFS "drives" are just a view of a Windows
directory.  So on a HostFS mount which under RO shows umpteen folders and
files, that's because there's the same number of folders & files in the
underlying Windows directories.


> Thus I am surprised that the deletion of a single RISCOS file should make
> any use of the Windows Recycle Bin.

I had assumed that it was the RISC OS Recycle Bin that he was asking about.
It's turned on in one of the !Configure options.  I've never used it
though...

If one is using the RO Recycle Bin app, I presume/hope it's thoroughly
enough written that one could delete several files (of the same original
name) but the Recycle Bin would keep the safety copies separate - and that
would probably mean they're stored with system-assigned names, eg binfile1,
binfile2, binfile3, .... along with an index which describes where each one
was before it was deleted.

It's possible that the separate files concerned are stored inside an image
file system (so they don't appear, wherever they are stored, as single files
at all).



To understand what's been going in I think we need to know which Recycle Bin
was involved, how (if it's the RO one it was configured), and at least in
outline, how it works. 


 
> I conjecture on the lines of when Brian starts his Virt...SA the emulator
> is enumerating the files contained in the Scrap directory prior to their
> deletion.

Why would RO delete stuff out of Scrap?



> At the moment of RISC OS deletion these files are transferred to the
> Windows Recycle bin but with the in use markers still set.

I don't think there's any such thing as "an in use marker".  Files (in
either OS) can be associated with file handles but that's usually only the
case if they've been opened by something.



-- 
Jeremy C B Nicoll - my opinions are my own.




More information about the Virtualacorn-list mailing list