Re: A handy utility (at least for me)

2006-08-26 Thread Nicolas Rachinsky
* albi [EMAIL PROTECTED] [2006-08-27 01:13 +0200]: guys... please use the official portsclean ! :) included in the sysutils/portupgrade portsclean -h portsclean 2.0.1 (2006/06/13) usage: portsclean [-hCDDiLnPPQQq] -h, --help Show this message -C, --workclean

moused vs. init / single user mode from $firewall_script

2006-10-22 Thread Nicolas Rachinsky
Hallo, I wanted to change my $firewall_script to be able to stop the boot and go to single user mode. So I added kill -TERM $$ (like in some other rc.d scripts). But the system failed to go to singel user mode, I got only can't get /dev/console for controlling terminal: Permission denied. If I

Re: FreeBSD's malloc problem ?

2004-04-24 Thread Nicolas Rachinsky
* Anton Alin-Adrian [EMAIL PROTECTED] [2004-04-24 21:27 +0300]: tmp = (char *) malloc(strlen(s)); // line 68 Hmm, you need strlen(s)+1 bytes to store the string -- don't forget the trailing null byte. Nicolas ___ [EMAIL PROTECTED] mailing list

Re: [PATCH] basic modelines for contrib/nvi

2004-07-25 Thread Nicolas Rachinsky
* José de Paula [EMAIL PROTECTED] [2004-07-25 18:03 -0300]: On Mon, 19 Jul 2004 15:15:04 +0200, Jilles Tjoelker [EMAIL PROTECTED] wrote: snip There are some options which can pose a security risk, including but not limited to cdpath, tempdir, path and shell. You should make a list of

Re: Controlling external hardware via lpt0

2004-08-03 Thread Nicolas Rachinsky
* Fernando Gleiser [EMAIL PROTECTED] [2004-08-03 13:04 -0300]: I need to control some external hardware with a small program in FreeBSD. I thought about using the 8 data bits of the parallel port for sending the control bits to the hardware. The hardware is a very simple combinational logic,

Re: fsck and lost+found space

2004-08-11 Thread Nicolas Rachinsky
* Charles Sprickman [EMAIL PROTECTED] [2004-08-10 23:52 -0400]: I was hoping for some option in fsck to allow an alternate lost+found directory on another device, but no such luck. Is there anything else that I'm overlooking? I'm willing to try anything since I'm doing all this on a junk box

Re: passwordless ssh logins with shared _HOST_ keys - not working.

2004-10-18 Thread Nicolas Rachinsky
* Joe Schmoe [EMAIL PROTECTED] [2004-10-17 16:48 -0700]: I am trying to allow _all users_ on CLIENT to login to SERVER without a password. Is your ssh setuid root? Is UsePrivilegedPort set? UsePrivilegedPort Specifies whether to use a privileged port for outgoing connec-

Re: ttyd0/cuad0 - why is there still this duality ?

2005-01-24 Thread Nicolas Rachinsky
* Sam Leffler [EMAIL PROTECTED] [2005-01-24 19:29 -0800]: M. Warner Losh wrote: The real reason that they are there is that ttyd waits for carrier detect, while cua doesn't. Non-blocking open followed by block on read/write and/or select dealt with that long ago. But can you use the

Re: hints on shell string expansion ?

2003-07-07 Thread Nicolas Rachinsky
* Luigi Rizzo [EMAIL PROTECTED] [2003-07-07 00:46 -0700]: but i because the string of actions is used in several places, I would love to find a way to group actions into a single variable and then write something like this actions=allow 'deny log' 'pipe 10' for act in $actions ;

Re: network crash dumps

2003-08-02 Thread Nicolas Rachinsky
* Brian Reichert [EMAIL PROTECTED] [2003-08-02 11:56 -0400]: I seem to remember calling panic from ddb actually does something strange. Try call boot(1) or call boot instead. Does anyone have a grasp on an alternate way of panicing a 4.7-R kernel? kill -6 1

Re: network crash dumps

