Re: [opensuse] howto test swap? [was RAM]



-----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:

cer@nimrodel:~> 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: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages

  • Re: Security of data in memory
    ... swap partition, key protection, secure data deletion. ... being stolen or otherwise disclosed they will often respond with filesystem ... permissions on a file, user, group and other as a bare minimum. ...
    (SecProg)
  • Re: [opensuse] howto test swap? [was RAM]
    ... After all of the discussion about ram size/swap ... *nothing* was ever written to the swap file. ... I do have a swaps it has the permissions: ... Rankin Law Firm, PLLC ...
    (SuSE)
  • [opensuse] Re: howto test swap? [was RAM]
    ... After all of the discussion about ram size/swap ... *nothing* was ever written to the swap file. ... It probably was taken from the memory used for buffers. ... I do have a swaps it has the permissions: ...
    (SuSE)
  • Re: Login failed for user NT AUTHORITYNETWORK SERVICE
    ... Create a new role in the database called something like WWWUser, ... Don't ever set the permissions against a particular user ... It would be quite simple to just swap the users over within that ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Oh.... Im just wondering whos seen this stumper...
    ... A guy running code under an account ... read/write effective permissions. ... Now his code fails writing to OTHER ... authentication is written in the script. ...
    (microsoft.public.windows.server.active_directory)