It turns out that systemd is configured to maintain a swap file. This is 
what I did to make it stop:

List systemd-s swap units:
$ sudo systemctl --type swap

Disable a swap unit named "var-swap.img.swap":
$ sudo systemctl mask var-swap.img.swap

--
Kind regards,
Tarmo Kuuse


On Thursday, January 19, 2017 at 2:14:10 PM UTC+2, Tarmo Kuuse wrote:
>
> Hi!
>
> I flashed an rcn-ee image into eMMC 
> (bone-debian-8.7-seeed-iot-armhf-2017-01-15-4gb.img.xz). On first boot 
> there's no swap anywhere.
>
> On second boot something allocates /var/swap.img and installs it as swap 
> in fstab. This seems to happen right after the root filesystem is 
> remounted. dmesg says:
>
> [   31.270174] EXT4-fs (mmcblk1p1): re-mounted. Opts: errors=remount-ro
> [   31.717598] Adding 262140k swap on /var/swap.img.  Priority:-1 
> extents:10 across:745468k SSFS
>
> I'd really like to snip that. Any hints where to look?
>
> --
> Kind regards,
> Tarmo Kuuse
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/0d6d731d-c902-4793-bd92-89ba516cbab0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to