lkml.org 
[lkml]   [1998]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: New Feature Idea: Compress swap file
In the old days of BSD 4.1 I have successfully created and
mounted a read-only file system on one of these 1/2 intch
tapes. I did not need to modify even a single line in the
BSD 4.1 kernel code.

Yes. it was possible to format the tape with 1K blocks and
have direct access (seek) to each block. mkproto was used
to create the file system image.

I could really execute a program off that file system
and the tape was rolling every time that it needed to page-in
something.

Mounting read-write was not practical because it needed
to keep atime uptodate (the "noaccesstime" option was
invented later).

Anyway, if you can create a tape block device (it
must support random-access to any block) then there is
no reason why you cannot use it for swap, or to mount
a file system. I doubt if that can be done efficiently
on newer tape systems, they are designed for streaming
and not to start and stop on a spot.

Itai

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.025 / U:0.332 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site