       name   , -
  kobj,  ,   target. 
          
  .

  

      sysfs_remove_file ().
void sysfs remove file(struct kobject *kobj, const struct attribute *attr);

          
 .

 ,     sysfs_create_link (), -
      sysfs_remove_link ().

void sysfs remove link(struct kobject *kobj, char *name);

        name   -
,     kobj.

       <linux/kobj ect. h>. 
sysfs_create_file()  sysfs_remove_file()    fs/sysfs/
file.,   sysfs_create_link()  sysfs_remove_link()   
fs/sysfs/symlink.c.

    sysfs

  sysfs   ,    -
,       iocti ()  -
  ,    prods.   
      sysfs   .
,       iocti ()  -
  ,       -
  sysfs,     .   
  , -    ,
 iocti  ,     /    -
   .

    sysfs     -
 ,     .

-,   sysfs     -
  .        
    .    -
       
 ,        /.
         
   ,        sysfs
    ,    .  ,   -
       , 
 ,       . 
   .    -
  .       , 

368  17