Valgrind HOWTO

2015-06-28 Thread Masao Uebayashi
o Use the latest OpenBSD/amd64 and devel/valgrind (valgrind-3.10.1p5). o Dynamically link your target program. o Valgrind overrides some functions (alloc, free, string, memory) in libc using $LD_PRELOAD. o Embed symbols (cc -g). o Otherwise Valgrind reports problems using symbols. This is

Re: ThinkPad X1 Carbon Gen3

2015-06-28 Thread Mike Larkin
On Sun, Jun 28, 2015 at 10:39:12AM +0900, Masao Uebayashi wrote: On Sat, Jun 27, 2015 at 11:45:01AM -0700, Mike Larkin wrote: On Sat, Jun 27, 2015 at 12:37:23PM +0900, Masao Uebayashi wrote: - zzz - I can almost resume it from RAM with Security Chip (TPM) disabled in the BIOS

Perl bindings for libsndio

2015-06-28 Thread Steven McDonald
Hi misc@, I've begun working on some Perl bindings for libsndio. The reason I started was to be able to interface with sndiod's MIDI thru boxes directly from Perl, but I've implemented XS bindings for the complete libsndio API: https://github.com/stevenjm/perl-Audio-Sndio It's still far from

gr-osmosdr

2015-06-28 Thread EdaSky
Greetings I would like to expand my Hamshack on SDR receiver via GQRX I would also like to analyze signals over gnuradio and build port of gqrx and required dependency progs. I bought http://dxpatrol.pt/ ugen1 at uhub0 port 5 Realtek RTL2838UHIDIR rev 2.00 / 1.00 addr 2 With

Regarding the default /usr partitioning

2015-06-28 Thread Carlos Fenollosa
Hi, I’m a new OpenBSD user, so please forgive me if this topic has been discussed thoroughly already. I installed a new box using the default partitioning (2GB for /usr) and I found that it’s a bit insufficient since /usr/ports, /usr/xenocara and /usr/src hang from there on the same

cp from 4 different home folders without overwriting files with different content

2015-06-28 Thread Chris Bennett
I had 4 different hardrives that were failing. I bought a 2TB usb drive to back up all the home folders. I now would like to cp all of the folders and files to another empty partition. But I don't want to overwrite any files with same name but different content. For example: /homeX/index.html

Re: Regarding the default /usr partitioning

2015-06-28 Thread Raf Czlonka
On Sun, Jun 28, 2015 at 11:15:20PM BST, Carlos Fenollosa wrote: Hi, Hi Carlos, I’m a new OpenBSD user, so please forgive me if this topic has been discussed thoroughly already. I installed a new box using the default partitioning (2GB for /usr) and I found that it’s a bit insufficient

Re: Regarding the default /usr partitioning

