100, a*100,
ceilf(a*100), (int)ceilf(a*100));
# ./a.out
1.00 1.000 1.00 1
2.00 2.000 2.00 2
3.00 3.000 3.00 3
4.00 4.000 4.00 4
5.00 5.000 5.00 5
6.00 6.000 6.00 6
7.00 7.000 7.00 7
8.00 8.000 8.
-H)
PIDLWP NLWP TTYTIME COMMAND
73718 156 ttyp0 00:00:00 thread
is it normal that the selected process is the last forked thread and
not the thread owner (father) ?
PS : using -lc_r, there is no thread at all, but I sup
t ?
if ln source .source; then
ok
else
locked
fi
Cyrille Lefevre.
--
home: mailto:[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
"Bruce Evans" <[EMAIL PROTECTED]> wrote:
> On Thu, 17 Jun 2004, Cyrille Lefevre wrote:
>
> > is there any reasons to hide timeradd() and co in
> > from the kernel space (! _KERNEL) ?
>
> Yes. This prevents them being used in the kernel. They are c
Hi,
is there any reasons to hide timeradd() and co in
from the kernel space (! _KERNEL) ?
how about to remove #ifndef _KERNEL/#endif ?
CC -hackers
Cyrille Lefevre.
--
home: mailto:[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http
/usr/src and that is at
> http://telekinesis.org/indent/test.sh. I found that my patched version
> (when run with no options) produced identical output to the existing
> version.
don't know if you submit a PR, if not, man send-pr.
Cyrille Lefevre.
--
home: mailto:[EMAIL PROTECTED]
_
"Robert Watson" <[EMAIL PROTECTED]> wrote:
> On Fri, 28 May 2004, Cyrille Lefevre wrote:
>
> > regarding the APSL (http://www.opensource.apple.com/apsl/), do you think
> > it is possible to import some darwin commands w/ mods.
[snip]
> The FreeBSD Core Team
"Vulpes Velox" <[EMAIL PROTECTED]> wrote:
> On Fri, 28 May 2004 04:07:32 +0200
> "Cyrille Lefevre" <[EMAIL PROTECTED]> wrote:
>
> > regarding the APSL (http://www.opensource.apple.com/apsl/),
> > do you think it is possible to import some darwi
shlock ? and CMU md (a sort of mkdep in C) ?
PS : decomment and relpath only need some mods while sadc would need a large
amount of mods, don't know about sar.
Cyrille Lefevre.
--
home: mailto:[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
rmat, dovecot is your freind and
is faster than imap-uw since they are indexes. it also known about
courier's maildir format and is really simple to configure.
http://monkey.org/openbsd/archive/misc/0405/msg00490.html
if you're using maildir mbox format, consider courier-imap or binc-ima
"Steven Hartland" <[EMAIL PROTECTED]> wrote:
> Just plain doesn't work here moans that it cant mount the FS
> where as chainloader works fine.
do you add ",a" in "root (hd0,0,a)" ?
Cyrille Lefevre.
--
mailto:[EMAIL PROTECTED]
_
SI)
root(hd7,0,a)
setup (hd7,0)
title Install GRUB (primary - IDE)
root(hd0,2,a)
setup (hd0,2)
title Install GRUB (floppy)
root(fd0)
setup (fd0)
Cyrille Lefevre.
--
home: mailto:[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http:
/boot/grub I created a fil called menu.lst and wrote this in it:
> default 0 # By default, boot the first entry.
> timeout 5 # Boot automatically after 30 secs.
>
> title FreeBSD
> root (hd0,0)
root(hd0,0,a) would be better :)
> kernel
ithin the
> file will be seen as locked from the viewpoint of another
> process using fcntl(2) or lockf(3), and vice versa.
Cyrille Lefevre.
--
home: mailto:[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/fr
"Thierry DELHAISE" <[EMAIL PROTECTED]> wrote:
> I'm developping a tool running in userland (root) (a command line
> tools) for enumerating all devices present on the machine :
take a look at http://www.magnicomp.com/sysinfo/ first :)
Cyrille Lefevre.
--
ho
On Sat, Jul 27, 2002 at 03:18:24PM -0500, Dan Nelson wrote:
> In the last episode (Jul 27), Cyrille Lefevre said:
> > IMHO, both the old and the newer code are wrong. they should use
> > getenv("TMPDIR") if any and certainly not the current directory.
> > there is
;
> + strlcat(backup, ".XX", MAXPATHLEN);
> + fd = mkstemp(backup);
> + if (fd == -1)
> + errx(1, "could not create backup of %s", *filename);
> + else
> + close(fd);
o for the same ourpose.
> Dyndns offers three levels of DNS ... static, dynamic and custom.
> I have modified the dd-up code to support the custom part of this.
ok, I'll take a look.
sorry for the convenience...
CC -hackers
Cyrille.
--
Cyrille Lefevre mailto:[
a port/package for the rest of the world to use.
no need, cd /usr/ports/misc/upclient && make install
Cyrille.
--
Cyrille Lefevre mailto:[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
one, but if you want your change be integrated to FreeBSD, you'll
have to submit a PR (man send-pr).
Cyrille.
--
Cyrille Lefevre mailto:[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
#x27; > 0 ?
# man init
1 Secure mode - the system immutable and system append-only flags may
^^^
not be turned off; disks for mounted filesystems, /dev/mem, and
^
/dev/kmem may not be opened for writing
attr(STDIN_FILENO, TCSAFLUSH, &new) < 0) {
printf("tcsetattr failed: %s\n", strerror(errno));
return(1);
}
return(0);
}
Cyrille.
--
Cyrille Lefevre mailto:[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
message resent due to mta misconfigation.
On Thu, Jul 11, 2002 at 01:45:09AM +0200, Cyrille Lefevre wrote:
> On Wed, Jul 10, 2002 at 03:48:32PM +0200, Alex Dupre wrote:
> > In normal situation accessing to a FreeBSD 4.x machine from cygwin is not
> > very pleasant: editing files
otdev="disk1s2a"
/boot/current.conf
currdev="disk1s3a"
rootdev="disk1s3a"
hope this help ?
Cyrille.
--
Cyrille Lefevre mailto:[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
more. I do have several FreeBSD 3.x
> releases, but they always hang with a kernel panic when booting via the
> included bootdisks. Would the FreeBSD 2.2.x series of releases work with
> such a CD-ROM drive?
don't know, but I have all 2.2.8 CDROMs at home.
Cyrille.
--
Cyrille L
qsort(3), bsearch(3), hsearch(3), lsearch(3), db(3).
Cyrille.
--
Cyrille Lefevre mailto:[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
has the advantage to work w/ every daemons, even the ones wich
don't handle SIGHUP as well as simple redirections (daemon > log).
> kill -1 `cat /var/run/syslogd.pid`
> gzip log.0
Cyrille.
--
Cyrille Lefevre mailto:[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
David O'Brien wrote:
> On Thu, Oct 18, 2001 at 11:29:59PM +0200, Cyrille Lefevre wrote:
> >
> > I've prepared a status report about this project. the xml file in
> > attachment have to be reviewed since I've just put descriptions
> > from FreeBSD-rc'
size of the circular log ?
Cyrille.
--
Cyrille Lefevre mailto:[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
after reading -arch, the contact and links sections have been
updated.
Cyrille.
--
Cyrille Lefevre mailto:[EMAIL PROTECTED]
rcNG: Improving FreeBSD startup scripts
Doug Barton
Commiter
[EMAIL PROTECTED]
Kevin Way
ate the FreeBSD-rc's Yahoo! Group ?
then you have to submit a status report to avoid duplicates
work...
I also done some stuffs on this some months ago, but I have
to review it. don't remember the status of my job... :(
Cyrille.
--
Cyrille Lefevre mailto:[EMAIL PROTECTED]
vn0c
not tested but should work...
Cyrille.
--
Cyrille Lefevre mailto:[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
l" loader.conf the entire problem should go away, and we
> don't have to extend any of the syntax.
what's happen if $dhcp_kernel isn't sets ?
Cyrille.
--
Cyrille Lefevre mailto:[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
Mike Meyer wrote:
> Cyrille Lefevre <[EMAIL PROTECTED]> types:
> > Mike Meyer wrote:
> > [snip]
> > > conf/21722The mixer settings are lost on system reboot.
> > >
> > > This should probably be closed due to the work being done on th
do that if this one gets closed.
much better is to keep it, at least to remember that something like
that have to be done.
Cyrille.
--
Cyrille Lefevre mailto:[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
whole process. to do this,
somewhere in main(), add something such as signal(SIGCHLD, SIG_IGN)
and delete the while statment in post_prog().
Cyrille.
--
Cyrille Lefevre mailto:[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
Cyrille Lefevre wrote:
> Giorgos Keramidas wrote:
> [snip]
> > As you can see there are quite a few terminals that have capabilities defined
> > more than once! I don't have THAT many terminals to check, but I'm open to
> > suggestions. Should we do s
a problem since only the first matching capability is used.
others are ignored. I've a pending termcap update related to
http://www.tuxedo.org/terminfo. for instance, I don't remember if
reorder works w/ termtypes.tc ?
Cyrille.
--
Cyrille Lefevre mailto:[EMAIL PROTECTED]
T
David O'Brien wrote:
> On Sun, Sep 23, 2001 at 04:05:27PM +0200, Cyrille Lefevre wrote:
> > David O'Brien wrote:
> > > On Mon, Sep 17, 2001 at 05:42:23PM -0700, Jordan Hubbard wrote:
> > > > We're still waiting for 4.0's "support footprint&q
tween both w/ a information box relating problems found
in the one or the other ?
Cyrille.
--
Cyrille Lefevre mailto:[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
Dima Dorfman <[EMAIL PROTECTED]> writes:
> Warner Losh <[EMAIL PROTECTED]> writes:
> > Is there a way to "undef" an option?
>
> I thought about this, too. Right now there isn't a way to do that,
> and neither OpenBSD nor NetBSD have one AFAIK. That said, I think it
> would be trivial to implem
Sergey Babkin <[EMAIL PROTECTED]> writes:
[snip]
> How about keeping the state of the system as empty files in
> a subdirectory, say, /etc/rcstate.d. This directory would be
> cleaned up at boot time and then as each of the service startup
> script is run (and completed successfully), an empty fi
Jordan Hubbard <[EMAIL PROTECTED]> writes:
> ground in front of them. I've seen a lot of hands go up but I STILL
> haven't seen anything committed or even just a URL to some prototype
> bits to test. :(
before coding anything, it's a common usage to know the way to go.
for instance, I'm not sur
Robert Watson <[EMAIL PROTECTED]> writes:
> On Thu, 14 Jun 2001, Koster, K.J. wrote:
>
[snip]
> > How about /var/run/{$deamon}.pid?
>
> So, one of the things I've always hated (and loved) about UNIX is the pid
> system. One of the problems I have with (foo).pid is that pid's are
> rapidly recy
Warner Losh <[EMAIL PROTECTED]> writes:
> In message <[EMAIL PROTECTED]> Doug Barton writes:
> : > in fact, the require keyword isn't sufficient in it's own. there
> : > should be pre_require and post_require keywords since nfsd needs to
> : > start mountd before to start nfsd then rpc.statd and
Andrew Hesford <[EMAIL PROTECTED]> writes:
> On Wed, Jun 13, 2001 at 06:04:23PM -0700, Gordon Tetlow wrote:
[snip]
> >
> > Anyway, here's my status:
> > rcorder ported (one line code change)
CPPFLAGS -> CFLAGS in Makefile I suppose ?
> Alternatively, give up the handy feature of being able to
Jon Parise <[EMAIL PROTECTED]> writes:
[snip]
> With the proposed NetBSD-derived system, individual services are
> isolated in their very own scripts, making starting / stopping
> them very convenient (the only advantage I see to the SysV
> layout). In addition, the integrity of dependency graph
Matthew Seaman wrote:
[snip]
> > > see the following url on a portable (awk and ksh) replacement for
> > > date -v-1d :
> >
> > Then the program will contain perl, ksh and awk code? There are too many
> > languages used, aren't there? Also realize please that base system does not
welcome in the
Matthew Seaman <[EMAIL PROTECTED]> writes:
[snip]
> by which time the script might just as well be pure perl anyhow...
and the perl polution continue...
while some people claims perl should goes off whenever possible,
you're claiming it should goes on.
FYI, the date stuff can be written in pur
Farooq Mela <[EMAIL PROTECTED]> writes:
> I am wondering why some operating systems use the macro _ANSI_SOURCE
> while others (ie Linux) use _ANSI_C_SOURCE to indicate that the source
> compiled is ANSI-compliant (and similarly with _POSIX_SOURCE and
> _POSIX_C_SOURCE). I have neither copies of t
> Gunther Schadow <[EMAIL PROTECTED]> writes:
>
> > I got some VAXen 6420, big machines. Mine has 6 CPUs. I was planning
> > to boot myself with Ultrix, and then go on with NetBSD. Even
> > NetBSD's port-vax needs some tweaking for my hardware, XMI and
> > BI bus support is blank. I am with Fre
Gunther Schadow <[EMAIL PROTECTED]> writes:
> I got some VAXen 6420, big machines. Mine has 6 CPUs. I was planning
> to boot myself with Ultrix, and then go on with NetBSD. Even
> NetBSD's port-vax needs some tweaking for my hardware, XMI and
> BI bus support is blank. I am with FreeBSD forever
Brian Somers <[EMAIL PROTECTED]> writes:
> I'd suggest going ahead and committing it ASAP - before people start
> ``discussing'' it again :oI
from my point of view, it would be better to implement -i/-I than this
hack which has no advantage in performance and functionnality than :
while read a
"Munish Chopra" <[EMAIL PROTECTED]> writes:
> If the following isn't an appropriate subject for discussion on this
> particular mailing list, please move ensuing discussion to one that is
> more appropriate (possibly -hackers or -hardware).
NVidia discussions usually are in -multimedia, no ?
Cy
"Julian Stacey" <[EMAIL PROTECTED]> writes:
> Here's a weirdness in 4.2-RELEASE kernel generation:
> - Compiling a GENERIC kernel _Without -O optimiser causes a broken make !
> - Compiling a GENERIC kernel _With_ -O optimiser compiles OK.
this question is cyclic. and yes, the kernel *have* t
"Daniel O'Connor" <[EMAIL PROTECTED]> writes:
> On 20-Nov-00 Brian Reichert wrote:
> > I didn't find anything after an admittedly quick look intp PRs and the mail
> > list archives:
> >
> > Under FreeBSD 3.4-RELEASE, we are running a simple log file scrubber:
> >
> >15 3 * * * find /us
Wes Peters <[EMAIL PROTECTED]> writes:
> [EMAIL PROTECTED] wrote:
> >
> > On Tue, 8 Aug 2000, Nicolas Leonard wrote:
> >
> > > I would like to generate a core dump 'explicitly' in
> > > my program. How can that be done ?
> >
> > Call abort(3)
>
> If you want to coredump it "interactively", h
Brian Fundakowski Feldman wrote:
> On 1 Aug 2000, Cyrille Lefevre wrote:
>
> > "Michael C. Wu" <[EMAIL PROTECTED]> writes:
> >
> > > I am working on completing a BSDL'ed implementation
> > > of wchar* that is *not* broken. However,
>
"Michael C. Wu" <[EMAIL PROTECTED]> writes:
> I am working on completing a BSDL'ed implementation
> of wchar* that is *not* broken. However,
> I could not find a free copy of ANSI C library standard.
try this link :
http://www.opengroup.org/onlinepubs/7908799/
Cyrille.
--
home: mailto:[EMAIL
[EMAIL PROTECTED] (Alexander Langer) writes:
> Currently, I see the following:
>
> root@parca /sys $ grep _BSD_TIME_T {alpha,i386}/include/ansi.h
> alpha/include/ansi.h:#define_BSD_TIME_T_int /* time() */
> i386/include/ansi.h:#define _BSD_TIME_T_long /* time()... */
>
>
Nick Sayer <[EMAIL PROTECTED]> writes:
> Warner Losh wrote:
>
> > In message <[EMAIL PROTECTED]> Wes Peters writes:
> > : Poul-Henning Kamp wrote:
> > : >
> > : > In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wri
> > : > tes:
> > : >
> > : > >So what does everyone think? Is it suitable to ad
Nick Sayer <[EMAIL PROTECTED]> writes:
> Cyrille Lefevre wrote:
>
> > Nick Sayer <[EMAIL PROTECTED]> writes:
> >
> > > Cyrille Lefevre wrote:
> > >
> > > > Poul-Henning Kamp <[EMAIL PROTECTED]> writes:
> > > >
&
Poul-Henning Kamp <[EMAIL PROTECTED]> writes:
> In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wri
> tes:
>
> >So what does everyone think? Is it suitable to add a read only
> >sysctl 'machdep.apm_powerstate' that reports either AC, nn%,
> >or N/A ? Or should the format be numeric (999 = AC,
why it's not possible to suspend SCSI drives like the ATA/IDE ones ?
I'm not talking about camcontrol suspend feature. if you have a mounted
filesystem, and access a file onto that filesystem while the drive is
suspended in this manner, the system gives up. and it is not so good
(at all :) to do
Narvi <[EMAIL PROTECTED]> writes:
> [i think this might just as well belong in -questions]
>
> On 10 xxx -1 [EMAIL PROTECTED] wrote:
>
> > I'm 18-year-old newbie UNIX programmer that currently use
> > FreeBSD and is really thankfull of it.I run it on DUAL PII/333.
> >
> > Some days ago my fri
Essenz Consulting <[EMAIL PROTECTED]> writes:
> I know that APC SmartUPS and BackUPS are supported under FreeBSD but what
> about the APC PowerStack? I was looking at the APC PowerStack 250
> Rackmount UPS. It comes with a RS-232 cables and supports that same kind
> of emergency shutdown that the
Ben Smithurst <[EMAIL PROTECTED]> writes:
> Brian Somers wrote:
>
> >> Well, "periodic security" will work as long as /etc/periodic/security
> >> exists, so I guess you just mean the docs need updating? I'll get to
> >> that if someone is actually planning on committing this stuff.
> >=20
> > P
John Polstra wrote:
> In article <[EMAIL PROTECTED]>,
> Cyrille Lefevre <[EMAIL PROTECTED]> wrote:
> >
> > the problem I have, is that, when I run "cvs -t update -r RELENG_4",
> > I got the following message (last 4 lines) :
> [...]
> &
preliminaries :
# mkdir -p /path/name /path/to
# touch /path/name/file
# ln -s /path/name /path/to/symlink
# mv /path/to/symlink/ /other/location
^ note the terminating slash.
move the target of the symlink instead of the symlink itself.
same results w/ rm -r and cp -r.
s
Cyrille Lefevre <[EMAIL PROTECTED]> writes:
> > Joseph Wright wrote:
> >
> > On Sun, Jun 18, 2000 at 04:14:51AM +0200, Cyrille Lefevre wrote:
> > > "Daniel C. Sobral" <[EMAIL PROTECTED]> writes:
> > >
> > > > > Joseph
> Joseph Wright wrote:
>
> On Sun, Jun 18, 2000 at 04:14:51AM +0200, Cyrille Lefevre wrote:
> > "Daniel C. Sobral" <[EMAIL PROTECTED]> writes:
> >
> > > > Joseph Wright wrote:
> > > >
> > > > Since when? Any that I'
Coleman Kane <[EMAIL PROTECTED]> writes:
> Here's the address of the 3dfx device driver I wrote for freebsd:
> http://pohl.ececs.uc.edu/~cokane/
>
> Please test it some more and give me feedback. Could someone please email me
> with information on submitting this to the CVS commit team?
did you
Josef Karthauser <[EMAIL PROTECTED]> writes:
> There appears to be some code in the /boot/support.4th file to force
> the user to enter a password at kernel load time. Does anyone know
> enough forth to tell me how to activate it?
in /boot/loader.conf or /boot/loader.conf.local try the followin
on -a are done
and/or doing quotaoff -a, then quotaon -a.
questions are here :
why did you get rid of the "rq" option ?
if the "userquota" and "groupquota" options are not given, but
"rq" is, isn't it possible to use the same behaviour than other
systems, which is to turn on quota at mount time and not at boot
time and defaulting to userquota to /disk0/quotas in my case ?
of course, more control needs to be done in every quota commands
such as, don't create a quota file if the filesystem isn't mounted.
and mount needs to be completed to activate quotas at mount time.
so, I am right to make these modifications and more if needed,
but before, I want to be sure I'm not wrong somewhere ? and before
to send a bug-report, I'm asking you.
PS : there is a lot of quota PRs which are not assigned right now.
Regards,
Cyrille Lefevre.
--
home: mailto:[EMAIL PROTECTED] work: mailto:[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
74 matches
Mail list logo