Hi, Thanks for replying Paul.
My driver will be loaded at the boot time itself, just after the root file-system mounts in the read-only mode. Suppose there is bug in the driver due to which the system is panicing, and since the driver is loading at the boot time, it will cause the system to panic in all the subsequent boot cycle. To avoid such issue I'll bypass the driver loading by supplying "do not load the driver" as an argument to the boot options. So, in the rc scripts I need to check whether the system is boot with the by-pass mode of the driver. thanks & regards, ajit On Tue, Jan 6, 2009 at 9:24 PM, Paul Durrant <[email protected]> wrote: > ajit jain wrote: > >> I am writing a driver for which I need to get the arguments supplied at >> the time of boot (edited at grub or through ok prompt). >> As /proc/cmdline can be use to retrieve the boot options for redhat. How >> can we retrieve the boot arguments. >> Please help. >> > > I think a bit more info. is needed. What is your driver attempting to do > and what boot arguments is it interested in? > > Paul >
_______________________________________________ driver-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/driver-discuss
