[BUG] 0.8.0- Failed to swapoff swap file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
BleachBit |
Fix Released
|
High
|
Andrew Ziem |
Bug Description
Hi Andrew,
I found that BleachBit 0.8.0 is not able to flush my swap file (yes, I'm currently using swap file instead of swap partition).
BB output:
| Unexpected output:
| args='['swapoff', '-a', '-v']'
| stdout='swapoff on /home/SWAP
| '
| stderr=''
/etc/fstab:
| # <file system> <mount point> <type> <options> <dump> <pass>
| proc /proc proc defaults 0 0
| /dev/sda1 / xfs noatime,
| /home/SWAP swap swap defaults 0 0
| /dev/sda3 /home xfs noatime,
| /dev/sdb1 /var/WWW xfs noatime,
| /dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0
| /dev/hdb /media/cdrom1 udf,iso9660 user,noauto 0 0
file /home/SWAP:
| /home/SWAP: Linux/i386 swap file (new style), version 1 (4K pages), size 1048575 pages, no label, UUID=7a67d766-
Size: 4GiB
Pwner, group: root
Permissions: -rw-r--r--
OS: Debian Sid (+ Experimental)
Linux 2.6.32-5-686
BB 0.8.0 from repo
Python 2.6.5+
GNOME 2.30
If I remember correctly, BleachBit assumes all swap devices are partitions. I'll look