logo       

Re: /proc/cmdline limit of 256 chars: msg#00002

Subject: Re: /proc/cmdline limit of 256 chars
On Thu, 2005-10-06 at 17:10 +0200, Georg Lippold wrote:
> I found out, that the maximum length of the command line is 256 chars
> ('cat /proc/cmdline | wc -c'), the rest is truncated. One problem is,
> that the default options for a livecd take up very much space. This
> could be fixed in genkernel.

Try not using gensplash.

Turning off gensplash (with the default livecd-2005.1 theme) saves 45
characters on the command line.  You can still actually use bootsplash
with this scenario, you just won't be using gentoo-sources to do it.

> On the other hand, I found a (pretty recent) kernel patch, that
> increases this limit to 512 chars:
> 
> http://syslinux.zytor.com/archives/2005-June/005313.html
> 
> As it seems, syslinux 3.09 (which can be used with genkernel) already
> supports it. Maybe it can be included in gentoo-sources? I checked with
> gentoo-sources-2.6.13-r2 and the feature is not included.

Well, catalyst is already using 3.09 of syslinux, and genkernel has
nothing to do with syslinux.  If you think this is something worth
having, submit a bug report against gentoo-sources on
http://bugs.gentoo.org so they can add the patch.  I wouldn't see a
problem with that considering I am about to add X resolution support to
mkxf86config, and it gets that information from the command line.

-- 
Chris Gianelloni
Release Engineering - Strategic Lead
x86 Architecture Team
Games - Developer
Gentoo Linux

Attachment: signature.asc
Description: This is a digitally signed message part

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
audio.irate.dev...    yellowdog.gener...    ietf.ips/2002-0...    xfree86.fonts/2...    busybox/2003-07...    emacs.jdee/2004...    linux.mandrake....    hardware.microc...    user-groups.lin...    science.analysi...    version-control...    db.filemaker.de...    cluster.openmos...    mail.eyebrowse....    text.xml.xerces...    kde.devel.kwrit...    finance.moneyda...    gcc.regression/...    network.routing...    os.freebsd.deve...    recreation.radi...    qnx.openqnx.dev...    python.xml/2002...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe