TCP/IP and Port scan loggers
Hi, I am looking for an port logger, that can identify remote scans (for example, when I'm being scanned with nmap and the likes). I heard about PortsEntry and IPLogger, but don't have any experience with neither of them. Can you recommend of a logger? TIA, Yosi Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: add and copy a partition
Just wonder, the reboot is really annoying. Are they going to fix it in the new kernel or there is a way (even complicate) around ? Ira Abramov wrote: - fdisk to change the partition type. if changing the size too, you must reboot if another partition is mounted from that drive. as long as even ONE partition is mounted from that same disk, the kernel won't re-read the partition table. -- -- Canaan Surfing Ltd. Internet Service Providers Ben-Nes Michael - Manager Tel: 972-6-6925757 Fax: 972-6-6925858 http://www.canaan.co.il -- = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Q: Interesting memory usage stat's
Just recently I started generating graph's of system resource usage on some of my linux machines. On a certain group of machines I noticed a steady level of between 90% and 100% memory usage (while at the same time, swap usage remains flat at 0%). Here is an example of what top shows on this Red Hat machine: 2:43am up 289 days, 11:38, 1 user, load average: 0.02, 0.01, 0.00 44 processes: 43 sleeping, 1 running, 0 zombie, 0 stopped CPU states: 0.0% user, 0.4% system, 0.0% nice, 99.4% idle Mem: 1036248K av, 900928K used, 135320K free, 26896K shrd, 321320K buff Swap: 514040K av, 2056K used, 511984K free548796K cached Looking at the graph I jumped but then after investigation and seeing things like the above I'm assuming this is expected behavior. But the Q's are: 1) Why is memory usage so high when it shouldn't be? Note: looking at the process that are running (most httpd), they don't amount to much more that 30mb. 2) How can I determine TRUE memory usage? any help or references to tfm are greatly appreciated... Thanks -- Nathan Fain = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Q: Interesting memory usage stat's
On Sun, 28 May 2000, Nathan Fain wrote: Just recently I started generating graph's of system resource usage on some of my linux machines.On a certain group of machines I noticed a steady level of between 90% and 100% memory usage (while at the same time, swap and I have a slightly related Q... lately I needed to hand in a few Java Applets as excercises for school, I sadly turned on Java support in Netscape, knowing it will get it stuck (and it does get stuck a lot, eating 99% of the CPU, leaking memory and eating the entire swap partition, dies only with SIG 9) the problem is that many times the netscape process leaks over 200Meg of swap, but it remains "used" once I kill the process. the RAM is freed, but the machine is heavy as hell because it won't free up the swap and swap back in all the other apps. any idea how I force the machine to reclaim swap memory from dead processes? = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Fw: Q: Interesting memory usage stat's
the answer (provided by several people) to my Q was that the system is using the extra unused mem for disk caching. The message below is Tzafrir's suggestion for telling TRUE memory usage (as in, not including the buffering that is going on). I include it for the sake of the list archives (maybe someone will find it helpful). - N - Original Message - From: "Tzafrir Cohen" [EMAIL PROTECTED] To: "Nathan Fain" [EMAIL PROTECTED] Sent: Sunday, May 28, 2000 2:26 PM Subject: Re: Q: Interesting memory usage stat's On Sun, 28 May 2000, Nathan Fain wrote: so... do you know of a way to tell TRUE memory usage? Buy that I mean what memory is being used by the process and kernel and not necessarily that used for disk caching. I guess you can calculate it as total - cahce - buff Alternativly - write a script that will parse /proc/[1-9]*/stat and sum for all processses Is this setup default for all installations? I have no idea if there is a way to set limits for those usages. Try going over the kernel documentation, I guess. I quick browsing of the files under /proc shows that /proc/sys/vm/pagecache and /proc/sys/vm/pagecache are writable by root. thanks - Original Message - From: "Tzafrir Cohen" [EMAIL PROTECTED] To: "Nathan Fain" [EMAIL PROTECTED] Sent: Sunday, May 28, 2000 1:02 PM Subject: Re: Q: Interesting memory usage stat's On Sun, 28 May 2000, Nathan Fain wrote: Just recently I started generating graph's of system resource usage on some of my linux machines.On a certain group of machines I noticed a steady level of between 90% and 100% memory usage (while at the same time, swap usage remains flat at 0%).Here is an example of what top shows on this Red Hat machine: 2:43amup 289 days, 11:38, 1 user, load average: 0.02, 0.01, 0.00 44 processes: 43 sleeping, 1 running, 0 zombie, 0 stopped CPU states:0.0% user,0.4% system, 0.0% nice, 99.4% idle Mem:1036248K av, 900928K used, 135320K free,26896K shrd, 321320K buff Swap: 514040K av, 2056K used, 511984K free 548796K cached ^^ Looking at the graph I jumped but then after investigation and seeing things like the above I'm assuming this is expected behavior.But the Q's are: It is: your system is using unneeded memory for disk caching, buffers, etc. -- Tzafrir Cohen mailto:[EMAIL PROTECTED] http://www.technion.ac.il/~tzafrir -- Tzafrir Cohen mailto:[EMAIL PROTECTED] http://www.technion.ac.il/~tzafrir = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: add and copy a partition
Hi, Marc! On Sat, May 27, 2000 at 07:24:45AM +0300, you wrote the following: mkfs /dev/hd{x}{y} mount -t ext2 !$ /mnt cd /home umask 000 tar cspBf - . | (cd /mnt; tar xvvspBf -) Any reason why not to use cp -a that I'm not aware of? -- Alex Shnitman| http://www.debian.org [EMAIL PROTECTED], [EMAIL PROTECTED] +--- http://alexsh.hectic.netUIN 188956PGP key on web page E1 F2 7B 6C A0 31 80 28 63 B8 02 BA 65 C7 8B BA Software suppliers are trying to make their software packages more "user-friendly". ... Their best approach, so far, has been to take all the old brochures, and stamp the words, "user-friendly" on the cover. -- Bill Gates, Microsoft, Inc. = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: add and copy a partition
Alex Shnitman wrote: Hi, Marc! On Sat, May 27, 2000 at 07:24:45AM +0300, you wrote the following: mkfs /dev/hd{x}{y} mount -t ext2 !$ /mnt cd /home umask 000 tar cspBf - . | (cd /mnt; tar xvvspBf -) Any reason why not to use cp -a that I'm not aware of? Complexification. = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: add and copy a partition
On Sun, 28 May 2000, Alex Shnitman wrote: tar cspBf - . | (cd /mnt; tar xvvspBf -) Any reason why not to use cp -a that I'm not aware of? in theory you have one process writing and one reading, so in an SMP machine, copying between two different partitions on two different drives on two different controllers, you could have a HUGE speed gain! :-))) -- Ira Abramov ; Penguinophile ; www.linux.org.il .you could spend *all day* customizing the title bar. Believe me. I speak from experience." (By Matt Welsh) = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: add and copy a partition
Alex Shnitman wrote: Hi, Marc! On Sat, May 27, 2000 at 07:24:45AM +0300, you wrote the following: mkfs /dev/hd{x}{y} mount -t ext2 !$ /mnt cd /home umask 000 tar cspBf - . | (cd /mnt; tar xvvspBf -) paranoia: s/\;/\/ Any reason why not to use cp -a that I'm not aware of? first: using tar is POSIX compliant, thus you can use tar method on any POSIX(applications) compliant machine. second: this is the Unix way. -- Omer Mussaev051-308-214 mailto:[EMAIL PROTECTED] systems programmer, Mercury Interactive/RND/Conduct/core = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
wine problems
it is for a 4 month that i tring to make wine work on my machine (Mandrake7) all tried all i could do.. installed rpms updates versions compiled from tar.gz, src.rpm and etc.. tryed to build it static libs but everythime i get the same error example 1: [pavel@MAG pavel]$ wine /mnt/c/windows/sol.exe fixme:pthread_atfork fixme:reg:_w95_parse_dkv RegSetValueEx returned: 0x000e Building font metrics. This may take some time... err:seh:EXC_DefaultHandling Unhandled exception code c094 flags 0 addr 0x40677764 and then it quit.. example 2 [pavel@MAG pavel]$ wine /mnt/c/windows/calc.exe fixme:pthread_atfork fixme:reg:_w95_parse_dkv RegSetValueEx returned: 0x000e Building font metrics. This may take some time... err:seh:EXC_DefaultHandling Unhandled exception code c094 flags 0 addr 0x40677764 and also quit. i have hebrew enabled windows 98 installed on my machine.. can it happens because of hebrew? -- Pavel Bibergal I suppose that in a few hours I will sober up. That's such a sad thought. I think I'll have a few more drinks to prepare myself. = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
CompuTax 2000 is upon us
After many false promisses From Peli Peled for a "Linux City" at Internet World, Stier's next Computax (to take place in two weeks) will have a "Linux World" booth (nothing to do with IDG AFAIK) where a company called "LinuxCom" will demonstrate Linux apps. this much I got from the invitations they sent out. Rumors are also that maddog is going to be around again. questions: anyone knows more details? anyone wants to invite maddog out for an IGLU dinner? ok, just for a beer? I'd love to cook for maddog if anyone is lending his living room (hint, hint!) -- Ira Abramov (@- Gnu/Linux, Free Speech, RFC 1855 whois: IA58 //\ Peace, Love, Music, Slow Food www.scso.com v_/_ Camels, Penguins, Giraffes, Cats = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
CompuTax 2000 is upon us
After many false promisses From Peli Peled for a "Linux City" at Internet World, Stier's next Computax (to take place in two weeks) will have a "Linux World" Hall (nothing to do with IDG AFAIK) where a company called "LinuxCom" will demonstrate Linux apps. this much I got from the invitations they sent out. Rumors are also that maddog is going to be around again. questions: anyone knows more details? anyone wants to invite maddog out for an IGLU dinner? ok, just for a beer? I'd love to cook for maddog if anyone is lending his living room (hint, hint!) -- Ira Abramov (@- Gnu/Linux, Free Speech, RFC 1855 whois: IA58 //\ Peace, Love, Music, Slow Food www.scso.com v_/_ Camels, Penguins, Giraffes, Cats = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Blocking mail by subject.
Oleg Goldshmidt [EMAIL PROTECTED] writes: :0 h | formail -xSubject: | egrep -f /etc/mail/spamdb - /dev/null What kind of BS is that? It's not buggy, it's stupid. I am tired. I meant, of course, that 'formail | egrep -f' will match the subject, and then the mail itself should go either to /dev/null or to $ORGMAIL, sth like (STILL UNTESTED, but hopefully less stupid than before): :0 Whc: spam.lock | formail -xSubject: | egrep -qf /etc/mail/spamdb - :0 a: /dev/null I hope this works as follows: formail grabs the subject and passes to egrep that tries to match patterns from /etc/mail/spamdb. Now if a match is found (egrep quietly returns 0), the next rule is executed, sending the message where it belongs. Another option that comes to mind is sth like SPAM=`awk '{printf "%s%s", (NR1) ? "|" : "", $0}' /etc/mail/spam.db` :0: * ^Subject.*(${SPAM}) /dev/null [I don't like it, really, need to keep an eye on $LINEBUF etc]. In any case, don't trust me, but man procmail{,rc,ex} Sorry for the mix-up. -- Oleg Goldshmidt [EMAIL PROTECTED] "Inventions ... cannot, in nature, be a subject of property." T. Jefferson. = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: sendmail problems
Pavel Bibergal wrote: Hi all I changed the name of my machine, and not the sendmail don't want to work.. how to fix it? By changing the cf file By reading the sendmail operator's manual By reading the sendmail book By not solving it but claiming that it is solved = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: wine problems
Pavel Bibergal wrote: [misc info snipped] [pavel@MAG pavel]$ wine /mnt/c/windows/calc.exe fixme:pthread_atfork fixme:reg:_w95_parse_dkv RegSetValueEx returned: 0x000e Building font metrics. This may take some time... err:seh:EXC_DefaultHandling Unhandled exception code c094 flags 0 addr 0x40677764 and also quit. i have hebrew enabled windows 98 installed on my machine.. can it happens because of hebrew? I'm guessing you set WINE to use the real registry. If you did - don't. Try running notepad.exe. Try checking the value of LC_ALL. -- /-- Omer Efraim ---\ /--- [EMAIL PROTECTED] (remove spam_me) \ | I can picture in my mind a world without war, a world | | without hate. And I can picture us attacking that world, | | because they'd never expect it.| \-- Jack Handey, Deep Thoughts / = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Q: Interesting memory usage stat's
NF 1) Why is memory usage so high when it shouldn't be? NF Note: looking at the process that are running (most httpd), they don't NF amount to much more that 30mb. Actually, in ideal case memory usage should be 100%. Why you need memory that isn't used? If it isn't used by the processes, OS could use it as cache memory. However, I think it's very tough to make system that will get close to 100% memory usage, especially in general case. However, if the process configuration is static (i.e., same long-lived processes run again and again doing the same stuff), memory usage could be close to it - that means Linux is doing great job utilizing your memory. You should start worrying about memory only if swap usage grows and running processes start getting swapped - it easily leads to catastrophics thrashing and loads about 20+, basically meaning the system is dead. NF 2) How can I determine TRUE memory usage? Well, take "used" number, take out "cached" and "buffers". That should be close to it. -- [EMAIL PROTECTED] \/ There shall be counsels taken Stanislav Malyshev /\ Stronger than Morgul-spells phone +972-3-9316425/\ JRRT LotR. http://sharat.co.il/frodo/ whois:!SM8333 = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Q: Interesting memory usage stat's
IA the problem is that many times the netscape process leaks over 200Meg of IA swap, but it remains "used" once I kill the process. the RAM is freed, IA but the machine is heavy as hell because it won't free up the swap and IA swap back in all the other apps. IA any idea how I force the machine to reclaim swap memory from dead IA processes? Are you sure it's indeed what happens? Is that netscape lying in swap, not other apps? Usually actively running app (99% CPU) is forcing other, sleeping processes out to swap and takes their memory for it. If they continue to sleep, they remain in swap - system won't resurrect them back to real memory unless they'll run. -- [EMAIL PROTECTED] \/ There shall be counsels taken Stanislav Malyshev /\ Stronger than Morgul-spells phone +972-3-9316425/\ JRRT LotR. http://sharat.co.il/frodo/ whois:!SM8333 = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Q: Interesting memory usage stat's
Ira Abramov wrote: the problem is that many times the netscape process leaks over 200Meg of swap, but it remains "used" once I kill the process. the RAM is freed, but the machine is heavy as hell because it won't free up the swap and swap back in all the other apps. any idea how I force the machine to reclaim swap memory from dead processes? That seems unlikely. Swapped applications cannot run, they have to be swapped back in for them to run (the appropriate pages that pagefault, anyhow). There is no need to _force_ the kernel to reclaim swap space, as that's kind of meaningless (dead processes, even zombies already give up their memory, and that obviously includes swap). There is no actual reason to free up the swap space, as it's not really getting used right now. However, it does seem to me that this might go deeper. Is it just slow, or does it give out any error messages? Try recompiling the kernel, or anything large enough with multiple compiler processes (with make -j) and watch the memory usage and error messages. The 2.2.x tree (and those before) have a serious memory handling problem, they don't defragment the memory (or rather, allocate it in a dumb way - 1 page at a time). Maybe it's just running out of blocks? -- /-- Omer Efraim ---\ /--- [EMAIL PROTECTED] (remove spam_me) \ | I can picture in my mind a world without war, a world | | without hate. And I can picture us attacking that world, | | because they'd never expect it.| \-- Jack Handey, Deep Thoughts / = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: CompuTax 2000 is upon us
Ira Abramov wrote: After many false promisses From Peli Peled for a "Linux City" at Internet World, Please, no flames! PplComputers were very generous, honestly. The fact that their generosity didn't serve us optimally, should make US thinking where we failed. The fact that their gift was not used efficiently, was OUR fault (yes, mine too, for not being available to help). But nothing to do with them; They only tried to help (and please no jokes about the money they made out of the exhibition; It doesn't make their charity negative). If we want bodies like them to help us, we must be grateful. Stier's next Computax (to take place in two weeks) will have a "Linux World" booth A third (1/3) booth (booth 29, which will be shared also by "Start- Up World" and "Internet World"). Like PplComputers, the plans always start with big ambitions (a whole booth), continues with half or third booth (in the invitations), and end with one or two small companies (including IGLU) exhibiting for the last day (the first and second are spent usually for installing and setting up the computers ;-). (nothing to do with IDG AFAIK) Linux World is the typical boastful terminology of PplComputers, that Stier learned very well; Don't tell me that it is the first time you face it... where a company called "LinuxCom" will demonstrate Linux apps. Ha! Again, their terminology! Next time please do your homework before; There will not be any 'company called "LinuxCom"'. All they wrote was that there will be "Hadgamat Yisumim BiSvivat Linux", free for all. They didn't write who would demonstrate, but as one who is already expected to understand their terminology, you should understand that the Linux exhibitors will demonstrate Linux apps; What do you expect IGLU/PF1/Aduva to demonstrate, MS-Office ?! If you don't believe, read the following line: "HaHadgamot BeVitan 29, 'Olam-HaLinux'". Of course, did you expect the exhibitors in "Olam-HaLinux" to demonstrate Internet Explorer ?! Yes, the title says "LinuxCOM", but nobody wrote that it is a company; It's only their terminology. this much I got from the invitations they sent out. Rumors are also that maddog is going to be around again. What a mix; It is not about Computax, but about Comdex (planned for September). Anyway, don't be so optimistic; It is not a rumor, but only an official announcement of PplComputers, which means that there are 20%-30% chances to happen! Believe only in rumors, not in announcements (otherwise, you will be amazed again to find that the whole "Linux World Booth" became a small 2*3 meters booth of one small company). -- Eli Marmor = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
tar exclude file
Hi All Strange it seems that i already done this in the past but i can exclude sub directories from tar. tar czv -f ./28-5-00-server-tar.gz -X /backup/exclude.txt / the exclude file have for example usr this drop all usr directory var/lib don't work tried with * and "" + and all stuff i could remeber. maybe its to late in the night or im too old ;) how do i exlude some/dir ? -- -- Canaan Surfing Ltd. Internet Service Providers Ben-Nes Michael - Manager Tel: 972-6-6925757 Fax: 972-6-6925858 http://www.canaan.co.il -- = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: add and copy a partition
On Sun, 28 May 2000, Omer Mussaev wrote: Any reason why not to use cp -a that I'm not aware of? first: using tar is POSIX compliant, thus you can use tar method on any POSIX(applications) compliant machine. second: this is the Unix way. Let me add my own reason for why I like the tar|tar trick better: it's standard. No, not in UNIX: in programmer think. You know what the standard way is to copy objects in Java? Why, serialize/deserialize. You know what the standard way is to copy objects in Python? Why, pickle/unpickle. The *correct* way to copy in a pointer-isomorphic way, is by a serialize/deserialize mechanism. But that's *exactly* the meaning of tar. -- Moshe Zadka [EMAIL PROTECTED] http://www.oreilly.com/news/prescod_0300.html http://www.linux.org.il -- we put the penguin in .com = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: tar exclude file
Hi, Ben-Nes! On Sun, May 28, 2000 at 11:47:07PM +0300, you wrote the following: Hi All Strange it seems that i already done this in the past but i can exclude sub directories from tar. tar czv -f ./28-5-00-server-tar.gz -X /backup/exclude.txt / the exclude file have for example usr this drop all usr directory var/lib don't work tried with * and "" + and all stuff i could remeber. maybe its to late in the night or im too old ;) how do i exlude some/dir ? The following works fine for me (part of my backup script): tar -zlcvf root.tar.gz \ --exclude='/var/*' --exclude='/usr/*' --exclude='/etc/*' / -- Alex Shnitman| http://www.debian.org [EMAIL PROTECTED], [EMAIL PROTECTED] +--- http://alexsh.hectic.netUIN 188956PGP key on web page E1 F2 7B 6C A0 31 80 28 63 B8 02 BA 65 C7 8B BA Linux and other Open Source advocates are making a progressively more credible argument that Open Source software is at least as robust -- if not more -- than commercial alternatives. The Internet provides an ideal, high-visibility showcase for the Open Source world. -- Internal Microsoft memo = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: tar exclude file
Whoops, forgot to mention (another line from same script): tar -zcvf var.tar.gz --exclude='/var/spool/squid/*' /var So excluding deeper directories shouldn't be a problem either. -- Alex Shnitman| http://www.debian.org [EMAIL PROTECTED], [EMAIL PROTECTED] +--- http://alexsh.hectic.netUIN 188956PGP key on web page E1 F2 7B 6C A0 31 80 28 63 B8 02 BA 65 C7 8B BA Minds are like parachutes... they work best when open. = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: add and copy a partition
On Sun, 28 May 2000, Omer Mussaev wrote: Any reason why not to use cp -a that I'm not aware of? first: using tar is POSIX compliant, thus you can use tar method on any POSIX(applications) compliant machine. second: this is the Unix way. Let me add my own reason for why I like the tar|tar trick better: it's standard. No, not in UNIX: in programmer think. You know what the standard way is to copy objects in Java? Why, serialize/deserialize. You know what the standard way is to copy objects in Python? Why, pickle/unpickle. The *correct* way to copy in a pointer-isomorphic way, is by a serialize/deserialize mechanism. But that's *exactly* the meaning of tar. Your terms are very cryptic for me. Would you mind elaborating on what is serialize/deserialize? pickle/unpickle? pointer-isomorphic way? serialize/deserialize mechanism? -- Moshe Zadka [EMAIL PROTECTED] http://www.oreilly.com/news/prescod_0300.html http://www.linux.org.il -- we put the penguin in .com = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] -- -- Shaul Karl [EMAIL PROTECTED] -- -- Shaul Karl [EMAIL PROTECTED] = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Guides for Linux
i'm looking a guide's for linux with pictures i prefer english that i will translate it to hebrew, i translate a 15 guide to hebrew you can see them her:http://www.guides.co.il4 will upload next week and more 6 i make'sthanksOr
Re: add and copy a partition
On Mon, 29 May 2000, Shaul Karl wrote: Your terms are very cryptic for me. Would you mind elaborating on what is serialize/deserialize? pickle/unpickle? pointer-isomorphic way? serialize/deserialize mechanism? Sure: serialize (or pickle, or marshal) simply means to get a flat representation of a data structure. For example, you could say computer programs are seralized representations of the parse trees. I think the term pointer-isomorphism should be obvious: a non-formal definition wouild be to say that there is a mapping between the addresses such that one structure goes into the other. Any real language (as opposed to glorified assemblers (C++) or macro processors (Tcl/bash)) has a built-in serialize and deserialize mechanism: Java (implements serializable) Python (pickle) Perl (Data::Dumper) Scheme (write) This is a cool way to implement RPC, persistent objects, etc. -- Moshe Zadka [EMAIL PROTECTED] http://www.oreilly.com/news/prescod_0300.html http://www.linux.org.il -- we put the penguin in .com = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
BiDi built into Java at last?
this was just forwarded to me from Amos Shapira about an event in the approaching JavaOne. please forward to Ivrix if it's any news (well, it was for ME) the URL talks about a session which talks about Hebrew and Arabic support in the next version of J2SE (Java 2 Standard Edition) - "Version 1.3 extends bi-directional text handling to all "JFC/Swing" text components, and implements component orientation for most "JFC/Swing" user interface components, thus making it easy to create products serving Arabic and Hebrew markets." http://jsp.java.sun.com/javaone/javaone2000/event.jsp?eventId=817trackId=1evetType=TS -- Ira Abramov (@- Gnu/Linux, Free Speech, RFC 1855 whois: IA58 //\ Peace, Love, Music, Slow Food www.scso.com v_/_ Camels, Penguins, Giraffes, Cats = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: add and copy a partition
Hi, Moshe! On Mon, May 29, 2000 at 07:45:34AM +0300, you wrote the following: Any real language (as opposed to glorified assemblers (C++) or macro processors (Tcl/bash)) has a built-in serialize and deserialize mechanism: .. Perl (Data::Dumper) Or Storable, which is binary and not human-readable, but faster by many orders of magnitude. -- Alex Shnitman| http://www.debian.org [EMAIL PROTECTED], [EMAIL PROTECTED] +--- http://alexsh.hectic.netUIN 188956PGP key on web page E1 F2 7B 6C A0 31 80 28 63 B8 02 BA 65 C7 8B BA "Everything that can be invented has been invented." -- Charles Duell, head of the U.S. Patent Office, 1899 = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]