1832964 Members
2511 Online
110048 Solutions
New Discussion

Re: RHEL5 and /proc

 
SOLVED
Go to solution
ossupport55
Frequent Advisor

RHEL5 and /proc

Dear all,

how far is it true that RHEL5 does/should not use /proc based device manipulation.
In other words, we should use /sys based manipulation for FC related devices. Correct ?

cheers
5 REPLIES 5
Michal Kapalka (mikap)
Honored Contributor
Solution

Re: RHEL5 and /proc

hi,

on our Centos 5.2 == RHEL 5.2,

the fc manipullation is in /sys

/sys/class/fc_host

host*/

for example :

/sys/class/fc_host/host3/device/scsi_host:host3

mikap
Matti_Kurkela
Honored Contributor

Re: RHEL5 and /proc

The drivers included into Linux kernel tend to use /sys, but some external driver packages (e.g. the HP-packaged QLogic HBA driver) may still use /proc.

If the thing you wish to manipulate exists within /sys, use it; else use /proc as before.

MK
MK
ossupport55
Frequent Advisor

Re: RHEL5 and /proc

Thanks guys for the replies.

Well, what i was baffled was the new implementations of RHEL5, qlogic driver actually does stuff through /proc. Should i use that or is it safe for me to use the inbox driver?

Since i'm planning to use fibreutils what is recomended ?

cheers folks
Michal Kapalka (mikap)
Honored Contributor

Re: RHEL5 and /proc

hi,

i think it's up to you.

mikap
Steven E. Protter
Exalted Contributor

Re: RHEL5 and /proc

Shalom,

I would simply install drivers and use their default location. /proc is aptly named, contains process information, kernel parameters and other such things.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com