LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 02-10-2013, 02:44 PM   #1
Registered: Jan 2011
Posts: 52

Rep: Reputation: 1
Strange \040(deleted) in /proc/swaps

After booting my Slackware 14 I get
# 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.
Old 02-11-2013, 02:39 PM   #2
Senior Member
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: CentOS 6 (pre-systemd)
Posts: 2,175

Rep: Reputation: 555Reputation: 555Reputation: 555Reputation: 555Reputation: 555Reputation: 555
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:

ls -l /dev/mapper/
Old 02-12-2013, 11:38 AM   #3
Registered: Jan 2011
Posts: 52

Original Poster
Rep: Reputation: 1
ls -l /dev/mapper/
dosen't show any extra spaces

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.
Old 02-12-2013, 02:09 PM   #4
Senior Member
Registered: Jan 2011
Location: Yawnstown, Ohio
Distribution: This is my kung.fu
Posts: 4,380
Blog Entries: 4

Rep: Reputation: Disabled
cat /etc/fstab
output please.
Old 02-12-2013, 05:03 PM   #5
Registered: Jan 2011
Posts: 52

Original Poster
Rep: Reputation: 1
/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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] jhalfs fails at 040-expect fmillion Linux From Scratch 3 11-27-2010 04:52 PM
unknown escape sequence: '\040' jiikka Linux - General 1 03-09-2009 07:48 AM
/proc and disk usage, strange messages m4mach Linux From Scratch 13 08-14-2007 01:50 PM
Strange entry in `df` (df: `/var/named/chroot/proc': Permission denied) BWebb Linux - General 1 09-14-2006 10:08 AM
apache 2.040 dkhat Linux - General 0 02-26-2003 10:56 PM

All times are GMT -5. The time now is 10:36 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration