LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 02-10-2013, 02:44 PM   #1
m1m
Member
 
Registered: Jan 2011
Posts: 38

Rep: Reputation: 0
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.
 
Old 02-11-2013, 02:39 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 1,344

Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
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/
 
Old 02-12-2013, 11:38 AM   #3
m1m
Member
 
Registered: Jan 2011
Posts: 38

Original Poster
Rep: Reputation: 0
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.
 
Old 02-12-2013, 02:09 PM   #4
Habitual
Senior Member
 
Registered: Jan 2011
Distribution: Slack14_64_Multilib
Posts: 3,042
Blog Entries: 4

Rep: Reputation: 734Reputation: 734Reputation: 734Reputation: 734Reputation: 734Reputation: 734Reputation: 734
Code:
cat /etc/fstab
output please.
 
Old 02-12-2013, 05:03 PM   #5
m1m
Member
 
Registered: Jan 2011
Posts: 38

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


Reply


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 05:19 PM.

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