This is what it shows for the moment, where is the swap?
Erase and write again is to return to the initial state
root@bpi-r3:~/Documentos/Bpi# df -h
S.ficheros Tamaño Usados Disp Uso% Montado en
/dev/root 5,9G 5,7G 0 100% /
devtmpfs 993M 0 993M 0% /dev
tmpfs 995M 0 995M 0% /dev/shm
tmpfs 398M 1,6M 397M 1% /run
tmpfs 5,0M 0 5,0M 0% /run/lock
/dev/mmcblk0p5 100M 7,8M 92M 8% /boot
tmpfs 199M 0 199M 0% /run/user/0
df -h
S.ficheros Tamaño Usados Disp Uso% Montado en
/dev/root 5,9G 5,7G 0 100% /
devtmpfs 993M 0 993M 0% /dev
tmpfs 995M 0 995M 0% /dev/shm
tmpfs 398M 1,6M 397M 1% /run
tmpfs 5,0M 0 5,0M 0% /run/lock
/dev/mmcblk0p5 100M 7,8M 92M 8% /boot
tmpfs 199M 0 199M 0% /run/user/0
root@bpi-r3:~/Documentos/Bpi# fdisk -l
Disk /dev/mtdblock0: 20 MiB, 20971520 bytes, 40960 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mtdblock1: 10,5 MiB, 11010048 bytes, 21504 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mtdblock2: 512 KiB, 524288 bytes, 1024 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mtdblock3: 512 KiB, 524288 bytes, 1024 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mtdblock4: 256 KiB, 262144 bytes, 512 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mtdblock5: 128 KiB, 131072 bytes, 256 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mtdblock6: 128 KiB, 131072 bytes, 256 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mmcblk0: 119,08 GiB, 127865454592 bytes, 249737216 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 2BD17853-102B-4500-AA1A-8A21D4D7984D
Device Start End Sectors Size Type
/dev/mmcblk0p1 34 8191 8158 4M Linux filesystem
/dev/mmcblk0p2 8192 9215 1024 512K Linux filesystem
/dev/mmcblk0p3 9216 13311 4096 2M Linux filesystem
/dev/mmcblk0p4 13312 17407 4096 2M Linux filesystem
/dev/mmcblk0p5 17408 222207 204800 100M Linux filesystem
/dev/mmcblk0p6 222208 12805120 12582913 6G Linux filesystem
root@bpi-r3:~/Documentos/Bpi# fdisk /dev/mmcblk0
Welcome to fdisk (util-linux 2.36.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Command (m for help): p
Disk /dev/mmcblk0: 119,08 GiB, 127865454592 bytes, 249737216 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 2BD17853-102B-4500-AA1A-8A21D4D7984D
Device Start End Sectors Size Type
/dev/mmcblk0p1 34 8191 8158 4M Linux filesystem
/dev/mmcblk0p2 8192 9215 1024 512K Linux filesystem
/dev/mmcblk0p3 9216 13311 4096 2M Linux filesystem
/dev/mmcblk0p4 13312 17407 4096 2M Linux filesystem
/dev/mmcblk0p5 17408 222207 204800 100M Linux filesystem
/dev/mmcblk0p6 222208 12805120 12582913 6G Linux filesystem
Command (m for help):
swap ?
root@bpi-r3:~/Documentos/Bpi# file -s /dev/mmcblk0p1
/dev/mmcblk0p1: data
root@bpi-r3:~/Documentos/Bpi# file -s /dev/mmcblk0p2
/dev/mmcblk0p2: data
root@bpi-r3:~/Documentos/Bpi# file -s /dev/mmcblk0p3
/dev/mmcblk0p3: data
root@bpi-r3:~/Documentos/Bpi# file -s /dev/mmcblk0p4
/dev/mmcblk0p4: data
root@bpi-r3:~/Documentos/Bpi# file -s /dev/mmcblk0p5
/dev/mmcblk0p5: DOS/MBR boot sector, code offset 0x3c+2, OEM-ID "mkfs.fat", sectors/cluster 4, reserved sectors 4, root entries 512, Media descriptor 0xf8, sectors/FAT 200, sectors/track 63, heads 255, hidden sectors 17408, sectors 204750 (volumes > 32 MB), reserved 0x1, serial number 0x832cc230, label: "BPI-BOOT ", FAT (16 bit)
root@bpi-r3:~/Documentos/Bpi# file -s /dev/mmcblk0p6
/dev/mmcblk0p6: Linux rev 1.0 ext4 filesystem data, UUID=be301eb8-7cb9-4f3d-abd1-e1ce32973fa6, volume name "BPI-ROOT" (needs journal recovery) (errors) (extents) (large files) (huge files)