linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH]Documentation: Chinese translation of Documentation/filesystems/sysfs.txt
@ 2012-08-29  4:54 Ninja Tekkaman
  2012-08-29 16:29 ` harryxiyou
  2012-09-04 23:09 ` Greg-Kroah-Hartman
  0 siblings, 2 replies; 4+ messages in thread
From: Ninja Tekkaman @ 2012-08-29  4:54 UTC (permalink / raw)
  To: Harry Wei
  Cc: Greg-Kroah-Hartman, linux-kernel, linux-doc, Patrick Mochel,
	Mike Murphy, kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=GB2312, Size: 11438 bytes --]

This is a Chinese translated version of Documentation/filesystems/sysfs.txt

Signed-off-by: Fu Wei <tekkamanninja@gmail.com>
---
 Documentation/zh_CN/filesystems/sysfs.txt |  372 +++++++++++++++++++++++++++++
 1 file changed, 372 insertions(+)
 create mode 100644 Documentation/zh_CN/filesystems/sysfs.txt

diff --git a/Documentation/zh_CN/filesystems/sysfs.txt
b/Documentation/zh_CN/filesystems/sysfs.txt
new file mode 100644
index 0000000..b4bee3a
--- /dev/null
+++ b/Documentation/zh_CN/filesystems/sysfs.txt
@@ -0,0 +1,372 @@
+Chinese translated version of Documentation/filesystems/sysfs.txt
+
+If you have any comment or update to the content, please contact the
+original document maintainer directly.  However, if you have a problem
+communicating in English you can also ask the Chinese maintainer for
+help.  Contact the Chinese maintainer if this translation is outdated
+or if there is a problem with the translation.
+
+Maintainer: Patrick Mochel	<mochel@osdl.org>
+		Mike Murphy <mamurph@cs.clemson.edu>
+Chinese maintainer: Fu Wei <tekkamanninja@gmail.com>
+---------------------------------------------------------------------
+Documentation/filesystems/sysfs.txt µÄÖÐÎÄ·­Òë
+
+Èç¹ûÏëÆÀÂÛ»ò¸üб¾ÎĵÄÄÚÈÝ£¬ÇëÖ±½ÓÁªÏµÔ­ÎĵµµÄά»¤Õß¡£Èç¹ûÄãʹÓÃÓ¢ÎÄ
+½»Á÷ÓÐÀ§ÄѵĻ°£¬Ò²¿ÉÒÔÏòÖÐÎÄ°æά»¤ÕßÇóÖú¡£Èç¹û±¾·­Òë¸üв»¼°Ê±»òÕß·­
+Òë´æÔÚÎÊÌ⣬ÇëÁªÏµÖÐÎÄ°æά»¤Õß¡£
+Ó¢ÎÄ°æά»¤Õߣº Patrick Mochel	<mochel@osdl.org>
+		Mike Murphy <mamurph@cs.clemson.edu>
+ÖÐÎÄ°æά»¤Õߣº ¸µì¿ Fu Wei <tekkamanninja@gmail.com>
+ÖÐÎÄ°æ·­ÒëÕߣº ¸µì¿ Fu Wei <tekkamanninja@gmail.com>
+ÖÐÎÄ°æУÒëÕߣº ¸µì¿ Fu Wei <tekkamanninja@gmail.com>
+
+
+ÒÔÏÂΪÕýÎÄ
+---------------------------------------------------------------------
+sysfs - ÓÃÓÚµ¼³öÄں˶ÔÏó(kobject)µÄÎļþϵͳ
+
+Patrick Mochel	<mochel@osdl.org>
+Mike Murphy <mamurph@cs.clemson.edu>
+
+ÐÞ¶©:    16 August 2011
+ԭʼ°æ±¾:   10 January 2003
+
+
+sysfs ¼ò½é:
+~~~~~~~~~~
+
+sysfs ÊÇÒ»¸ö×î³õ»ùÓÚ ramfs ÇÒλÓÚÄÚ´æµÄÎļþϵͳ¡£ËüÌṩµ¼³öÄÚºË
+Êý¾Ý½á¹¹¼°ÆäÊôÐÔ£¬ÒÔ¼°ËüÃÇÖ®¼äµÄ¹ØÁªµ½Óû§¿Õ¼äµÄ·½·¨¡£
+
+sysfs ʼÖÕÓë kobject µÄµ×²ã½á¹¹½ôÃÜÏà¹Ø¡£ÇëÔĶÁ
+Documentation/kobject.txt ÎĵµÒÔ»ñµÃ¸ü¶à¹ØÓÚ kobject ½Ó¿ÚµÄ
+ÐÅÏ¢¡£
+
+
+ʹÓà sysfs
+~~~~~~~~~~~
+
+Ö»ÒªÄÚºËÅäÖÃÖж¨ÒåÁË CONFIG_SYSFS £¬sysfs ×ÜÊDZ»±àÒë½øÄںˡ£Äã¿É
+ͨ¹ýÒÔÏÂÃüÁî¹ÒÔØËü:
+
+    mount -t sysfs sysfs /sys
+
+
+´´½¨Ä¿Â¼
+~~~~~~~~
+
+ÈκΠkobject ÔÚϵͳÖÐ×¢²á£¬¾Í»áÓÐÒ»¸öĿ¼ÔÚ sysfs Öб»´´½¨¡£Õâ¸ö
+Ŀ¼ÊÇ×÷Ϊ¸Ã kobject µÄ¸¸¶ÔÏóËùÔÚĿ¼µÄ×ÓĿ¼´´½¨µÄ£¬ÒÔ׼ȷµØ´«µÝ
+Äں˵ĶÔÏó²ã´Îµ½Óû§¿Õ¼ä¡£sysfs ÖеĶ¥²ãĿ¼´ú±í×ÅÄں˶ÔÏó²ã´ÎµÄ
+¹²Í¬×æÏÈ£»ÀýÈ磺ijЩ¶ÔÏóÊôÓÚij¸ö×Óϵͳ¡£
+
+Sysfs ÔÚÓëÆäĿ¼¹ØÁªµÄ sysfs_dirent ¶ÔÏóÖÐÄÚ²¿±£´æÒ»¸öÖ¸ÏòʵÏÖ
+Ŀ¼µÄ kobject µÄÖ¸Õë¡£ÒÔÇ°£¬Õâ¸ö kobject Ö¸Õë±» sysfs Ö±½ÓÓÃÓÚ
+kobject Îļþ´ò¿ªºÍ¹Ø±ÕµÄÒýÓüÆÊý¡£¶øÏÖÔÚµÄ sysfs ʵÏÖÖУ¬kobject
+ÒýÓüÆÊýÖ»ÄÜͨ¹ý sysfs_schedule_callback() º¯ÊýÖ±½ÓÐ޸ġ£
+
+
+ÊôÐÔ
+~~~~
+
+kobject µÄÊôÐÔ¿ÉÔÚÎļþϵͳÖÐÒÔÆÕͨÎļþµÄÐÎʽµ¼³ö¡£Sysfs ΪÊôÐÔ¶¨Òå
+ÁËÃæÏòÎļþ I/O ²Ù×÷µÄ·½·¨£¬ÒÔÌṩ¶ÔÄÚºËÊôÐԵĶÁд¡£
+
+
+ÊôÐÔӦΪ ASCII ÂëÎı¾Îļþ¡£ÒÔÒ»¸öÎļþÖ»´æ´¢Ò»¸öÊôÐÔֵΪÒË¡£µ«Ò»¸ö
+ÎļþÖ»°üº¬Ò»¸öÊôÐÔÖµ¿ÉÄÜÓ°ÏìЧÂÊ£¬ËùÒÔÒ»¸ö°üº¬ÏàͬÊý¾ÝÀàÐ͵ÄÊôÐÔÖµ
+Êý×éÒ²±»¹ã·ºµØ½ÓÊÜ¡£
+
+»ìºÏÀàÐÍ¡¢±í´ï¶àÐÐÊý¾ÝÒÔ¼°Ò»Ð©¹ÖÒìµÄÊý¾Ý¸ñʽ»áÔ⵽ǿÁÒ·´¶Ô¡£ÕâÑù×öÊÇ
+ºÜ¶ªÁ³µÄ,¶øÇÒÆä´úÂë»áÔÚδ֪ͨ×÷ÕßµÄÇé¿öϱ»ÖØд¡£
+
+
+Ò»¸ö¼òµ¥µÄÊôÐԽṹ¶¨ÒåÈçÏÂ:
+
+struct attribute {
+        char                    * name;
+        struct module		*owner;
+        umode_t                 mode;
+};
+
+
+int sysfs_create_file(struct kobject * kobj, const struct attribute * attr);
+void sysfs_remove_file(struct kobject * kobj, const struct attribute * attr);
+
+
+Ò»¸öµ¥¶ÀµÄÊôÐԽṹ²¢²»°üº¬¶ÁдÆäÊôÐÔÖµµÄ·½·¨¡£×Óϵͳ×îºÃΪÔöɾÌض¨
+¶ÔÏóÀàÐ͵ÄÊôÐÔ¶¨Òå×Ô¼ºµÄÊôÐԽṹÌåºÍ·â×°º¯Êý¡£
+
+ÀýÈç:Çý¶¯³ÌÐòÄ£ÐͶ¨ÒåµÄ device_attribute ½á¹¹ÌåÈçÏÂ:
+
+struct device_attribute {
+	struct attribute	attr;
+	ssize_t (*show)(struct device *dev, struct device_attribute *attr,
+			char *buf);
+	ssize_t (*store)(struct device *dev, struct device_attribute *attr,
+			 const char *buf, size_t count);
+};
+
+int device_create_file(struct device *, const struct device_attribute *);
+void device_remove_file(struct device *, const struct device_attribute *);
+
+ΪÁ˶¨ÒåÉ豸ÊôÐÔ£¬Í¬Ê±¶¨ÒåÁËһϸ¨Öúºê:
+
+#define DEVICE_ATTR(_name, _mode, _show, _store) \
+struct device_attribute dev_attr_##_name = __ATTR(_name, _mode, _show, _store)
+
+ÀýÈç:ÉùÃ÷
+
+static DEVICE_ATTR(foo, S_IWUSR | S_IRUGO, show_foo, store_foo);
+
+µÈͬÓÚÈçÏ´úÂ룺
+
+static struct device_attribute dev_attr_foo = {
+       .attr	= {
+		.name = "foo",
+		.mode = S_IWUSR | S_IRUGO,
+		.show = show_foo,
+		.store = store_foo,
+	},
+};
+
+
+×ÓϵͳÌØÓеĻص÷º¯Êý
+~~~~~~~~~~~~~~~~~~~
+
+µ±Ò»¸ö×Óϵͳ¶¨ÒåÒ»¸öеÄÊôÐÔÀàÐÍʱ£¬±ØÐëʵÏÖһϵÁÐµÄ sysfs ²Ù×÷£¬
+ÒÔ°ïÖú¶Áдµ÷ÓÃʵÏÖÊôÐÔËùÓÐÕßµÄÏÔʾºÍ´¢´æ·½·¨¡£
+
+struct sysfs_ops {
+        ssize_t (*show)(struct kobject *, struct attribute *, char *);
+        ssize_t (*store)(struct kobject *, struct attribute *, const
char *, size_t);
+};
+
+[×ÓϵͳӦÒѾ­¶¨ÒåÁËÒ»¸ö struct kobj_type ½á¹¹Ìå×÷ΪÕâ¸öÀàÐ͵Ä
+ÃèÊö·û£¬²¢Ôڴ˱£´æ sysfs_ops µÄÖ¸Õë¡£¸ü¶àµÄÐÅÏ¢²Î¼û kobject µÄ
+Îĵµ]
+
+sysfs »áΪÕâ¸öÀàÐ͵÷ÓÃÊʵ±µÄ·½·¨¡£µ±Ò»¸öÎļþ±»¶Áдʱ£¬Õâ¸ö·½·¨»á
+½«Ò»°ãµÄkobject ºÍ attribute ½á¹¹ÌåÖ¸Õëת»»ÎªÊʵ±µÄÖ¸ÕëÀàÐͺó
+µ÷ÓÃÏà¹ØÁªµÄº¯Êý¡£
+
+
+ʾÀý:
+
+#define to_dev(obj) container_of(obj, struct device, kobj)
+#define to_dev_attr(_attr) container_of(_attr, struct device_attribute, attr)
+
+static ssize_t dev_attr_show(struct kobject *kobj, struct attribute *attr,
+                             char *buf)
+{
+        struct device_attribute *dev_attr = to_dev_attr(attr);
+        struct device *dev = to_dev(kobj);
+        ssize_t ret = -EIO;
+
+        if (dev_attr->show)
+                ret = dev_attr->show(dev, dev_attr, buf);
+        if (ret >= (ssize_t)PAGE_SIZE) {
+                print_symbol("dev_attr_show: %s returned bad count\n",
+                                (unsigned long)dev_attr->show);
+        }
+        return ret;
+}
+
+
+
+¶ÁдÊôÐÔÊý¾Ý
+~~~~~~~~~~~~
+
+ÔÚÉùÃ÷ÊôÐÔʱ£¬±ØÐëÖ¸¶¨ show() »ò store() ·½·¨£¬ÒÔʵÏÖÊôÐÔµÄ
+¶Á»òд¡£ÕâЩ·½·¨µÄÀàÐÍÓ¦¸ÃºÍÒÔϵÄÉ豸ÊôÐÔ¶¨ÒåÒ»Ñù¼òµ¥¡£
+
+ssize_t (*show)(struct device *dev, struct device_attribute *attr, char *buf);
+ssize_t (*store)(struct device *dev, struct device_attribute *attr,
+                 const char *buf, size_t count);
+
+Ò²¾ÍÊÇ˵,ËûÃÇÓ¦Ö»ÒÔÒ»¸ö´¦Àí¶ÔÏó¡¢Ò»¸öÊôÐÔºÍÒ»¸ö»º³åÖ¸Õë×÷Ϊ²ÎÊý¡£
+
+sysfs »á·ÖÅäÒ»¸ö´óСΪ (PAGE_SIZE) µÄ»º³åÇø²¢´«µÝ¸øÕâ¸ö·½·¨¡£
+Sysfs ½«»áΪÿ´Î¶Áд²Ù×÷µ÷ÓÃÒ»´ÎÕâ¸ö·½·¨¡£ÕâʹµÃÕâЩ·½·¨ÔÚÖ´ÐÐʱ
+»á³öÏÖÒÔϵÄÐÐΪ:
+
+- ÔÚ¶Á·½Ã棨read(2)£©£¬show() ·½·¨Ó¦¸ÃÌî³äÕû¸ö»º³åÇø¡£»ØÏëÊôÐÔ
+  Ó¦Ö»µ¼³öÁËÒ»¸öÊôÐÔÖµ»òÊÇÒ»¸öͬÀàÐÍÊôÐÔÖµµÄÊý×飬ËùÒÔÕâ¸ö´ú¼Û½«
+  ²»»á²»Ì«¸ß¡£
+
+  ÕâʹµÃÓû§¿Õ¼ä¿ÉÒÔ¾Ö²¿µØ¶ÁºÍÈÎÒâµÄÏòÇ°ËÑË÷Õû¸öÎļþ¡£Èç¹ûÓû§¿Õ¼ä
+  ÏòºóËÑË÷µ½Áã»òʹÓá®0¡¯Æ«ÒÆÖ´ÐÐÒ»¸öpread(2)²Ù×÷£¬show()·½·¨½«
+  Ôٴα»µ÷Óã¬ÒÔÖØÐÂÌî³ä»º´æ¡£
+
+- ÔÚд·½Ã棨write(2)£©£¬sysfs Ï£ÍûÔÚµÚÒ»´Îд²Ù×÷ʱµÃµ½Õû¸ö»º³åÇø¡£
+  Ö®ºó Sysfs ´«µÝÕû¸ö»º³åÇø¸ø store() ·½·¨¡£
+
+  µ±ÒªÐ´ sysfs Îļþʱ£¬Óû§¿Õ¼ä½ø³ÌÓ¦Ê×ÏȶÁÈ¡Õû¸öÎļþ£¬ÐÞ¸ÃÏëÒª
+  ¸Ä±äµÄÖµ£¬È»ºó»ØдÕû¸ö»º³åÇø¡£
+
+  ÔÚ¶ÁдÊôÐÔֵʱ£¬ÊôÐÔ·½·¨µÄÖ´ÐÐÓ¦²Ù×÷ÏàͬµÄ»º³åÇø¡£
+
+×¢¼Ç:
+
+- д²Ù×÷µ¼Ö嵀 show() ·½·¨ÖØÔØ£¬»áºöÂÔµ±Ç°ÎļþλÖá£
+
+- »º³åÇøÓ¦×ÜÊÇ PAGE_SIZE ´óС¡£¶ÔÓÚi386£¬Õâ¸öֵΪ4096¡£
+
+- show() ·½·¨Ó¦¸Ã·µ»ØдÈ뻺³åÇøµÄ×Ö½ÚÊý£¬Ò²¾ÍÊÇ snprintf()µÄ
+  ·µ»ØÖµ¡£
+
+- show() ӦʼÖÕʹÓà snprintf()¡£
+
+- store() Ó¦·µ»Ø»º³åÇøµÄÒÑÓÃ×Ö½ÚÊý¡£Èç¹ûÕû¸ö»º´æ¶¼ÒÑÌîÂú£¬Ö»Ðè·µ»Ø
+  count ²ÎÊý¡£
+
+- show() »ò store() ¿ÉÒÔ·µ»Ø´íÎóÖµ¡£µ±µÃµ½Ò»¸ö·Ç·¨Öµ£¬±ØÐë·µ»ØÒ»¸ö
+  ´íÎóÖµ¡£
+
+- Ò»¸ö´«µÝ¸ø·½·¨µÄ¶ÔÏ󽫻áͨ¹ý sysfs µ÷ÓöÔÏóÄÚǶµÄÒýÓüÆÊý¹Ì¶¨ÔÚ
+  ÄÚ´æÖС£¾¡¹ÜÈç´Ë£¬¶ÔÏó´ú±íµÄÎïÀíʵÌå(ÈçÉ豸)¿ÉÄÜÒѲ»´æÔÚ¡£ÈçÓбØÒª£¬
+  Ó¦¸ÃʵÏÖÒ»¸ö¼ì²â»úÖÆ¡£
+
+Ò»¸ö¼òµ¥µÄ(δ¾­ÊµÑé֤ʵµÄ)É豸ÊôÐÔʵÏÖÈçÏ£º
+
+static ssize_t show_name(struct device *dev, struct device_attribute *attr,
+                         char *buf)
+{
+	return scnprintf(buf, PAGE_SIZE, "%s\n", dev->name);
+}
+
+static ssize_t store_name(struct device *dev, struct device_attribute *attr,
+                          const char *buf, size_t count)
+{
+        snprintf(dev->name, sizeof(dev->name), "%.*s",
+                 (int)min(count, sizeof(dev->name) - 1), buf);
+	return count;
+}
+
+static DEVICE_ATTR(name, S_IRUGO, show_name, store_name);
+
+
+£¨×¢Ò⣺ÕæÕýµÄʵÏÖ²»ÔÊÐíÓû§¿Õ¼äÉèÖÃÉ豸Ãû¡££©
+
+¶¥²ãĿ¼²¼¾Ö
+~~~~~~~~~~~~
+
+sysfs Ŀ¼µÄ°²ÅÅÏÔʾÁËÄÚºËÊý¾Ý½á¹¹Ö®¼äµÄ¹Øϵ¡£
+
+¶¥²ã sysfs Ŀ¼ÈçÏÂ:
+
+block/
+bus/
+class/
+dev/
+devices/
+firmware/
+net/
+fs/
+
+devices/ °üº¬ÁËÒ»¸öÉ豸Ê÷µÄÎļþϵͳ±íʾ¡£ËûÖ±½ÓÓ³ÉäÁËÄÚ²¿µÄÄÚºË
+É豸Ê÷£¬·´Ó³ÁËÉ豸µÄ²ã´Î½á¹¹¡£
+
+bus/ °üº¬ÁËÄÚºËÖи÷ÖÖ×ÜÏßÀàÐ͵ÄƽÃæĿ¼²¼¾Ö¡£Ã¿¸ö×ÜÏßĿ¼°üº¬Á½¸ö
+×ÓĿ¼:
+
+	devices/
+	drivers/
+
+devices/ °üº¬ÁËϵͳÖгöÏÖµÄÿ¸öÉ豸µÄ·ûºÅÁ´½Ó£¬ËûÃÇÖ¸Ïò root/ ϵÄ
+É豸Ŀ¼¡£
+
+drivers/ °üº¬ÁËÿ¸öÒÑΪÌض¨×ÜÏßÉϵÄÉ豸¶ø¹ÒÔصÄÇý¶¯³ÌÐòµÄĿ¼(ÕâÀï
+¼Ù¶¨Çý¶¯Ã»ÓпçÔ½¶à¸ö×ÜÏßÀàÐÍ)¡£
+
+fs/ °üº¬ÁËÒ»¸öΪÎļþϵͳÉèÁ¢µÄĿ¼¡£ÏÖÔÚÿ¸öÏëÒªµ¼³öÊôÐÔµÄÎļþϵͳ±ØÐë
+ÔÚ fs/ Ï´´½¨×Ô¼ºµÄ²ã´Î½á¹¹(²Î¼ûDocumentation/filesystems/fuse.txt)¡£
+
+dev/ °üº¬Á½¸ö×ÓĿ¼£º char/ ºÍ block/¡£ÔÚÕâÁ½¸ö×ÓĿ¼ÖУ¬ÓÐÒÔ
+<major>:<minor> ¸ñʽÃüÃûµÄ·ûºÅÁ´½Ó¡£ÕâЩ·ûºÅÁ´½ÓÖ¸Ïò sysfs Ŀ¼
+ÖÐÏàÓ¦µÄÉ豸¡£/sys/dev Ìṩһ¸öͨ¹ýÒ»¸ö stat(2) ²Ù×÷½á¹û£¬²éÕÒ
+É豸 sysfs ½Ó¿Ú¿ì½ÝµÄ·½·¨¡£
+
+¸ü¶àÓÐ¹Ø driver-model µÄÌØÐÔÐÅÏ¢¿ÉÒÔÔÚ Documentation/driver-model/
+ÖÐÕÒµ½¡£
+
+
+TODO: Íê³ÉÕâÒ»½Ú¡£
+
+
+µ±Ç°½Ó¿Ú
+~~~~~~~~
+
+ÒÔϵĽӿڲãÆÕ±é´æÔÚÓÚµ±Ç°µÄsysfsÖÐ:
+
+- É豸 (include/linux/device.h)
+----------------------------------
+½á¹¹Ìå:
+
+struct device_attribute {
+	struct attribute	attr;
+	ssize_t (*show)(struct device *dev, struct device_attribute *attr,
+			char *buf);
+	ssize_t (*store)(struct device *dev, struct device_attribute *attr,
+			 const char *buf, size_t count);
+};
+
+ÉùÃ÷:
+
+DEVICE_ATTR(_name, _mode, _show, _store);
+
+Ôö/ɾÊôÐÔ:
+
+int device_create_file(struct device *dev, const struct
device_attribute * attr);
+void device_remove_file(struct device *dev, const struct
device_attribute * attr);
+
+
+- ×ÜÏßÇý¶¯³ÌÐò (include/linux/device.h)
+--------------------------------------
+½á¹¹Ìå:
+
+struct bus_attribute {
+        struct attribute        attr;
+        ssize_t (*show)(struct bus_type *, char * buf);
+        ssize_t (*store)(struct bus_type *, const char * buf, size_t count);
+};
+
+ÉùÃ÷:
+
+BUS_ATTR(_name, _mode, _show, _store)
+
+Ôö/ɾÊôÐÔ:
+
+int bus_create_file(struct bus_type *, struct bus_attribute *);
+void bus_remove_file(struct bus_type *, struct bus_attribute *);
+
+
+- É豸Çý¶¯³ÌÐò (include/linux/device.h)
+-----------------------------------------
+
+½á¹¹Ìå:
+
+struct driver_attribute {
+        struct attribute        attr;
+        ssize_t (*show)(struct device_driver *, char * buf);
+        ssize_t (*store)(struct device_driver *, const char * buf,
+                         size_t count);
+};
+
+ÉùÃ÷:
+
+DRIVER_ATTR(_name, _mode, _show, _store)
+
+Ôö/ɾÊôÐÔ£º
+
+int driver_create_file(struct device_driver *, const struct
driver_attribute *);
+void driver_remove_file(struct device_driver *, const struct
driver_attribute *);
+
+
+Îĵµ
+~~~~
+
+sysfs Ŀ¼½á¹¹ÒÔ¼°ÆäÖаüº¬µÄÊôÐÔ¶¨ÒåÁËÒ»¸öÄÚºËÓëÓû§¿Õ¼äÖ®¼äµÄ ABI¡£
+¶ÔÓÚÈκΠABI£¬Æä×ÔÉíµÄÎȶ¨ºÍÊʵ±µÄÎĵµÊǷdz£ÖØÒªµÄ¡£ËùÓÐÐ嵀 sysfs
+ÊôÐÔ±ØÐëÔÚ Documentation/ABI ÖÐÓÐÎĵµ¡£Ïê¼û Documentation/ABI/README¡£
-- 
1.7.9.5
ÿôèº{.nÇ+‰·Ÿ®‰­†+%ŠËÿ±éݶ\x17¥Šwÿº{.nÇ+‰·¥Š{±þG«éÿŠ{ayº\x1dʇڙë,j\a­¢f£¢·hšïêÿ‘êçz_è®\x03(­éšŽŠÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?™¨è­Ú&£ø§~á¶iO•æ¬z·švØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?–I¥

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH]Documentation: Chinese translation of Documentation/filesystems/sysfs.txt
  2012-08-29  4:54 [PATCH]Documentation: Chinese translation of Documentation/filesystems/sysfs.txt Ninja Tekkaman
@ 2012-08-29 16:29 ` harryxiyou
  2012-09-04 23:09 ` Greg-Kroah-Hartman
  1 sibling, 0 replies; 4+ messages in thread
From: harryxiyou @ 2012-08-29 16:29 UTC (permalink / raw)
  To: Ninja Tekkaman
  Cc: Greg-Kroah-Hartman, linux-kernel, linux-doc, Patrick Mochel,
	Mike Murphy, kernel

2012/8/29 Ninja Tekkaman <tekkamanninja@gmail.com>:
> This is a Chinese translated version of Documentation/filesystems/sysfs.txt
>
> Signed-off-by: Fu Wei <tekkamanninja@gmail.com>
> ---

Acked-by: Harry Wei <harryxiyou@gmail.com>



-- 
Thanks
Harry Wei

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH]Documentation: Chinese translation of Documentation/filesystems/sysfs.txt
  2012-08-29  4:54 [PATCH]Documentation: Chinese translation of Documentation/filesystems/sysfs.txt Ninja Tekkaman
  2012-08-29 16:29 ` harryxiyou
@ 2012-09-04 23:09 ` Greg-Kroah-Hartman
       [not found]   ` <CA+HMz3iXPrbUwfJjC-mUNaPaq9htHRgeU9QSLVN-WUd1=SKisw@mail.gmail.com>
  1 sibling, 1 reply; 4+ messages in thread
From: Greg-Kroah-Hartman @ 2012-09-04 23:09 UTC (permalink / raw)
  To: Ninja Tekkaman
  Cc: Harry Wei, linux-kernel, linux-doc, Patrick Mochel, Mike Murphy, kernel

On Wed, Aug 29, 2012 at 12:54:41PM +0800, Ninja Tekkaman wrote:
> This is a Chinese translated version of Documentation/filesystems/sysfs.txt
> 
> Signed-off-by: Fu Wei <tekkamanninja@gmail.com>
> Acked-by: Harry Wei <harryxiyou@gmail.com>

Careful, this patch was line-wrapped, and I had to fix it up by hand.
Next time please fix this before you send it out.

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH]Documentation: Chinese translation of Documentation/filesystems/sysfs.txt
       [not found]   ` <CA+HMz3iXPrbUwfJjC-mUNaPaq9htHRgeU9QSLVN-WUd1=SKisw@mail.gmail.com>
@ 2012-09-05 17:03     ` Ninja Tekkaman
  0 siblings, 0 replies; 4+ messages in thread
From: Ninja Tekkaman @ 2012-09-05 17:03 UTC (permalink / raw)
  To: Greg-Kroah-Hartman
  Cc: Harry Wei, linux-kernel, linux-doc, Patrick Mochel, Mike Murphy, kernel

I'm so sorry for that , this will not happen again!
Thank you for your reminding!

2012/9/5 Greg-Kroah-Hartman <gregkh@linuxfoundation.org>:
>> On Wed, Aug 29, 2012 at 12:54:41PM +0800, Ninja Tekkaman wrote:
>>> This is a Chinese translated version of Documentation/filesystems/sysfs.txt
>>>
>>> Signed-off-by: Fu Wei <tekkamanninja@gmail.com>
>>> Acked-by: Harry Wei <harryxiyou@gmail.com>
>>
>> Careful, this patch was line-wrapped, and I had to fix it up by hand.
>> Next time please fix this before you send it out.
>>
>> thanks,
>>
>> greg k-h

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-09-05 17:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-29  4:54 [PATCH]Documentation: Chinese translation of Documentation/filesystems/sysfs.txt Ninja Tekkaman
2012-08-29 16:29 ` harryxiyou
2012-09-04 23:09 ` Greg-Kroah-Hartman
     [not found]   ` <CA+HMz3iXPrbUwfJjC-mUNaPaq9htHRgeU9QSLVN-WUd1=SKisw@mail.gmail.com>
2012-09-05 17:03     ` Ninja Tekkaman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).