[BusyBox 0001329]: Patch for "util-linux/mdev.c": make it able to create symlinks and subdirectories

bugs at busybox.net bugs at busybox.net
Sat Mar 29 16:15:51 UTC 2008


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=1329 
====================================================================== 
Reported By:                Souf
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   1329
Category:                   New Features
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             04-29-2007 10:44 PDT
Last Modified:              03-29-2008 09:15 PDT
====================================================================== 
Summary:                    Patch for "util-linux/mdev.c": make it able to
create symlinks and subdirectories
Description: 
This patch adds to mdev.c the ability to create symlinks and
subdirectories:
examples:
stderr -> /proc/self/fd/2

pcmC[0-9]D[0-9]c 0:0 0666 >> /dev/snd/ 0755

modified files:
util-linux/mdev.c
util-linux/Config.in
docs/mdev.txt

The patch corrects also the bug 0001299

I wish that this patch be deeply tested before a possible integration


====================================================================== 

---------------------------------------------------------------------- 
 vapier - 05-02-07 10:57  
---------------------------------------------------------------------- 
you removed support for program execution which is not desirable

i'll post a diff patch to the busybox mailing list we've been using in
Blackfin/uClinux-dist 

---------------------------------------------------------------------- 
 Souf - 05-03-07 11:44  
---------------------------------------------------------------------- 
New patch for mdev.c which restores support for program execution 

---------------------------------------------------------------------- 
 richard - 10-03-07 09:35  
---------------------------------------------------------------------- 
This update to the patch (against busybox_1_7_stable) allows simple
substitution for the device name, to allow mdev to create for example
/dev/mtdblock/0 from mtdblock0. The rule used is:
   mtdblock([0-9]) 0:0 0600 >> /dev/mtdblock/ 0755

I have found that a useful addition to this patch. 

---------------------------------------------------------------------- 
 vda - 03-29-08 09:15  
---------------------------------------------------------------------- 
mdev in svn (after rev 21557) seems to do all of this except "pure"
creation of symlinks ("stderr -> /proc/self/fd/2" syntax). That last thing
can be done with ln. The rest seems to be implemented now. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-29-07 10:44  Souf           New Issue                                    
04-29-07 10:44  Souf           Status                   new => assigned     
04-29-07 10:44  Souf           Assigned To               => BusyBox         
04-29-07 10:44  Souf           File Added: mdev.patch                       
05-02-07 10:57  vapier         Note Added: 0002336                          
05-03-07 11:44  Souf           Note Added: 0002340                          
05-03-07 11:46  Souf           File Added: mdev_2.patch                     
10-03-07 09:35  richard        Note Added: 0002811                          
10-03-07 09:35  richard        File Added: mdev_3.patch                     
03-29-08 09:15  vda            Status                   assigned => closed  
03-29-08 09:15  vda            Note Added: 0006224                          
======================================================================




More information about the busybox-cvs mailing list