LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Strange \040(deleted) in /proc/swaps (http://www.linuxquestions.org/questions/slackware-14/strange-%5C040-deleted-in-proc-swaps-4175449572/)

m1m 02-10-2013 03:44 PM

Strange \040(deleted) in /proc/swaps
 
After booting my Slackware 14 I get
Code:

# cat /proc/swaps
Filename                                Type                Size        Used        Priority
/dev/mapper/cryptswap\040(deleted)    partition                10483708 0        -1

What does '\040(deleted)' mean?
I use encrypted swap with keyfile, I have no problems with suspend-to-disk, so my swap is ok?
Also 'free' shows I have active swap.

smallpond 02-11-2013 03:39 PM

The character \040 is the octal code for an ASCII space character. My guess is the name of your DM is either "/dev/mapper/cryptswap " or "/dev/mapper/cryptswap (deleted)" depending on what bizarre command was used to create it (or delete it). Try doing:

Code:

ls -l /dev/mapper/

m1m 02-12-2013 12:38 PM

Code:

ls -l /dev/mapper/
dosen't show any extra spaces

Code:

total 0
crw------- 1 root root 10, 236 02-12 16:59 control
lrwxrwxrwx 1 root root      7 02-12 17:00 cryptswap -> ../dm-0
lrwxrwxrwx 1 root root      7 02-12 17:00 crypthome -> ../dm-1

I have space-separated fstab, but does it read space as a part of name? It would be weird.

Habitual 02-12-2013 03:09 PM

Code:

cat /etc/fstab
output please.

m1m 02-12-2013 06:03 PM

Code:

/dev/mapper/cryptswap swap        swap        defaults              0  0
/dev/mapper/cryptroot /          ext4        defaults              1  1
/dev/sda1            /boot      ext4        defaults              1  2
tmpfs                /tmp        tmpfs      defaults,size=75%    0  0
/dev/dvd              /mnt/dvd    auto        noauto,owner,ro,user  0  0
/dev/cdrom            /mnt/cdrom  auto        noauto,owner,ro,user  0  0
devpts                /dev/pts    devpts      gid=5,mode=620        0  0
proc                  /proc      proc        defaults              0  0
tmpfs                /dev/shm    tmpfs      defaults              0  0



All times are GMT -5. The time now is 08:02 AM.