Re: trying to make "nash" verbose

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 11 Sep 2007, Jim Cromie wrote:

> Robert P. J. Day wrote:
> >   (sort of a continuation of a thread on the fedora list, but that
> > particular issue was resolved so i can, in good conscience, start with
> > a related but fresh topic here.)
> >
> >   how can i make the execution of the initramfs "nash" script "init"
> > as verbose as possible?  in the standard fedora kernels, the external
> > initrd file associated with each kernel is, in fact, an initramfs cpio
> > image, which has as its executable "init" program a "nash" script that
> > begins:
> >
> > mount -t proc /proc /proc
> > setquiet
> > echo Mounting proc filesystem
> > echo Mounting sysfs filesystem
> > mount -t sysfs /sys /sys
> > echo Creating /dev
> > ...
> >
> >   now apparently the internal "setquiet" command causes the echo
> > commands to not generate any output, but i *want* to see that output,
> > so i went pawing thru the nash code to find the routine that allegedly
> > processes that command:
>
> can you not unpack the initrd, edit out the line, then repack it ?

sure, but that wasn't the question.  the question is, can i do this
*without* doing all that work?  and the answer i've been given is,
yes, if i just remove the "quiet" boot-time parameter -- doing that
allegedly de-activates the "setquiet" nash command, which then allows
the nash output to be dumped to the console.

i haven't had a chance to test this yet, so if someone else wants to
try it, i'd be interested in hearing if this works.

rday
-- 
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://crashcourse.ca
========================================================================

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux