bug-bash
[Top][All Lists]
Advanced

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

Re: AIX: ulimit gets halved when switching to bash from ksh


From: Chet Ramey
Subject: Re: AIX: ulimit gets halved when switching to bash from ksh
Date: Tue, 13 Feb 2007 21:44:46 -0500
User-agent: Thunderbird 1.5.0.9 (Macintosh/20061207)

ptgasior@express-sciprts.com wrote:
> Configuration Information [Automatically generated, do not change]:
> Machine: powerpc
> OS: aix5.1
> Compiler: xlc
> Compilation
> CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='powerpc' -DCONF_OSTYPE='aix5.1'
>  -DCONF_MACHTYPE='powerpc-ibm-aix5.1' -DCONF_VENDOR='ibm' -DLOCALEDIR='/op
> t/freeware/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H  -I.  -I
>  -I./include -I./lib  -I/opt/freeware/include -O2
> uname output: AIX es2p180p 2 5 00CE9D2F4C00
> Machine Type: powerpc-ibm-aix5.1
> 
> Bash Version: 3.0
> Patch Level: 16
> Release Status: release
> 
> Description:
>       [Detailed description of the problem, suggestion, or complaint.]
>               Logged in as default shell of ksh, then type bash.  Ulimit 
> filesize
> becomes half of what it was when the filesize isn't set to unlimited.

Bash `blocks' are 1024 bytes.  ksh `blocks' are 512 bytes.  This is
documented in the respective man pages.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                       Live Strong.  No day but today.
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]