Sent by Vladimir Grebenschikov:
I've seen temporary FF lockups with flashblock FF plugin enabled.
Same here. Sometimes it works and some times any page containing flash
will hang the entire browser. Doing a `killall npviewer.bin' (I use
nspluginwrapper) will unfreeze the browser like nothing
Sent by Robert Huff:
The problem is that while npviewer.bin is loading, it
effectively hogs the CPU. It also chews up ~550 mb of RAM.
Well, when it all works correctly, it starts quickly for me. But when
there is a problem, no amount of waiting seems enough, so I doubt, it
Sent by John Nielsen:
I just updated to RELENG_7 (aka 7.1-PRERELEASE these days) on Monday and
am able to use Flash 9 in native Firefox 3 with sound, no sound lag and
no crashes so far. I have:
FreeBSD 7.1-PRERELEASE #0: Mon Oct 27 18:31:37 EDT 2008
compat.linux.osrelease=2.6.16
Hello!
I'm having serious problems with Adobe's Flash 9 and 10 on my FreeBSD-7/amd64
system.
If I try to use it directly with linux-firefox, the entire browser crashes
quickly. If I try www/nspluginwrapper with a native browser, the
wrapper-launched npviewer.bin seg-faults instead. Either
Sent by Glyn Millington:
My solution was to install Wine and run the MS port of Firefox. So far
it works flawlessly for me.
This has two problems:
1. It requires a (licensed) Windows install handy.
2. The solution is only suitable for i386 -- not for amd64, which is
what I'm using.
Sent by matt donovan:
FreeBSD 7.1 should work with flash9 myself I had no luck so far but
nox- does say it should work
I'm using 7.1-PRERELEASE as of Sep 23 and it does not work (yet?)
Juergen, please, confirm, that your fixes were committed after Sep 23 --
I'll be happy to rebuild/reboot in
Sent by Craig Butler:
gnash all the way for me..
Does it work with YouTube?
-mi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
Hello!
My attempt to build openoffice.org-3 seems to be hanging. Pressing
Ctrl-T produces:
load: 0.11 cmd: tcsh 79759 [sleeping without queue] 0.00u 0.00s 0% 0k
(tcsh is used by OOo's build-script). What is this sleeping without
queue state, and why is process in it for so long?
This
Kris Kennaway написав(ла):
Mikhail Teterin wrote:
Hello!
My attempt to build openoffice.org-3 seems to be hanging. Pressing
Ctrl-T produces:
load: 0.11 cmd: tcsh 79759 [sleeping without queue] 0.00u 0.00s
0% 0k
(tcsh is used by OOo's build-script). What is this sleeping without
Jeremy Chadwick написав(ла):
On Tue, Jul 22, 2008 at 12:13:25PM -0400, Mikhail Teterin wrote:
Kris Kennaway написав(ла):
Mikhail Teterin wrote:
Hello!
My attempt to build openoffice.org-3 seems to be hanging. Pressing
Ctrl-T produces:
load: 0.11 cmd: tcsh 79759
Kris Kennaway написав(ла):
Well, I mean kernel backtrace.
Can I obtain that remotely and without restarting/panicking the box? Thanks,
-mi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
Kris Kennaway написав(ла):
Mikhail Teterin wrote:
Kris Kennaway написав(ла):
Well, I mean kernel backtrace.
Can I obtain that remotely and without restarting/panicking the box?
Thanks,
kgdb on /dev/mem or procstat
[EMAIL PROTECTED]:~ (107) kgdb /boot/kernel/kernel /dev/mem
Kostik Belousov написав(ла):
Did you switched to the process before doing backtrace (using the proc pid
command)?
Ok, thanks. Did not know about this one. Here:
...
(kgdb) proc 79759
(kgdb) bt
#0 sched_switch (td=0xff01286dc000, newtd=0xff00010ce000,
flags=2) at
Hello!
I've encountered a problem, which went ahead most of the things I know about
Unix file permissions:
[EMAIL PROTECTED]:run/dovecot/login (10) ls -l ssl-parameters.dat
-rw-r- 2 root dovecot 230 Apr 13 00:33 ssl-parameters.dat
[EMAIL PROTECTED]:run/dovecot/login (11) groups
вівторок 15 квітень 2008 03:55 по, Mel Ви написали:
Since the default GID for dovecot is 143, I suspect you have two dovecot
groups. ls -ln should show you the numeric group id.
Yes, that was it. Thank you very much for the quick and accurate response!
Yours,
-mi
Hello!
I'd like the entire contents of each user's .mozilla/firefox/*/Cache directory
to be excluded from the regular filesystem dumps.
Running ``chflags -R nodump /home/*/.mozilla/firefox/*/Cache'' does the trick,
but this needs to be redone daily -- prior to running the backup -- because
On субота 26 січень 2008, CryptWizard wrote:
= It's because the DVD is copy protected.
Yes, I guess so... Using ddrescue, as described in
http://gentoo-wiki.com/HOWTO_Backup_a_DVD#ARccOS_.26_Other_intentional_sector_corruption
seems to have extracted an ISO-image...
-mi
Hello!
I finally got to opening a DVD I received for New Year and wanted to back it
up before watching.
I mounted the disk:
/dev/acd0 on /cdrom (cd9660, local, read-only)
and I can list the contents:
env LANG=C ls -l /cdrom/
total 8
dr-xr-xr-x 1 root wheel
Hello!
I'm struggling with a 32-bit FreeBSD executable, which is identified as:
ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), dynamically
linked (uses shared libs), stripped
Unfortunately, the executable would not run:
/libexec/ld-elf.so.1: /lib/libm.so.4: unsupported file
On середа 19 грудень 2007, Chuck Swiger wrote:
= A quick test suggests that tail -f will close when it gets a SIGPIPE.
SIGPIPE? How is that relevant? Does tail get a SIGPIPE, when awk disappears
in my example? If it does not, why do you bring it up?
And if it does get SIGPIPE, then you are
On четвер 20 грудень 2007, Max N. Boyarov wrote:
= after something writeln to /var/log/messages tail get SIGPIPE
But why is that needed for tail to notice? It is trying to output 10 lines.
After it outputs the very first one of them, awk exits, and the 9 subsequent
lines go into thin air
On четвер 20 грудень 2007, Max N. Boyarov wrote:
= MT Is not that a bug in itself?
=
= Tail write buffer at all, i.e. all 10 lines writes to pipe.
So, the behavior depends on the size of the buffer -- and thus the size of the
input lines.
A bug indeed...
-mi
On четвер 20 грудень 2007, Erik Osterholm wrote:
= The same behavior happens if I use a larger file. I see no
= inconsistent behavior, nor any bugs.
The inconsistency is in the fact, that the behavior depends on the size of the
buffer and length of the lines (not the size of the file).
If the
четвер 20 грудень 2007 11:58 до, Erik Osterholm Ви написали:
Ah, I see. With very, very long lines, tail doesn't send the output
all at once. The cutoff seems to be 65536 bytes on my system.
They don't even have to be very very long -- unless in an artificial example,
such as the one I
Max N. Boyarov:
-f The -f option causes tail to not stop when end of file is
reached, but rather to wait for additional data to be appended
to the input. The -f option is ignored if the standard input is a pipe,
but not if it is a FIFO.
Josh Tolbert:
Cause the -f
On четвер 19 липень 2007, Tom Evans wrote:
= Or you could patch cron to use libmagic
Done:
http://aldan.algebra.com/~mi/cron-mime.diff
It even works now...
= and have cron scripts that will only work on one box.
And send-pr the diffs to FreeBSD :-)
-mi
On четвер 19 липень 2007, Tom Evans wrote:
= Teaching cron about file types/mime types is an awful idea
Why? My particular cron-job generates HTML. Somebody else's might generate a
JPG image -- from their telescope every morning. There is no reason for these
jobs to have to do the e-mailing on
On неділя 15 липень 2007, Daniel Bye wrote:
= Is /usr/share/misc/magic.mime of any use? Apparently it is consulted by
= file(1) when called with -i. According to libmagic(3), magic_open() with
= the MAGIC_MIME flag should do the same.
Yes, indeed -- just the ticket... Thanks.
Now, I have not
Hello!
I have a script launched from cron every morning, that gets certain data over
the Internet from a remote computer, compares the new data with that from the
previous day, and outputs the difference (if any).
I'm relying on the fact, that cron e-mails me the output of each job.
However,
Derek Ragona wrote:
= = I'd rather avoid poluting my script with e-mail sending code...
= You need to change your script to send the email itself.
Thank you, Derek, but -- as I stated already -- I wanted to see, if this can
be avoided...
Since you posted your script, I'll comment on it. First
= To accomplish this I have my cron job run a script like this
Sorry, I missed the most important part. Your script just uses /usr/bin/mail,
the same way cron does. You are not adding anything, not already present in
cron -- your script should simply produce output to stdout. Cron will mail
On субота 14 липень 2007, Daniel Bye wrote:
= How can I force the ``Content-Type: text/html'' header without hacking
= cron's sources? I'd rather avoid poluting my script with e-mail sending
= code...
=
= Alter your script to add the 'Content-Type: text/html' header.
No, I'm afraid, doing
On субота 14 липень 2007, Daniel Bye wrote:
= So it's beginning to look as if your best bet is in fact to make your
= script handle sending the mail.
Yeah, seems like it...
= Not the cleanest solution, but one that will get your messages formatted
= exactly how you want them.
Well, I started
Hello!
I'm struggling with configuring Ekiga's (former gnomemeeting) to work with my
microphone on FreeBSD-6.2-stable/amd64.
Ekiga has a test settings buttons (under the configuration druid), but it
never plays back anything, that I say into the microphone (I tried two of
those already).
On неділя 17 червень 2007, Mikhail Teterin wrote:
= Ekiga has a test settings buttons (under the configuration druid), but it
= never plays back anything, that I say into the microphone (I tried two of
= those already).
Figured it out. What I needed to do, was:
mixer recsrc
Hello!
A program (a TclX' self-test script) works fine in a normal environment, but
fails to renice itself, when running in jail (as root):
nice-1.8 nice tests FAILED
Contents of test case:
list [nice -1] [nice]
Test generated error; Return
Hello!
I've written a man-page using mdoc macros for my own little program.
I'd like to port the program to other Unixes (like Solaris), where my
mdoc-based man page is rather unreadable :-(
Is there a standard way to expand the mdoc macros once?
`man mdoc' is not giving any useful examples
Hello!
I'm trying to compile a program, which uses threads and has its own daemon
global variable.
The variable's declaration results in an error:
recsnap.C:50: error: `RTRString daemon' redeclared as different kind of symbol
/usr/include/stdlib.h:252: error: previous declaration of `int
четвер 03 серпень 2006 17:38, Stefan Farfeleder написав:
Try -D_POSIX_C_SOURCE=200112.
Thanks, I will.
The macro _C99_SOURCE is for pure C99 code and _ANSI_SOURCE for C90
code. Both don't include the pthread.h header.
They do -- it gets included from iostream, even when I define one of
I'm wondering, if there exists a secure equivalent to rcmd/rexec? Perhaps,
somewhere in libssh?
I need to send data to a command line on another machine, but popen-ing an ssh
session seems like a rather inferior method, because there is no way to
(portably) access the command's stderr...
Hello!
I'm trying to setup my machine (FreeBSD-6.1) to be able to authenticate some
users against the corporate Active Directory (using Samba's windbind).
Having the following line in the /etc/nsswitch.conf works to that end:
passwd: files nis winbind
Unfortunately, this prevents the
Hi!
I have a sizable collection of mp3 files (most of my CDs, actually) encoded at
high ratio for archiving.
I'd like to put some of them on a low-capacity player. Is there a utility
(preferably -- a ported one), that can reencode an existing mp3 file at lower
quality settings (hence smaller
On Wednesday 29 March 2006 08:39 am, Derek Ragona wrote:
= Did you compile the access database?
=
= Typically done with:
= /usr/sbin/makemap hash /etc/mail/access /etc/mail/access
I run `make' in /etc/mail, which takes care of this. Thanks.
-mi
On Wednesday 29 March 2006 12:35 am, Glenn Dawson wrote:
= I saw that, but you had that part right...I thought the only
= problem was with getting the reject message to work properly.
=
= Anyway...
=
= This is what I typically do:
=
= [EMAIL PROTECTED] localaccount1
= [EMAIL
середа 29 березень 2006 10:28, Glenn Dawson написав:
= Despite the No spam,thanks the message was accepted.
I don't see anything in the log entries above to indicate that the
message was accepted at all. What makes you think that it was?
First, there was no rejection entry in the maillog.
Hi!
I host a domain with a handful of real addresses. I noticed, that spammers
are using a variety of random-generated names @mydomain and wish to block such
addresses with No spam responses instead of User unknown.
Here is (almost) what I have in the virtusertable:
[EMAIL PROTECTED]
!
-mi
At 01:22 PM 3/28/2006, Mikhail Teterin wrote:
Hi!
I host a domain with a handful of real addresses. I noticed, that
spammers are using a variety of random-generated names @mydomain and wish
to block such addresses with No spam responses instead of User
unknown.
Here is (almost
On Tuesday 28 March 2006 10:09 pm, Glenn Dawson wrote:
= I use this in my virtusertable:
= [EMAIL PROTECTED] error:nouser 550 No such user here
=
= but you should be able to change the message half of that with no trouble.
Please, review this thread from the beginning. I want some of
Hello!
I'm trying to use less paper by printing on both sides of each sheet.
The printer is capable of duplex printing, but all the postcript I send to it
ends up printed single-sided.
The original PS is generated by a web-browser. I then try to use enscript's
pstops utility, but can't figure
четвер 02 березень 2006 17:53, Steel City Phantom Ви написали:
duplexing is a function of the printer driver. (in KDE) control center,
peripherals, printers, select your printer and on the instances tab,
settings and you can make the printer duplex from there. How to do it
without KDE, i
Is there a procedure for upgrading 4.x to 6.x? Simply doing `buildworld' does
not work -- even make can not be rebuilt without the stdint.h, for example.
Thanks for advice. Yours,
-mi
___
freebsd-questions@freebsd.org mailing list
I'd like a sed string, that will remove both the carriage returns and the
blanks at eol in one go. Perl appears to recognize the \r character and DTRT:
perl -p -e 's,[ \r]+$,,' in out
What's the sed's equivalent? Thanks!
-mi
___
четвер 22 грудень 2005 13:32, Dan Nelson Ви написали:
In the last episode (Dec 21), Mikhail Teterin said:
I'd like a sed string, that will remove both the carriage returns and
the blanks at eol in one go. Perl appears to recognize the \r
character and DTRT:
perl -p -e 's,[ \r
Try col(1) or tr(1) to remove the carriage return and then sed to remove
the spaces.
Well, yes, but that's a two-stage process. A shame to go through the whole
file twice just because our tools aren't good enough.
-mi
___
On Tuesday 22 November 2005 02:45 am, Dan Nelson wrote:
= In the last episode (Nov 21), Mikhail Teterin said:
= I must not be using the API properly :-(
=
= The writes to the mmap-ed area and then fsync-s the opened file,
= munmaps it, and exits.
=
= Sometimes, the files end up corrupted
I must not be using the API properly :-(
The writes to the mmap-ed area and then fsync-s the opened file, munmaps it,
and exits.
Sometimes, the files end up corrupted at the end, however -- in about 10% of
cases.
What am I doing wrong? Thanks!
-mi
On Saturday 19 November 2005 07:31 am, Andrew P. wrote:
= It's also not really hard to write a client-sever system (Perl is good
= for that), where server watches hardware resources on the host and
= clients query them before any activity. Sort of traffic lights. About
= 50-100 lines of Perl code.
Hi!
We have an unusual problem with NFS writes being _too fast_ for our good.
The system is accepting database dumps from NFS-clients and begins compressing
each dump as soon, as it begins arriving (waiting for more via kevent, if
needed).
The NFS-clients (database servers) run on slow Sparc
Would something like `fgrep --mmap' benefit from madvise-ing the kernel, that
the mmap-ed region (the input file) will be used sequentionally
(MADV_SEQUENTIONAL) and covering the already searched parts with
MADV_DONTNEED|MADV_FREE?
Thanks!
-mi
Hello!
I have a 4Gb flash-card with FAT32 filesystem. Whenever I try to mount
it (on 5.x and 4.x) I get:
msdos: /dev/da0s1: Invalid argument
and the kernel complains:
da0: reading primary partition table: error reading fsbn 0
mountmsdosfs(): bad FAT32 filesystem
The
On Tuesday 06 September 2005 06:51 am, Robert Watson wrote:
= Have you recently experienced a system crash or hard reboot without proper
= shutdown?
According to dmesg.boot, this filesystem was flagged as not properly
dismounted back then. The machine's uptime is currently 47 days and
no
Do you have back logs to when bgfsck was running, btw?
Yes, indeed. And there is stuff in them... The machine crashed
on July 21st at 00:20 (/var is troublesome fs):
Jul 21 00:20:37 blue kernel: WARNING: /var was not properly dismounted
Jul 21 00:20:37 blue kernel: /var: mount pending error:
Can this be explained by anything other than a (nasty) bug?
% ls -la audio/shorten/files
total 0
% rmdir audio/shorten/files
rmdir: audio/shorten/files: Directory not empty
This is on 5.4-stable from July 21 -- up ever since... Thanks!
-mi
On Monday 05 September 2005 08:38 pm, Eric Anderson wrote:
= Mikhail Teterin wrote:
= Can this be explained by anything other than a (nasty) bug?
=
= % ls -la audio/shorten/files
= total 0
= % rmdir audio/shorten/files
= rmdir: audio/shorten/files: Directory not empty
I've received an old laptop (Micron's Transport XKE), with a modem that was
made by Motorolla, model m1200.
FreeBSD-6 recognizes two serial ports in the machine (regular com-port on the
back, plus the IrDA port), but there is nothing about the modem. comms/ltmdm
does not react to it (Lucent is
ISO9660 does not use 64-bit values. Those 8-byte values you see in
the headers are 32-bit values stored first in little-endian format and
second in big-endian format.
So, in my original question, the blame lies solely with
3) ISO-9660 standard
? No single file on a ISO9660
Hello!
I have a cd9660 image with several files on it. One of the files is very large
(above 4Gb). When I mount the image, the size of this file is shown as
realsize % 4Gb -- 758876749 bytes instead of 5053844045.
What should I blame:
1) The software, that created the image (modified
Hi!
I just noticed, that uploading a file over a LANG (at around 5.7Mb/s) resulted
in around 25% CPU consumption by the ftpd.
I think, that's unusual for a Pentium4 -- what is the process doing?
The machine is running 5.2.1-RELEASE and has TrustedBSD extensions.
-mi
I just noticed, that uploading a file over a LANG (at around
5.7Mb/s) resulted in around 25% CPU consumption by the ftpd.
I think, that's unusual for a Pentium4 -- what is the process doing?
Check the client does not use ascii mode when uploading (getc() vs
read()).
That's quite
How does one make a patch for a while, that has blanks in the path:
--- foo bar/meow~ Fri Mar 11 09:00:49 2005
+++ foo bar/meowFri Jun 10 12:17:22 2005
- a = 0;
+ a = 1;
With the above example, patch searches only for `foo', then gives up and asks
for help. I tried
--- foo bar/meow~ Fri Mar 11 09:00:49 2005
+++ foo bar/meowFri Jun 10 12:17:22 2005
- a = 0;
+ a = 1;
With the above example patch searches only for `foo', then gives up and
asks for help. I tried quoting the entire file name and escaping the
blanks with backslashes --
I donwloaded an .iso-image (Solaris 10, actually), which is about 2.7Gb.
Before burning it to a DVD, I'd like to add a directory to the image. Is
there a way to do it with tools available on FreeBSD -- mkisofs,
growisofs, etc?
I don't want to recreate the main image from scratch, as
Hello!
I donwloaded an .iso-image (Solaris 10, actually), which is about 2.7Gb.
Before burning it to a DVD, I'd like to add a directory to the image. Is there
a way to do it with tools available on FreeBSD -- mkisofs, growisofs, etc?
I don't want to recreate the main image from scratch, as I'm
In the last episode (Mar 15), Mikhail Teterin said:
I'm trying to access the file system on a usb memory key. When I
insert it, however, kernel duly reports creation of umass0, but not
the da1 (da0 is my ZIP drive).
According to usbdevs -d, I have:
addr 1: OHCI root hub, SiS
Hello!
I'm trying to access the file system on a usb memory key. When I insert it,
however, kernel duly reports creation of umass0, but not the da1 (da0 is my
ZIP drive).
According to usbdevs -d, I have:
addr 1: OHCI root hub, SiS
uhub0
addr 2: Dell USB Memory Key,
Hello!
This is a 4.11-STABLE from Dec 24.
After a sudden power loss, one of the disks (ad2) can not recover.
It was dangerously dedicated and had two partitions -- swap (ad2b) and
data (ad2e). Any attempts to use either (swapon, fsck, mount) now result
in EINVAL.
`disklabel ad2' creates an
Thank you very much for the quick response!
After a sudden power loss, one of the disks (ad2) can not
recover.
What does `fdisk ad2' say?
Some nonsense -- as if I had only a 30Mb partition-4...
What does `disklabel ad2' say?
Something about amnesiac with only the c-partition.
I used
Hi Robert and Mikhail,
Mikhail, make sure the following is in your kernel configuration
file and recompile the kernel, then post the dmesg output. This should
get your card recognized although it probably isn't going to be
recognized as a modem. But if we see the dmesg output there might
Hello!
My /opt filesystem (playing both LOCALBASE and X11BASE) is normally
mounted read-only (not so much for security even, as for safety).
When I add/remove ports, I remount it read-write:
mount -orw -u /opt
do, what I need and then remount it back `ro'.
This works most of the
Ted, Mi,
Sure.. I've got one extra that I normally rent out... But if you guys
would like... I can mail it to one of you and just pass it on to the
next guy in a week... In fact.. .why don't we just create a loaner
schedule... Who wants to go first?
The card is live... And is costing me
Hello!
I need to push a sizable subtree over to another server periodically.
The remote, however, only allows ftp...
All of the ftp-mirroring software, that I could find (pavuk, mirror, emirror,
etc.) seems designed for pulling the data in, rather than pushing it out.
The only thing I could
Mikhail,
Lemme know if Debian.org/mirror/push_mirroring points you in the right
direction...
No. The method described on the page requires ssh-access to the receiving
server. If I had that, I would've happily used rdist-over ssh without
bothering this list(s).
I must use ftp-protocol for
Hello!
I'm trying to configure a freshly built mail/cyrus-imapd22 to work and
authenticate accounts -- Kerberos and plain text.
The GSSAPI authentication works already. After doing kinit, I can do ``imtest
-m GSSAPI hostname'' and it succeeds.
Now I'm trying to login with plain text (over
Hello!
Most of our hosts can only do the regular 1500-byte frames, but some are
Jumbo Frames capable.
I'm trying to make these few servers talk to _each other_ using bigger
frames (the switch supports them) without breaking the LAN into subnets.
In the past someone suggested, I try explicit
Hello!
I tried to use stat(1) to see the last time a file was downloaded
through Apache.
To my surprise, all three dates displayed by stat are long ago, even
though the web-server's log is showing downloads from a just a few hours
back.
The file-system used to be mounted noatime, but I turned
Nathan Kinkade wrote:
On Tue, Aug 17, 2004 at 08:35:45AM -0400, Mikhail Teterin wrote:
Hello!
I tried to use stat(1) to see the last time a file was downloaded
through Apache.
To my surprise, all three dates displayed by stat are long ago, even
though the web-server's log is showing downloads
On Tuesday 17 August 2004 07:29 pm, you wrote:
= Mikhail Teterin [EMAIL PROTECTED] wrote:
= Nathan Kinkade wrote:
=
= On Tue, Aug 17, 2004 at 08:35:45AM -0400, Mikhail Teterin wrote:
=
= Hello!
=
= I tried to use stat(1) to see the last time a file was downloaded
= through Apache
Hello!
I'm using the `simple' template in /etc/rc.firewall to allow LAN to access
the Internet from behind the firewall (FreeBSD-stable).
There is a rule there:
# Allow DNS queries out in the world
${fwcmd} add pass udp from any to any 53 keep-state
and, indeed, the firewall
Why is the pointer to the `struct timeval' not declared as `const'?
Can select(2) ever modify the structure pointed to? Thanks!
-mi
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe,
=On Jun 29, 2004, at 2:11 PM, Mikhail Teterin wrote:
=
= Why is the pointer to the `struct timeval' not declared as `const'?
= Can select(2) ever modify the structure pointed to? Thanks!
Thank you very much, Lance, for the quick response!
=Some versions of Linux modified timeval. Posix.1g
Hello!
I'm writing a daemon, which chroots after initialization. It uses
syslog(3) extensively.
I have already figured out, that I need to openlog() with LOG_NDELAY,
otherwise syslog() will not find the syslogd's socket.
Is there a similar trick to make it use the local timezone instead of
UTC?
On Tuesday 22 June 2004 11:27 pm, Peter Wemm wrote:
= mmap is more valuable as a programmer convenience these days. Don't
= make the mistake of assuming its faster, especially since the cost of
= a copy has gone way down.
Actually, let me back off from agreeing with you here :-) On io-bound
On Sunday 20 June 2004 08:16 pm, Julian Elischer wrote:
= On Sun, 20 Jun 2004, Matthew Dillon wrote:
[...]
= It is usually a bad idea to try to populate the page table with
= all resident pages associated with the a memory mapping, because
= mmap() is often used to map huge files...
=Both read and mmap have a read-ahead heuristic. The heuristic
=works. In fact, the mmap heuristic is so smart it can read-behind
=as well as read-ahead if it detects a backwards scan.
Evidently, read's heuristics are better. At least, for this task. I'm,
actually, surprised, they are
On Monday 21 June 2004 08:15 pm, Matthew Dillon wrote:
= :The mmap interface is supposed to be more efficient -- theoreticly
= :-- because it requires one less buffer-copying, and because it
= :(together with the possible madvise()) provides the kernel with more
= :information thus enabling it to
Hello!
I'm writing a message-digest utility, which operates on file and
can use either stdio:
while (not eof) {
char buffer[BUFSIZE];
size = read( buffer ...);
process(buffer, size);
}
or mmap:
buffer = mmap(...
On Sunday 20 June 2004 11:41 am, Dan Nelson wrote:
= In the last episode (Jun 20), Mikhail Teterin said:
= I expected the second way to be faster, as it is supposed to avoid
= one memory copying (no user-space buffer). But in reality, on a
= CPU-bound (rather than IO-bound) machine, using mmap
On Sunday 20 June 2004 02:35 pm, you wrote:
=
= :I this how things are supposed to be, or will mmap() become more
= :efficient eventually? Thanks!
= :
= : -mi
= It's hard to say. mmap() could certainly be made more efficient, e.g.
= by faulting in more pages at a time to reduce the
On Sunday 02 May 2004 01:23 pm, Nate Lawson wrote:
= On Sun, 2 May 2004, Mikhail Teterin wrote:
= My Vaio laptop (5.2-current from April 7) duly goes to a quiet sleep
= when I type `zzz'.
=
= Trouble is, I don't know, how to recover from that. If I hit a
= keyboard key, there is some activity
=Use a serial console. Sounds like your system is waking up but not
=fully. The screen may be helped by loading acpi_video.
I don't think, there is a serial port on this laptop. It has a built-in
soft-modem, but no free serial port.
I loaded the acpi_video:
hw.acpi.video.crt0.active: 0
1 - 100 of 114 matches
Mail list logo