Re: Replacing rc(8) (Was: FreeBSD Boot Times)

2012-06-21 Thread Wojciech Puchar
All that's missing is a way to tell the RC system to use a different rc.conf file (like rc.conf.mobile, or rc.conf.wireless or rc.conf.whatever), and to run through the RC setup based on that file. ... and to be able to switch between two configurations at runtime, without taking down services

Re: Replacing rc(8) (Was: FreeBSD Boot Times)

2012-06-21 Thread Wojciech Puchar
Lets make a summary. What functionality would be good to have in FreeBSD that doesn't exist: 1) runlevels with arbitrary names. runlevel change would start and stop right services. 2) exploit startup parallelism. What we do not want to change: - file structure which is simple. one file in

Re: Replacing rc(8) (Was: FreeBSD Boot Times)

2012-06-21 Thread Wojciech Puchar
ifconfig_em0=inet ... ( default (or unknown) runlevel ) ifconfig_em0_foolevel=inet ... ( foolevel runlevel ) ifconfig_em0_maintenance=inet ... ( maintanence runlevel ) too ? well - possible BUT... but well. this will not require only changing launcher script for rc.d/* things but

Re: Replacing rc(8) (Was: FreeBSD Boot Times)

2012-06-21 Thread Michael Ross
Am 21.06.2012, 12:22 Uhr, schrieb Wojciech Puchar woj...@wojtek.tensor.gdynia.pl: Lets make a summary. What functionality would be good to have in FreeBSD that doesn't exist: 1) runlevels with arbitrary names. runlevel change would start and stop right services. 2) exploit startup

Re: Replacing rc(8) (Was: FreeBSD Boot Times)

2012-06-21 Thread Michael Ross
Am 21.06.2012, 12:56 Uhr, schrieb Wojciech Puchar woj...@wojtek.tensor.gdynia.pl: ifconfig_em0=inet ... ( default (or unknown) runlevel ) ifconfig_em0_foolevel=inet ... ( foolevel runlevel ) ifconfig_em0_maintenance=inet ... ( maintanence runlevel ) too ? well - possible BUT... but

Re: Replacing rc(8) (Was: FreeBSD Boot Times)

2012-06-21 Thread Chris Rees
On Jun 20, 2012 11:03 PM, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: scripts, i deleted most of it and put startup sequence in single file. It was plain horror. You would weep if you saw Solaris's SMF, then. Everything is i don't really know what i've seen. i've installed

Re: EFI development tools

2012-06-21 Thread John Baldwin
On Monday, June 18, 2012 4:46:32 pm Mike Meyer wrote: On Mon, 18 Jun 2012 13:42:27 -0500 Nathan Whitehorn nwhiteh...@freebsd.org wrote: On 06/17/12 19:43, Mike Meyer wrote: Eric McCorklee...@shadowsun.net wrote: The -m32 flag seems to be the culprit; removing it fixes the problem.

Re: Fast syscalls via sysenter

2012-06-21 Thread John Baldwin
On Monday, June 18, 2012 2:56:30 pm Daniil Cherednik wrote: Hi! I am trying to continue the work started by DavidXu on implemention of fast syscalls via sysenter/sysexit. http://people.freebsd.org/~davidxu/sysenter/kernel/ I have ported it on FreeBSD9. It looks like it works. Unfortunately

Re: newbus / snd_hdspe(4) trouble

2012-06-21 Thread John Baldwin
On Wednesday, June 20, 2012 4:44:41 pm Ruslan Bukin wrote: Hi. I have the problem with different behavior of snd_hdspe(4) sound card driver initialization. If I load the driver by hand using kldload everything works fine, but in case of loading driver at boot time (loader.conf) or

Re: Replacing rc(8) (Was: FreeBSD Boot Times)

2012-06-21 Thread Peter Jeremy
On 2012-Jun-18 19:18:57 -0400, Brandon Falk bfalk_...@brandonfa.lk wrote: As the original poster of this thread, I can also say that Doug is correct. The issue is not rc, it is the actual kernel boot process. I've videoed my netbook rebooting and gone through the video in slow motion and that

libmagic issue

2012-06-21 Thread Yaşar İslam
Hi all, I m using libmagic for my application on FreeBSD. I have some problems. libmagic doenst  return properly mimetype of file. For example : system is FreeBSD 8.2-RELEASE . file --mime-type example.7z   application/octet-stream file example.7z  7-zip archive data, version 0.3  

Re: libmagic issue

2012-06-21 Thread Wojciech Puchar
file --mime-type example.7z     application/x-7z-compressed file example.7z   7-zip archive data, version 0.3 why does not  FreeBSD behave like linux you answered it yourself just below. and if i need to update magic.mgc , how can i do that ? i need the edit/update

Re: MAGIC with HP KVM - someone will help?

2012-06-21 Thread Wojciech Puchar
no ideas? On Wed, 20 Jun 2012, Wojciech Puchar wrote: i am not sure if it is related at all to FreeBSD, but maybe someone here know the solution. Anyway it is somewhat FreeBSD related for sure as you will see from description. I bought used IP 16 port KVM connected to few servers, in

Re: Replacing rc(8) (Was: FreeBSD Boot Times)

2012-06-21 Thread Tom Rhodes
On Thu, 21 Jun 2012 17:10:06 +0200 Daniel Gerzo dan...@rulez.sk wrote: Hello, Just picking a random message related to this issue. Maybe Tom might update us a bit with the status of his project ;-) Oh, put me on the spot, thanks Daniel! :) Citát Wojciech Puchar

Re: Replacing rc(8) (Was: FreeBSD Boot Times)

2012-06-21 Thread Daniel Gerzo
Hello, Just picking a random message related to this issue. Maybe Tom might update us a bit with the status of his project ;-) Citát Wojciech Puchar woj...@wojtek.tensor.gdynia.pl: - monitor running services and restart them if they crash should not be done, or at least not default.

Re: Replacing rc(8) (Was: FreeBSD Boot Times)

2012-06-21 Thread Jason Hellenthal
On Thu, Jun 21, 2012 at 12:22:08PM +0200, Wojciech Puchar wrote: Lets make a summary. What functionality would be good to have in FreeBSD that doesn't exist: 1) runlevels with arbitrary names. runlevel change would start and stop right services. 2) exploit startup parallelism.

Re: Replacing rc(8) (Was: FreeBSD Boot Times)

2012-06-21 Thread Wojciech Puchar
Try something like the following... service_runlevels=1 2 3 4 5 And provide a way to say... Well - i agree with you. just invent a syntax to define service runlevels as all except ___ freebsd-hackers@freebsd.org mailing list

Re: Replacing rc(8) (Was: FreeBSD Boot Times)

2012-06-21 Thread Chris Rees
On Jun 21, 2012 5:15 PM, Jason Hellenthal jhellent...@dataix.net wrote: On Thu, Jun 21, 2012 at 12:22:08PM +0200, Wojciech Puchar wrote: Lets make a summary. What functionality would be good to have in FreeBSD that doesn't exist: 1) runlevels with arbitrary names. runlevel change

Re: Replacing rc(8) (Was: FreeBSD Boot Times)

2012-06-21 Thread Wojciech Puchar
should not be done, or at least not default. http://www.freebsd.org/news/status/report-2010-10-2010-12.html#FreeBSD-Services-Control-(fsc) http://www.freebsd.org/news/status/report-2012-01-2012-03.html#FreeBSD-Services-Control separate and optional program. that's acceptable, except i have no

Re: Replacing rc(8) (Was: FreeBSD Boot Times)

2012-06-21 Thread Jason Hellenthal
On Thu, Jun 21, 2012 at 05:19:27PM +0100, Chris Rees wrote: On Jun 21, 2012 5:15 PM, Jason Hellenthal jhellent...@dataix.net wrote: On Thu, Jun 21, 2012 at 12:22:08PM +0200, Wojciech Puchar wrote: Lets make a summary. What functionality would be good to have in FreeBSD that

Re: Replacing rc(8) (Was: FreeBSD Boot Times)

2012-06-21 Thread Doug Barton
On 06/21/2012 05:28 AM, Peter Jeremy wrote: 32.0s - rc scripts (mounting root through VTY login prompt) I think that there is some confusion about what I wrote originally, so let me clarify. From the time that /etc/rc starts through the time that the prompt appears almost all of the time is

Re: Replacing rc(8) (Was: FreeBSD Boot Times)

2012-06-21 Thread Mike Meyer
On Thu, 21 Jun 2012 12:22:08 +0200 (CEST) Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: Lets make a summary. What functionality would be good to have in FreeBSD that doesn't exist: 1) runlevels with arbitrary names. runlevel change would start and stop right services. With a

Re: Replacing rc(8) (Was: FreeBSD Boot Times)

2012-06-21 Thread Wojciech Puchar
1) runlevels with arbitrary names. runlevel change would start and stop right services. With a couple of additions: - it should be easy to see which services are on at a given runlevel. already proposed in rc.conf - it should be easy to see which runlevels a service is on at.

Re: Replacing rc(8) (Was: FreeBSD Boot Times)

2012-06-21 Thread Mike Meyer
On Thu, 21 Jun 2012 20:01:41 +0200 (CEST) Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: 1) runlevels with arbitrary names. runlevel change would start and stop right services. With a couple of additions: - it should be easy to see which services are on at a given runlevel.

Re: Replacing rc(8) (Was: FreeBSD Boot Times)

2012-06-21 Thread Wojciech Puchar
z my point is that if you put new startup system in place of old, nothing will change with your existing rc.conf! Also true in the counter proposal. so i miss something about the counterproposal. please point me out ___ freebsd-hackers@freebsd.org

Re: Replacing rc(8) (Was: FreeBSD Boot Times)

2012-06-21 Thread David Brodbeck
On Thu, Jun 21, 2012 at 5:13 AM, Chris Rees utis...@gmail.com wrote: Your arrogance is astounding. Did you read man hier? Unfamiliarity does not make it incomprehensible. There's more going on than just unfamiliarity. Earlier versions were unfamiliar to someone used to Linux or BSD, but easy

Re: Replacing rc(8) (Was: FreeBSD Boot Times)

2012-06-21 Thread Wojciech Puchar
manage if you're doing something pre-configured (like starting/stopping an existing service), but if you want to do something custom you have to do a *lot* of digging to figure out how to make it work. Some of the new stuff (like NWAM network configuration) is not even configurable without a

(no subject)

2012-06-21 Thread Dieter BSD
user.vdr writes: Recording doesn't require any compression unless you are transcoding in real-time. There's no difference between recording ATSC, NTSC, PAL, etc, and it's actually irrelevant what the stream is. This is incorrect. ATSC is compressed before broadcast, so you receive the data

Re: TeXLive merge into FreeBSD ports tree - FreeBSD project idea

2012-06-21 Thread Christopher J. Ruwe
On Sun, 17 Jun 2012 02:01:35 -0400 David Schultz d...@freebsd.org wrote: On Wed, May 30, 2012, Aldis Berjoza wrote: On Sat, 26 May 2012 22:45:37 +1200 Sam Lin sam.lin...@gmail.com wrote: Hi FreeBSD fellows, Those who are using LaTeX on FreeBSD must know that tetex has been

Re: TeXLive merge into FreeBSD ports tree - FreeBSD project idea

2012-06-21 Thread Matthew Seaman
On 21/06/2012 21:41, Christopher J. Ruwe wrote: In portage, there is a knob package_provided meaning that the package referenced as being provided is installed externally and that portage does not need to resolve said dependancy, as it is already there. I do not know of a similar

Re: Replacing rc(8) (Was: FreeBSD Boot Times)

2012-06-21 Thread Peter Jeremy
On 2012-Jun-21 10:09:01 -0700, Doug Barton do...@freebsd.org wrote: On 06/21/2012 05:28 AM, Peter Jeremy wrote: 32.0s - rc scripts (mounting root through VTY login prompt) I think that there is some confusion about what I wrote originally, so let me clarify. From the time that /etc/rc starts

Re: Replacing rc(8) (Was: FreeBSD Boot Times)

2012-06-21 Thread Atte Peltomäki
On Wed, Jun 20, 2012 at 02:42:49PM -0700, Freddie Cash wrote: There's no need to do a wholesale replacement of the RC system in FreeBSD to support this concept. What you are describing are service profiles. And we already have a single file that describes the default service profile for

Re: Replacing rc(8) (Was: FreeBSD Boot Times)

2012-06-21 Thread Peter Jeremy
On 2012-Jun-21 00:17:11 +0200, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: - Lack of dependency handling for manual start/stop which is not really a problem and often an adventage. In your opinion. IMO, runlevels are a mostly a work-around to hide the lack of proper dependency

Re: Replacing rc(8) (Was: FreeBSD Boot Times)

2012-06-21 Thread Richard Yao
On 06/21/2012 06:49 PM, Atte Peltomäki wrote: On Wed, Jun 20, 2012 at 02:42:49PM -0700, Freddie Cash wrote: There's no need to do a wholesale replacement of the RC system in FreeBSD to support this concept. What you are describing are service profiles. And we already have a single file that

Re: Replacing rc(8) (Was: FreeBSD Boot Times)

2012-06-21 Thread Tom Rhodes
On Thu, 21 Jun 2012 18:20:44 +0200 (CEST) Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: should not be done, or at least not default. http://www.freebsd.org/news/status/report-2010-10-2010-12.html#FreeBSD-Services-Control-(fsc)