[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Edlug Archive Jan 2003 ]

Re: [edlug] BASH question



Thanks, but nocando:

I don't have read permission on the bash binary (only execute -- actually this 
surprised me), and I don't have the extra space to fill up disks with big 
files!

Any other answers?

Ben

On Wed, 15 January, 2003 14:49, Lee Kindness wrote:
> I guess a frig way of testing would be:
>
>  bash
>  cat /dev/zero > file
>
> and then see if it gets past 2GB. Another potential way would be:
>
>  strings `which bash` | grep 64
>
> to see if the large file interface has been used, ie:
>
>  fstat64
>  stat64
>  open64
>  setrlimit64
>  getrlimit64
>  readdir64
>  lseek64
>  fopen64
>  lstat64
>
> L.
>
> Ben Soares writes:
>  > Hello,
>  >
>  > Can anyone tell me a way to see if the bash that I'm using has been
>  > compiled with or without large file support enabled?  This is on Solaris
>  > 2.6.  The bash is version 2.02.1(2)-release.
>  >
>  > Ta,
>  >
>  > Ben
>  > --
>  > Ben Soares                              	   tel:	+44 (0)131-651 1238
>  > EDINA, Edinburgh University Data Library	   fax:	+44 (0)131-650 3308
>  > Main Library Building, George Square    	 email:	ben.soares@xxx.xxx.xxx
>  > Edinburgh EH8 9LJ, Scotland, UK         	   www:	http://edina.ac.uk/
>  >
>  > "Hmmm, that makes no sense to me...
>  >  But then you are very small, perhaps you're right." -- Treebeard
>  >
>  >
>  > -----------------------------------------------------------------------
>  > You can find the EdLUG mailing list FAQ list at:
>  > http://www.edlug.org.uk/list_faq.html
>
> -----------------------------------------------------------------------
> You can find the EdLUG mailing list FAQ list at:
> http://www.edlug.org.uk/list_faq.html

-- 
Ben Soares                              	   tel:	+44 (0)131-651 1238
EDINA, Edinburgh University Data Library	   fax:	+44 (0)131-650 3308
Main Library Building, George Square    	 email:	ben.soares@xxx.xxx.xxx
Edinburgh EH8 9LJ, Scotland, UK         	   www:	http://edina.ac.uk/

"Hmmm, that makes no sense to me...
 But then you are very small, perhaps you're right." -- Treebeard


-----------------------------------------------------------------------
You can find the EdLUG mailing list FAQ list at:
http://www.edlug.org.uk/list_faq.html



This archive is kept by wibble@morpheux.org.DONTSPAMME
homepage