procfs and file operations

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

 



Hi all,

I want to figure what file operations are possible to a procfs file.

I read the pages 83-90 in the LDD3 and the sources
(http://lxr.linux.no/#linux+v2.6.34/include/linux/proc_fs.h).

Now, I am a little confused.
The struct proc_dir_entry contains a struct file_operations. Thus I can
implement all standard file operations on a proc file entry? And why do
I use device files instead? Where are the advantages of a device file?

Regards

Chris

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[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