Messages in this thread | | | Date | Fri, 04 Feb 2000 16:25:37 -0800 (PST) | From | Jeremy Fitzhardinge <> | Subject | Re: advice requested re: huge files and/or disk seeking |
| |
On 05-Feb-00 Steve Doyle wrote: > Daniel Phillips wrote: >> It sounds to me like any existing file system is just going to get in >> your way. What you need is a simple filesystem that just has one file, >> and it takes up the whole partition, can't be truncated or extended, >> no index, no inodes, no directories, no permissions, nothing. Just >> straight I/O to the disk. If this partition exists on a dedicated disk >> you'll be completely in control of all seeking. You can keep any >> indices you need in a file on another partition.
A big pre-allocated file on a mostly empty ext2 filesystem will give much the same effect too (ignoring the max filesize problem on pre-2.3 systems).
> Why not just open the appropriate special device file and use the parition > directly? Or will block devices not operate this way? (I'm assuming that > since commands like 'cat' will work on one, any other file operation will > work on one as well...) Using the special file wouldn't even require a > kernel module.
Devices can't be mmaped which may be a problem.
J
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |