| Summary: | mdev help message is misleading - mdev.seq | ||
|---|---|---|---|
| Product: | Busybox | Reporter: | Arkadiusz Miskiewicz <arekm> |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | busybox-cvs |
| Priority: | P5 | ||
| Version: | 1.21.x | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
Or even better accept empty file the same way as file containing "\n". Fixed in git, thanks! |
"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"