linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Another udev/sysfs question.
@ 2006-11-18  4:08 Kilau, Scott
  2006-11-18  9:03 ` Greg KH
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Kilau, Scott @ 2006-11-18  4:08 UTC (permalink / raw)
  To: linux-hotplug

Hi everyone,

This is really just a sysfs question.
Not sure if both udev and sysfs questions are dealt with on this list.

I have a different driver that I am working on now, and porting it to
use sysfs as well.

This driver is a "virtual" driver, it doesn't control a board, like on
a PCI bus, ISA bus, etc, etc.

I create a "class" for this driver, so it will hang out in /sys/class
I have gotten my files made in there, so that's working fine.

Is there a way to create a subdirectory inside of the directory that
I made in /sys/class ?

For example, I have /sys/class/digi_realport as the "base" class.

I would like to hang off subdirectories in there that describe the
"virtual" nodes for the driver, for example:
/sys/class/digi_realport/node1 and /sys/class/digi_realport/node2, etc,
etc.

Is this possible to do?

Thanks!
Scott Kilau




 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CIDÞVDEV
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-11-24  8:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-18  4:08 Another udev/sysfs question Kilau, Scott
2006-11-18  9:03 ` Greg KH
2006-11-19  2:02 ` Kilau, Scott
2006-11-24  8:39 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).