[Bug 431] New: mdev should not remove "original" device node if rename operation is in effect

bugzilla at busybox.net bugzilla at busybox.net
Thu Jul 2 09:09:37 UTC 2009


https://bugs.busybox.net/show_bug.cgi?id=431

           Summary: mdev should not remove "original" device node if rename
                    operation is in effect
           Product: Busybox
           Version: 1.14.x
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
        AssignedTo: unassigned at busybox.net
        ReportedBy: mjt+busybox at corpit.ru
                CC: busybox-cvs at busybox.net
   Estimated Hours: 0.0


When mdev.conf specifies that a given node should be renamed, mdev deletes the
"original" name in both add and remove events.  This is wrong, since rename
operation is here for a reason, for example in order to resolve conflict of lpN
naming (when it will die, finally? :)

Basically, we should construct device_name right from the beginning (instead of
using alias), and do everything with it only, and optionally use aliaslink for
symlinking.  No unlink(wrong_device_name) and no rename().


-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list