Skip to contentSkip to conversation

CONFIG_IDE_PROC_FS: /sys is not full replacement of /proc

DISCUSSION Andrey Borzenkov 2 participants 2 messages Jul 18, 2007 – Jul 26, 2007 libata

lore
Share & tools
lore
#0 lore raw

May be I miss something obvious but most information that was available in /proc/ide is missing under /sys. At the very least, Mandriva hardware detection expects /proc/ide/hdX/model; nothing close is under /sys.

Are there any plans to extend IDE /sys interface to provide full range of information from /proc? Alternatively I appreciate description (or pointer to thereof) how to get information that was available under /proc/ide without /proc/ide :)

Thank you

-andrey

#1 lore raw

Hi,

Quoted 3 lines · Andrey Borzenkov

May be I miss something obvious but most information that was available in /proc/ide is missing under /sys. At the very least, Mandriva hardware detection expects /proc/ide/hdX/model; nothing close is under /sys.

It is really better to obtain some information using IOCTLs (i.e. SMART data) but for other like "model" it makes perfect sense to add them to /sys.

Quoted 4 lines

Are there any plans to extend IDE /sys interface to provide full range of information from /proc? Alternatively I appreciate description (or pointer to thereof) how to get information that was available under /proc/ide without /proc/ide :)

Could you please add the information that you find missing to the existing infrastructure in ide.c (ide_dev_attrs[] table)?

Thanks,
Bart