Re: Tracking moved/copied files through subversion

2006-10-28 Thread Valery Reznic
Hi, Shachar. What about 'svn log', or better, 'svn log --stop-on-copy' ? Valery. --- Shachar Shemesh [EMAIL PROTECTED] wrote: Hi all, This is a subversion question. When I tag a release, I actually perform a copy of (usually) trunk to a subdir of the tags directory. This is, at

grub vs lilo configuration

2006-10-30 Thread Valery Reznic
Good day. Is is a way to configure grub to boot after specified timeout, no matter what user press on the keyboard ? I.e make grub behave like lilo with timeout parameter. Grub's timeout as long as i see is like lilo's delay. Valery.

Re: sata sadder

2006-11-07 Thread Valery Reznic
Thera are motherboards which allow you to configure SATA/IDE to pretend it SCSI. May be it'll help Valery --- Aaron [EMAIL PROTECTED] wrote: Hi all, my old computer died and I got a new one which has a sata drive. The sata drive isn't recognized by ubuntu. I modprobed the sata_sis

Re: New line in bash variables pain

2006-11-14 Thread Valery Reznic
What about something like following: while read line; do case x$line in x) # empty line, do nothing ;; x[ | x]) # you don't like brackets, do nothing too ;; *) # Everything else set -- $line # Now $1

Re: cgi data file permission problem

2006-11-22 Thread Valery Reznic
You may need to set selinux attribute (with chcon) for the file you are about to open. If you are open file for writing you may want to use 'httpd_sys_script_rw_t' on both file and it's parent directory, for reading - httpd_sys_script_ro_t for file Valery. --- Aharon Schkolnik [EMAIL PROTECTED]

Re: gcc-2.95.3 on RHEL4U3

2006-11-25 Thread Valery Reznic
Silly suggestion: why not just install binary gcc-2.95 for i386 with all needed 32-bit libraries ? Valery. --- Michael Green [EMAIL PROTECTED] wrote: On 11/23/06, Ilya Konstantinov [EMAIL PROTECTED] wrote: On 11/23/06, Michael Green [EMAIL PROTECTED] wrote: I'm trying to build old

Re: detecting the boot device from a PXE boot...

2006-12-03 Thread Valery Reznic
rdev ? Valery --- Ira Abramov [EMAIL PROTECTED] wrote: I'm booting a PXE image on a node that I want to back up with partimage. I have to detect the disk it uses for it's root. right now I'm guessing it with the result of this: sfdisk -d /dev/sd? /dev/hd? /dev/cciss/ 2/dev/null |

Re: sort with numeric secondary key

2006-12-18 Thread Valery Reznic
--- David Harel [EMAIL PROTECTED] wrote: Hi, Until not too long ago I could use the sort command like: sort +2 -3 +3 -4 -n You can specify sort -k3,3 -k4n,4n Valery. I don't familiar with a old sort, syntax, only with new one, so i don't understand, what you trying to achive. If

Re: shell trick question

2006-12-20 Thread Valery Reznic
grep -e 'keyword1' -e 'keyword2' ... -e 'keyword N' story.txt Convert from keywords.txt to '-e keyword N' depend on the keywords.txt format, but shouldn't be too difficult. Or may be you looking for pure shell solution, without any externel program invoked ? Valery --- Hetz Ben Hamo [EMAIL

Re: scripting ftp ?

2007-01-07 Thread Valery Reznic
--- Tzafrir Cohen [EMAIL PROTECTED] wrote: On Fri, Jan 05, 2007 at 10:48:02PM +0200, Peter wrote: Someone once posted a neat script that allows scripting /bin/ftp . Does this exist ? Yes, I know there are other options, but I need to script ftp for a simple task. By scripting I

Re: scoping bug in bash?

2007-01-09 Thread Valery Reznic
--- Ira Abramov [EMAIL PROTECTED] wrote: WTF? # echo $BASH_VERSION 3.1.17(1)-release # a=0 ; { a=1 ; } ; echo $a 1 # a=0 ; { a=1 ; } | cat ; echo $a 0 # a=0 ; { a=1 | cat ; } ; echo $a 0 # a=0 ; { a=1 | cat ; echo $a ; } ; echo $a 0 0 # a=0 ; { a=1 ; echo $a | cat ; } ; echo $a 1

Re: General hotkeys and sending keys

