LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-20-2016, 04:08 AM   #1
sicily
LQ Newbie
 
Registered: Sep 2016
Posts: 3

Rep: Reputation: Disabled
Synchronization in sysfs filesystem


Hi,

Had a question on how to achieve synchronization is sysfs files? Does the filesystem itself not allow concurrent access of any particular sysfs file or is it left to the programmer to make sure that concurrent access has to be avoided? Are there any specifc locking mechanisms available for sysfs files.?
 
Old 10-20-2016, 04:32 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,834

Rep: Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820
Seems like another example of an xyproblem.
Methinks someone doesn't understand pseudo filesystems.

If one is capable of writing kernel code to expose kobjects, that same someone had better be able to manage updates to the sysfs representation of it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sysfs animesh Linux - Newbie 1 08-16-2011 04:38 AM
sysfs filesystem fateme-linux Linux - Kernel 2 10-28-2007 02:07 AM
Sysfs use chessi Linux - Kernel 1 04-24-2007 04:59 PM
Filesystem sysfs not supported by kernel Nishant Desai Linux - Kernel 1 11-25-2006 04:05 PM
email synchronization (not file synchronization) Moebius Linux - Software 6 10-05-2004 06:31 AM


All times are GMT -5. The time now is 02:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration