On Tue, 2005-07-12 at 22:05 -0500, Mike McCarty wrote: > Tony Nelson wrote: > > >At 2:08 PM -0500 7/12/05, Mike McCarty wrote: > > > > > [with regards to /proc/sys/vm/swappiness] > > >>> > >>> > >>So is mine, and attempts to edit that file fail. > >> > >> > > > >Works here. Were you root? Do you really mean "edit" or did you: > > > > # cat 59 >/proc/sys/vm/swappiness > > > >I get permission denied as a normal user, while the value sticks if I'm > >root. The sign that the patch is in the kernel is that changes don't > >stick. So I suppose it never made it in. > > > > > I was logged in as myself, with su. I used an editor which read it fine. > Attempts to save the edit failed with access denied. I did not try a cat. /proc files aren't regular files and editing them with a regular editor may not work. Neither would the "cat" command above, unless there was a file called "59" in the current directory. What was probably meant was: # echo 59 /proc/sys/vm/swappiness Paul. -- Paul Howarth <paul@xxxxxxxxxxxx>