Re: how can i be certain that a file has copied exactly?

2008-12-27 Thread Gary Kline
On Sat, Dec 27, 2008 at 04:51:18AM +0200, Giorgos Keramidas wrote: On Fri, 26 Dec 2008 17:56:34 -0800, Gary Kline kl...@thought.org wrote: On Sat, Dec 27, 2008 at 03:29:05AM +0200, Giorgos Keramidas wrote: On Fri, 26 Dec 2008 17:13:39 -0800, Gary Kline kl...@thought.org wrote: is there a

old flopy drive on parallel port

2008-12-27 Thread Matthias Apitz
Hello, I've just thrown away an very old laptop which was running FreeBSD 2.2.5 in the mid of the 90's; this have had an external 3.5 inch floppy drive, connected through a cable to the parallel port and this way fully supported, even for the basic installation of FreeBSD which was based on

Re: OSX mount UFS

2008-12-27 Thread Martin Smith
Tsu-Fan Cheng wrote: Hi, I apologize for this diversion of topic. I format a external HD by BSD and move files to it. When trying to read it on OSX, it wouldn't recognize. Googling it didn't help much. I wonder if people here and lend a hand. Thanks!! Well, how is it formatted, ufs?,

Re: OSX mount UFS

2008-12-27 Thread Wojciech Puchar
I apologize for this diversion of topic. I format a external HD by BSD and move files to it. When trying to read it on OSX, it wouldn't recognize. Googling it didn't help much. I wonder if people here and lend a hand. Thanks!! Well, how is it formatted, ufs?, msdos? When you attach it to

Re: how can i be certain that a file has copied exactly?

2008-12-27 Thread Giorgos Keramidas
On Sat, 27 Dec 2008 01:40:13 -0800, Gary Kline kl...@thought.org wrote: howdy, in a word, YES, /usr/bin/cmp saved the save before i unlinked the oldfile. here is the strangeness. maybe you know, giorgos, or somebody else on-list. At first--before i got smart and used your snprintf to

Re: running shell command through ssh tunnel

2008-12-27 Thread Christian Laursen
Noah adm...@enabled.com writes: I am trying to run a shell command to the host at the far end of an ssh tunnel. Here is how I structured access. Is there any way to do this more compactly on one line? ssh -L 12345:192.168.1.20:22 n...@domain.com ssh -p 12345 localhost 'chown -R

Would you like to trade links?

2008-12-27 Thread Annie Simanski
Hi, I visited your site www.freebsd.org and I'm interested in swapping links with you. I can add your link to a category specific page on our site ibrain.org, in exchange for a link back from the home or internal page of your site. If you're interested, please reply to this email with your

Re: running shell command through ssh tunnel

2008-12-27 Thread Lowell Gilbert
Noah adm...@enabled.com writes: I am trying to run a shell command to the host at the far end of an ssh tunnel. Here is how I structured access. Is there any way to do this more compactly on one line? ssh -L 12345:192.168.1.20:22 n...@domain.com ssh -p 12345 localhost 'chown -R

Re: SMP and ACPI problem ??

2008-12-27 Thread Lowell Gilbert
Alain G. Fabry alainfa...@belgacom.net writes (in *extremely* long lines, which I wrapped for him): To make a long story shorteverything worked fine on my system (7.0-RELEASE FreeBSD). Last night I was updating stuff on my windoswXP guess (under qemu) and performed a clean shutdown.

Re: Having issues with the nvidia driver on my box

2008-12-27 Thread Lowell Gilbert
af300...@gmail.com writes: For several reasons, one of which was to use the nvidia driver for my board, I switched from amd64 to i386. So, I installed the driver and although things are working I'm getting this on console 0: NVRM: AGP cannot be enabled on this combination of the amd CPU and

Re: nat and ipfw, port forwarding

2008-12-27 Thread Lowell Gilbert
Richard Yang kusanagiy...@gmail.com writes: i have a ssh machine behind a freebsd firewall with nat and ipfw. how do i make port forwarding so internet can access the ssh machine? Use 'redirect_port' with natd(8). This is extensively documented in the Handbook:

Re: EOIP Tunnels

2008-12-27 Thread Lowell Gilbert
Marcel Grandemange thavi...@thavinci.za.net writes: Does FreeBSD support EOIP tunnels? The kernel used to, and the code seems to still be around, but it may not be used much any more. There are netgraph nodes that you should be able to build it out of as well. If so where can I find more

Re: running shell command through ssh tunnel

2008-12-27 Thread Matthew Seaman
Lowell Gilbert wrote: Noah adm...@enabled.com writes: I am trying to run a shell command to the host at the far end of an ssh tunnel. Here is how I structured access. Is there any way to do this more compactly on one line? ssh -L 12345:192.168.1.20:22 n...@domain.com ssh -p 12345