2015-06-28 Thread Alexander Salmin
Hi, Read up on the Automatic disk allocation chapter in the disklabel manual as mentioned by Raf. Basically partitions are dynamically allocated based on total disk-space with a few exceptions - the following paths have their own partitions on disks larger than 7G (so you are mistaken about

Re: cp from 4 different home folders without overwriting files with different content

2015-06-28 Thread Steven McDonald
On Sun, 28 Jun 2015 17:39:18 -0500 Chris Bennett chrisbenn...@bennettconstruction.us wrote: But I don't want to overwrite any files with same name but different content. You could try GNU cp (gcp in the coreutils package) with the -n option: -n, --no-clobber do not

Re: cp from 4 different home folders without overwriting files with different content

2015-06-28 Thread nerv
On Sun, 28 Jun 2015 17:39:18 -0500 Chris Bennett chrisbenn...@bennettconstruction.us wrote: I had 4 different hardrives that were failing. I bought a 2TB usb drive to back up all the home folders. I now would like to cp all of the folders and files to another empty partition. But I don't

Re: Regarding the default /usr partitioning

2015-06-28 Thread Chris Bennett
On Sun, Jun 28, 2015 at 05:59:09PM -0500, James Hartley wrote: On Sun, Jun 28, 2015 at 5:15 PM, Carlos Fenollosa carlos.fenoll...@gmail.com wrote: I installed a new box using the default partitioning (2GB for /usr) and I found that it???s a bit insufficient since /usr/ports,

Re: Regarding the default /usr partitioning

2015-06-28 Thread James Hartley
On Sun, Jun 28, 2015 at 6:10 PM, Chris Bennett chrisbenn...@bennettconstruction.us wrote: Why only up to p? It is a historical limitation. Could this be easily changed... No, it would break a number of things. ...or would that be a major project? Yes. I would really like to newfs

Re: Regarding the default /usr partitioning

2015-06-28 Thread James Hartley
On Sun, Jun 28, 2015 at 5:15 PM, Carlos Fenollosa carlos.fenoll...@gmail.com wrote: I installed a new box using the default partitioning (2GB for /usr) and I found that it’s a bit insufficient since /usr/ports, /usr/xenocara and /usr/src hang from there on the same partition, and eat up

Re: cp from 4 different home folders without overwriting files with different content

2015-06-28 Thread Chris Bennett
On Mon, Jun 29, 2015 at 12:56:04AM +0200, nerv wrote: On Sun, 28 Jun 2015 17:39:18 -0500 Chris Bennett chrisbenn...@bennettconstruction.us wrote: I had 4 different hardrives that were failing. I bought a 2TB usb drive to back up all the home folders. I now would like to cp all of the

Re: cp from 4 different home folders without overwriting files with different content

2015-06-28 Thread Philip Guenther
On Sun, Jun 28, 2015 at 4:27 PM, Chris Bennett chrisbenn...@bennettconstruction.us wrote: On Mon, Jun 29, 2015 at 12:56:04AM +0200, nerv wrote: On Sun, 28 Jun 2015 17:39:18 -0500 Chris Bennett chrisbenn...@bennettconstruction.us wrote: I had 4 different hardrives that were failing. I

Re: Cannot run Snort

2015-06-28 Thread Wong Peter
Dear All, OpenBSD 5.7 Arch: i386 Snort Version:2.9.7.3 Installed from packages Start by typing snort. Thanks. On Sat, Jun 27, 2015 at 6:49 PM, Nigel J Taylor ni...@openbsd.org wrote: On 06/27/15 09:12, Wong Peter wrote: Dear All, I had installed Snort but cannot run it. Error

Re: Cannot run Snort

2015-06-28 Thread Josh Grosse
On Mon, Jun 29, 2015 at 09:14:40AM +0800, Wong Peter wrote: Dear All, OpenBSD 5.7 Arch: i386 Snort Version:2.9.7.3 This is not the -release (or -stable) version of net/snort, which is 2.9.7.0. The version you mention, 2.9.7.3 was committed a month *after* 5.7 was released. Installed

Re: cp from 4 different home folders without overwriting files with different content

2015-06-28 Thread Aaron Poffenberger
On Jun 28, 2015, at 18:35, Philip Guenther guent...@gmail.com wrote: On Sun, Jun 28, 2015 at 4:27 PM, Chris Bennett chrisbenn...@bennettconstruction.us wrote: On Mon, Jun 29, 2015 at 12:56:04AM +0200, nerv wrote: On Sun, 28 Jun 2015 17:39:18 -0500 Chris Bennett

Re: cp from 4 different home folders without overwriting files with different content

2015-06-28 Thread Benny Lofgren
On 2015-06-29 00:39, Chris Bennett wrote: I had 4 different hardrives that were failing. I bought a 2TB usb drive to back up all the home folders. I now would like to cp all of the folders and files to another empty partition. But I don't want to overwrite any files with same name but

Re: cp from 4 different home folders without overwriting files with different content

2015-06-28 Thread Sean Kamath
On Jun 28, 2015, at 7:28 PM, Aaron Poffenberger a...@hypernote.com wrote: IMO, you're over thinking it. Step 1) GET THE DATA OFF THE FAILING DRIVES. Doing *anything* before that's done means you *want* to lose data. Step 2) okay, *now* that the data is safe, compare files between trees

Re: Any books about OpenBSD ARM programming?

2015-06-28 Thread Piotr Kubaj
On 06/29/2015 03:46, Daniel Bolgheroni wrote: On Wed, Jun 24, 2015 at 05:26:10PM +0200, Piotr Kubaj wrote: Hi all, I'm mainly a FreeBSD user but want to learn OpenBSD. I'm also interested in basic electronics, like programming own thermometer. That's why I want to install OpenBSD on my