![]() |
![]() |
#1 |
Zone Friend
|
![]()
Is this possible at all?
My WB HD has 512k blocks, but by selecting the RAM disk icon and 'Info' from the menu, my RAM disk shows indeed 1k blocks. This should go in line though, so that the RAM disk behaves exactly as my HD, and I'm not doomed to re-calculate blocks every time. Is there any way to change this somehow, or must I install an external driver? Thanks for any hints. |
![]() |
![]() |
#2 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 7,027
|
The ram disk does not at all behave like a block device. It does not even use blocks.
If you want something in ram that behave like a block device, you should use the RAD. You can change the block size of your hdd to 1024, though. Would gain some speed either. Why do you insist on blocks ? Blocks are a virutal unit and might be different from device to device. E.g. CD-ROMs use 2K blocks. Even with different file systems on HDD a file might need more or fewer blocks depending on how the file system stores directory information. You should look at the file size. This is the only constant value. |
![]() |
![]() |
#3 | |||
Zone Friend
|
Quote:
![]() (Logical, for as a WB 1.3 user, I obscurely remember that RAM disk was solely possible to use if L:ram-handler was installed. And a handler is a sort of driver.) Quote:
![]() At least list 37.5 (WB 3.0) does that. With 1 file, you can read the file size off the line, but do you always want to ADD file sizes by calculator with 3 or more files? And dir (unlike MS-DOS dir) doesn't display file-sizes, either. So blocks are a good alternative as long as you can assume they're in constant size (at least with both diskettes and [the gross of] hard drives!) Or you have to install 3rd-party tools. Mind you, I have never been a keen mouse-clicker. I still do most of my operations on console, as it's simply faster than clicking your way through it all. Moreover, you will ALWAYS have to change between mouse, keyboard, mouse, keyboard ... Quote:
![]() Last edited by andreas; 21 June 2005 at 16:10. |
|||
![]() |
![]() |
#4 |
HOL-Team
|
Maybe there are some replacement dir/list tools on aminet which show the total size?
|
![]() |
![]() |
#5 |
Zone Friend
|
I think there are. Yet I always assume the worst case, and I'm eager to both know a way to do it with tools you have "aboard", and a way to do it with 3rd-party tools.
|
![]() |
![]() |
#6 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 7,027
|
List shows the file size in bytes. Only the summary shows a number of blocks. But this is a fake anyway. It does not recognise directory blocks.
|
![]() |
![]() |
#7 | |
Zone Friend
|
Quote:
![]() With a couple of files per list output, I actually do not always want to add up the sizes by hand ![]() Hence the summary is a nice thing ... if the block sizes are equal, which as I've now learnt, are not expected to. |
|
![]() |
![]() |
#9 |
Zone Friend
|
Would not make much sense.
This tool does not seem to intend changing the block size. It will simply fix the bug of reporting "100% full" of the RAM disk by the system by default. |
![]() |
![]() |
#10 |
The Ancient One
Join Date: Feb 2002
Location: Kansas City/USA
Age: 69
Posts: 685
|
Actually, reporting that RAM: is 100% full really isn't a bug, though it isn't particularly useful either. The capacity of the RAM: device changes dynamically as you copy data into it, so long as there is enough available ram for it to expand. So at any given point in time, it really is 100% full since the space allocated to it is completely taken up with whatever data has been copied to it. The percent full actually makes sense for RAD: though, since its size is predetermined. As for PatchRam, I'm not familiar with it, but it may be doing something as simple as calculating percent full as the ratio of the current size of RAM: vs. the total system ram. If so, it probably should also make some allowance for leaving some amount of that ram free for programs to use. Otherwise when RAM: becomes 100% full, you don't have any free ram available for any other use, and that wouldn't be very useful either.
|
![]() |
![]() |
#11 |
Zone Friend
|
I know, I know.
![]() ![]() |
![]() |
![]() |
#12 | |
HOL / AMR Team Member
Join Date: Dec 2001
Location: Australia
Posts: 2,632
|
Quote:
![]() |
|
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
"WARNING: end of partition > size of disk!" in log | mark_k | support.WinUAE | 5 | 24 March 2012 19:13 |
Installing a hard disk - wrong size | alkis21 | support.Hardware | 8 | 09 July 2010 17:55 |
Max disk size for GVP Impact A500 HD8+ Series II | dkovacs | support.Hardware | 19 | 09 April 2008 22:51 |
Modify Panasonic JU-257A607P to Amiga? | chaoticjelly | support.Hardware | 1 | 16 December 2006 16:37 |
Do I need to modify WB3.1 when using an '040? | ketma | support.Hardware | 2 | 27 March 2005 00:33 |
|
|