2003-08-02 Thread Nicolas Rachinsky
* Brian Reichert [EMAIL PROTECTED] [2003-08-02 17:34 -0400]: On Sat, Aug 02, 2003 at 10:11:32PM +0200, Nicolas Rachinsky wrote: * Brian Reichert [EMAIL PROTECTED] [2003-08-02 11:56 -0400]: I seem to remember calling panic from ddb actually does something strange. Try call boot(1

Re: RFC: proposed new builtin for /bin/sh (associative arrays)

2003-11-01 Thread Nicolas Rachinsky
* Oliver Fromme [EMAIL PROTECTED] [2003-10-31 21:16 +0100]: Maybe I'm not understanding your intentions, but isn't that already possible using set | sed -n '/^foo_/s/=.*//p'? Or do you want to avoid external programs? In that case it would be a little bit more difficult to do, but it's

Re: switching between groups

2004-01-06 Thread Nicolas Rachinsky
* Bruce M Simpson [EMAIL PROTECTED] [2004-01-06 18:11 +]: On Tue, Jan 06, 2004 at 11:14:06AM -0500, Adil Katchi wrote: I was just wondering if anyone has any ideas how it's possible for a user that belongs to multiple groups to somehow limit his or her own capabilities by using only one

Re: switching between groups

2004-01-06 Thread Nicolas Rachinsky
* Adil Katchi [EMAIL PROTECTED] [2004-01-06 17:01 -0500]: I don't follow, what do you mean? A file with mode rwr-- owned by root:group1 could be read by anyone who is not in group1. Nicolas Confusing quote: -Original Message- From: Nicolas Rachinsky [mailto:[EMAIL PROTECTED

Re: Discussion on the future of floppies in 5.x and 6.x

2004-01-09 Thread Nicolas Rachinsky
* Scott Long [EMAIL PROTECTED] [2004-01-09 00:02 -0700]: Well, except when mfsroot.gz becomes too large to fit on a single floppy. Right now it is about 90k away from that. What happens when mount_nfsv4 gets put on there? John Baldwin and I already spent a day over the holiday break making

Re: Discussion on the future of floppies in 5.x and 6.x

2004-01-10 Thread Nicolas Rachinsky
* Richard Coleman [EMAIL PROTECTED] [2004-01-09 20:59 -0500]: Richard Coleman wrote: I apologize if this is a dumb question. But rather than using two floppies during the install process, why not three or four? Richard Coleman [EMAIL PROTECTED] Sorry, I just got caught up on the list,

Re: Discussion on the future of floppies in 5.x and 6.x

2004-01-11 Thread Nicolas Rachinsky
* Dag-Erling Smørgrav [EMAIL PROTECTED] [2004-01-11 10:19 +0100]: Paul Robinson [EMAIL PROTECTED] writes: Understood. I just think saying let's get rid of floppies is shooting a dog that happens to be near to hand because you don't like that dog, to stretch the analogy. I don't think you

Re: Discussion on the future of floppies in 5.x and 6.x

2004-01-11 Thread Nicolas Rachinsky
* Brooks Davis [EMAIL PROTECTED] [2004-01-11 11:02 -0800]: If you could make this work such that you just stuffed GENERIC and the mfsroot onto however many floppies it takes, I think that would almost certaintly solve re's problems with floppies (i.e. if all they had to do when the

Re: Discussion on the future of floppies in 5.x and 6.x

2004-01-11 Thread Nicolas Rachinsky
* Avleen Vig [EMAIL PROTECTED] [2004-01-11 13:34 -0800]: On Sun, Jan 11, 2004 at 09:24:38PM +0100, Nicolas Rachinsky wrote: Now, who wants to give this a try? OK, I tried now the following: I made copies of the 4.9 RELEASE Floppies, split the half of the kernel and mfsroot

Re: increasing dd disk to disk transfer rate

2006-01-12 Thread Nicolas Rachinsky
* Peter Jeremy [EMAIL PROTECTED] [2006-01-13 08:13 +1100]: Note that whilst increasing the DD blocksize will speed up the transfer, it will also increase the amount of collateral damage when a hard error occurs. If you rummage around the ports or tools tree, you'll find a utility (its name

Re: coredump incomplete

2002-10-01 Thread Nicolas Rachinsky
* Paolo Pisati [EMAIL PROTECTED] [2002-10-01 23:01 +0200]: I'm trying to reproduce a bug of my system, and create a dump but, just after my system rebooted, at the end of the boot process, savecore found a seek problem or something like that and the vmcore created was of only 10 bytes!!!

Re: Running different startup scripts on behalf of loaded kernel and kernel modules

2002-03-12 Thread Nicolas Rachinsky
* On Tue, Mar 12, 2002 at 04:38:42PM +0200, * Vladimir Terziev [EMAIL PROTECTED] wrote: I think, I should refine my question ... How can I understand, when the startup scripts are going to be runned, which menu item is choosed ? Does the output of sysctl kern.bootfile and kldstat help you?

Re: Help: FreeBSD 4.3 to 4.5 upgrade problem using sysinstall script

2002-04-04 Thread Nicolas Rachinsky
* Koroush Saraf [EMAIL PROTECTED] [2002-04-04 09:56:39 -0800]: Hi All, I would like to upgrade a bunch of FreeBSD4.3 computers to FreeBSD 4.5. Following the FreeBSD handbook I have setup a computer as an ftp server to serve the contents of the CD4_5_1 as the root for anonymous FTP. I like to

Re: accessing data track of multimedia CD?

2002-06-07 Thread Nicolas Rachinsky
* Brian Reichert [EMAIL PROTECTED] [2002-06-06 18:04 -0400]: I've been beating my head for hours against a wall trying to research this: Under FreeBSD (4.5-RELEASE), with an ATAPI device (/dev/acd0c), how can I mount, or otherwise access the data in a 'data track' of a 'multimedia CD'?

Re: sorting in C

2002-06-14 Thread Nicolas Rachinsky
* Dan Arlow [EMAIL PROTECTED] [2002-06-14 14:40 -0400]: dumb question: extra in the previous post? why do both this qsort(array, NUM_INTS, sizeof(*array), (int (*)(const void *, const void *)) comp); and this qsort(array, NUM_INTS, sizeof(*array), (int (*)(const void *, const void

Re: Beep after shutdown

2002-07-17 Thread Nicolas Rachinsky
* Sean Hamilton [EMAIL PROTECTED] [2002-07-17 02:23 -0700]: Greetings, The fact that FreeBSD does not beep after it finishes shutting down has costed me dozens of hours of reformatting inconsistent filesystems, and probably all sorts of little bits of data loss which I'm just unaware of.