View Single Post
Old 21 June 2005, 14:54   #2
Registered User
thomas's Avatar
Join Date: Jan 2002
Location: Germany
Posts: 5,681
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.
thomas is offline  
Page generated in 0.03963 seconds with 10 queries