Re: netlink problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Dec 05, 2001 at 11:07:04AM +0530, Abhijit Gadgil wrote:
> Greg KH wrote :
> 
> Is it not a overkill? 'to make your own filesystem'?

No.  Remember, there are no more major/minor numbers being given out.
Making a filesystem is the way of the future for replacing the
"traditional" driver interface (char or block interfaces.)  It allows
you to control a device using simple shell scripts, instead of relying
on ioctl interfaces.

driverfs makes this quite easy (as easy as procfs, if not, let us know,
it's still early enough to change the interface).  Take a look at
pcihpfs to see how simple it is to roll your own.

Also realize that most of the core kernel interfaces have already been
converted to filesystems (tmpfs, sockfs, and others), and more are on
the way.

thanks,

greg k-h
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux