Hi--
On May 18, 2009, at 2:45 PM, Peter Steele wrote:
This is basically what we doing. When the handler is triggered we
set a global variable to indicate the system is shutting down. I
also signal a condition to wake up a sleeping thread. The lack of
log messages indicate that this handler
Subject: Re: Why would a kill -2 not work?
Hi--
On May 18, 2009, at 2:45 PM, Peter Steele wrote:
This is basically what we doing. When the handler is triggered we
set a global variable to indicate the system is shutting down. I
also signal a condition to wake up a sleeping thread. The lack
You're not trying to send a signal within the signal handler itself,
are you? That won't work-- signal delivery is blocked when you're
already running in a signal handler. Also, note that trying to mix
signals with a multithreaded process is complicated
No, I'm not sending a signal within
On May 18, 2009, at 5:32 PM, Peter Steele wrote:
No, I'm not sending a signal within a signal. The signal handler is
this:
pthread_mutex_lock(keep_running_mutex);
KEEP_RUNNING = 0;
pthread_cond_signal(keep_running_cond);
pthread_mutex_unlock(keep_running_mutex);
This works fine, but at some
When I have 2-3 compilation processes running entirely in memory and an
empty cycle (for (;;) {}) I only see 6-20% CPU load of each process.
Total that 'top -C' never even approaches 100% that it actually should
be and is usually ~40%.
'load averages' field though becomes high: over 3.
Why CPU
to login to the specific box and get the warning:
You must be a memberUid of cn=myGroup,ou=groups,dc=foo,dc=bar to login.
... and I can login, no tmatter whether I'm in the group or not.
What ist happening here? Why is the documentaion telling me this should
work and why isn't FreeBSD/PAM doing so
, don't know anything about non-linux
and require real effort from various FreeBSD developers to get in a somewhat
working state, but it still eliminates options.
hal being my primary pet-peeve followed by xorg.
The reason why I embraced FreeBSD (after BSDi's premature death): ability to
do it my
about this feature,
but the answer is neither here nor there.
There is even a port (sysutils/automounter) that I believe is supposed to
help towards this, but again it's not as easy as it seems to be.
Now my question is just one: Why should it be this difficult for FreeBSD to
have the automount
to be.
Now my question is just one: Why should it be this difficult for FreeBSD to
have the automount feature within the base system?
Hello,
Before doubting and blaming, read all man pages; for example just do
$ man -k auto | fgrep mount
amd(8) - automatically mount file systems
amq(8
questions being asked on this list about this
feature, but the answer is neither here nor there.
There is even a port (sysutils/automounter) that I believe is supposed
to help towards this, but again it's not as easy as it seems to be.
Now my question is just one: Why should it be this difficult
/automounter) that I believe is supposed to
help towards this, but again it's not as easy as it seems to be.
Now my question is just one: Why should it be this difficult for FreeBSD to
have the automount feature within the base system?
No-one has yet made it perfect. Nothing gets committed
questions being asked on this list about this feature,
but the answer is neither here nor there.
There is even a port (sysutils/automounter) that I believe is supposed to
help towards this, but again it's not as easy as it seems to be.
Now my question is just one: Why should it be this difficult
.
I have seen several questions being asked on this list about this feature,
but the answer is neither here nor there.
There is even a port (sysutils/automounter) that I believe is supposed to
help towards this, but again it's not as easy as it seems to be.
Now my question is just one: Why should
On Wed, Apr 15, 2009 at 9:50 AM, Manolis Kiagias sonic200...@gmail.comwrote:
Odhiambo Washington wrote:
(I have also written a complete set of steps for this - currently in
Greek only, but I will translate it sooner or later)
Such a write-up really will be very useful , because part in the
On Wed, 15 Apr 2009 16:50:38 +0300
Manolis Kiagias sonic200...@gmail.com wrote:
FreeBSD *can* automount. The problem for the time being is pulling a USB
flash drive without unmounting.
Looks like this will no longer be a problem on FreeBSD 7.2+. It works fine
already on 7.2-Prerelease/RC1.
Mehmet Erol Sanliturk wrote:
On Wed, Apr 15, 2009 at 9:50 AM, Manolis Kiagias
sonic200...@gmail.com mailto:sonic200...@gmail.com wrote:
Odhiambo Washington wrote:
(I have also written a complete set of steps for this - currently in
Greek only, but I will translate it sooner or
On Wed, 15 Apr 2009 13:44:40 +0100, Chris Rees utis...@googlemail.com wrote:
Automounting
is a fiddly thing, and is not necessary for the majority of
applications; remember FreeBSD is primarily a server OS.
Well, I'm using it exclusively as a desktop since 4.0, what
am I doing wrong? :-)
No,
On Wed, 15 Apr 2009 19:16:02 +0300, Manolis Kiagias sonic200...@gmail.com
wrote:
OTOH, you may not want to spend so much time if you just need to have an
average user's desktop.
If this case, go with PC-BSD. Looks like Windows, feels like
Windows, still is FreeBSD. :-)
(Honestly, it's not
Polytropon wrote:
On Wed, 15 Apr 2009 19:16:02 +0300, Manolis Kiagias sonic200...@gmail.com
wrote:
OTOH, you may not want to spend so much time if you just need to have an
average user's desktop.
If this case, go with PC-BSD. Looks like Windows, feels like
Windows, still is FreeBSD.
On Wed, Apr 15, 2009 at 2:04 PM, Polytropon free...@edvax.de wrote:
On Wed, 15 Apr 2009 19:16:02 +0300, Manolis Kiagias sonic200...@gmail.com
wrote:
OTOH, you may not want to spend so much time if you just need to have an
average user's desktop.
If this case, go with PC-BSD. Looks like
On Wed, 15 Apr 2009 14:33:46 -0400, Mehmet Erol Sanliturk
m.e.sanlit...@gmail.com wrote:
Problem is not to select an operating system to use but it is easiness of
usability of FreeBSD especially for the new beginners .
The thing with easieness of usability is... well... it depends
on what you
2.00/1.03, addr 2 on
uhub4
da0: Toshiba External USB HDD 1.03 Fixed Direct Access SCSI-4 device
When I try to copy data with 'dd if=/dev/da0s1 of=/dev/null count=1' it
only achieves has 0.65MB/s transfer speed.
What's wrong, why is it so slow?
Yuri
uhci is 1.0 devices specs
.
What's wrong, why is it so slow?
Yuri
uhci is 1.0 devices specs of 12Mbit/sec
ohci is 1.1 devices
Not quite. uhci and ohci are both just different ways of accessing USB 1.0
and 1.1 controllers. uhci is used for controllers from Intel and Via, while
ohci is used for just about all other
1.03 Fixed Direct Access SCSI-4 device
When I try to copy data with 'dd if=/dev/da0s1 of=/dev/null count=1'
it only achieves has 0.65MB/s transfer speed.
What's wrong, why is it so slow?
Yuri
___
freebsd-questions@freebsd.org mailing list
http
Yuri wrote:
I have FreeBSD-71 running with USB controller:
uhci0: VIA 83C572 USB controller port 0xa800-0xa81f irq 21 at device
16.0 on pci0
I connected to it Toshiba USB hard drive HDDR500E03X:
umass0: Toshiba External USB HDD, class 0/0, rev 2.00/1.03, addr 2 on
uhub4
da0: Toshiba
Frederique Rijsdijk wrote:
I get around the same speeds if I do it that way.
But if I add 'bs=1m', speeds go up to 27MB/sec.
Do you also have VIA 83C572?
I was leaning towards a direction that VIA 83C572 is probably USB-1.X
only and only has speeds up to 12 Mb/s.
But I can't find
on uhub4
da0: Toshiba External USB HDD 1.03 Fixed Direct Access SCSI-4 device
When I try to copy data with 'dd if=/dev/da0s1 of=/dev/null count=1'
it only achieves has 0.65MB/s transfer speed.
What's wrong, why is it so slow?
Increase your blocksize. dd's default is 512 bytes. Try bs
Dan Nelson wrote:
Increase your blocksize. dd's default is 512 bytes. Try bs=64k
This works, I am getting 25-27 MB/s. Still lower than this device
supports (~50MB/s).
I guess because this VIA controller is very old.
Yuri
___
On Sun, Apr 12, 2009 at 02:53:42PM -0700, Yuri wrote:
Dan Nelson wrote:
Increase your blocksize. dd's default is 512 bytes. Try bs=64k
This works, I am getting 25-27 MB/s. Still lower than this device
supports (~50MB/s).
I guess because this VIA controller is very old.
Although
I got USB enclosure and put HD there.
I tried to create NTFS on it (using mkntfs from sysutils/ntfsprogs).
And got the message:
/dev/da0 is not a block device.
Refusing to make a filesystem here!
mkntfs does 'stat' on /dev/da0.
Why /dev/da0 stats not as a block device?
Yuri
And got the message:
/dev/da0 is not a block device.
Refusing to make a filesystem here!
Just a wild guess, but shouldn't you create slices first?
Then create the filesystem on /dev/da0s1
Bests,
Olivier
___
freebsd-questions@freebsd.org mailing
Olivier Nicole wrote:
Just a wild guess, but shouldn't you create slices first?
Then create the filesystem on /dev/da0s1
Bests,
Olivier
This as a must in the past.
But now I always format, for example flash disks, without slices. And
both Windows and FreeBSD have no problem.
And I
On Wed, Apr 08, 2009 at 08:50:41PM -0700, Yuri wrote:
I got USB enclosure and put HD there.
I tried to create NTFS on it (using mkntfs from sysutils/ntfsprogs).
And got the message:
/dev/da0 is not a block device.
Refusing to make a filesystem here!
mkntfs does 'stat' on /dev/da0.
Why
the natural structure of a
piece of source code. I insert empty lines quite often
in order to group source lines logically, but brace lines
break that grouping visually.
That's probably one of the reasons why I like Python so
much: There are no braces for source structuring at all.
This allows me
, I'd say that tabbing
is the better form because
+ you can set your individually preferred tab with using the
settings of your editor, be it 1, 4 or 8,
Why is this flexibility important? The more important thing is to have
consistently indented code. There is no great benefit
Oliver Fromme wrote
Of course this is purely a matter of taste and personal
preference. My preference is similar to yours, but my
main reasoon is to save space. I think it is a ridiculous
waste of space if every third line consisted only of a
sole brace (opening or closing). To my eye, such
, but also tidy and styled. What's
to understand from these words can be very individual, I agree.
We agree on this point, which is why we're having this discussion.
There are lots of cases where it's hard to make code line up the way you
want it with tabs. Often code that looks good with one tab
I don't want to start a style debate, but forgive me the
following annotations:
1. Use the tab character for indentation. You can set its
length with your favourite editor (e. g. mcedit: F9,
Options, General; joe: ^TD). Don't waste with spaces.
2. The main() function should be declared as
one indentation level,
beginning from 1, over 4, up to 10. Where's the consistency, or is
it defined on a per-programmer basis?
And why is this much better?
When I would compare both indentation forms, I'd say that tabbing
is the better form because
+ you can set your individually preferred tab
Polytropon wrote:
I don't want to start a style debate, but forgive me the
following annotations:
1. Use the tab character for indentation. You can set its
length with your favourite editor (e. g. mcedit: F9,
Options, General; joe: ^TD). Don't waste with spaces.
2. The main() function
one indentation level,
beginning from 1, over 4, up to 10. Where's the consistency, or is
it defined on a per-programmer basis?
And why is this much better?
When I would compare both indentation forms, I'd say that tabbing
is the better form because
+ you can set your individually preferred tab
like me, ugh.
can anybody clue me in why the followin joinline program fails to catch if argc
== 1?
/*
* simple prog to join all | very nearly all lines of a text file that
* make up one paragraph into one LONG line.
*
* paragraphs are delimiated by a single \n break.
*/
#include
Tabbing is the worst form of indentation. It is *much* better to use
spaces consistently.
stupid discussion and off topic. everybody write code as he/she like, or
as a team decided if it's not single person work.
only end result matters.
___
On Tue, Mar 31, 2009 at 11:21:22AM +0200, Polytropon wrote:
I don't want to start a style debate, but forgive me the
following annotations:
1. Use the tab character for indentation. You can set its
length with your favourite editor (e. g. mcedit: F9,
Options, General; joe: ^TD). Don't
Josh Carroll wrote:
[...]
Note also that your main should have an int return type and should
return a value.
His main() function _did_ have an int return type (it
wasn't declared to be void), but of course it's better
style to write int explicitly.
By the way, FreeBSD's style(9) recommends
Wojciech Puchar wrote:
Tabbing is the worst form of indentation. It is *much* better to use
spaces consistently.
stupid discussion and off topic. everybody write code as he/she like,
or as a team decided if it's not single person work.
only end result matters.
you know real
On Tue, 31 Mar 2009 11:21:22 +0200
Polytropon free...@edvax.de wrote:
4. Use the predefined return codes, don't hardcode them.
FreeBSD has EXiT_SUCCESS and EXIT_FAILURE, they're for
maximum compatibility (such as with Linux). There are
more exit codes for differentiation, but they're
On Tue, 31 Mar 2009 19:20:17 +0100, Bruce Cran br...@cran.org.uk wrote:
Linux seems to have adopted sysexits.h too, which provides error codes
such as EX_USAGE and EX_CANTCREAT.
Good to know this, thanks. I'm not a big Linux user and a much
smaller Linux programmer (read: I don't program for
On Tue, 31 Mar 2009 08:54:17 -0700, Gary Kline kl...@thought.org wrote:
1. Use the tab character for indentation. You can set its
length with your favourite editor (e. g. mcedit: F9,
Options, General; joe: ^TD). Don't waste with spaces.
Ja, been doing this since 1978. Does
On Tue, 31 Mar 2009 13:59:16 +0200, Polytropon free...@edvax.de wrote:
When I would compare both indentation forms, I'd say that tabbing
is the better form because
+ you can set your individually preferred tab with using the
settings of your editor, be it 1, 4 or 8,
I like using TAB for
On Tue, Mar 31, 2009 at 07:50:22AM -0400, William Gordon Rutherdale wrote:
This isn't a BSD question. It's just about elementary C. As other
people pointed out, you could have easily caught it anyway just by
turning on warnings.
-Will
yep, you're right. i did have gcc aliased
On Tue, Mar 31, 2009 at 09:01:42PM +0200, Polytropon wrote:
On Tue, 31 Mar 2009 08:54:17 -0700, Gary Kline kl...@thought.org wrote:
1. Use the tab character for indentation. You can set its
length with your favourite editor (e. g. mcedit: F9,
Options, General; joe: ^TD). Don't
many
spaces per indent level. You ask the programmers to submit code in that
format. It doesn't jump around randomly from one line to the next.
You are trying to make it sound like a big problem, but it isn't.
And why is this much better?
Just my view based on years of experience. Don't take
people, i've been under the weather for days and will probably be for a few
more.
new and TEMPORARY meds dont like me, ugh.
can anybody clue me in why the followin joinline program fails to catch if argc
== 1?
/*
* simple prog to join all | very nearly all lines of a text file that
* make
On Mon, Mar 30, 2009 at 10:57 PM, Gary Kline kl...@thought.org wrote:
people, i've been under the weather for days and will probably be for a few
more.
new and TEMPORARY meds dont like me, ugh.
can anybody clue me in why the followin joinline program fails to catch if
argc == 1
main(int argc, char *argv[])
On Mon, Mar 30, 2009 at 8:57 PM, Gary Kline kl...@thought.org wrote:
people, i've been under the weather for days and will probably be for a few
more.
new and TEMPORARY meds dont like me, ugh.
can anybody clue me in why the followin joinline program fails
and TEMPORARY meds dont like me, ugh.
can anybody clue me in why the followin joinline program fails to catch if
argc == 1?
/*
* simple prog to join all | very nearly all lines of a text file that
* make up one paragraph into one LONG line.
*
* paragraphs are delimiated by a single \n break
On Mon, Mar 30, 2009 at 11:08:57PM -0400, Josh Carroll wrote:
On Mon, Mar 30, 2009 at 10:57 PM, Gary Kline kl...@thought.org wrote:
people, i've been under the weather for days and will probably be for a few
more.
new and TEMPORARY meds dont like me, ugh.
can anybody clue me in why
always get
module agp.ko also loaded when loading radeon.ko. Why? This box does not
have AGP! I do not see this weird behaviour with a FreeBSD 8 box running
the same source code, nearly the same configuration, but UP and with a
HD4830 board (which does quite well). X11 is of the same date
I've created an autorun facility for USB drives using devd. I have the
following addition in devd.conf:
attach 10 {
match device-name umass0;
action /usr/local/bin/autorun /var/log/autorun.log 21 ;
};
This works perfectly except only stderr messages appear in the autorun.log
file; stdout
even bought a large WiFi antenna for FreeBSD box but still have this
problem.
Is there some sensitivity parameter that driver may be setting too low
on the card?
Why wouldn't the quality of connection with Atheros card be so unstable
on FreeBSD?
7.1-STABLE
ath_hal: 0.9.20.3 (AR5210, AR5211
Hello, all:
before freebsd show hostname#, we can see NIC card status,
but my NIC card status always show status: no carrier
after I login my freebsd , I used ifconfig command show my NIC
card status is active
could have any skill I can let my NIC card status show status: active
before
before freebsd show hostname#, we can see NIC card status,
but my NIC card status always show status: no carrier
because it needs a while to get up. all is fine.
after I login my freebsd , I used ifconfig command show my NIC card
status is active
could have any skill I can let my NIC
and there is no easy way to go
anywhere.
I sent similar question to k...@freebsd.org but got no answer.
So why kde-4.1.0 and kde-4.2.0 binaries are missing on FTP?
And does kde4-4.2.0 work for anybody?
Yuri
___
freebsd-questions@freebsd.org mailing
to k...@freebsd.org but got no answer.
So why kde-4.1.0 and kde-4.2.0 binaries are missing on FTP?
And does kde4-4.2.0 work for anybody?
Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
Hello, all:
could you tell me why NetBSD did not send link-local NS when NetBSD
rebooted.
I add ip6mode=autohost in /etc/rc.conf and add up in ifconfig.IF file
thanks
jiabo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org
On Wed, Feb 11, 2009 at 10:20 PM, wang_jiabo jiabw...@redhat.com wrote:
Hello, all:
could you tell me why NetBSD did not send link-local NS when NetBSD
rebooted.
I add ip6mode=autohost in /etc/rc.conf and add up in ifconfig.IF file
thanks
jiabo
for mode 8
From source code I see that mode 8 is IEEE80211_M_MONITOR.
As I understand in 'monitor' mode no packets are being sent or received.
In monitor mode packets can be only received.
The question is why you are using monitor mode at all ...
When I try to turn it off with 'ifconfig ath0
I have a wireless network without password that my linux box easily
connects to.
On FreeBSD 'ifconfig ath0 up scan' command shows it. 'ifconfig ath0
ssid my-ssid up' brings interface to 'associated' state. But
dhclient fails set it up.
I have another device on the same system: ral0. It
On 2/9/09, Yuri y...@rawbw.com wrote:
I have a wireless network without password that my linux box easily
connects to.
On FreeBSD 'ifconfig ath0 up scan' command shows it. 'ifconfig ath0
ssid my-ssid up' brings interface to 'associated' state. But
dhclient fails set it up.
I have another
is IEEE80211_M_MONITOR.
As I understand in 'monitor' mode no packets are being sent or received.
When I try to turn it off with 'ifconfig ath0 -monotor' interface
still seems to stay in monitor mode.
Why wouldn't -monitor turn monitor mode off?
Yuri
see that mode 8 is IEEE80211_M_MONITOR.
As I understand in 'monitor' mode no packets are being sent or received.
When I try to turn it off with 'ifconfig ath0 -monotor' interface
still seems to stay in monitor mode.
Why wouldn't -monitor turn monitor mode off?
Yuri
Perhaps it is just a typo
Concerned about delivery in Dubai?
No need to worry when you can move in right away.
Choose Your Language:
Russian
Please forward this newsletter
If you know someone who might be interested in our latest newsletter please
click here to forward this email to up to 5 friends at
Jerry wrote:
I subscribe to the port@ list as well as this one obviously and I do
not remember seeing that article. I will keep looking.
http://docs.freebsd.org/mail/ -- Archiv of maillinglist :)
___
freebsd-questions@freebsd.org mailing list
On Wed, Feb 4, 2009 at 2:57 PM, Lokadamus lokada...@gmx.de wrote:
Jerry wrote:
I subscribe to the port@ list as well as this one obviously and I do
not remember seeing that article. I will keep looking.
http://docs.freebsd.org/mail/ -- Archiv of maillinglist :)
I remember commenting on
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chad Perrin wrote:
On Sun, Jan 25, 2009 at 04:04:15PM +, Anthony M. Rasat wrote:
Lawrence Auster wrote:
Bla bla bla Ku Klux Klan crap.
Why don't you bring your hatred outta here. This is a family-oriented
channel.
Next time, even when you
Chuck Robey wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chad Perrin wrote:
On Sun, Jan 25, 2009 at 04:04:15PM +, Anthony M. Rasat wrote:
Lawrence Auster wrote:
Bla bla bla Ku Klux Klan crap.
Why don't you bring your hatred outta here. This is a family
Why is the President of Israel, the terrorist who just oversaw the Zionist mass
murder and maiming of thousands of Palestinians so happy
that Obama is President of the USA?
by David Duke
Read the excerpt from the Israeli News about how President Perez and Israel
think that Obamas becoming U.S
Lawrence Auster wrote:
Bla bla bla Ku Klux Klan crap.
Why don't you bring your hatred outta here. This is a family-oriented channel.
Next time, even when you put OOT label on subject, I still will call it crap.
If you name me Jewish lover, well, I'm Asian, that means I'm a chink. But it's
Mr
Why is the President of Israel, the terrorist who just oversaw the Zionist mass
murder and maiming of thousands of Palestinians so happy
that Obama is President of the USA?
by David Duke
because he use FreeBSD?
___
freebsd-questions@freebsd.org
On Sun, 2009-01-25 at 18:57 +0100, Wojciech Puchar wrote:
Why is the President of Israel, the terrorist who just oversaw the Zionist
mass murder and maiming of thousands of Palestinians so happy
that Obama is President of the USA?
by David Duke
because he use FreeBSD?
ROFL
Why don't you bring your hatred outta here. This is a family-oriented channel.
Next time, even when you put OOT label on subject, I still will call it crap.
If you name me Jewish lover, well, I'm Asian, that means I'm a chink. But
it's Mr. Chink to you, thank you very much.
Mark
On Sun, Jan 25, 2009 at 06:57:48PM +0100, Wojciech Puchar wrote:
Why is the President of Israel, the terrorist who just oversaw the Zionist
mass murder and maiming of thousands of Palestinians so happy
that Obama is President of the USA?
by David Duke
because he use FreeBSD?
Man
On Sun, Jan 25, 2009 at 04:04:15PM +, Anthony M. Rasat wrote:
Lawrence Auster wrote:
Bla bla bla Ku Klux Klan crap.
Why don't you bring your hatred outta here. This is a family-oriented channel.
Next time, even when you put OOT label on subject, I still will call it crap.
If you
Klan crap.
Why don't you bring your hatred outta here. This is a family-oriented
channel.
Next time, even when you put OOT label on subject, I still will call it
crap.
If you name me Jewish lover, well, I'm Asian, that means I'm a chink. But
it's Mr. Chink to you, thank you very much
I was wondering if anyone can tell me why Perl was not updated to the
latest stable release; i.e. 5.10.0 rather than 5.8.9 recently? It
appears that some ports are having problems with this odd version
update; i.e., /news/inn and possibly /mail/mailscanner as examples.
With the latest version
I was wondering if anyone can tell me why Perl was not updated
to the latest stable release; i.e. 5.10.0 rather than 5.8.9
recently?
This was discussed within the last 2-3 weeks, either here or on
po...@. Check the archives.
If this is important, you can always
On Wed, 21 Jan 2009 07:58:44 -0500
Robert Huff roberth...@rcn.com wrote:
I was wondering if anyone can tell me why Perl was not updated
to the latest stable release; i.e. 5.10.0 rather than 5.8.9
recently?
This was discussed within the last 2-3 weeks, either here or on
po
As a newcomer to freebsd and a long time Perl user, this was one of the
first things I noticed. 5.8.8 as distributed on freebsd 7.1 is
extremely old.
-Will
Jerry wrote:
I was wondering if anyone can tell me why Perl was not updated to the
latest stable release; i.e. 5.10.0 rather than 5.8.9
trying putting newlines in the strings like this:
receive overflow\n
- Original Message -
From: Edward King zhan...@neusoft.com
To: freebsd-questions@freebsd.org
Sent: Monday, January 5, 2009 2:29:23 AM GMT -05:00 US/Canada Eastern
Subject: why printf() don't work?
I
On Mon, 5 Jan 2009 15:12:12 + (UTC), Tom Marchand m0rch...@comcast.net
wrote:
trying putting newlines in the strings like this:
receive overflow\n
You can add
fflush(stdout);
to force the output, even if no \n is appended. But as it has
been mentioned before, don't forget
execute main(),but in fact,printf fuction print none!!! Why printf function
do not go work?
my code is follows:
#include sys/ioctl.h
#include unp.h
static int sockfd;
#define QSIZE 8
#define MAXDG 4096
typedef struct{
void *dg_data;
size_t dg_len;
struct sockaddr *dg_sa
(execute
main()) will print execute main(),but in fact,printf fuction print
none!!! Why printf function do not go work?
Just to be sure :
You should not use printf() in a signal handler, it is not
considered 'signal safe'.
(See man sigaction)
Regards
!!! Why printf function do
not go work?
my code is follows:
#include sys/ioctl.h
#include unp.h
static int sockfd;
#define QSIZE 8
#define MAXDG 4096
typedef struct{
void *dg_data;
size_t dg_len;
struct sockaddr *dg_sa;
socklen_t dg_salen;
}DG;
static DG dg[QSIZE];
static long cntread[QSIZE+1
hi,
if you really need dvd iso you can follow the instructions here
http://it.toolbox.com/blogs/bsd-guru/creating-your-own-freebsd-70-dvd-22791
--
Octavian
Quoting Alan Batie a...@batie.org:
m...@sentex.net wrote:
There are DVD versions available
Why is freebsd still only available on cdrom images? Particularly with
the way the packages make wear your arm out swapping them back and
forth, it would be really nice to have the entire distribution in one image.
smime.p7s
Description: S/MIME Cryptographic Signature
On Fri, 19 Dec 2008 16:22:54 -0800, in sentex.lists.freebsd.questions
you wrote:
Why is freebsd still only available on cdrom images?
There are DVD versions available
eg
ftp://ftp.freebsd.org//pub/FreeBSD/releases/i386/ISO-IMAGES/7.1/7.1-RC1-i386-dvd1.iso.gz
---Mike
m...@sentex.net wrote:
There are DVD versions available
ftp://ftp.freebsd.org//pub/FreeBSD/releases/i386/ISO-IMAGES/7.1/7.1-RC1-i386-dvd1.iso.gz
That's the only version that seems to, but thanks! It looks like
they're coming...
smime.p7s
Description: S/MIME Cryptographic Signature
On Mon, Dec 15, 2008 at 05:11:00PM +1000, Da Rock wrote:
But if I remember my legal and ethics course correctly if you can arrive
at a conclusion through your own research then your reasonably clear.
For example, the drivers are closed source but the hardware itself is an
entirely separate
, no matter if it make sense or not.
It's already happening on that group that's why i talk about starting
moderation to remove all posts that are not about group topic!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman
901 - 1000 of 2975 matches
Mail list logo