add swap on a rpi3

Per olof Ljungmark peo at nethead.se
Sat Jul 14 17:29:00 UTC 2018


12.0-CURRENT #0 r336134 arm64 GENERIC on a rpi3 Cortex-A53

Can I add a swap "partition" somewhere below? I am booting from the SD
card and run the system from an attached USB disk.

As I understand it, I cannot create a freebsd-swap partition/slice with
the BSD/MBR scheme, but is there another way to create a reasonably
large swap (>1G) under ARM?

=>      63  31116225  mmcsd0  MBR  (15G)
        63      2016          - free -  (1.0M)
      2079    102312       1  fat32lba  [active]  (50M)
    104391  31008825       2  freebsd  (15G)
  31113216      3072          - free -  (1.5M)

=>       0  31008825  mmcsd0s2  BSD  (15G)
         0        57            - free -  (29K)
        57  31008768         1  freebsd-ufs  (15G)

=>       63  125045361  da0  MBR  (60G)
         63       2016       - free -  (1.0M)
       2079     102312    1  fat32lba  [active]  (50M)
     104391   83884089    2  freebsd  (40G)
   83988480   41056944       - free -  (20G)

=>       0  83884089  da0s2  BSD  (40G)
         0        57         - free -  (29K)
        57  83884032      1  freebsd-ufs  (40G)


-- 
Per olof Ljungmark



More information about the freebsd-arm mailing list