Re: datasize ...

2006-08-29 Thread regisr
On Tue, 29 Aug 2006 14:34:23 -0500
David Kelly <[EMAIL PROTECTED]> a écrit:

 
> > But I have yet set the limit to 1.5GB! I wanted to known if the limit
> > to ~3G is always in effect.
> I don't understand your 1.5 GB reference.

I have set it in the kernel... I have run the program but it use 1300M!
As I set the maximum datasize to 1.5G it is OK for now. It is not very
optimized :-(

Thanks for your help,
-- 
regis
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: datasize ...

2006-08-29 Thread regisr
On Tue, 29 Aug 2006 09:15:52 -0500
David Kelly <[EMAIL PROTECTED]> a écrit:

> Yes, you will have to tweak a few kernel values to allow more than 512M
> per process. And then have enough core RAM and swap to back your data.

But I have yet set the limit to 1.5GB! I wanted to known if the limit
to ~3G is always in effect.

> Consider leaving the data on disk and simplify your problem.

I am not the developper...

> Back in the days of 8 bit computers people manipulated data greater than
> 64k, so with a bit of thinking and planning you should be able to do
> similar.

My first card was with a SC/MP processor and 2K ram, words of 4 bits
and hex keyboard ;-)  ... after a ZX80 with a very large memory
of 16K...  

All the best,
-- 
regis
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


datasize ...

2006-08-28 Thread regisr
Hello,

My computer is powered by a 32 bits CPU. I want to run a progam which
need datasize more than 3GB (may be the data should be temporary in a
file (but I don't wrote this software ;-) .
Does FreeBSD 6.1 can have a mechanism to do this?

Other question: If I have less memory than 3G, is it possible to put
the limit to 3G (~2.9 G, I need to check again the posts about this
limit) whith swaping of course. 

May be I should buy a 64bits computer ...

-- 
regis
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: On removing ^M

2005-05-08 Thread regisr
On Sun, 08 May 2005 12:53:06 -0700

> > tr -d "\r" < input-file > output-file
> Or:
> perl -pi -e 's/\015//' *.c
> which will edit all .c files in place, or:
> perl -pi.bak -e's/\015//' *.c

(I forget to add a for or foreach line!)

If there is a large number of files (i.e. if the command is too
long - error: "Argument list too long")

try something like:

find -X . -type f -print | xargs -L 1  perl -pi.bak -e's/\015//'

Don't forget to do a backup copy of your original files!
If filenames should be protected (enclosed in "" or '' ) the -X find
option complains and skip them.


-- 
  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re:[freebsd] On removing ^M

2005-05-08 Thread regisr
On Sun, 08 May 2005 14:20:19 -0500
"Fafa Hafiz Krantz" <[EMAIL PROTECTED]> wrote:

> I am wondering what is needed (what tool or what code) to
> do a mass (recursive) removal of ^Ms?

try:
tr -d "\r" < input-file > output-file


-- 
  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How-to change permission on SCSI devices?

2005-05-07 Thread regisr
>> You have to use devfs(8) facility (man devfs).

> Anything that exists at boot time can be configured (ownership,
> permissions and links) in /etv/devfs.conf. Stuff like USB that can be
> hotplugged should be configured in /etc/devfs.rules for ownership and
> permissions and in /etc/usbd.conf for attach and detach events.

But the device is not connected at boot time, it is an SCSI device, I
can't known the device name ( passN ) ... The number can change if I
plug USB devices or power up SCSI device in different order... 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


How-to change permission on SCSI devices?

2005-05-07 Thread regisr
I am looking for a FAQ about dynamic devices:
In 5.3 (and 5.4..) SCSI devices nodes (/dev/pass*) are created when
discovered (at boot or when running "camcontrol rescan ... " )
How to change the permissions on the /dev/pass* ? (not manualy of
course ;-) 
OK, I can wrote a shell for this but if there is a less dirty
possibility...

-- 
regis
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"