Garrett Cooper wrote:
>As the subject suggests I'm trying to determine how I can daemonize
> a C process, outside of using the rc infrastructure, so that it won't
> exit when the TTY exists. Does anyone know any quick references or examples?
> Thanks,
> -Garrett
The proper way to do this is
Albert Vest wrote:
> On Sat, 19 Nov 2005 01:58:25 +0200 (EET)
> Vladimir Kushnir <[EMAIL PROTECTED]> wrote:
>
> > Hi all,
> > Is there any project on FreeBSD wrapper for ATI Linux drivers (like
> > nVidia's used to be)? If so - I'd be more than happy to test (sorry I can
> > hardly write it myse
Pranav Peshwe wrote:
> Hello,
> Why is the 'Userland version' struct vnode created i.e struct
> xvnode (in vnode.h) ? The comment says that it is 'for sysctl'.There are
> also userland versions of struct file and struct tty.Can anybody please
> explain about their use ?
Those structures
Dag-Erling Sm?rgrav wrote:
> Maksim Yevmenkin <[EMAIL PROTECTED]> writes:
> > so far i only got one (successful) report. would people please give
> > it a try to see if work, so i can commit it.
>
> Please commit it. I don't see how it can do any harm.
Yes please; I'd like to see this patch in H
maksim yevmenkin wrote:
> Maxime Henrion wrote:
> >Dag-Erling Sm?rgrav wrote:
> >>Maksim Yevmenkin <[EMAIL PROTECTED]> writes:
> >>>so far i only got one (successful) report. would people please give
> >>>it a try to see if work, so i can commit it.
Maksim Yevmenkin wrote:
> Maksim Yevmenkin wrote:
> >Borja Marcos wrote:
> >>Hello,
> >>
> >>I saw this some time ago but always forgot to report it.
> >>
> >>I'm running a pair of machines with FreeBSD/sparc64 (various versions,
> >>one of them is running -STABLE now), and I've seen a problem wit
Hi,
I run a 4.2-STABLE machine, world done this morning. I had some troubles with
fdescfs. Reading the fdesc(5) manual page, I have to mount the fdescfs like I
would mount procfs. But if I compile my kernel with options FDESC or if I load
the fdesc.ko kernel module, I have access to /dev/
Poul-Henning Kamp wrote:
> In message <[EMAIL PROTECTED]>, Greg Black writes:
> >Matt Dillon wrote:
> >
> >It seems to me that you're saying that softupdates is now the
> >recommended way to go -- so why does 4.2-Release still have the
> >dire warnings in /sys/ufs/ffs/README.softupdates? Is that
Hello,
talk(1) uses the isprint() function to determine if a character is
printable. If it's not, it outputs '^' followed by the character without
his 8th bit. However, isprint() and friends are broken currently on
FreeBSD (at least on -STABLE), so it will never recognize an accentued
ch
Tony Finch wrote:
> Drew Eckhardt <[EMAIL PROTECTED]> wrote:
> >In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] writes:
> >>In most cases it is impossible to declare the data read-only because
> >>it originally had to be read-write and you can't change its attributes
> >>later.
> >
> >mprotect(
Michael C . Wu wrote:
> On Tue, Feb 27, 2001 at 08:53:09PM +0100, Maxime Henrion scribbled:
> isprint() has been broken for a long long time. Clive Lin
> <[EMAIL PROTECTED]> was about to fix it. I know that
> we have been slacking, but please give us some time.
Of course, t
Matt Dillon wrote:
>This is an extremely dangerous patch. A number of terminal protocols
>have a 'talkback' escape sequence that allow you to write data
>that the terminal then copies back as if someone typed it. I remember
>using this feature quite a lot while at Berkeley to, a
Hi,
Here is a patch to select the modules you want and don't want.
The patch is for /usr/src/sys/modules/Makefile from RELENG_4.
Then you have to put variables in make.conf (i'm writing the patch
for defaults/make.conf) like this :
NO_KMOD_FPU=true
NO_KMOD_GNUFPU=true
...
Thanks for any
Hello all,
I have been discussing on IRC with a blind people who can't use BSD
because ``brltty'', the software used to render the console tty with
braille displays, doesn't appear to work on BSD. I have been
experiencing troubles while trying to compile it and moreover, it uses
``/dev/
Farooq Mela wrote:
> Hi -hackers,
>
> Several people have made it known to me that games such as Quake2
> which ran fine with sound under the 4.2 kernel are not able to have
> sound in 4.3. I have verified this myself - with quake2 under 4.3
> ktrace reports that opening /dev/dsp fails with EBUS
Devon H. O'Dell wrote:
> On Mon, Mar 28, 2005 at 01:42:16PM -0500, c0ldbyte wrote:
> > On Mon, 28 Mar 2005, mohamed aslan wrote:
> >
> > >hi guys
> > >it's my first post here, BTW i was a Linux hacker and Linux kernel
> > >mailing list member for 3 years.
> > >
> > >and I've a comment here , i th
Stefan Sperling wrote:
> On Wed, Jul 06, 2005 at 12:10:23PM -0700, Maksim Yevmenkin wrote:
> > Maksim Yevmenkin wrote:
> > >>char *c = "whats:your:name:buddy?";
> > >
> > > that is not read only copy. you can not write
> > >into it. replace it with
> >
> > made
Giorgos Keramidas wrote:
> On 2005-08-01 13:55, John Baldwin <[EMAIL PROTECTED]> wrote:
> >On Monday 01 August 2005 01:29 pm, [EMAIL PROTECTED] wrote:
> >> This patch effects most of the rc.d scripts that utilize simple IF
> >> statements, converting them to logical AND/OR's instead. For example:
>
27;s a bit
disappointing for new users.
- Maxime Henrion
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
Hi everybody,
When ldconfig is invoked without any parameters, the shared library
cache is reseted to the contents of /usr/lib only. I think such a
behaviour isn't very useful, especially when one knows that a lot of
people come to FreeBSD after having used Linux. The first time they
0 and if
the dir has not world write permission.
Maxime Henrion wrote:
> Hi everybody,
>
> When ldconfig is invoked without any parameters, the shared library
> cache is reseted to the contents of /usr/lib only. I think such a
> behaviour isn't very useful, especia
Hi,
Here is the small patch to activate the -R behaviour when no arguments
are given :) Thanks for helping me ! I'll work on the other modification
i suggested as soon as i have enough time.
Best regards,
- Maxime Henrion
*** /usr/src/sbin/ldconfig/ldconfig.c Sun Jan 16
ault before
any kernel message :/ Is there anything to check in order to know if I
can use a config instead of a config -r ? If using a config without the
-r option is dangerous, I think it shouldn't be the default. Is it the
case ?
Regards,
-Maxime Henrion
To Unsubscribe: send mail to [E
Warner Losh wrote:
> In message <[EMAIL PROTECTED]> Maxime Henrion writes:
> : But after rebooting on this new kernel, I had a page fault before
> : any kernel message :/ Is there anything to check in order to know if I
> : can use a config instead of a config -r ? If usin
The problem is that I _DID_ a make depend after the config -r, and this haven't
prevent me to get a kernel which panic'ed.
Larry Rosenman wrote:
> config without the -r reminds you to run a make depend.
>
> Larry
> > Warner Losh wrote:
> >
> > > In me
x27;ps' doesn't suffise (in fact, if it was, I would have done it
:-).
What do you all think of this ?
Best regards,
Maxime Henrion
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
Hi,
I'm new to the FreeBSD kernel and I wanted to know what are the good
methods to read a sysctl value from the kernel. Is it the same interface
as in user-space ?
Any help or links to some documentation would be greatly appreciated :)
Thanks,
Maxime Henrion
To Unsubscribe:
f the running processes, but
where this information is stored ? The function returns an int so it's
probably not this :-)
Second, what is an "oib" ? There are a lot of oib related stuff with sysctl
and I can't understand what it is.
Thanks for all future help.
Maxime Henrion
rowse the source code easily.
It even has a little GUI but it's done primarily for console, though.
Maxime Henrion
Clarence Brown wrote:
> As you may know I'm bashing about trying to find
> the point where my 486 based machine locks up
> on a warm boot. I have been programmi
/mail/generics-domains')dnl
Perhaps it would be nice to disallow VRFY and EXPN commands by default
too. This can be easily done by adding goaway to the PrivacyOptions (and
so put O PrivacyOptions=authwarnings,goaway).
Hoping this will help.
Regards,
Maxime Henrion
To Unsubscribe: se
Marco van de Voort wrote:
> (for the development of the Free Pascal compiler port):
>
> - Is there a way to easily check FreeBSD version (3.x or 4.x+, because of
> the different syscallnrs for signal functions) on syscall level?
>
Use the sysctl kern.osreldate.
>
> - Can I use the assembler ins
at it won't cause some portability problems ?
Best regards,
Maxime Henrion
--
Don't be fooled by cheap finnish imitations ; BSD is the One True Code
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
Hi all,
Since several people actually thought this mail was written by me, I'm
replying here to tell it wasn't. This mail was sent by the same guy
who periodically impersonate one of the FreeBSD committers to rant about
the project. His mail doesn't reflect my thoughts at all. Please a
Liam J. Foy wrote:
> On Thu, 17 Jun 2004 05:47:25 -0400 (EDT)
> FreeBSD Tinderbox <[EMAIL PROTECTED]> wrote:
>
> > TB --- 2004-06-17 08:56:11 - tinderbox 2.3 running on freebsd-current.sentex.ca
> > TB --- 2004-06-17 08:56:11 - starting CURRENT tinderbox run for amd64/amd64
> > TB --- 2004-06-17 0
db wrote:
> Hi all
>
> In my C++ program I need to load some files/classes at runtime, so that users
> can add "plugins" without recompilling my program. What functions should I
> use? I'm using FreeBSD 5.3-beta2 btw.
I'm not sure about C++, though I guess you could use the same functions as
in
stem won't swap it out?
>
I think mlock(2) is what you want.
Maxime Henrion
--
Don't be fooled by cheap finnish imitations ; BSD is the One True Code
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
Nickolay A.Kritsky wrote:
> Hi, freebsd-hackers.
>
> Recently I was trying to change some syscalls numbers (i.e. syscall
> exit would have number 5 and syscall open would have number 1).
> My thought was, that for that operation one must edit file
> /usr/src/sys/kern/syscalls.master and remake
Matthew Dillon wrote:
>
> This profiled output shows the system completely idle. If
> something is locking up eating cpu this profile run didn't
> catch it.
Ok, I'll do a new one ASAP, with a system where system cpu time jump is
higher.
Maxime
--
Don't be fooled by cheap finnish
Matthew Dillon wrote:
>
> The time jump is irrelevant. It's whether you feel a glitch or not
> while the sync is running that counts.
I don't do profiling on a sync command, I monitore the system with
``iostat -w 1'' then I see where the jump occurs and since it occurs
every 30s, I try
Matthew Dillon wrote:
> Well, 11% over a period of a single second, once every 30 seconds
> makes sense if there are a lot of vnodes cached. I think you are
> seeing the same issue, just that on -stable there is much lower
> overhead.
>
> Basically we have two routines that
M. Warner Losh wrote:
> In message: <[EMAIL PROTECTED]>
> "M. Warner Losh" <[EMAIL PROTECTED]> writes:
> : : static struct cdevsw sio_cdevsw = {
> : : +#if __FreeBSD_version >= 500104 /* >= 20030303 */
> :
> : This syntax works even for old versions of FreeBSD. You can make it
> : sa
Tom Alsberg wrote:
> Having got a new machine here a few days ago, an Intel ICH D865 PERL
> board based Pentium IV machine, with an on-board Intel EtherExpress
> Pro 100 VE, it failed to detect the network adapter.
>
> Seeing that it is an EtherExpress Pro 100, I though the fxp module
> should wor
M. Warner Losh wrote:
> In message: <[EMAIL PROTECTED]>
> Sandeep Kumar Davu <[EMAIL PROTECTED]> writes:
> : I was intalling freebsd on laptop and could not find the drivers for
> : 3ccfe575bt-d fast ethernet 10/100base-tx ethernet card. Could anyone please
> : enligten me where can I
Vincent Jardin wrote:
> Hi,
>
> I try to understand the purpose of the PRE sync (BUS_DMASYNC_PREREAD,
> BUS_DMASYNC_PREWRITE).
>
> I understand POST synchronization (BUS_DMASYNC_POSTREAD,
> BUS_DMASYNC_POSTWRITE) when a device to memory or a memory to device
> transfert needs to be synchroniz
access the
PR database.
Opinions ?
Maxime Henrion
--
Don't be fooled by cheap finnish imitations ; BSD is the One True Code
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
Bernd Walter wrote:
> How can I add initalisation code to a library without needing to
> call a function in the using application?
> What I saw is that libc does something like this but havn't found
> the starting point of this.
There are two special functions for that : _init() which will be cal
Alexey Privalov wrote:
> hi all.
>
> i`m trying to set randompid:
>
> root@land3# sysctl kern.randompid=1
> kern.randompid: 0 -> 0
>
> what`s a need to set on?
The value you give to this sysctl is not a boolean, it's a value used in
the formula which computes the randompid. This value is sani
Evan Sarmiento wrote:
> I keep on getting debug messages like this, both at startup
> and right before any sound plays:
>
> Jun 14 23:44:38 teqnix kernel: /usr/src/sys/vm/uma_core.c:1327: could
> sleep with
> "pcm0:play:0" locked from /usr/src/sys/dev/sound/pcm/dsp.c:713
> heyeh, Jun 14 23:44:38
Kris Kennaway wrote:
> On Tue, Aug 06, 2002 at 06:55:11PM -0700, Peter Wemm wrote:
>
> > `-mcpu=CPU-TYPE'
> > Tune to CPU-TYPE everything applicable about the generated code,
> > except for the ABI and the set of available instructions. The
> > choices for CPU-TYPE are `i386', `i4
Kris Kennaway wrote:
> On Fri, Sep 06, 2002 at 05:55:47PM -0700, Maxime Henrion wrote:
>
> > I've got a very similar patch which I believe to be a bit more complete
> > because it also updates the MACHINE_CPU variable which lists the
> > features available on a pa
Grahame Bowland wrote:
>
> Hi all,
>
> When implementing a syscall for FreeBSD, how do you ensure that the arguments
> you have been passed are sane? I'm interested in the following syscall:
> int setattr(char *file, struct stat *st, unsigned bitmap);
>
> As far as I can see from reading sim
Paolo Pisati wrote:
> Hi guys,
>
> as I said in the subject i'm a newbies of the kernel, but i used
> FreeBSD for years, so when the time to write my final thesis
> in my university arrived i immediately thought to help in some
> way the FreeBSD group.
>
> Here there's a mini list of things i
M. Warner Losh wrote:
> In message: <[EMAIL PROTECTED]>
> Chuck Tuffli <[EMAIL PROTECTED]> writes:
> : I'm a newbie to FreeBSD and am wondering if there is a way to pass
> : loadable kernel modules parameters. Under Linux, if a module had
> : configurable parameters "a" and "b", you can
Terry Lambert wrote:
> Maxime Henrion wrote:
> > With kenv(1) you can modify kernel environment variables, which hold the
> > tunables. Previously, you could only set those at boot time.
>
> Note that there are some values which are used to determine the
> size of KV
54 matches
Mail list logo