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 l

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 : 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

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

2012-06-21 Thread Michael Ross
Am 21.06.2012, 12:56 Uhr, schrieb 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 requir

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

2012-06-21 Thread Chris Rees
On Jun 20, 2012 11:03 PM, "Wojciech Puchar" 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 latest sola

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 wrote: > > > On 06/17/12 19:43, Mike Meyer wrote: > > > Eric McCorkle wrote: > > >> The -m32 flag seems to be the culprit; removing it fixes the problem. > > >> This is why I was having

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. Unfortun

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 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 definitely doesn't mat

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 /usr/share/misc/

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 betwee

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 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 : > >>> - monitor running ser

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 : - monitor running services and restart them if they crash should not be done, or at least not default. http://www.freebsd.org/news/statu

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 http://lists.f

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

2012-06-21 Thread Chris Rees
On Jun 21, 2012 5:15 PM, "Jason Hellenthal" 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 would st

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 i

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" 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'

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 sp

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 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 couple of additions:

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. sam

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 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. > > already propo

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 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 to understand b

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 GUI.

(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 rece

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 wrote: > On Wed, May 30, 2012, Aldis Berjoza wrote: > > On Sat, 26 May 2012 22:45:37 +1200 > > Sam Lin wrote: > > > > > Hi FreeBSD fellows, > > > > > > Those who are using LaTeX on FreeBSD must know that tetex has been > > > discontinued years

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 FreeBSD

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

2012-06-21 Thread Peter Jeremy
On 2012-Jun-21 10:09:01 -0700, Doug Barton 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 through the t

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" f

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

2012-06-21 Thread Peter Jeremy
On 2012-Jun-21 00:17:11 +0200, Wojciech Puchar 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 handling. One obvious use for

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 fi

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 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) > > http://www.freebsd.org/news/status/report-2012-01-2012-03.html#FreeBSD-Servi

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

2012-06-21 Thread Wojciech Puchar
separate and optional program. that's acceptable, except i have no idea why this fscadm enable/disable. editing config is enough. I don't think I understand "i have no idea why this fscadm enable/disable. editing config is enough." and would ask you elaborate for me. Thanks, why adding solar

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

2012-06-21 Thread Chris Rees
On Jun 22, 2012 7:33 AM, "Wojciech Puchar" wrote: >>> >>> separate and optional program. >>> that's acceptable, except i have no idea why this fscadm enable/disable. >>> editing config is enough. >> >> >> I don't think I understand >> "i have no idea why this fscadm enable/disable. editing config