Search the web
Sign In
New User? Sign Up
FreeBSD-rc · Improving FreeBSD startup scripts
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 246 - 281 of 729   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
246
Hi Guys, What is happening below is that apm gets enabled and then the apmd script runs it again because the forcestatus for apm will always fail. So, it seems...
Mike Makonnen
mike_makonnen
Offline Send Email
Jun 2, 2003
12:09 am
247
... Actually a status for apm is quite simple... While I was looking at it I thought it would be nice to be able to stop apm also, so support for that is also...
Simon L. Nielsen
simonlndk
Offline Send Email
Jun 2, 2003
12:44 am
248
... But of course it wasn't that simple... When using forcestatus the rc script will always return 0, even when the the status function tries to return 1 to...
Simon L. Nielsen
simonlndk
Offline Send Email
Jun 2, 2003
1:33 am
249
Hello folks, http://people.freebsd.org/~mtm/patches/rcboot.diff This patch saved 6 seconds off a 30 sec. rc run (from the mounting of the root file system...
Mike Makonnen
mike_makonnen
Offline Send Email
Jun 4, 2003
12:24 pm
250
... Whoaa! That's a 20% faster boot process! IMHO, every second counts here. A few more seconds would definitely be worth the effort. thanks, t....
Tobias Roth
roth_tob
Offline Send Email
Jun 4, 2003
12:32 pm
252
... Nice! :-) ... I must say I find it a bit odd that [...] to test is faster since both are sh builtins. If it is faster I would say this is rather some bug...
Simon L. Nielsen
simonlndk
Offline Send Email
Jun 4, 2003
2:08 pm
253
On Wed, 4 Jun 2003 16:08:39 +0200 ... /bin/[ is a hardlink to /bin/test but sh(1) has a built-in test, which is what my patches use. Cheers. -- Mike Makonnen...
Mike Makonnen
mike_makonnen
Offline Send Email
Jun 4, 2003
3:07 pm
254
... Yes, but sh(1) should also use '[' as builtin alias for test : [FreeBSD@eddie:CURRENT] grep test bin/sh/builtins.def testcmd test [ I must admit...
Simon L. Nielsen
simonlndk
Offline Send Email
Jun 4, 2003
3:16 pm
255
On Wed, 4 Jun 2003 17:16:44 +0200 ... I must admit I used 'man builtin' to find out which commands were builtin and which weren't, and it didn't list [. I just...
Mike Makonnen
mike_makonnen
Offline Send Email
Jun 4, 2003
3:31 pm
256
... As opposed to the built-in [? -- Daniel C. Sobral (8-DCS) Gerencia de Operacoes Divisao de Comunicacao de Dados Coordenacao de Seguranca ...
Daniel C. Sobral
dcsobral2000
Offline Send Email
Jun 4, 2003
4:27 pm
257
Man, you guys work too hard. :) [dougb@zoot ~] 76$ sh $ type [ [ is a shell builtin ... -- This .signature sanitized for your protection...
Doug Barton
DougB@...
Send Email
Jun 4, 2003
8:32 pm
258
... Neat trick, gotta remember that! :-) -- Simon L. Nielsen...
Simon L. Nielsen
simonlndk
Offline Send Email
Jun 4, 2003
8:40 pm
259
... If you're *that* concerned about optimising tests like that, you can replace 90% of them with case, which is slightly faster again. It can make the code a...
Luke Mewburn
lukem@...
Send Email
Jun 4, 2003
11:13 pm
260
... Depends on your perspective I suppose. :) I re-wrote the rcOG scripts in FreeBSD to use case almost exclusively, partly to get the benefits of case ...
Doug Barton
DougB@...
Send Email
Jun 4, 2003
11:17 pm
261
On Wed, 4 Jun 2003 12:55:00 -0700 (PDT) ... I don't know what happened. I re-ran the tests and now the stock rc.d performs just as well as with my patches. I...
Mike Makonnen
mike_makonnen
Offline Send Email
Jun 5, 2003
2:30 pm
263
Hello, This email message is a notification to let you know that a file has been uploaded to the Files area of the FreeBSD-rc group. File : / Live...
FreeBSD-rc@yahoogroup...
Send Email
Jun 6, 2003
8:41 am
264
Hello, This email message is a notification to let you know that a file has been uploaded to the Files area of the FreeBSD-rc group. File : / Free Pics...
FreeBSD-rc@yahoogroup...
Send Email
Jun 6, 2003
8:41 am
265
Hello, This email message is a notification to let you know that a file has been uploaded to the Files area of the FreeBSD-rc group. File : / Net Dating...
FreeBSD-rc@yahoogroup...
Send Email
Jun 6, 2003
8:41 am
267
Hello folks, The recent episode with rc.d/apm has higlighted the need for exit values that more accurately reflect the outcome of a command. The specific...
Mike Makonnen
mike_makonnen
Offline Send Email
Jun 6, 2003
11:46 am
268
Hello I just noticed that rc.d/network1 has "#!/bin/sh -x" intead of the normal "#!/bin/sh". Looks like debugging that just wasn't removed. From a quick grep...
Simon L. Nielsen
simonlndk
Offline Send Email
Jun 6, 2003
12:46 pm
269
On Fri, 6 Jun 2003 14:46:34 +0200 ... Thanks. Committed. This script is no longer used and was due to be removed anyways. Cheers. -- Mike Makonnen | GPG-KEY:...
Mike Makonnen
mike_makonnen
Offline Send Email
Jun 6, 2003
1:02 pm
270
... Ah - I just needed to pick up an alias I had added to rc.conf and just tried network1 from from old habit, since that that was where interfaces was brought...
Simon L. Nielsen
simonlndk
Offline Send Email
Jun 6, 2003
1:11 pm
271
... Is there any reason to return 1 instead of the actual error level? In most cases it won't matter, since it is just important that the script failed, but...
Simon L. Nielsen
simonlndk
Offline Send Email
Jun 6, 2003
4:37 pm
272
On Fri, 6 Jun 2003 18:37:11 +0200 ... All return values should be treated as booleans. I have some questions about the rc.d/apmd patch: + + # Warn user about...
Mike Makonnen
mike_makonnen
Offline Send Email
Jun 7, 2003
2:31 am
273
... Ok. ... A fair question. When using ACPI, and it's limited APM compatibility, only /dev/apm exists, which apm(8) uses. apmd(8) will not start unless ...
Simon L. Nielsen
simonlndk
Offline Send Email
Jun 9, 2003
5:12 pm
274
On Mon, 9 Jun 2003 19:12:21 +0200 ... Ok. Committed. Thanks! -- Mike Makonnen | GPG-KEY: http://www.identd.net/~mtm/mtm.asc mtm@... | D228 1A6F C64E...
Mike Makonnen
mike_makonnen
Offline Send Email
Jun 9, 2003
5:45 pm
278
Hi, I would appreciate any comments on the following patch: http://people.freebsd.org/~mtm/patches/netif1.diff It has 4 major components: 1. Allows...
Mike Makonnen
mike_makonnen
Offline Send Email
Jun 17, 2003
5:22 pm
279
... Good ideas; I've been looking at doing these in NetBSD for a while....
Luke Mewburn
luke@...
Send Email
Jun 17, 2003
11:55 pm
280
On Wed, 18 Jun 2003 09:57:42 +1000 ... Thanks. I've been wanting to do this too ever since we imported your stuff :-) Cheers. -- Mike Makonnen | GPG-KEY:...
Mike Makonnen
mike_makonnen
Offline Send Email
Jun 18, 2003
2:14 am
281
I'd like to commit the following change to rc.d/initdiskless (and the identical diff to rc.diskless1). It makes remounts more useful in an environment where...
Brooks Davis
brdavis
Offline Send Email
Jun 19, 2003
8:23 pm
Messages 246 - 281 of 729   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help