Messages in this thread | | | From | "Ulrich Windl" <> | Date | Wed, 10 Apr 1996 11:34:23 +0100 | Subject | Re: PATCH: ramdisk loading status display is corrupted |
| |
On 9 Apr 96 at 18:55, Bruce Perens wrote:
> Dear Linus and Co., > > When loading a RAM disk at boot time, the kernel prints something like this: > > loading ramdisk... <5>/<5>-<5>\<5>|<5>/<5>- >
Strange, I haven't seen it on the console in 1.3.74...
> And so on, for several lines. The <5> is of course the logging level. > This patch will correct the appearance of the display without hacking up > printk(). > > Bruce Perens > > *** drivers/block/rd.c.old Tue Apr 9 17:20:35 1996 > --- drivers/block/rd.c Tue Apr 9 17:26:57 1996 > *************** > *** 483,489 **** > outfile.f_op->write(outfile.f_inode, &outfile, buf, > BLOCK_SIZE); > if (!(i % 16)) { > ! printk(KERN_NOTICE "%c\b", rotator[rotate & 0x3]); > rotate++; > } > } > --- 483,495 ---- > outfile.f_op->write(outfile.f_inode, &outfile, buf, > BLOCK_SIZE); > if (!(i % 16)) { > ! /* > ! * 9-Apr-96 Bruce Perens <Bruce@Pixar.com> > ! * This prints a leading "<5>" string because of the > ! * logging level sentinel embedded in the message. Rub > ! * it out. > ! */ > ! printk(KERN_NOTICE "\b\b\b%c \b\b\b", rotator[rotate & 0x3]); > rotate++; > } > } > -- > Pixar Animation Studios: Reality is not our business. > Pixar's "Toy Story" $184.5M domestic, $66M overseas and counting. > >
| |