Author Topic: chmod on /proc tree  (Read 2343 times)

Harlequin

  • Newbie
  • *
  • Posts: 29
    • View Profile
chmod on /proc tree
« on: May 26, 2004, 01:27:14 pm »
Hello,
I hope you can help me.  This is very frustrating.  I\'m trying to change the permissions on a sub-dir of /proc under cacko 64-0 on a 5500.  It runs the command without issues, but ls -al shows no change.  

I\'m trying this as root.  It wont let me create a file, so I thought it might be permissions on the dir.

H.

tecknobabble

  • Newbie
  • *
  • Posts: 26
    • View Profile
    • http://
chmod on /proc tree
« Reply #1 on: May 26, 2004, 03:35:26 pm »
Why?  

/proc is not a normal filesystem, its a mechanism through which parts of the kernel are exposed to allow easy access to information that it contains aswell as providing tuning options for certain modules.   As a consequence the filesystem attributes are typically fixed....
SL-5500, Own custom Crow-like ROM, DLink DCF-660W, Pocketop Keyboard, assorted no-name CF/SD cards.

SubApplet extender and maintainer, ditto for TaskList applet and Missile Command

Stubear

  • Hero Member
  • *****
  • Posts: 1164
    • View Profile
    • http://
chmod on /proc tree
« Reply #2 on: May 26, 2004, 09:15:53 pm »
AFAIK you can NOT create files under /proc - that is the kernels job. you can only change the values of files laready there.

What are you trying to do?

Stu
SL-C1000, Hand converted to English with Japanese Input
Running X apps via X/Qt
iRiver USB host cable; Diatec P-Cord usb power cable (extendable); Acro's Reel Cable USB (A to A, B, Mini-B,  & Mini-B 8pin); GreenHouse 1Gb PicoDrive+; 2x256Mb Hagiwara SD cards; 128Mb Transcend CF card; 512Mb PQI CF card; AmbiCom WL1100C-CF 11B WLAN card

Harlequin

  • Newbie
  • *
  • Posts: 29
    • View Profile
chmod on /proc tree
« Reply #3 on: May 27, 2004, 07:46:46 am »
I\'m trying to apply the params for irda connections to a sony-ericsson mobile:

echo 1 ] /proc/sys/net/irda/max_tx_window
echo 1000 ] /proc/sys/net/irda/min_tx_turn_time

I was able to make them when using tkr with a cacko kernel.  Now I just get:

cannot create /proc/sys/net/irda/max_tx_window: directory non-existent.

Any ideas?

H.

tecknobabble

  • Newbie
  • *
  • Posts: 26
    • View Profile
    • http://
chmod on /proc tree
« Reply #4 on: May 27, 2004, 04:41:51 pm »
Quote
echo 1 ] /proc/sys/net/irda/max_tx_window  
echo 1000 ] /proc/sys/net/irda/min_tx_turn_time  

I was able to make them when using tkr with a cacko kernel.  Now I just get:
cannot create /proc/sys/net/irda/max_tx_window: directory non-existent.  
If it worked with the tkr (theKompany rom I guess) and not cacko then the cacko kernel doesn\'t have the irda patch that lets you do what you are trying to do.

If you look at this page and search for min_tx_turn_time you\'ll get to this:
Code: [Select]
Note that the patch adding max_tx_window to the IrDA stack is included only in kernel 2.4.22, for earlier kernel to fetch a patch up hereYou\'d have to see if the cacko guys could put this on their to-include list if this is the case...
SL-5500, Own custom Crow-like ROM, DLink DCF-660W, Pocketop Keyboard, assorted no-name CF/SD cards.

SubApplet extender and maintainer, ditto for TaskList applet and Missile Command

kuijer001

  • Newbie
  • *
  • Posts: 28
    • View Profile
    • http://
chmod on /proc tree
« Reply #5 on: June 04, 2004, 08:29:57 am »
Hi Harlequin

I\'m using my C700 (latest Cacko-ROM) together with my SonyEricsson, and I\'m not having trouble at all connecting them both using Irda! Transmitting appointments from KO/PI to my mobile and JAVA-applits  or pictures work fine on the C700 \"as is\". I don\'t see the problem
Rob

SL-C700, 256MB SD, 256 MB CF. Cacko Lite ROM
KO/PI ,Ka/Pi, PWM/PI, tkcbackup, tkcexplorer, tkcgallery, tkcvideo