On Thu, Aug 07, 2008 at 11:25:39AM -0400, Mike Meyer wrote:
> On Thu, 7 Aug 2008 09:15:00 +0300 Alex Kozlov <[EMAIL PROTECTED]> wrote:
> > [1]:
> > $cat /usr/local/bin/service
>
> Basically what I had in mind, but it can be made more portable across
> FreeBSD configurations.
>
[...]
>
> And here
On Thu, Aug 7, 2008 at 10:14 PM, Nate Eldredge <[EMAIL PROTECTED]> wrote:
> On Thu, 7 Aug 2008, Chuck Robey wrote:
>
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> I have my head lost in a code problem. I just hit a point where I need to
>> do a
>> read from an fd, but I need to associa
I am surprised by the overwhelming response that this thread has acquired.
I have spent the majority of the day reading all the responses that
everyone has put forward. I would like to clear a few things up, comment
on others, and suggest some solutions to a lot of good points that
everyone has mad
On Thu, 7 Aug 2008, Chuck Robey wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I have my head lost in a code problem. I just hit a point where I need to do a
read from an fd, but I need to associate it with a timeout, on the order of 1
second, something like that. I had the feeling that
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I have my head lost in a code problem. I just hit a point where I need to do a
read from an fd, but I need to associate it with a timeout, on the order of 1
second, something like that. I had the feeling that there's a function in
FreeBSD's libc tha
On Thu, 07 Aug 2008 22:40:35 +0200, Lars Engels <[EMAIL PROTECTED]>
wrote:
On Thu, Aug 07, 2008 at 03:47:24PM +0200, Anders Nore wrote:
>>
>>RELENG_7:
>>http://home.no.net/andenore/patches/pkg_install_2008-08-06_RELENG_7.diff
>>
>>CURRENT:
>>http://home.no.net/andenore/patches/pkg_install_200
On Thu, Aug 07, 2008 at 07:02:30PM +1000, Peter Jeremy wrote:
> On 2008-Aug-06 19:14:51 -0400, [EMAIL PROTECTED] wrote:
> > In Solaris 10 the Services Management Facility (SMF) was introduced.
>
> The main purpose of SMF appears to be to drum up business for Sun's
> training courses by radically
On Wed, Aug 06, 2008 at 11:16:36PM -0700, Tim Kientzle wrote:
> >The Solaris smf tools provide some nice facilities: one is single
> >interface to start, stop, check and restart all the services on a
> >system. We pretty much have that ...
> >The other is a single interface to enable, disable and q
On Thursday 07 August 2008 19:47:31 David Malone wrote:
> On Tue, Aug 05, 2008 at 10:34:09PM +0100, Bruce Cran wrote:
> > The problem is cvsupd - since it's written in Modula3 and doesn't
> > support IPv6 you have to use an inetd/netcat hack to accept IPv6
> > connections on the server. As mentione
On 2008-Aug-07 12:19:20 -0500, "Sean C. Farley" <[EMAIL PROTECTED]> wrote:
>Grr! Optimization should not be a requirement for checking for
>uninitialized variables. Yes, gcc adds "fun" to development.
This is documented:
`-Wuninitialized'
Warn if an automatic variable is used without first
On Tue, Aug 05, 2008 at 10:34:09PM +0100, Bruce Cran wrote:
> The problem is cvsupd - since it's written in Modula3 and doesn't
> support IPv6 you have to use an inetd/netcat hack to accept IPv6
> connections on the server. As mentioned in
> http://lists.freebsd.org/pipermail/freebsd-current/2008-J
On Tue, Aug 05, 2008 at 11:40:13AM +0200, Matthias Apitz wrote:
> What means 'Header with wrong dumpdate'?
It's a warning message that probably shouldn't be printed, but has
no impact other than the printing of the warning. We've fixed bug
that causes it to be printed recently.
David.
___
Sean C. Farley ha scritto:
On Thu, 7 Aug 2008, Gabor Kovesdan wrote:
Sean C. Farley ha scritto:
You are testing c which has not been set. It works OK if you set c
then do the test:
+ c = fgetc(f);
if (c != EOF)
- printf("%c\n", fgetc(f));
+ printf("%
On Thu, Aug 07, 2008 at 11:29:49AM +0100, Matthew Seaman wrote:
> Jeremy Chadwick wrote:
> > On Wed, Aug 06, 2008 at 07:14:51PM -0400, [EMAIL PROTECTED] wrote:
> >> To who it may concern,
> >>
> >>I am A FreeBSD administrator as well as a Solaris Administrator. I use
> >> BSD at home but Solari
On Thu, 7 Aug 2008, Jeremy Chadwick wrote:
On Thu, Aug 07, 2008 at 11:54:10AM -0500, Sean C. Farley wrote:
On Thu, 7 Aug 2008, Gabor Kovesdan wrote:
Sean C. Farley ha scritto:
You are testing c which has not been set. It works OK if you set c
then do the test:
+ c = fgetc(f);
Sean C. Farley ha scritto:
You are testing c which has not been set. It works OK if you set c then
do the test:
+ c = fgetc(f);
if (c != EOF)
- printf("%c\n", fgetc(f));
+ printf("%c\n", c);
Yes, you are right, this is what I meant, I'm just a bit diso
On Thu, Aug 07, 2008 at 11:54:10AM -0500, Sean C. Farley wrote:
> On Thu, 7 Aug 2008, Gabor Kovesdan wrote:
>
>> Sean C. Farley ha scritto:
>>> You are testing c which has not been set. It works OK if you set c
>>> then do the test:
>>>
>>> + c = fgetc(f);
>>> if (c != EOF)
>>> -
On Thu, 7 Aug 2008, Gabor Kovesdan wrote:
Sean C. Farley ha scritto:
You are testing c which has not been set. It works OK if you set c
then do the test:
+ c = fgetc(f);
if (c != EOF)
- printf("%c\n", fgetc(f));
+ printf("%c\n", c);
Yes, you are righ
On Thu, Aug 07, 2008 at 04:46:37PM +0200, Gabor Kovesdan wrote:
> Hello,
>
> I'm wondering why fgetc() returns 0xff if called with /dev/null:
>
> #include
> #include
>
> int
> main(void)
> {
>int c;
>FILE*f;
>
>f = fopen("/dev/null", "r");
>
>if (c != EOF)
On Thu, 7 Aug 2008, Gabor Kovesdan wrote:
Hello,
I'm wondering why fgetc() returns 0xff if called with /dev/null:
#include
#include
int
main(void)
{
int c;
FILE*f;
f = fopen("/dev/null", "r");
if (c != EOF)
printf("%c\n", fgetc(f));
}
Hmmm,
On Thu, 7 Aug 2008, Gabor Kovesdan wrote:
Hello,
I'm wondering why fgetc() returns 0xff if called with /dev/null:
#include
#include
int
main(void)
{
int c;
FILE*f;
f = fopen("/dev/null", "r");
if (c != EOF)
printf("%c\n", fgetc(f));
}
gcc f
On Wed, 06 Aug 2008 23:16:36 -0700 Tim Kientzle <[EMAIL PROTECTED]> wrote:
> > The Solaris smf tools provide some nice facilities: one is single
> > interface to start, stop, check and restart all the services on a
> > system. We pretty much have that ...
> >
> > The other is a single interface t
On Thu, 7 Aug 2008 09:15:00 +0300 Alex Kozlov <[EMAIL PROTECTED]> wrote:
> [1]:
> $cat /usr/local/bin/service
Basically what I had in mind, but it can be made more portable across
FreeBSD configurations.
> #!/bin/sh
>
> name=$1
> cmd=$2
>
> . /etc/rc.subr
> if [ -z "${name}" -o -z "${cmd}" ]
>
Hello,
I'm wondering why fgetc() returns 0xff if called with /dev/null:
#include
#include
int
main(void)
{
int c;
FILE*f;
f = fopen("/dev/null", "r");
if (c != EOF)
printf("%c\n", fgetc(f));
}
> gcc foo.c
> ./a.out
ÿ
This causes a bug in
On Thu, 7 Aug 2008, Dag-Erling Smørgrav wrote:
> Peter Jeremy <[EMAIL PROTECTED]> writes:
> > So you take each line from inetd.conf (literally) and wrap it in
> > several KB of XML. This definitely adds to bloat and doesn't even
> > obey the spirit of XML (since the content of each inetd.conf ent
//sorry for spamming to another freebsd-ports maillist. This channel is more
suitable//
Hello,
I receive a similar problem in a current configuration (FreeBSD 7.0-Release
amd64, samba-3.0.31_1) like this:
http://lists.samba.org/archive/samba/2007-July/133625.html
and most likely I assume proble
On Thu, Aug 07, 2008 at 05:50:45AM -0700, Jeremy Chadwick wrote:
> On Thu, Aug 07, 2008 at 02:01:22PM +0200, Michel Talon wrote:
> > > Matthias Apitz wrote:
> > > Aug 6 10:06:12 rebelion kernel: umass0: > > rev 2.00/2.00, addr 2> on uhub4
> > > Aug 6 10:06:12 rebelion root: Unknown USB device: v
RELENG_7:
http://home.no.net/andenore/patches/pkg_install_2008-08-06_RELENG_7.diff
CURRENT:
http://home.no.net/andenore/patches/pkg_install_2008-08-06_CURRENT.diff
Some comments:
* I think you have reversed the patch. :-)
* Build errors:
cc1: warnings being treated as errors
file.c:433:
Matthias Apitz wrote:
> Have you plug'ed in or out while writing to da1 another device in the
> USB? I saw this as well with a USB key which worked normaly until I did
> a plug'in/out on the bus;
No, i did not touch to the usb bus. I tried to use the stick on several
FreeBSD machines, without an
On Thu, Aug 07, 2008 at 02:01:22PM +0200, Michel Talon wrote:
> > Matthias Apitz wrote:
> > Aug 6 10:06:12 rebelion kernel: umass0: > rev 2.00/2.00, addr 2> on uhub4
> > Aug 6 10:06:12 rebelion root: Unknown USB device: vendor 0x08ec product
> > 0x0020 bus uhub4
> > Aug 6 10:06:12 rebelion ker
El día Thursday, August 07, 2008 a las 02:01:22PM +0200, Michel Talon escribió:
> > Matthias Apitz wrote:
> > Aug 6 10:06:12 rebelion kernel: umass0: > rev 2.00/2.00, addr 2> on uhub4
> > Aug 6 10:06:12 rebelion root: Unknown USB device: vendor 0x08ec product
> > 0x0020 bus uhub4
> > Aug 6 10
Peter Jeremy <[EMAIL PROTECTED]> writes:
> So you take each line from inetd.conf (literally) and wrap it in
> several KB of XML. This definitely adds to bloat and doesn't even
> obey the spirit of XML (since the content of each inetd.conf entry
> remains opaque).
s/inetd/rc/g
I completely agree
On 7 Aug 2008, at 11:53, Anders Nore wrote:
Hi,
In my pkg_improved GSoC project I've added a nice feature for
'pkg_add -r' which displays the size of the file being downloaded as
well as progress status in % and bytes/kb/mb/... and download speed.
If someone could test it and comment it
> Matthias Apitz wrote:
> Aug 6 10:06:12 rebelion kernel: umass0: 2.00/2.00, addr 2> on uhub4
> Aug 6 10:06:12 rebelion root: Unknown USB device: vendor 0x08ec product
> 0x0020 bus uhub4
> Aug 6 10:06:12 rebelion kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Aug
> 6 10:06:12
> rebelion ker
On 2008-Aug-06 19:14:51 -0400, [EMAIL PROTECTED] wrote:
> In Solaris 10 the Services Management Facility (SMF) was introduced.
The main purpose of SMF appears to be to drum up business for Sun's
training courses by radically changing Sol10 Administration for little
benefit.
>Basically what it d
"Michael B Allen" <[EMAIL PROTECTED]> writes:
> I did not mean to say that the scripts themselves were decrepit. I
> mean the whole Unix runlevel rc.d apparatus in general is decrepit.
FreeBSD doesn't have runlevels. Solaris does. You don't like
runlevels, but you want FreeBSD to be more like So
El día Thursday, August 07, 2008 a las 04:18:19AM -0700, Jeremy Chadwick
escribió:
> Can we get the brand and model of USB stick, and any specific
> model/version numbers that are on the device? The dmesg you provided
> doesn't have very good vendor strings in it (that's not your fault).
On Thu, Aug 07, 2008 at 09:54:53AM +0200, Matthias Apitz wrote:
> El día Wednesday, August 06, 2008 a las 07:29:31PM +0200, Oliver Fromme
> escribió:
>
> > Matthias Apitz wrote:
> > > I've updated usb/80361, see
> > > http://www.freebsd.org/cgi/query-pr.cgi?pr=80361
> > > because I have the sa
Hi,
In my pkg_improved GSoC project I've added a nice feature for 'pkg_add -r'
which displays the size of the file being downloaded as well as progress
status in % and bytes/kb/mb/... and download speed. If someone could test
it and comment it would be perfect, below you can find the patche
Kostik Belousov wrote:
On Thu, Aug 07, 2008 at 12:00:37PM +0400, sam wrote:
Kostik Belousov wrote:
On Fri, Aug 01, 2008 at 06:16:49PM +0400, sam wrote:
Nate Eldredge wrote:
0 3 97
0 16 0 68660K 643M 0 0 0 012 0 28 34 120 385
0 3 97
0 16
On Thu, Aug 07, 2008 at 12:00:37PM +0400, sam wrote:
> Kostik Belousov wrote:
> >On Fri, Aug 01, 2008 at 06:16:49PM +0400, sam wrote:
> >
> >>Nate Eldredge wrote:
> >>
> >>>On Wed, 30 Jul 2008, sam wrote:
> >>>
> >>>
> 0 19 0 1113M29M 112 0 0 032 0 0 1 100 5
Jeremy Chadwick wrote:
On Wed, Aug 06, 2008 at 07:14:51PM -0400, [EMAIL PROTECTED] wrote:
To who it may concern,
I am A FreeBSD administrator as well as a Solaris Administrator. I use
BSD at home but Solaris at work. I love both OS's but I would like to
increase the administrative capability
Am 07.08.2008 um 08:31 schrieb Michael B Allen:
mean the whole Unix runlevel rc.d apparatus in general is decrepit.
Hi, Jordan! 8-)
There should be a library to install, start, stop, restart, uninstall,
disable, enable, change order of services and also change the
runlevel. And then there sh
I wonder opinions on more general question:
Does somebody believe in necessity of separate infrastructure for
daemons(services)?
As for me i very dislike unclean of "what where located". Some
configuration lie in /etc, some in /usr/local/etc, some in
/usr/local/program_name. In addition there is
Matthias Apitz wrote:
> Oliver Fromme wrote:
> > Matthias Apitz wrote:
> > > I've updated usb/80361, see
> > > http://www.freebsd.org/cgi/query-pr.cgi?pr=80361
> > > because I have the same problem as well that an USB key attaches fine
> > > when plugged in at boot time, but not later:
> >
Kostik Belousov wrote:
On Fri, Aug 01, 2008 at 06:16:49PM +0400, sam wrote:
Nate Eldredge wrote:
On Wed, 30 Jul 2008, sam wrote:
0 19 0 1113M29M 112 0 0 032 0 0 1 100 5549
1682 11 1 88
0 19 0 1113M29M 297 0 0 0 136 0 0 2 122 78880
On Wed, Aug 06, 2008 at 07:14:51PM -0400, [EMAIL PROTECTED] wrote:
> To who it may concern,
>
>I am A FreeBSD administrator as well as a Solaris Administrator. I use
> BSD at home but Solaris at work. I love both OS's but I would like to
> increase the administrative capability of FreeBSD.
>
El día Wednesday, August 06, 2008 a las 07:29:31PM +0200, Oliver Fromme
escribió:
> Matthias Apitz wrote:
> > I've updated usb/80361, see
> > http://www.freebsd.org/cgi/query-pr.cgi?pr=80361
> > because I have the same problem as well that an USB key attaches fine
> > when plugged in at boot
On Thu, Aug 07, 2008 at 01:06:38AM -0400, Mike Meyer wrote:
>On Wed, 6 Aug 2008 22:34:51 "Michael B Allen" <[EMAIL PROTECTED]> wrote:
> > But of course the format of data in a database is largely irrelevant.
> > You could implement the same thing with dbm files or a more forgiving
> > text format.
49 matches
Mail list logo