So . . . root@beaglebone:~# systemctl status generic-board-startup.service ● generic-board-startup.service - Generic Board Startup Loaded: loaded (/lib/systemd/system/generic-board-startup.service; disabled; vendor preset: enabled) Active: inactive (dead)
This service is responsible for starting up the scripts in /opt/scripts/boot. Personally, I disable it because it loads things I don't want running. I do believe that one of the scripts in /opt/scripts/boot "mentions" swap. So you can start by looking through those. On Thu, Jan 19, 2017 at 5:14 AM, Tarmo Kuuse <[email protected]> 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 [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/beagleboard/407e8b17-78dc-407e-94cf-106e56098a37%40googlegroups.com > <https://groups.google.com/d/msgid/beagleboard/407e8b17-78dc-407e-94cf-106e56098a37%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CALHSORrt7%2B%3DemWhxoowuyGQ1eqC5jAiLNjXu%3DoG6hrYmRX%2ByYA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
