Re: Installing linux on an IDE flash drive. Swap partition question



Jon E. Weingarten wrote:
David Brown wrote:

Been using a base installation of Debian on a 2GB IDE flash drive

using (a swap file on a jffs2 or yaffs disk will get wear levelling over
the whole disk, for example, while swap on a partition will have much
less levelling).

It absolutely doesn't make sense to use a IDE flashdrive or a CF-flashdrive
with a jffs2 filesystem.
The internal electronics of such devices already *do* use the whole flash
memory equally. You don't win anything when using another mechanism
for 'equalized' writings on top of that. Jffs is intended for direct use, such as a microcontroller with direct
attached flashram where the microcontroller is responible for the complete
access.


Sorry - I didn't notice that he was using a drive with wear levelling. In that case, a swap partition (if you decide to use swap at all) will be levelled just as well as a swap file would be.

For the rest, I totally agree: even with 512 megs you don't really need
swap-space any more, at least if you are running the same software and
tasks again and again.


Cheers
.



Relevant Pages

  • Re: Security of data in memory
    ... swap partition, key protection, secure data deletion. ... being stolen or otherwise disclosed they will often respond with filesystem ... permissions on a file, user, group and other as a bare minimum. ...
    (SecProg)
  • Re: Hibernation woes
    ... this) or a swap PARTITION needs to be created from disk space ... which I take to mean unformatted free physical unused disk space just ... swap "file" creation and change. ... Unfortunately this is a dual boot machine (XP and Ubuntu) and will ...
    (Ubuntu)
  • Re: Pagefile problem after duplicating Win2000 partition
    ... Boot into safe mode ... set your new swap file appropriatly ... > like the old one was (using Partition Magic 7): ... So that the actual Windows desktop never comes up, ...
    (microsoft.public.win2000.general)
  • Re: Script to change swap <-> FAT partition on reboot?
    ... access with either operating system to transfer files, ... script that changes my swap space to FAT. ... I rarely transfer files from Windows to Linux but if I do, ... choose whether I want to change the FAT partition to a swap one? ...
    (comp.os.linux.misc)
  • How to reassign "hibernate/restore/resume" partition on F9?
    ... Recently I upgraded the boot hard drive on this F9 box from 20GB to ... reversed the swap and root partition numbers. ... The swap partition is correctly detected. ... to look for the origin of the kernel boot message. ...
    (Fedora)