[SHR-Unstable] swapon: swapfile has holes

David Garabana Barro david at garabana.com
Sat Sep 5 12:14:39 CEST 2009


O Sábado, 5 de Setembro de 2009, Laszlo KREKACS escribiu:
 
> I prefer the file over partition, because you can make bigger or shrink
> whenever you want. And giving a separate partition is just a luxury, when
> you can only create four (above that serious tweaking is necessary).

Four???
You can create up to 7:

root at om-gta02 ~ $ fdisk -l /dev/mmcblk0

Disk /dev/mmcblk0: 7969 MB, 7969177600 bytes
246 heads, 62 sectors/track, 1020 cylinders
Units = cylinders of 15252 * 512 = 7809024 bytes

        Device Boot      Start         End      Blocks   Id  System
/dev/mmcblk0p1               1           6       45725   83  Linux
/dev/mmcblk0p2               7         108      777852   83  Linux
/dev/mmcblk0p3             109         313     1563330   83  Linux
/dev/mmcblk0p4             314        1020     5391582    5  Extended
/dev/mmcblk0p5             314         390      587171   83  Linux
/dev/mmcblk0p6             391         994     4606073   83  Linux
/dev/mmcblk0p7             995        1020      198245   82  Linux swap / 
Solaris

-- 
David Garabana Barro
jabber & google talk ID:	david at garabana.com
Clave pública PGP/GPG:		http://davide.garabana.com/pgp.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.openmoko.org/pipermail/community/attachments/20090905/12ef7281/attachment.pgp 


More information about the community mailing list