View Single Post
Posts: 7 | Thanked: 0 times | Joined on Jan 2008
#96
Hello, I am newbie for linux. I cannot enable swap partition though UI. I follow your advice to set the a 256MB swap partition to externel sd (booting from internal), I use swap menu to enable it. Command "free" displays swap partitions doesn't work even after reboot.

another confusion:

In my n810, "cat /proc/partitions" displays : mmcblk0 is my external sd and mmcblk1 is internal sd. but "df" is correct.
Code:
~ $ cat /proc/partitions
major minor  #blocks  name

  31     0        128 mtdblock0
  31     1        384 mtdblock1
  31     2       2048 mtdblock2
  31     3       4096 mtdblock3
  31     4     255488 mtdblock4
 254     0    8009728 mmcblk0
 254     1    8009720 mmcblk0p1
 254     8    1966080 mmcblk1
 254     9    1966072 mmcblk1p1
~ $ df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/mtdblock4            4096      2660      1436  65% /mnt/initfsnone                       512        92       420  18% /mnt/initfs/tmp
/dev/mtdblock4          255488    112184    143304  44% /
none                       512        92       420  18% /tmp
none                      1024        60       964   6% /dev
tmpfs                     1024         0      1024   0% /dev/shm
/dev/mmcblk0p1         1962220        12   1962208   0% /media/mmc2/dev/mmcblk1p1         7994088      8692   7985396   0% /media/mmc1
Could you help me figure it out? Thanks

Last edited by garfield; 2009-01-11 at 08:03.