[Bug 7334] New: mdev help message is misleading - mdev.seq

bugzilla at busybox.net bugzilla at busybox.net
Sat Aug 30 09:32:15 UTC 2014


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

           Summary: mdev help message is misleading - mdev.seq
           Product: Busybox
           Version: 1.21.x
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P5
         Component: Other
        AssignedTo: unassigned at busybox.net
        ReportedBy: arekm at maven.pl
                CC: busybox-cvs at busybox.net
   Estimated Hours: 0.0


"If /dev/mdev.seq file exists, mdev will wait for its value
to match $SEQNUM variable. This prevents plug/unplug races.
To activate this feature, create empty /dev/mdev.seq at boot."

So create empty /dev/mdev.seq ... but the code expects the file to contain new
line

        if (seqbuf[0] == '\n') {
            /* seed file: write out seq ASAP */
            xwrite_str(seq_fd, seq);
            xlseek(seq_fd, 0, SEEK_SET);
            dbg2("first seq written");
            break;
        }


So help message should be like "create /dev/mdev.seq at boot containing
one new line only"

-- 
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