Re: strange fsck results

2008-12-27 Thread Derek Ragona
At 12:37 PM 12/26/2008, re...@adeptscience.com wrote: I am running FreeBSD 6.3 as a VMware virtual server and am getting some strange results when I run fsck. When I run it in multi-user mode I get quite a few UNREF FILE errors but when I switch to single user mode fsck does not find any

Re: nat and ipfw, port forwarding

2008-12-27 Thread usleepless
Hi Ricard, On Fri, Dec 26, 2008 at 9:27 PM, Richard Yang kusanagiy...@gmail.comwrote: hi, i have a ssh machine behind a freebsd firewall with nat and ipfw. how do i make port forwarding so internet can access the ssh machine? thanx i think you need to configure /etc/ipnat.conf ( read 'man

Re: Wireless router?

2008-12-27 Thread Mel
On Monday 22 December 2008 14:48:52 Corey Chandler wrote: Failing that, the Linksys WRT54GL isn't a half bad unit. Yes it is a half bad unit. If you make changes to routing or firewall rules, you need to unplug everything, power cycle it, say a prayer and hope it works. I never got it working

Re: Wireless router?

2008-12-27 Thread Corey Chandler
Roger Olofsson wrote: Corey Chandler skrev: Nerius Landys wrote: Thank you all for your suggestions. This will be a project for me over the holidays. I decided to go the standalone wireless router approach. Good man! I will need to figure out how to configure my standalone wireless

Re: Default list of exported variables in sh(1) - $HOSTNAME

2008-12-27 Thread Mel
On Wednesday 24 December 2008 10:22:34 Brian A. Seklecki wrote: All: I've got a fun problem ... I'm having trouble tracking down where the default list of exported variables is set for sh(1). I've got a piece of PHP code that runs on GNU/Linux but not FreeBSD because (I think) $HOSTNAME

Re: Wireless router?

2008-12-27 Thread Corey Chandler
Mel wrote: On Monday 22 December 2008 14:48:52 Corey Chandler wrote: Failing that, the Linksys WRT54GL isn't a half bad unit. Yes it is a half bad unit. Absolutely-- if you're running out of the box firmware. I use DD-WRT or Tomato specifically to get around the issues you

Re: 3ware array access lock up on 7.1-RC

2008-12-27 Thread Mel
On Friday 26 December 2008 08:12:49 Artem Kuchin wrote: I am not even sure that it is related to freebsd, but maybe someone could point out the problem. We wanted to upgrade our hosting server from FreeBSD 6.2, 3ware 8506-4LP SATA RAID, raid 5 to FreeBSD 7.1 (RC for now), 9550SXU-4LP, raid

Re: Wireless router?

2008-12-27 Thread Bruce Cran
On Sat, 27 Dec 2008 11:27:56 -0800 Corey Chandler li...@sequestered.net wrote: Mel wrote: On Monday 22 December 2008 14:48:52 Corey Chandler wrote: Failing that, the Linksys WRT54GL isn't a half bad unit. Yes it is a half bad unit. Absolutely-- if you're running out of

Re: Wireless router?

2008-12-27 Thread Roger Olofsson
Corey Chandler skrev: Roger Olofsson wrote: Corey Chandler skrev: Nerius Landys wrote: Thank you all for your suggestions. This will be a project for me over the holidays. I decided to go the standalone wireless router approach. Good man! I will need to figure out how to configure

Re: Perl 5.10?

2008-12-27 Thread Mel
On Tuesday 23 December 2008 03:27:19 Jerry wrote: Since it does seem to work quite well under Linux, I was wondering if there was some fundamental flaw in FBSD that prevented it from working correctly here. Even so, failing to get a major project like Perl running properly in over a year on

Re: Having issues with the nvidia driver on my box

2008-12-27 Thread Michael Powell
Lowell Gilbert wrote: af300...@gmail.com writes: For several reasons, one of which was to use the nvidia driver for my board, I switched from amd64 to i386. So, I installed the driver and although things are working I'm getting this on console 0: NVRM: AGP cannot be enabled on this

Open with O_APPEND fails

2008-12-27 Thread Mitar
Hi! I discovered that open syscall with only O_APPEND fails with permission denied if an user does not have rights to write to a file (what is normal) even if it is root (what is a surprise). For example, if I have a file owned by www:www and with 644 permissions root cannot do open(testfile,

Re: running shell command through ssh tunnel

2008-12-27 Thread Noah
Christian Laursen wrote: Noah adm...@enabled.com writes: I am trying to run a shell command to the host at the far end of an ssh tunnel. Here is how I structured access. Is there any way to do this more compactly on one line? ssh -L 12345:192.168.1.20:22 n...@domain.com ssh -p 12345

Re: running shell command through ssh tunnel

2008-12-27 Thread Noah
Lowell Gilbert wrote: Noah adm...@enabled.com writes: I am trying to run a shell command to the host at the far end of an ssh tunnel. Here is how I structured access. Is there any way to do this more compactly on one line? ssh -L 12345:192.168.1.20:22 n...@domain.com ssh -p 12345

Re: running shell command through ssh tunnel

2008-12-27 Thread Noah
Matthew Seaman wrote: Lowell Gilbert wrote: Noah adm...@enabled.com writes: I am trying to run a shell command to the host at the far end of an ssh tunnel. Here is how I structured access. Is there any way to do this more compactly on one line? ssh -L 12345:192.168.1.20:22

Re: how can i be certain that a file has copied exactly?

2008-12-27 Thread Gary Kline
On Sat, Dec 27, 2008 at 02:58:06PM +0200, Giorgos Keramidas wrote: On Sat, 27 Dec 2008 01:40:13 -0800, Gary Kline kl...@thought.org wrote: howdy, in a word, YES, /usr/bin/cmp saved the save before i unlinked the oldfile. here is the strangeness. maybe you know, giorgos, or somebody

Re: running shell command through ssh tunnel

2008-12-27 Thread Christian Laursen
Noah adm...@enabled.com writes: Christian Laursen wrote: Noah adm...@enabled.com writes: I am trying to run a shell command to the host at the far end of an ssh tunnel. Here is how I structured access. Is there any way to do this more compactly on one line? ssh -L

Re: how can i be certain that a file has copied exactly?

2008-12-27 Thread Giorgos Keramidas
On Sat, 27 Dec 2008 13:35:51 -0800, Gary Kline kl...@thought.org wrote: On Sat, Dec 27, 2008 at 02:58:06PM +0200, Giorgos Keramidas wrote: On Sat, 27 Dec 2008 01:40:13 -0800, Gary Kline kl...@thought.org wrote: howdy, in a word, YES, /usr/bin/cmp saved the save before i unlinked the

Re: ports-mgmt/portmaster question

2008-12-27 Thread Mel
On Wednesday 24 December 2008 03:35:07 Matthew Seaman wrote: B. Cook wrote: Is there a way to pass make args (other than -m) for each port? ... If you want options that only apply to specific ports, then you can use a construct like this: .if ${.CURDIR:M*/databases/mysql*}

The FreeBSD Diary: 2008-12-07 - 2008-12-27

2008-12-27 Thread Dan Langille
The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to freebsd-questions@freebsd.org with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the

Re: Open with O_APPEND fails

2008-12-27 Thread Mel
On Saturday 27 December 2008 11:46:03 Mitar wrote: Hi! I discovered that open syscall with only O_APPEND fails with permission denied if an user does not have rights to write to a file (what is normal) even if it is root (what is a surprise). For example, if I have a file owned by www:www

Re: Wireless router?

2008-12-27 Thread Mario Lobo
On Saturday 27 December 2008 16:49:54 Roger Olofsson wrote: Corey Chandler skrev: Roger Olofsson wrote: Corey Chandler skrev: Nerius Landys wrote: Thank you all for your suggestions. This will be a project for me over the holidays. I decided to go the standalone wireless router

Re: nat and ipfw, port forwarding

2008-12-27 Thread Richard Yang
thank you, usleep (nice name)i somehow made it work by 1. add redirect_port udp 10.0.0.200:5 5 in natd.conf 2. allow all traffic and diversion in ipfw.rules i tried to limit the traffic by modifying the rules in ipfw.rules, but unsuccessfully. so i just leave it be at this moment. i am

Re: how can i be certain that a file has copied exactly?

2008-12-27 Thread Gary Kline
On Sat, Dec 27, 2008 at 11:58:35PM +0200, Giorgos Keramidas wrote: On Sat, 27 Dec 2008 13:35:51 -0800, Gary Kline kl...@thought.org wrote: On Sat, Dec 27, 2008 at 02:58:06PM +0200, Giorgos Keramidas wrote: On Sat, 27 Dec 2008 01:40:13 -0800, Gary Kline kl...@thought.org wrote:

Re: how can i be certain that a file has copied exactly?

2008-12-27 Thread Giorgos Keramidas
On Sat, 27 Dec 2008 17:49:03 -0800, Gary Kline kl...@thought.org wrote: I also have some very simple and efficient string-matching functions [[ for SHORT lines!! ]] and other thing we do very often. It was (is?) throw-away code. Does it made sense to have a place on the web where you can get

cdrom restatus

2008-12-27 Thread edmund jones
Hello Happy Holidays! Hope you had a great new years. Im just writing cause I have a little problem. I must have made an adjustment while trying to round out the compatibility of the jdk. I guess to the parameter node of fstab and or /dev. Now when I try to load the cdrom from any where I

Re: how can i be certain that a file has copied exactly?

2008-12-27 Thread Gary Kline
On Sun, Dec 28, 2008 at 04:06:28AM +0200, Giorgos Keramidas wrote: On Sat, 27 Dec 2008 17:49:03 -0800, Gary Kline kl...@thought.org wrote: I also have some very simple and efficient string-matching functions [[ for SHORT lines!! ]] and other thing we do very often. It was (is?) throw-away

Re: Open with O_APPEND fails

2008-12-27 Thread Mitar
Hi! On Sun, Dec 28, 2008 at 1:17 AM, Mel fbsd.questi...@rachie.is-a-geek.net wrote: 15 fd = open(fname, O_WRONLY|O_APPEND); Try only with O_APPEND, without O_WRONLY. I have just found a bug report about that: https://issues.apache.org/bugzilla/show_bug.cgi?id=45923 But the

Re: Open with O_APPEND fails

2008-12-27 Thread Gary Kline
On Sun, Dec 28, 2008 at 04:16:41AM +0100, Mitar wrote: Hi! On Sun, Dec 28, 2008 at 1:17 AM, Mel fbsd.questi...@rachie.is-a-geek.net wrote: 15 fd = open(fname, O_WRONLY|O_APPEND); Try only with O_APPEND, without O_WRONLY. I have just found a bug report about that:

Re: Open with O_APPEND fails

2008-12-27 Thread Mitar
Hi! On Sun, Dec 28, 2008 at 4:58 AM, Gary Kline kl...@thought.org wrote: Just a thought, but have you figured out what the value of that OR is? then check the 6.x and 7.x src. You mean O_RDONLY? Is not that 0? So that O_RDONLY | O_APPEND is the same as O_APPEND? (That is why I am writing about

Re: Open with O_APPEND fails

2008-12-27 Thread Mel
On Saturday 27 December 2008 18:16:41 Mitar wrote: Hi! On Sun, Dec 28, 2008 at 1:17 AM, Mel fbsd.questi...@rachie.is-a-geek.net wrote: 15 fd = open(fname, O_WRONLY|O_APPEND); Try only with O_APPEND, without O_WRONLY. Why would you? open(2) will succeed but write(2) will fail

Re: Open with O_APPEND fails

2008-12-27 Thread Mitar
Hi! On Sun, Dec 28, 2008 at 5:10 AM, Mel fbsd.questi...@rachie.is-a-geek.net wrote: open(2) will succeed but write(2) will fail with EBADF as documented (and I verified this behavior). Still no EACCES as you and the bugreporter are seeing. Where is documented that write would fail if file is

Re: Open with O_APPEND fails

2008-12-27 Thread Gary Kline
On Sun, Dec 28, 2008 at 05:03:59AM +0100, Mitar wrote: Hi! On Sun, Dec 28, 2008 at 4:58 AM, Gary Kline kl...@thought.org wrote: Just a thought, but have you figured out what the value of that OR is? then check the 6.x and 7.x src. You mean O_RDONLY? Is not that 0? So that O_RDONLY |

Re: Open with O_APPEND fails

2008-12-27 Thread Jonathan Chen
On Sun, Dec 28, 2008 at 05:46:39AM +0100, Mitar wrote: Hi! On Sun, Dec 28, 2008 at 5:10 AM, Mel fbsd.questi...@rachie.is-a-geek.net wrote: open(2) will succeed but write(2) will fail with EBADF as documented (and I verified this behavior). Still no EACCES as you and the bugreporter are

*.ko.symbols files in /boot/kernel

2008-12-27 Thread Sergey Kovalev
I've decided to upgrade from 6.4-p1 to 7.1-RC2 on my home desktop pc. Somewhat during this procedure triggered building and installing of *.ko.symbols and kernel.symbols files. Here are my upgrade commands cd /usr/src env -i make buildworld env -i make buildkernel KERNCONF=KOCA env -i make

Re[2]: can not start SVNserve

2008-12-27 Thread KES
Здравствуйте, Mel. Вы писали 25 декабря 2008 г., 20:13:32: M On Tuesday 23 December 2008 13:50:59 KES wrote: Здравствуйте, KES. Вы писали 21 декабря 2008 г., 13:49:04: K Здравствуйте, Mel. K Вы писали 21 декабря 2008 г., 13:10:47: M On Thursday 18 December 2008 09:03:54 KES wrote: