Sean Collins on 6 Oct 2009 09:43:21 -0700

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

Re: [PLUG] Failure trying to write to a file in a virtual file system

Ah - it may be this bit right here

>  When writing sysfs files, userspace processes should first read the
>  entire file, modify the values it wishes to change, then write the
>  entire buffer back.

When you echo something and pipe it into the sysfs mount, that's a  
stream. I think sysfs wants an atomic write.

Again, a bit out on a limb here, but that's my best guess without  
access to my linux box.

Thank You,

Sean Collins

This message was sent using IMP, the Internet Messaging Program.

Philadelphia Linux Users Group         --
Announcements -
General Discussion  --