English Amiga Board


Go Back   English Amiga Board > Support > New to Emulation or Amiga scene

 
 
Thread Tools
Old 06 June 2007, 13:26   #1
turrican3
Moon 1969 = amiga 1985
 
turrican3's Avatar
 
Join Date: Apr 2007
Location: belgium
Age: 48
Posts: 3,913
fastest hardfile or directory ?

is there a difference of speed between hardfile and directory and what's the fastest sfs afs or others format ?
turrican3 is offline  
Old 06 June 2007, 13:56   #2
Shoonay
Global Caturator
 
Shoonay's Avatar
 
Join Date: Aug 2004
Location: Porando
Age: 43
Posts: 6,107
I *think* a simple Amiga user/play might not notice any difference between a hardfile or directory, BUT I'd suggest a hardfile with SFS.
There are some problems with the file attribiutes and stuff with the amiga-special tags when using a directory hd...

Anyways, I'd suggest a real SFS formatted Ami HD
Shoonay is offline  
Old 06 June 2007, 14:00   #3
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,553
It depends. Some access types are faster, some slower.

I recommend directory as long as you have NTFS filesystem. MUCH easier to use. ("impossible" to get corrupted from Amiga-side accidentally)

Hardfiles are only ok if you know what are you doing

Last edited by Toni Wilen; 06 June 2007 at 14:06.
Toni Wilen is offline  
Old 06 June 2007, 14:14   #4
Shoonay
Global Caturator
 
Shoonay's Avatar
 
Join Date: Aug 2004
Location: Porando
Age: 43
Posts: 6,107
Quote:
Originally Posted by Toni Wilen
Hardfiles are only ok if you know what are you doing
Here's that question from me again Toni, but what do you mean? Setting a 5gb file on FAT32 partition?
Shoonay is offline  
Old 06 June 2007, 14:31   #5
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,553
Quote:
Originally Posted by Shoonay
Here's that question from me again Toni, but what do you mean? Setting a 5gb file on FAT32 partition?
For example >4G (or >2g) hardfile usually means guaranteed data loss sooner or later if you use too old AmigaOS or filesystem version. (and of course emulator is blamed for it.. yes, uaehf.device is 64-bit compatible but filesystem and low level utilities like format-command also need to be 64-bit compatible)
Toni Wilen is offline  
Old 06 June 2007, 14:34   #6
Shoonay
Global Caturator
 
Shoonay's Avatar
 
Join Date: Aug 2004
Location: Porando
Age: 43
Posts: 6,107
Oh, that's why...
Never happened to me, never blamed the emu, honest
Shoonay is offline  
Old 06 June 2007, 16:49   #7
alexh
Thalion Webshrine
 
alexh's Avatar
 
Join Date: Jan 2004
Location: Oxford
Posts: 14,448
Just out of curiosity but how does WinUAE handle saving Amiga compatible names when in directory mode??

For example "Amber_*" is a valid file/dir in Amiga but not PC?
alexh is offline  
Old 06 June 2007, 17:19   #8
eLowar
Citizen of Elthesh
 
eLowar's Avatar
 
Join Date: Sep 2003
Location: UK
Posts: 949
Heh, I can answer that since I already looked / asked the same question (though for pratical reasons, not just out of curiosity). UAE saves name mappings in _UAEFSDB.___ files in every dir with such files. WinUAE can also (and does by default) put the info in alternate data streams on NTFS, attached to each file with an illegal name. The actual filenames are then generated from the Amiga filenames when possible (e.g. uae__Amber__ or some such) and on collisions or if the name's otherwise not possible they're random strings.

eLowar is offline  
Old 06 June 2007, 17:20   #9
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,553
Quote:
Originally Posted by alexh
Just out of curiosity but how does WinUAE handle saving Amiga compatible names when in directory mode??

For example "Amber_*" is a valid file/dir in Amiga but not PC?
It has been explained somewhere here already, I think.

Anyway, there are two methods:

Common:

"illegal" characters in file/directory name is replaced with _'s and __uae___ is added to beginning of name + some crap to end of name if same name already exists (only if file should not be same)

NTFS: (really means any filesystem that supports streams)

Original name, mangled name, protection flags and comment is stored in NTFS stream named _UAEFSDB.___ with file/directory.

Non-NTFS:

Original name, mangled name, protection flags and comment is stored in special file called _UAEFSDB.___ in current directory. (can contain multiple UAEFSDB entries)

(I was too slow)
Toni Wilen is offline  
Old 06 June 2007, 17:24   #10
eLowar
Citizen of Elthesh
 
eLowar's Avatar
 
Join Date: Sep 2003
Location: UK
Posts: 949
Quote:
Originally Posted by Toni Wilen
It has been explained somewhere here already, I think.
I don't think I've seen it on EAB. You did explain it to me recently though (that is where to find the format of the records, I had already found the streams ), maybe that's what you're thinking of?

Quote:
Originally Posted by Toni Wilen
(I was too slow)
eLowar is offline  
Old 06 June 2007, 19:08   #11
turrican3
Moon 1969 = amiga 1985
 
turrican3's Avatar
 
Join Date: Apr 2007
Location: belgium
Age: 48
Posts: 3,913
ok i don't want to loose my data then i stay with dierctory it seems to be more safe.
really thank you for the reply.
turrican3 is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fastest Amiga Games Djay Nostalgia & memories 73 09 June 2016 21:42
MakeCD backup to hardfile/directory LostInMine support.WinUAE 2 29 January 2013 19:54
Fastest unZIP on 030? Amiga1992 support.Apps 7 04 October 2010 01:15
Fastest TCP/IP software Smiley support.Hardware 7 14 March 2005 18:26
Fastest Possible switch been fixed? Bloodwych support.WinUAE 6 31 August 2004 01:21

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 03:10.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.16264 seconds with 12 queries