-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The Thursday 2007-09-20 at 07:34 -0500, David C. Rankin wrote:

> > [root Rankin-P35a:/home/david] # swapon -s
> > Filename                        Type            Size    Used    Priority
> > /dev/hda5                       partition       2104472 0       -1
> > 
> >     What is strange is that man swapon says -s is equivalent to cat
> > /proc/swaps. I do not have a /proc/swaps to be found. Hmm.. Thoughts?

You should. I do:

[EMAIL PROTECTED]:~> cat /proc/swaps
Filename                                Type            Size    Used    
Priority
/dev/hdd7                               partition       6297440 589736  42


> Let me correct that. I do have a swaps it has the permissions:
> 
> [root Rankin-P35a:/home/david] # ll /proc/swaps
> -r--r--r-- 1 root root 0 2007-09-20 07:33 /proc/swaps
> 
> The permission would seem to prevent writing to swap. What should the
> permissions for swap be?

Permissions are correct.

That's just an informational, virtual file, not the real swap. And any 
way, a user or its program do not write to the swap: it is the kernel who 
does.

- -- 
Cheers,
       Carlos E. R.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Made with pgp4pine 1.76

iD8DBQFG8ouYtTMYHG2NR9URAlBuAKCRpk0jF6UhkbTCjjXEaUaocO8nHACfbLT/
b3mwoYeEnoBCP87YZ55Vnj8=
=LeDi
-----END PGP SIGNATURE-----

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to