2007-01-11 Thread Valery Reznic
There is kbde - keyboard emulator (http://kbde.sf.net). It's allow to send keys to any application (both X and console) Valery --- [EMAIL PROTECTED] wrote: Hi! I'm trying to complete a very simple task that for some reason is too complex. The overall goal is to have special keys on my

Re: General hotkeys and sending keys

2007-01-12 Thread Valery Reznic
to target keypresses to specific windows. Alon On Thu, 11 Jan 2007, Valery Reznic wrote: There is kbde - keyboard emulator (http://kbde.sf.net). It's allow to send keys to any application (both X and console) Valery --- [EMAIL PROTECTED] wrote: Hi! I'm trying

apache behind firewall

2007-03-12 Thread Valery Reznic
Good day. I have apache server behind firewall, which block all incoming connection and allow all outgoing and I'd like to access it from outside Is it a way to access this apache server from outside ? (something like ssh's option -R ) Valery.

Re: apache behind firewall

2007-03-12 Thread Valery Reznic
--- Peter [EMAIL PROTECTED] wrote: On Mon, 12 Mar 2007, Valery Reznic wrote: Good day. I have apache server behind firewall, which block all incoming connection and allow all outgoing and I'd like to access it from outside Is it a way to access this apache server from outside

Re: apache behind firewall

2007-03-12 Thread Valery Reznic
--- Boaz Rymland [EMAIL PROTECTED] wrote: On Mon, Mar 12, 2007 at 08:47:33AM -0700, Valery Reznic wrote: --- Peter [EMAIL PROTECTED] wrote: On Mon, 12 Mar 2007, Valery Reznic wrote: Good day. I have apache server behind firewall, which block all incoming

Re: apache behind firewall

2007-03-12 Thread Valery Reznic
--- Peter [EMAIL PROTECTED] wrote: Q1: what kind of firewall ? NAT ? direct ? stateless ? stateful ? A1: no idea Q2: what type ? (linux, router, bsd, cisco ...) A2: No idea. I just know, that all incoming connections are blocked. But never mind - ssh -R solve the problem Valery

Re: apache behind firewall

2007-03-12 Thread Valery Reznic
--- Boaz Rymland [EMAIL PROTECTED] wrote: Thank you, it did thet trick. I just don't realized before, that 'ssh -R' create prot forwardind for everything, I was thinking it can be used just for ssh itself. Port forwarding simply does... port forwarding :-) , regardless of

Re: apache behind firewall

2007-03-13 Thread Valery Reznic
--- Boaz Rymland [EMAIL PROTECTED] wrote: On Mon, Mar 12, 2007 at 01:52:51PM -0700, Valery Reznic wrote: --- Boaz Rymland [EMAIL PROTECTED] wrote: Thank you, it did thet trick. I just don't realized before, that 'ssh -R' create prot forwardind for everything, I

VMWare and native Windows XP

2007-04-05 Thread Valery Reznic
Good day. I have dual-boot computer with Linux on one partition (sda1) and WinXP on the other (sda2). Linux has VMware installed. (VMware-server-1.0.2-39867) Now, I want boot into Linux, and from VMware run windows, installed in the sda2. VMware-server allows specify whole disk or partition to

Re: VMWare and native Windows XP

2007-04-08 Thread Valery Reznic
to the initrd can solve the problem. Is it a way to achive same on Windows, i.e boot windows, which was installed native under VMWare ? Valery See this page for SCSI Disk Drivers http://www.vmware.com/download/server/drivers_tools.html Thank you for the pointer. I downloaded

Re: cp command with progress bar

2007-04-18 Thread Valery Reznic
--- [EMAIL PROTECTED] wrote: Hi all, I am looking for a cp like command line utility, that shows the percentage of data copied during the file copy. Is anyone familiar with such a utility. May be those: http://freshmeat.net/projects/progress/ http://freshmeat.net/projects/barcat/

Re: x permission problems

2007-04-18 Thread Valery Reznic
--- Erez D [EMAIL PROTECTED] wrote: can not open remote apps (xterm from creambo) on my desktop (erez-dual) here is the log: [EMAIL PROTECTED] ~-- echo $SHELL /bin/bash [EMAIL PROTECTED] ~-- echo $DISPLAY :0.0 [EMAIL PROTECTED] ~-- ip addr show eth0|grep 'inet\' inet

Re: What's coming for Telux?

2007-04-20 Thread Valery Reznic
Now for some meta-information: 1. I'd like to convert the shedule to the first and third Sunday of every month, instead of every two weeks. This way the schedule will be more predictable, and easier to program. Any chance for Monday instead of Sunday ? Valery. 2. This time I'll

Re: System Clock is crazy? [was: Re: vixie-cron acting weird (actually not acting at all)]

2007-04-22 Thread Valery Reznic
--- shimi [EMAIL PROTECTED] wrote: Replying to myself because I found the CAUSE, but not the REASON. toast ~ # date Sun Apr 22 01:25:13 IDT 2007 toast ~ # date Sun Apr 22 00:52:25 IDT 2007 toast ~ # date Sun Apr 22 01:25:14 IDT 2007 toast ~ # date Sun Apr 22 00:52:26 IDT 2007

Re: Description of /proc/PID/* ?

2007-05-20 Thread Valery Reznic
isatty ? Valery --- Maxim Veksler [EMAIL PROTECTED] wrote: Hello everyone, My quest for the answer to Can I determine if my stdout redirected lead me to /proc. Is there some good documentation of this FS? I'm wondering about use cases for the various information exported. For the

Re: how to make a processes mem unswappable ?

2007-09-06 Thread Valery Reznic
--- Erez D [EMAIL PROTECTED] wrote: hi i have a process (vmware running XP) and it runs ok if i alloc 512MB ram to it. however if i allocate a lot of memory to it (2GB out of my 4GB RAM), it runs very slowly. i susspect that the problem is that linux swaps part of it. how can i make

Re: echo inside Makefile

2007-11-20 Thread Valery Reznic
, Valery Reznic [EMAIL PROTECTED] wrote: --- Amos Shapira [EMAIL PROTECTED] wrote: On 20/11/2007, Kfir Lavi [EMAIL PROTECTED] wrote: Hi, I have a problem running echo inside Makefile. Here is the Makefile: all: @echo string @echo -e -n string

linux on ARM

2007-11-20 Thread Valery Reznic
Hi all. I need to do some development on ARM/linux unfortunately I haven't ARM at hand. What is my options ? Can I use QEMU or is it somewhere compilation farm, like one that once was on Sourceforge ? Something else ? Thanks, Valery.

Re: Run out of inodes

2007-12-27 Thread Valery Reznic
--- Biran, Yahav (Yahav) [EMAIL PROTECTED] wrote: df -I show: [EMAIL PROTECTED] mpower]# df -i FilesystemInodes IUsed IFree IUse% Mounted on /dev/cciss/c0d0p6 262144 10442 2517024% / /dev/cciss/c0d0p1 26104 54 260501% /boot none

Re: Find process id of background ssh?

2007-12-31 Thread Valery Reznic
Recently I was doing something entirely different and was badly bitten by solution to this problem: Following code: Output=`something ` Will not finished until program something is exited. shell in this case not used waitpid, but tried to read from the pipe, till something closed it's end. I

Re: Yum - installing 32 bit binaries on 64 bit CentOS

2008-02-02 Thread Valery Reznic
--- Tom Rosenfeld [EMAIL PROTECTED] wrote: Thanks Oded. That sounds like it should work. I was just hoping there was some way to override $arch on the command line. Actually I now vaguely recall some command that temporaroly changes the architecture in your environment. has anyone else

Re: Kernel question - what happens when a shell script is the interpreter for another shell script?

2008-03-20 Thread Valery Reznic
Hi, Shachar. You look at correct place and got everything right. Almost. OK, everything you look kernel side is OK. When you run program from the shell, shell use not execve, but execvp (or execlp) from the man execve === Special semantics for execlp()

[OT] GPS

2008-03-26 Thread Valery Reznic
Hi, list. I am looking for the GPS (preferably Linux based - so not too much off topic :). Could you recommend something ? Valery. Looking for last minute shopping deals? Find them fast with Yahoo!

Re: [OT] GPS

2008-03-26 Thread Valery Reznic
--- Shachar Shemesh [EMAIL PROTECTED] wrote: Valery Reznic wrote: Hi, list. I am looking for the GPS (preferably Linux based - so not too much off topic :). Could you recommend something ? Valery. http://openmoko.org/ ? Thank you, Shachar. Somewhat of an overkill

Re: mknod

2008-05-05 Thread Valery Reznic
--- On Mon, 5/5/08, Ohad Levy [EMAIL PROTECTED] wrote: From: Ohad Levy [EMAIL PROTECTED] Subject: mknod To: linux-il linux-il@cs.huji.ac.il Date: Monday, May 5, 2008, 4:59 PM Hello All, Is there any risk to give a user sudo rights of mknod? as far as I understand it now, it can only

Internet connection

2008-05-05 Thread Valery Reznic
Hi. Now I am connecte to Internet via HOT+BARAK And I am going to reconsider later part (i.e Barak) Could you share some recommendation/experience ? Thanks. Valery. Be a better friend, newshound, and

Re: crash with no log entry

2008-05-09 Thread Valery Reznic
Why you don't put this cron jobs to run say every 1 hour, so it'll not to took your months for debugging ? Valery. --- On Fri, 5/9/08, Shlomo Solomon [EMAIL PROTECTED] wrote: From: Shlomo Solomon [EMAIL PROTECTED] Subject: crash with no log entry To: Linux-IL@cs.huji.ac.il Date: Friday,

Re: Corrupted stack - Why Ubuntu 7.10 does not have libsafe; does not show errors in ?

2008-05-18 Thread Valery Reznic
You can try to use valgrind. Valery --- On Sun, 5/18/08, Lev Olshvang [EMAIL PROTECTED] wrote: From: Lev Olshvang [EMAIL PROTECTED] Subject: Corrupted stack - Why Ubuntu 7.10 does not have libsafe; does not show errors in ? To: linux-il linux-il@cs.huji.ac.il Date: Sunday, May 18,

Re: Finding which type of FS a DVD has

2008-06-16 Thread Valery Reznic
--- On Tue, 6/17/08, Ira Abramov [EMAIL PROTECTED] wrote: From: Ira Abramov [EMAIL PROTECTED] Subject: Re: Finding which type of FS a DVD has To: IGLU Mailing list linux-il@cs.huji.ac.il Date: Tuesday, June 17, 2008, 1:23 AM Quoting Lior Kaplan, from the post of Mon, 16 Jun: dd

Re: Linux executable startup stack structure

2008-07-03 Thread Valery Reznic
Hi, Shachar. stack has following structure: argc argv envp AND auxv You can see auxv by running any dynamically linked executable as LD_SHOW_AUXV=1 program What you are looking for is AT_ENTRY Code that initialized user_entry is in the sysdeps/generic/dl-sysdep.c (look for 'case

Re: Linux executable startup stack structure

2008-07-03 Thread Valery Reznic
Valery Reznic wrote: P.S. And what do you need it for (except curiosity) ? It's going to be a somewhat long p.s. If you understood the problem I'm trying to solve, skip ahead to area marked proposed solution for how I'll be trying to solve it. Curiosity part is (mostly) satisfied. I

Re: Linux executable startup stack structure

2008-07-03 Thread Valery Reznic
Valery Reznic wrote: I think your proposed solution will work (no reason why not) Actually, I can think of four or five reasons why it may fail, but I'll cross those bridges when I get to them. Could you list them ? And if you change AT_ENTRY in the auxv you'll trick ld-linux to think

Re: Linux executable startup stack structure

2008-07-06 Thread Valery Reznic
--- On Thu, 7/3/08, Shachar Shemesh [EMAIL PROTECTED] wrote: From: Shachar Shemesh [EMAIL PROTECTED] Subject: Re: Linux executable startup stack structure To: [EMAIL PROTECTED] Cc: linux-il linux-il@cs.huji.ac.il, Fakeroot NG [EMAIL PROTECTED] Date: Thursday, July 3, 2008, 6:32 PM Valery

Re: global interactive search-and-replace in bash?

2008-08-18 Thread Valery Reznic
You can instead of rm -f redo-afn2-dev.out; ./redo.sh afn2-dev jobs -x tail --pid %./redo.sh -F -n +0 redo-afn2-dev.out Type h=afn2-dev; rm -f redo-$h.out; ./redo.sh $h jobs -x tail --pid %./redo.sh -F -n +0 redo-$h.out Then, when you need change hostname you find this command and just

Re: Small victories, but more work to be done

2008-08-27 Thread Valery Reznic
Hi, Dotan. If you know of other Israeli websites that do not work in Firefox or Linux, please mention them and I will contact them. Thanks! Ben Gurion Airport site not work in the FF (at least on Linux)

Re: Curses Problem in Detecting Backspace

2008-09-01 Thread Valery Reznic
It's looks like your BACKSPACE mapped to delete. Valery --- On Mon, 9/1/08, Shlomi Fish [EMAIL PROTECTED] wrote: From: Shlomi Fish [EMAIL PROTECTED] Subject: Curses Problem in Detecting Backspace To: Linux-IL linux-il@cs.huji.ac.il, Perl in Israel [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]

Re: Curses Problem in Detecting Backspace

2008-09-01 Thread Valery Reznic
01 September 2008, Valery Reznic wrote: It's looks like your BACKSPACE mapped to delete. Keys mapping in the X never was my strong point, so I am at no help here. But I think this mapping BASKSPACE - delete is very common so you nay want to support both cases in your code. Valery OK

Re: make question

2008-12-17 Thread Valery Reznic
--- On Wed, 12/17/08, Jason Friedman write.to.ja...@gmail.com wrote: From: Jason Friedman write.to.ja...@gmail.com Subject: make question To: linux-il@cs.huji.ac.il Date: Wednesday, December 17, 2008, 10:21 PM Hi all, I have had this make question that has been bugging me for a long

Re: make question

2008-12-17 Thread Valery Reznic
Yikes, why would you come to that? Additional to second line || { rm -f $@ ...} ensure that in case of some failure no target file remain. So wrong / incomplete file can't be occassionly used. Here's a similar version that is functionality-equivalent: all: figure1_fixed.eps

Re: un-head

2008-12-23 Thread Valery Reznic
--- On Tue, 12/23/08, Baruch Siach bar...@tkos.co.il wrote: From: Baruch Siach bar...@tkos.co.il Subject: Re: un-head To: Erez D erez0...@gmail.com Cc: linux-il linux-il@cs.huji.ac.il Date: Tuesday, December 23, 2008, 10:07 AM Hi Erez, On Tue, Dec 23, 2008 at 09:53:00AM +0200, Erez D

Re: un-head

2008-12-23 Thread Valery Reznic
tail -n +6 Valery --- On Tue, 12/23/08, Tzafrir Cohen tzaf...@cohens.org.il wrote: From: Tzafrir Cohen tzaf...@cohens.org.il Subject: Re: un-head To: linux-il linux-il@cs.huji.ac.il Date: Tuesday, December 23, 2008, 10:03 AM On Tue, Dec 23, 2008 at 09:53:00AM +0200, Erez D wrote: hi

Re: bash q -substitution

2008-12-25 Thread Valery Reznic
--- On Thu, 12/25/08, Erez D erez0...@gmail.com wrote: From: Erez D erez0...@gmail.com Subject: bash q -substitution To: linux-il linux-il@cs.huji.ac.il Date: Thursday, December 25, 2008, 11:20 AM hi i need to convert a string using bash input_000.txt - i need to extract the 000

Public key authentication from QEMU

2008-12-25 Thread Valery Reznic
I have Linux box and it hosts another Linux in VMware and yet another one in QEMU I want to be able to login from both VMWare and QEMU to host computer without being asked password. So I took usual route - generated private/public key with keygen (rsa keys), put private key in the Linux on

Re: Public key authentication from QEMU

2008-12-25 Thread Valery Reznic
--- On Thu, 12/25/08, Tzafrir Cohen tzaf...@cohens.org.il wrote: From: Tzafrir Cohen tzaf...@cohens.org.il Subject: Re: Public key authentication from QEMU To: linux-il@cs.huji.ac.il Date: Thursday, December 25, 2008, 3:45 PM On Thu, Dec 25, 2008 at 05:14:33AM -0800, Valery Reznic wrote

Re: Public key authentication from QEMU

2008-12-25 Thread Valery Reznic
--- On Thu, 12/25/08, Yedidyah Bar-David linux...@didi.bardavid.org wrote: From: Yedidyah Bar-David linux...@didi.bardavid.org Subject: Re: Public key authentication from QEMU To: Valery Reznic valery_rez...@yahoo.com Cc: linux-il@cs.huji.ac.il Date: Thursday, December 25, 2008, 3:55 PM

Re: Public key authentication from QEMU

2008-12-25 Thread Valery Reznic
--- On Thu, 12/25/08, Yedidyah Bar-David linux...@didi.bardavid.org wrote: From: Yedidyah Bar-David linux...@didi.bardavid.org Subject: Re: Public key authentication from QEMU To: Valery Reznic valery_rez...@yahoo.com Cc: linux-il@cs.huji.ac.il Date: Thursday, December 25, 2008, 5:25 PM

Re: Public key authentication from QEMU

2008-12-28 Thread Valery Reznic
--- On Thu, 12/25/08, Yedidyah Bar-David linux...@didi.bardavid.org wrote: From: Yedidyah Bar-David linux...@didi.bardavid.org Subject: Re: Public key authentication from QEMU To: Valery Reznic valery_rez...@yahoo.com Cc: linux-il@cs.huji.ac.il Date: Thursday, December 25, 2008, 6:20 PM

Re: Public key authentication from QEMU [PARTIALLY SOLVED]

2008-12-28 Thread Valery Reznic
--- On Thu, 12/25/08, Erez D erez0...@gmail.com wrote: From: Erez D erez0...@gmail.com Subject: Re: Public key authentication from QEMU To: Yedidyah Bar-David linux...@didi.bardavid.org Cc: Valery Reznic valery_rez...@yahoo.com, linux-il@cs.huji.ac.il Date: Thursday, December 25, 2008, 6

Re: Cross Platform method of importing files

2009-01-20 Thread Valery Reznic
Some programs input/output only via stdin/stdout (e.g: tr(1)) One common solution to this issue is: target: prerequisites... prog $ $@ || rm -f $@ It's not good - even if prog fail, mail will be thinking that whole command finished successfully. I do it this way:

Re: ptrace in production systems

2009-02-01 Thread Valery Reznic
--- On Sun, 2/1/09, Shachar Shemesh shac...@shemesh.biz wrote: From: Shachar Shemesh shac...@shemesh.biz Subject: ptrace in production systems To: linux-il linux-il@cs.huji.ac.il Date: Sunday, February 1, 2009, 3:42 PM Hi all, I've been bad. I know I have. This goes against any

Re: ptrace in production systems

2009-02-01 Thread Valery Reznic
--- On Sun, 2/1/09, Shachar Shemesh shac...@shemesh.biz wrote: From: Shachar Shemesh shac...@shemesh.biz Subject: Re: ptrace in production systems To: valery_rez...@yahoo.com Cc: linux-il linux-il@cs.huji.ac.il Date: Sunday, February 1, 2009, 4:18 PM Valery Reznic wrote: What

Re: ptrace in production systems

2009-02-02 Thread Valery Reznic
The second point is that I don't need advice about how it can be done. I can think of three or four ways not mentioned here at all. They have disadvantages in relation to what I implemented, mostly in how long it takes to figure out that the daemon has, indeed, finished, and in how much

Re: Kernel memory management problem

2009-03-02 Thread Valery Reznic
--- On Mon, 3/2/09, Alexander Indenbaum alexander.indenb...@gmail.com wrote: We noticed that if we copy large media file ( 1.4G ) to flash storage filesystem, using wget/sftp/whatever kernel grabs almost all the available physical memory and buffers are not released even after

Re: Kernel memory management problem

2009-03-02 Thread Valery Reznic
--- On Mon, 3/2/09, Alexander Indenbaum alexander.indenb...@gmail.com wrote: From: Alexander Indenbaum alexander.indenb...@gmail.com Subject: Re: Kernel memory management problem To: guy keren c...@actcom.co.il Cc: linux-il. linux-il@cs.huji.ac.il Date: Monday, March 2, 2009, 4:24 PM On

Re: Kernel memory management problem

2009-03-02 Thread Valery Reznic
Unfortunately this is real problem: if you do something like while(true) { transfer } then application crashes and burns in hell :) Are you sure that culprit is kernel ? May be transfer part has memory leak ? Did you try to run it under valgrind ? or run top ? Nondeterministically -

Re: Kernel memory management problem

2009-03-02 Thread Valery Reznic
, Mar 2, 2009 at 4:35 PM, Valery Reznic valery_rez...@yahoo.com wrote: Unfortunately this is real problem: if you do something like while(true) { transfer } then application crashes and burns in hell :) Are you sure that culprit is kernel ? May be transfer part has memory leak

Re: suid root - bash script

2009-04-23 Thread Valery Reznic
--- On Thu, 4/23/09, Erez D erez0...@gmail.com wrote: From: Erez D erez0...@gmail.com Subject: suid root - bash script To: linux-il linux-il@cs.huji.ac.il Date: Thursday, April 23, 2009, 8:56 AM hi i have a bush script i want to be run with root permisions, no matter which user

Re: Setting NFS server on Fedora Core 9

2009-06-25 Thread Valery Reznic
--- On Thu, 6/25/09, Ori Idan o...@helicontech.co.il wrote: From: Ori Idan o...@helicontech.co.il Subject: Setting NFS server on Fedora Core 9 To: IGLU Mailing list linux-il@cs.huji.ac.il Date: Thursday, June 25, 2009, 2:27 PM I am trying to set an NFS server (for a local network) on

Re: how to protect directory from unauthorized access under linux

2009-09-22 Thread Valery Reznic
--- On Tue, 9/22/09, Serge linux...@vects.com wrote: From: Serge linux...@vects.com Subject: how to protect directory from unauthorized access under linux To: linux-il linux-il@cs.huji.ac.il Date: Tuesday, September 22, 2009, 7:35 PM Hello there, In one of my projects I have to protect

Re: Working with Sentos packages

2010-01-26 Thread Valery Reznic
Have a look at yum. apt-get is front-end for dpkg. yum is front-end for rpm Valery --- On Tue, 1/26/10, Geoff Shang ge...@quitelikely.com wrote: From: Geoff Shang ge...@quitelikely.com Subject: Working with Sentos packages To: linux-il@cs.huji.ac.il Date: Tuesday, January 26, 2010, 4:50 PM

Re: XWindows - how capture window ?

2010-02-21 Thread Valery Reznic
--- On Sun, 2/21/10, Oron Peled o...@actcom.co.il wrote: From: Oron Peled o...@actcom.co.il Subject: Re: XWindows - how capture window ? To: linux-il@cs.huji.ac.il Cc: Valery Reznic valery_rez...@yahoo.com, Ori Berger linux...@orib.net Date: Sunday, February 21, 2010, 9:35 AM On Sunday

Re: XWindows - how capture window ?

2010-03-05 Thread Valery Reznic
I tried composite extension without any lack. X programming never was my strong side :( Thank you anyway. Valery --- On Thu, 3/4/10, Erez D erez0...@gmail.com wrote: From: Erez D erez0...@gmail.com Subject: Re: XWindows - how capture window ? To: Valery Reznic valery_rez...@yahoo.com Cc

Re: XWindows - how capture window ?

2010-03-13 Thread Valery Reznic
, Valery. --- On Sun, 3/7/10, Nadav Har'El n...@math.technion.ac.il wrote: From: Nadav Har'El n...@math.technion.ac.il Subject: Re: XWindows - how capture window ? To: Erez D erez0...@gmail.com Cc: Valery Reznic valery_rez...@yahoo.com, linux-il. linux-il@cs.huji.ac.il Date: Sunday, March 7, 2010

Re: XWindows - how capture window ?

2010-03-13 Thread Valery Reznic
--- On Sat, 3/13/10, Micha mi...@post.tau.ac.il wrote: From: Micha mi...@post.tau.ac.il Subject: Re: XWindows - how capture window ? To: Cc: linux-il. linux-il@cs.huji.ac.il Date: Saturday, March 13, 2010, 4:00 PM ב-13/03/2010, בשעה 13:03, Valery Reznic valery_rez...@yahoo.com כתב/ה: OK

Re: XWindows - how capture window ?

2010-03-13 Thread Valery Reznic
--- On Sat, 3/13/10, guy keren c...@actcom.co.il wrote: From: guy keren c...@actcom.co.il Subject: Re: XWindows - how capture window ? To: Valery Reznic valery_rez...@yahoo.com Date: Saturday, March 13, 2010, 3:56 PM the reason is: background jobs. the application does not necessarily

Re: XWindows - how capture window ?

2010-03-14 Thread Valery Reznic
--- On Sat, 3/13/10, guy keren c...@actcom.co.il wrote: From: guy keren c...@actcom.co.il Subject: Re: XWindows - how capture window ? To: Valery Reznic valery_rez...@yahoo.com Cc: linux-il. linux-il@cs.huji.ac.il Date: Saturday, March 13, 2010, 8:16 PM Valery Reznic wrote

Re: Ben Gurion - arrivals in Firefox

2010-03-15 Thread Valery Reznic
--- On Mon, 3/15/10, Gabor Szabo szab...@gmail.com wrote: From: Gabor Szabo szab...@gmail.com Subject: Ben Gurion - arrivals in Firefox To: linux-il linux-il@cs.huji.ac.il Date: Monday, March 15, 2010, 2:56 PM Does anyone know if there is any web site where one can find out details of

Re: problems with syslogd

2010-06-09 Thread Valery Reznic
Connect to syslogd with strace: strace -p syslogd_pid And then provoke message that should go to /var/log/messages strace will show you what syslogd do.May be it will reveal cause of the problem. Valery --- On Wed, 6/9/10, Amit Aronovitch aronovi...@gmail.com wrote: From: Amit Aronovitch

Re: cat command with timeout

2010-06-10 Thread Valery Reznic
cat /dev/your_serial_port some_file sleep Xkill $! Valery --- On Thu, 6/10/10, Ori Idan o...@helicontech.co.il wrote: From: Ori Idan o...@helicontech.co.il Subject: cat command with timeout To: IGLU Mailing list linux-il@cs.huji.ac.il Date: Thursday, June 10, 2010, 10:13 AM I have to read lines

Re: [YBA] [OT] Mazal tov to Shachar Shemesh

2010-08-31 Thread Valery Reznic
Mazal tov, Shashar. Valery. --- On Tue, 8/31/10, Shachar Shemesh shac...@shemesh.biz wrote: From: Shachar Shemesh shac...@shemesh.biz Subject: Re: [YBA] [OT] Mazal tov to Shachar Shemesh To: Shlomi Fish shlo...@iglu.org.il Cc: linux-il@cs.huji.ac.il Date: Tuesday, August 31, 2010, 6:27 PM

Re: a machine without cache/buffers ?

2010-09-26 Thread Valery Reznic
Funny. today I saw it too, and wondered the same Valery --- On Sun, 9/26/10, Lior Kaplan kaplanl...@gmail.com wrote: From: Lior Kaplan kaplanl...@gmail.com Subject: a machine without cache/buffers ? To: linux-il. linux-il@cs.huji.ac.il Date: Sunday, September 26, 2010, 7:43 PM I got an output

Re: ptrace problem - confounded, dazed and confused at the inconsistencies

2010-10-27 Thread Valery Reznic
--- On Wed, 10/27/10, Shachar Shemesh shac...@shemesh.biz wrote: From: Shachar Shemesh shac...@shemesh.biz Subject: ptrace problem - confounded, dazed and confused at the inconsistencies To: linux-il linux-il@cs.huji.ac.il Date: Wednesday, October 27, 2010, 2:07 PM Hi all, Hi, Shachar.

Relocatable linking on x86-64 for i386

2011-04-04 Thread Valery Reznic
Hello. I am trying to make relocatable linking on x86-64 box for objects in format i386 Naive ld -r file1.o file2.o -o output.o produce ld: Relocatable linking with relocations from format elf32-i386 (file1.o) to format elf64-x86-64 (output.o) is not supported But even when I add --oformat

Re: Relocatable linking on x86-64 for i386

2011-04-04 Thread Valery Reznic
--- On Mon, 4/4/11, Shachar Shemesh shac...@shemesh.biz wrote: From: Shachar Shemesh shac...@shemesh.biz Subject: Re: Relocatable linking on x86-64 for i386 To: Valery Reznic valery_rez...@yahoo.com Cc: linux-il@cs.huji.ac.il Date: Monday, April 4, 2011, 11:13 AM On 04/04/11 10:15, Valery

Re: Relocatable linking on x86-64 for i386

2011-04-04 Thread Valery Reznic
ld --output-format elf32-i386 -r file1.o file2.o -o output.o ld: Relocatable linking with relocations from format elf32-i386 (file1.o) to format elf32-i386 (output.o) is not supported ld -m  elf_i386 -r file1.o file2.o -o output.o Thanks, it works!! Great!!! Valery

Re: Relocatable linking on x86-64 for i386

2011-04-05 Thread Valery Reznic
Apr 2011 13:15:39 Gleb Natapov wrote: On 04/04/11 10:15, Valery Reznic wrote: Hello. I am trying to make relocatable linking on x86-64 box for objects in format i386 ld -m  elf_i386 -r file1.o file2.o -o output.o If you use gcc for compiling you can do  gcc -m32 arguments

Re: Relocatable linking on x86-64 for i386

2011-04-05 Thread Valery Reznic
, 4 Apr 2011 23:19:43 -0700, Valery Reznic wrote: --- On Mon, 4/4/11, Ehud Karni e...@unix.mvs.co.il wrote: In fact you can do: gcc -m32 file1.o file2.o -o output.o I vaguely remember that I tried to use gcc instead of ld long time ago, but gcc gave me some trouble - may be link

HW/SW for license server

2011-09-23 Thread Valery Reznic
Hi, All. I need to setup license server and looking for advice what hardware/software to use General schema is following: There are about 20K clients all of them periodically (let say once a week) query license server for license via https I'll try my best to spread all those requests over

Re: HW/SW for license server

2011-09-25 Thread Valery Reznic
later if I'll experience performance problems. Is it make sense to run this service on non-standart http(s) port? Any recommendation about choice MySQL/postgres/whatever? Valery. From: shimi linux...@shimi.net To: Valery Reznic valery_rez...@yahoo.com Cc: Linux-IL

Re: HW/SW for license server

2011-09-25 Thread Valery Reznic
Thank you Didi. I'll keep it in mind. Valery. From: Yedidyah Bar-David linux...@didi.bardavid.org To: Valery Reznic valery_rez...@yahoo.com Cc: Linux-IL linux-il@cs.huji.ac.il Sent: Saturday, September 24, 2011 11:16 PM Subject: Re: HW/SW for license server

Re: HW/SW for license server

2011-10-03 Thread Valery Reznic
Thanks to all of you for your suggestions. And shana tova. Valery From: Marc Volovic marcvolo...@me.com To: Valery Reznic valery_rez...@yahoo.com Cc: linux-il@cs.huji.ac.il linux-il@cs.huji.ac.il Sent: Sunday, September 25, 2011 5:38 PM Subject: Re: HW/SW

Re: Goodbye, Lingnu

2011-11-14 Thread Valery Reznic
Hi, Shachar. Sorry you have to close Lingnu. Hope you'll find something interesting to play with. Valery From: Shachar Shemesh shac...@shemesh.biz To: linux-il linux-il@cs.huji.ac.il Sent: Monday, November 14, 2011 11:30 AM Subject: Goodbye, Lingnu I'm

Re: Detecting runaway process

2011-11-17 Thread Valery Reznic
You can try strace -p pid_of_daemon From: ik ido...@gmail.com To: linux-il linux-il@cs.huji.ac.il Sent: Thursday, November 17, 2011 12:57 PM Subject: Detecting runaway process Hello list, I have a daemon that every X amount of time just stop running. There

Re: What's the best way to sync two laptops?

2011-11-27 Thread Valery Reznic
Mount your /home on external hard drive and move drive from one laptop to another? Valery. From: Michael Shiloh michaelshiloh1...@gmail.com To: IGLU Mailing list linux-il@cs.huji.ac.il Sent: Monday, November 28, 2011 12:47 AM Subject: What's the best way to

Re: NFS + NIS madness

2011-11-28 Thread Valery Reznic
You can run this 'ls -la' under strace and may be you'll see sometging of iterest. Valery. From: Hetz Ben Hamo het...@gmail.com To: Oron Peled o...@actcom.co.il Cc: linux-il@cs.huji.ac.il Sent: Monday, November 28, 2011 9:28 PM Subject: Re: NFS + NIS

Re: Unix History: Why does hexdump default to word alignment?

2011-11-30 Thread Valery Reznic
First computer Unix run on was PDP. On PDP instructions and also short/int are word aligned, so may be it's a reason. Valery From: Elazar Leibovich elaz...@gmail.com To: linux-il linux-il@cs.huji.ac.il Sent: Thursday, December 1, 2011 9:16 AM Subject: Unix

Re: Virtual Server - Consult...

2012-01-22 Thread Valery Reznic
May be stupid question - do you really need  VMs? Different users on the save box will not do? Valery. From: Amichai Rotman amic...@iglu.org.il To: Linux-IL linux-il@cs.huji.ac.il Sent: Sunday, January 22, 2012 11:19 PM Subject: Virtual Server - Consult...

Re: elevate gdb privileges

2012-02-27 Thread Valery Reznic
Hi, Ido suid root != everyone can use it mkdir -m700 ~/for_setuid Then copy gdb here and make it setuid root Valery From: ik ido...@gmail.com To: linux-il linux-il@cs.huji.ac.il Sent: Monday, February 27, 2012 12:33 PM Subject: elevate gdb privileges

Re: writing data over RS232

2012-05-07 Thread Valery Reznic
RS232 has a lot of settings, baud rate is only one of them You can use 'stty -a' to see what available. Unless all your settings are correct you are going to have a problem with communication. Valery. From: Diego Iastrubni elc...@kde.org To:

  1   2   >