This file is indexed.

/lib/partman/finish.d/45fstab_swapfile is in ubiquity 18.04.14.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
#!/bin/sh

. /lib/partman/lib/base.sh

# No swapfile
if [ ! -f /target/swapfile ]; then
    return 0
fi

printf "%-41s %-15s %-7s %-15s %-7s %s\n" /swapfile none swap sw 0 0 >> /target/etc/fstab