Re: New Feature Idea: Compress swap file

Nahshon (nahshon@actcom.co.il)
Mon, 23 Feb 1998 01:15:11 +0200 (EET)


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