20 December 2018, 17:08 | #1 |
Registered User
Join Date: Sep 2012
Location: N/A
Posts: 309
|
hdf - ways to reduce filesize
i am basically looking for options to save some space on hdfs. any chance to compress existing hdfs while retaining read/write accessiblity // probably massconvert to another more dense format?
i read about a few formats but i am not sure about the state of actuality? |
20 December 2018, 18:17 | #2 |
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
|
You could identically partition and quick-format a sparse or dynamic HDF in the emulator, and clone the existing contents to it with
copy DHx: DHy: all clone quietto get an HDF that only takes up as much space as needed. If HDF isn't a strict requirement then you could use a directory-based drive, that way the required storage space also goes down as you delete files, which won't happen with sparse or dynamic HDFs as far as I know. The directory-based drives also maintain all the Amiga-specific file flags. |
20 December 2018, 21:03 | #3 |
Registered User
Join Date: Sep 2012
Location: N/A
Posts: 309
|
hi leffmann,
thanks a lot for your suggestions. regarding method 1: maintaining a single file format seems a big plus to me. on the other hand, it is a manual process + might take a lot of time when dealing with multiple hdfs. a different format is no problem as long as it remains compatible at least with the emulators. after all, the second method seems the way to go, as it is also the proposed format over here, if not mistaken. i definitely will have to read into this more carefully. for now, what is the recommended way to turn hdfs into directory based hds under linux? p.s.: i am curious to see the final size comparison: hdf - directory hard drive. |
20 December 2018, 21:21 | #4 | |
Registered User
Join Date: Nov 2014
Location: FT Lewis, WA
Posts: 374
|
Quote:
and have a few directories loaded as well (as harddrives). Then copy the HDF contents to the directories. Copy sys: harddrive1: all buf 10 clone After that just configure another system with the directories as the harddrives. careful of the buf switch though... if you don't configure enough memory it will fail. |
|
20 December 2018, 23:42 | #5 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 7,020
|
I am not sure if the "directory-based drives also maintain all the Amiga-specific file flags" is true for Unix/Linux, too. It works well with Windows and NTFS (using data streams) and less well with FAT (using uaefsdb files for storing additional attributes). You can easily lose these attributes if you copy files using the host OS.
|
21 December 2018, 10:45 | #6 | ||
Registered User
Join Date: Sep 2012
Location: N/A
Posts: 309
|
Quote:
anyway, thanks a lot saghalie hi thomas, Quote:
"Some file names which are valid on the Amiga are not allowed on the host file system. This is particularly true on Windows, which has one of the most restrictive set of allowed file names (Linux and OS X are more flexible)." after all, i think i better focus on dynamic hdfs. i really like the one-file aspect even though loosing direct accessibility of amiga files on the host system, that goes with a dir based solution. again thanks a lot for your help. |
||
21 December 2018, 15:01 | #7 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 7,020
|
I'm not talking about file names but file attributes. AmigaDOS has file notes, Linux has nothing like that. AmigaDOS has eight protection bits, Linux has three.
National characters in file names and code pages are another issue. |
21 December 2018, 18:47 | #8 |
Registered User
Join Date: Sep 2012
Location: N/A
Posts: 309
|
ok, i see what you mean, thanks for clarifying.
even more reasons to stay with hdfs, at least for linux people. p.s: is this kernel related or can you escape by using another fs (say btrfs, zfs, xfs)? |
22 December 2018, 02:51 | #9 |
Registered User
Join Date: Sep 2017
Location: Kansas, USA
Posts: 328
|
You could always just compress the .hdf in Windows:
Right click on file, "Properties", "Advanced...", Check "Compress contents to save disk space", "Ok", "Apply". |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Late emulation to reduce input lag? | mark_k | support.WinUAE | 6 | 13 October 2016 21:58 |
Bug in x64 file requester and bug in Blizzard PPC ROM filesize | headkase | support.WinUAE | 5 | 26 June 2016 14:17 |
Reduce size of an IFF image? | BarryB | support.Apps | 18 | 19 September 2015 03:54 |
How can I reduce the number of reboots on start-up? | keropi | support.Apps | 2 | 08 December 2005 13:19 |
|
|