On Wed, Feb 01, 2006 at 03:54:22PM +0100, Jan Engelhardt wrote:
> >>
> >> I guess I could pass three values on the same file, like this:
> >> $ echo "5 1000 500" > meminfo
> >>
> >> I know that breaks the sysfs golden-rule, but how can I pass those
> >> values _atomically_ then? Having three different files wouldn't be
> >> atomic...
> >
> >That's what configfs was created for. I suggest using that for things
> >like this, as sysfs is not intended for it.
> >
> Can't we just somewhat merge all the duplicated functionality between procfs,
> sysfs and configfs...
What "duplicated functionality"? They all do different, unique things.
Patches are always welcome...
thanks,
greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- References:
- Right way to configure a driver? (sysfs, ioctl, proc, configfs,....)
- Re: Right way to configure a driver? (sysfs, ioctl, proc, configfs,....)
- Re: Right way to configure a driver? (sysfs, ioctl, proc, configfs,....)
- Re: Right way to configure a driver? (sysfs, ioctl, proc, configfs,....)
- Re: Right way to configure a driver? (sysfs, ioctl, proc, configfs,....)
- Re: Right way to configure a driver? (sysfs, ioctl, proc, configfs,....)
- Prev by Date:
Re: Right way to configure a driver? (sysfs, ioctl, proc, configfs,....)
- Next by Date:
RE: [PATCH 1/12] generic *_bit()
- Previous by thread:
Re: Right way to configure a driver? (sysfs, ioctl, proc, configfs,....)
- Next by thread:
Re: Right way to configure a driver? (sysfs, ioctl, proc, configfs,....)
- Index(es):
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]