>Number: 186252 >Category: misc >Synopsis: Cannot mount an encrypted swap file in fstab >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jan 29 19:00:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Mark Voortman >Release: 10.0 >Organization: >Environment: FreeBSD freebsd.localhost 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014 [email protected]:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Adding
md none swap sw,file=/swap 0 0 to /etc/fstab mounts the swap file on boot, but it will be unencrypted. When I make it md.eli (or md0.eli or /dev/md.eli or /dev/md0.eli) the swap file is not mounted. This approach does work for swap partitions (e.g., /dev/ada1.eli). >How-To-Repeat: Create a swap file: dd if=/dev/zero of=/swap bs=1024k count=64 chmod 0600 /swap and add it to /etc/fstab md.eli none swap sw,file=/swap 0 0 and reboot. The (encrypted) swap file will not be available. >Fix: >Release-Note: >Audit-Trail: >Unformatted: _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "[email protected]"
