|
|
|
Sysfs Device Attributes: Subdirectory under subdirectory | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
Dear all,
I want to create subdirectory under subdirectory in sysfs
for a device. For example, if vhci_hcd is my device I want
the following hierarchy:
vhci_hcd
|
+--> status
|
+--->0
| |
| +--> status
| |
| +--> speed
| |
| +--> device id
| |
| +--> socket
| |
| +--> busid
....
....
....
|
+--->N
|
+--> status
|
+--> speed
|
+--> device id
|
+--> socket
|
+--> busid
So, how do I create subdirectories 0 to N under
status? I created attribute groups from 0 to N,
how do I attach it to status and then in turn,
status to vhci_hcd?
Thanks in advance.
Regards
Himanshu
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ
[Newbies FAQ] [Kernel Development Development] [Site Home] [IETF Annouce] [Git] [Networking] [Security] [Bugtraq] [Rubini] [Photo] [Yosemite] [MIPS Linux] [ARM Linux] [Linux Security] [Linux Networking] [Linux RAID] [Linux SCSI] [Linux ACPI] [DDR & Rambus] [UNIX Filesystems] [Linux Resources]
![]() |
![]() |