Review of the BSD part of MacOS X Beta 150
gbooker writes " Deamon News has an interesting article about the BSD core of MacOS X Beta. They talk about how it differs from the traditional MacOS AND how it differs from BSD. This is the first installment of what could be an interesting series."
A quick summery (Score:1)
*sigh* Mac OS X != regular BSD (Score:2)
Reboot? (Score:2)
Mac vs. ix86 (Score:1)
NetInfo is nothing new, do homework (Score:5)
Try this link for some pointers and URLs:
http://204.214.75.123/next/index.html
Re:Go OSX !!!!! (Score:1)
Couple of points on netinfo... (Score:3)
Profound misunderstanding here. Netinfo only holds the information. re-HUP of netinfo make as much sense as saying re-HUP
The reason why a reboot is required is that the various configuration are made at boot time, based on info extracted from the netinfo database. He probably could skip the reboot by relaunching the correct scripts.
The best thing about netinfo is that it is hierarchical, ie: that you can have network-level configuration on a 'master server', whith every little bit customised in your local net-info database.
There exist a port of netinfo for linux. Lost the pointer, but I may dig it up if needed...
Cheers,
--fred
So, (Score:1)
Mac OS X is updated OpenStep (Score:1)
MIRROR of link (Score:1)
http://www.beyondboxes.com/next/
Will this catch on in the web hosting community? (Score:2)
Nate
Re:So, (Score:1)
good site of links for NeXT NetInfo, etc info (Score:1)
Follow the links, learn about NeXT's NeXTstep and OpenStep. See where your Windowmaker/AfterStep/GNUstep are modeled after. See what Apple's Mac OS X is based on. See what NetInfo is all about.
Re:Character. It's about character. (Score:1)
Re:Reboot? (Score:1)
He was totally drunk at this part. He probably wrote this from memory. For instance, he said that he booted 'text mode' by using the 'v' key. Error, the 'v' key is for verbose. What he called 'text mode' was probably the 's' key, which is *single*user*.
In single user-mode, the system just boots and drops you to a shell. netinfgo is not even started.
Full booting without the GUI is not possible out of the box. Either you boot single user, and about nothing is configured (as expected), or you boot verbose, but end up in the GUI (from which you can go text mode by using '>console' as a user name).
To get rid of all the gui, you had to change
Cheers,
--fred
Re:Character. It's about character. (Score:1)
So some politician decided to Have A Life before entering politics - big deal!
Re:Character. It's about character. (Score:1)
Re:Will this catch on in the web hosting community (Score:1)
why not just put ppc linux on the mac hardware and use whats already out there for linux: apache/php/postgresql/etc?
john
Send feedback to Apple... (Score:1)
Re:Character. It's about character. (Score:1)
Re:So, (Score:1)
low blows getting tiring (Score:3)
Come on, do we really need to take cheap shots like this? If you ask me, any "server admin with a fully-functional brain stem" would use the tool that best fits the job, even if that means (gasp) NT. Like it or not, Windows is better for some things. Personally I prefer UNIX systems, but that doesn't mean it should be my way or the highway (perhaps the corniest cliche ever uttered).
Is it just me who's tired of the "My OS can beat up your OS" wars?
Re:NetInfo (Score:1)
Who's Mac? Some guy that works for Apple?
But seriously, NetInfo is over 10 years old and was created by NeXT for their NeXTstep operating system (later renamed OpenStep after some major changes). Mac OS X is based on OpenStep.
Re:Mac vs. ix86 (Score:2)
With all due respect, but this not indicate to speed of the Mac, but the fact that you did not "Tweak" Windows correctly. When I boot up my Celeron 450 with 64 MB Ram, WinMe takes less time to load than the Bios. The next time your Winblowz install slows to a crawl, you might want to take a look in
HKEY_LOCAL MACHINE\Software\Microsoft\Windows\Current Version\Run
All the crap in there is ran automatically at bootup, also all the crap you thought is uninstalled.
Iminent Demise of Linux Predicted? (Score:3)
Hmmm.. So Mac OSX = BSD + Nice GUI. And the article reveals that (modulo freely available dev tools) it's a full BSD port.
So... I can use Linux/BSD + XFree + KDE/Gnome and play the Catchup-with-continuous-development game, or I can get a nice shiny easy to use Mac, get the benefit of (theoretically) 15 yrs worth of legacy Apps, *and* the cutting-edge of Open software fresh from the labs.
Is this is future of UNIX-for-the-masses?
OT: AOLserver for Mac OS X Public Beta (Score:2)
Jobs does use x86 laptops... but not Windows (Score:2)
Re:low blows getting tiring (Score:1)
Gfunk
--Gfunk
yes and no (Score:1)
---
>80 column hard wrapped e-mail is not a sign of intelligent
1988 all over again (Score:1)
It's better than FreeBSD (Score:1)
---
>80 column hard wrapped e-mail is not a sign of intelligent
Re:Annoying post v1.11 (Score:1)
After looking at a self-proclaimed 'Pro' compiling and using GIMP I'm convinced it's the most expensive piece of graphics software ever created given that time is money.
---
>80 column hard wrapped e-mail is not a sign of intelligent
been happy thus far (Score:2)
Re:So, (Score:1)
Re:Couple of points on netinfo... (Score:2)
And there's a script ("Build your own location manager" or somesuch) that does exactly this on MacOSRumors.com.
Apple is evil! (Score:5)
Thimo
--
Mac OS X = commercial (a good thing) (Score:1)
#1 Problem with NetInfo (Score:2)
---
>80 column hard wrapped e-mail is not a sign of intelligent
Script URL (Score:1)
http://macosrumors.com/?view=recent
1U Macs? Maybe if Jobs hadn't killed the clones (Score:2)
Note that Apple tried to venture into the enterprise market a few years back with some "larger" servers, but this effort was a total failure.
Re:Character. It's about character. (Score:1)
Re:Reboot? (Score:5)
not long ago, a well known rumour site showed a script that was sent to them to restart the network services without having to erboot your machine after such reconfiguration:
case `whoami` in
root)
*)
echo "Not Administrator (root). You need to be in order to restart the network."
return
esac
echo "Restarting the network, network will be unavailable."
kill `ps aux | grep ipconfigd | grep -v grep | awk '{print $2}'`
echo " - Killed 'ipconfigd'."
ipconfigd
echo " - Started 'ipconfigd' right back up."
sleep 1
ipconfig waitall
echo " - Ran 'ipconfig waitall' to re-configure for new settings."
sleep 1
kill -HUP `cat
echo " - Killed 'nibindd' with a HUP (hang up)."
sleep 2
kill -HUP `cat
echo " - Killed 'lookupd' with a HUP (hang up)."
echo "The network has successfully been restarted and/or re-configured and is now available. "
Karma karma karma karma karmeleon: it comes and goes, it comes and goes.
tcsh? I wish they used ksh or bash. (Score:1)
Really, there's no excuse for not using ksh93 on any system anymore; ATT has released it open-source, and it is hundreds of times more powerful than anything else.
This whole dtksh/cde thing, where most commercial vendors install both ksh88 and ksh93, is total brain-damage. But I guess you expect this from commercial UNIX.
I love to ramble...
NetInfo: Genius? No. (Score:3)
excerpt from article:
"The genius of NetInfo is that it provides a uniform way of accessing and manipulating all system and network configuration information."
Maybe I'm missing something, but I fail to see any ingenuity here. Granted, these guys are good enough to admit they aren't hard-core, old-school sysadmins, but still... NIS/NIS+ have been answering this question for years now. Despite any failings you might cite about yp, netinfo hardly seems like an improvement.
The nsswitch mechanism, present on almost every unix these days, allows you to map {passwd, shadow, group, hosts, services, mail aliases, etc.} against {dns, local files, nis, etc} transparently as you see fit. If your system doesn't support host or password lookups against an LDAP database (as glibc-2.1 now does), there's a good chance you can build a module...
OK, having a central, common, consistent facility for everything sounds "nice", right? This flies in the face of the unix-credo: "Every tool should do one thing well". When confronted with a scredriver and pliers, do you complain: "You mean this one works by turning and that one works by squeezing?" No. This, to me, is akin to complaining about having multiple formats for '/etc/passwd' and dns zone files.
When I read about doing name-service (esp. passwd) stuff from files in single user mode and via some external service during multiuser mode, I almost choked. Local files aren't consulted when you're connected to a remote netinfo server? (Unix answers the question with the '/etc/nsswitch.conf' entry hosts: files nis or similar.) This essentially means that some external machine can tell you who root, wheel, localhost and shutdown are. I don't know if this is a horrible oversight, a design flaw, or some kludge to avoid implementing a real nsswitch. This is not a feature, its a bug. It begs questions about what other kludges will be used to patch it up.
It sounds to me like Apple has re-invented the wheel, and in fine tradtion, decided to make it different for the sake of being different.
I'll stick with my round wheels, thank you.
void rbowles(int signature)
{
signal(signature, rbowles);
raise(signature);
Apple and servers (Score:2)
As for a clone server, "Apple is a hardware company" and any sort of licensing would end up costing both parties more than it would be worth. Buuuutttt... why couldn't Apple make an ATX PowerMac G4 board based on the UMA1 or UMA2 chipset? They could sell it at a price where they would be making money but low enough to make it worthwhile for end-users and VARs to customize. Sun does it.
Send feedback to Apple (Score:1)
oops. (Was: Re:NetInfo: Genius? No.) (Score:1)
Looking back at my comment, I noticed that my "subject line" looks a bit like flame-bait.
Sorry, this was unintentional.
void rbowles(int signature)
{
signal(signature, rbowles);
raise(signature);
Install your own (Score:1)
Re:NetInfo: Genius? No. (Score:2)
I tend to agree, NetInfo is the worst thing to come along to distributed machine management since...well NetInfo. I used to admin a NeXTStep network and if NetInfo crashes and takes the database along with it, its next to near unrecoverable without a backup, and even then its a pain in the arse.
NeXT had alot of cool things, DPS rocked, and I *loved* the interface (so much that I use windowmaker now on my BSD boxen) but NetInfo is the biggest mistake they are making with MacOS X.
Yay! Apple. Come out with a cool product and make it near impossible to use.
NeXT carved those square wheels about 12 years ago (Score:1)
Re:Iminent Demise of Linux Predicted? (Score:1)
Re:wow, that really... (Score:1)
Re:Character. It's about character. (Score:1)
Re:NetInfo is nothing new, do homework (Score:2)
In a nutshell:
NetInfo is a hierarchical distributed database that is used to keep track of administrative data. . . . It can store information on user and group accounts, e-mail configurations, NFS (network filesystem), printers, computers and other resources. Since this information is stored in NetInfo these resources are easily configurable, and can easily be shared over in a network environment.
What is NetInfo [apple.com]
Intro to NetInfo domains [apple.com]
Apple's Tech Info Library [apple.com] type "NetInfo" into the search box for lots of good info.
PS: most of these links havn't been updated to include references to Mac OS X Public Beta, but the content is basicaly valid for Public Beta and the final release (I assume).
-POIU
---
Re:NetInfo is nothing new, do homework (Score:1)
Re:NetInfo (Score:1)
-----
"People who bite the hand that feeds them usually lick the boot that kicks them"
Re:Mac vs. ix86 (Score:1)
Also, while windows' process management leaves a lot to be desired, the MacOS, until OS X, has been even worse. But this may actually be a good thing because Windows systems are generally overloaded with background tasks, which Macs don't tend to be.
That's my view. I could be wrong.
Re:#1 Problem with NetInfo (Score:1)
-c-
Re:Character. It's about character. (Score:1)
BUT!
It's relevant to deciding your vote on the fact that the Reagan-Bush (George the father) administration played footsie with Iran and sent them some amounts of small conventional arms (no tanks, no F-16s, etc).
Get a different drug supplier. Whatever he's selling you, it's rotting your brain.
DB
Applications, not OSes, drive IT (Score:1)
<p>The art is guiding and convincing otherwise.</p>
Re:Iminent Demise of Linux Predicted? (Score:1)
In order to be a viable OS for the masses, a system needs to support a certain level of gaming. It'll be at least a couple of years before we start seeing leading-edge games released for OS X. If/When that happens, I'll revise my opinion. But I think it's at least a few years away.
The preceding could be wrong, though.
Re:THAT DUDE IS UGLY! (Score:1)
Um, he said that. (Score:3)
Not to be too sharply critical of your criticism, but the article says "It's interesting to note that, as befits the NeXT heritage of NetInfo, many of the NetInfo-related man pages are dated 1989." And the article contains a link to Apple's tech note on NetInfo.
Please, do read the student's writing completely before criticizing him for not doing his homework. :)
Re:NetInfo: Genius? No. (Score:2)
It sounds to me like Apple has re-invented the wheel, and in fine tradtion, decided to make it different for the sake of being different.
I guess so, literally:
From the article...
I noticed something that, again, I did not expect. The wheel group listed in
Re:NetInfo (Score:1)
OpenStep was NeXT computer's operating system. It was the 4.x version of their previous OS called NeXTSTEP, revamped with an API change that was open.
This "open" API was actually an open specs, but not an open source implementation; implementation was up to the licensee of this open API specs. This API specs was called OPENSTEP. The case sentitiveness is important.
Karma karma karma karma karmeleon: it comes and goes, it comes and goes.
also java (Score:1)
What's so bizarre about that? (Score:3)
Um.. maybe it's so that the user can enable the functionality if they want it, without having to recompile the kernel? It seems very reasonable to me that MacOS X's target market will be people who might want things like firewalls, but also might not want to get too dirty. Enabling stuff in the kernel and then shipping it with config files that don't use those features by default, seems like the Right Thing to do if you want easy configurability.
---
iMacs start at $800 new (Score:1)
MOSX & The Hurd: Rise of the Microkernels (Score:1)
Re:NetInfo is nothing new, do homework (Score:1)
Anyway, I'd love to see an O'Reilly book - Essential MacOS X System Administration - with a nicely drawn dogcow on the cover.
DOS (Score:2)
Re:It's better than FreeBSD (Score:1)
Not only nothing new... (Score:1)
This shows a complete lack of any serious unix experience, since most of the major vendors have some way of accomplishing this. Sun's been doing with with NIS for around the same amount of time as NetInfo has been around.
Perhaps BSD has ignored NIS, but Linux certainly hasn't.
Here's what I think of OS X (Score:2)
Well, we can all be sure of one thing; OS X will have a much better memory management structure than OS9, but it'll crash a whole lot more than BSD. Which, in the end, will mean diddly-squat when it comes to actually running programs.
Remember, this is about the workstation version of OS X, not the server version. Therefore, the focus is to be on overall stability and performance in foreground applications, not background processes (ftpd and the like). Bottom line: if OS X crashes while running Photoshop or Final Cut Pro, it will be a laughable failure for Apple and their workstation OS.
Re:#1 Problem with NetInfo (Score:1)
That's simply not true. .
I'm a regular user, now I do nidump passwd
here it is:
root:.B8/f33yykFgk:0:0::0:0:System Administrator:/var/root:/bin/tcsh
(removed the rest)
Re:Apple and servers (Score:2)
Even if people did not use them as servers, there's quite a few 'core market' Mac users doing video and sound that have to go to third parties for RAID parts and expansion chassises. These folks are practically begging Apple to take their money.
Re:So, (Score:1)
Maybe if Apple ports OSX to CHRP/POP (Score:1)
Apple lacks the Enterprise level server hardware, since OSX is limited to Apple Mac hardware and Apple isn't going to have a 64 processor Mac Server any time soon, Apple better port OSX to other platforms or at least the PowerPC CHRP/POP platform.
Re:iMacs start at $800 new (Score:1)
Re:Iminent Demise of Linux Predicted? (Score:2)
And NO, BSD is not "free software" in the sense which you
mean "free", which is most definitely going to
be RMS's "free". Of course, you gave that no thought,
and probably parrot some other guy (RMS) because his prattle
sounds cool. There's nothing wrong with RMS's
philosophy (who doesn't like the GPL?) it's just
the amount of idiots following him...
Second, it makes no economic sense to make the GUI
"truly free" as you say. Not that you actually have a fuckin' clue what "truly free" actually _means_... but it sounds k3w|, r1g|-|7.....? (www.gnu.org/philosophy/bsd.html).
Best of both worlds (Score:2)
Granted, newbies aren't going to be out there compiling new apps right and left, but we experienced users can...and then post the binaries, or write small installers, and then...osx==gnu/mac hybrid.
that's my plan for my next box!
Re:So, (Score:1)
Re:Maybe if Apple ports OSX to CHRP/POP (Score:1)
Darwin don't need any particular firmware to boot
(besides Open Firmware, I suppose).
Classic Mac OS relies on a section of firmware
tagged Apple_ROM IIRC. OS X and Darwin don't
access or need to access that.
Second, the CHRP spec is sorta old. It'd need
revision (AGP and USB need inclusion, ISA needs to be shot in the head etc
Re:A quick summery (Score:1)
Re:Character. It's about character. (Score:1)
Re:Apple is evil! (Score:1)
There's a reason they picked the apple for their logo, you know. Remember Eve in Eden?
Re:Reboot? (Score:3)
Apple have said that the necessity of rebooting after changing network settings is a bug, which will be fixed in the final release. The previously posted shell script shows that it's easy to fix, so we can be pretty certain it will be done.
The current MacOS, unlike Windows 9x, does not require a restart after changing your IP address, for example. If this suddenly became the case in Apple's new, improved MacOS, it would be a little embarrassing, to say the least.
Re:So, (Score:1)
Re:The Athlon on Win98 is your entire problem (Score:1)
In short, ditch the imposter CPU and get 100% i686.
Re:Will this catch on in the web hosting community (Score:2)
Apple's current G4 motherboards are all dual-processor capable, and the G4's also include Gigabit ethernet now, and thier older motherboards (Beige G3) also included integrated video.
Re:Will this catch on in the web hosting community (Score:1) by um... Lucas (lk@caralis.com) on Friday November 03, @09:33AM PDT (#176) (User #13147 Info) http://www.dioxidized.com/ Not until Apple ships a dual capable mobo with integrated 100 bit or 1000 bit ethernet and integrated video, so that either they or someone else can slap them into 1U enclosures. Because right now, you can fit 13 or 14 cobalt raq's into the space required by 3 or 4 G4's. So it's not really a winning proposition that way. At some point a while back, some outfit was shipping 1U enclosures for iMac motherboards,
I believe that outfit was Marathon Computers [marathoncomputer.com]. They also will mount your B&W G3/G4 into a 4U rack (that's still pretty big).
Re:NetInfo: Genius? No. (Score:3)
As for the question of where things are looked up, of course local info is consulted before a remote query is made. Why don't people do their homework before posting?
Cruft (Score:2)
Also, having used a message-passing kernel, they don't seem to be doing much with it. I would have expected heavy use of IPC. But then, Apple killed OpenDoc, which was the only thing they made that really needed IPC.
Re:Reboot? (Score:2)
If you make changes to network settings from the GUI, it asks you to reboot, but if you make the changes from the command line, it works fine without rebooting.
I use my Ibook at home and at work. At home, it uses en1 (airport) at at work I use en0 (ethernet).
I just run a script that uses ifconfig and route to shut down the interface I'm not using, and to reconfigure the one I am. Works like a charm, and I've never had to reboot.
--
mach 2.5? are you sure? (Score:2)
all the marketing guff I've found proudly proclaims the use of Mach 3.0 and Bsd 4.4...
I was pretty sure that the last openstep (4.2) relied upon mach 2.5.
A host is a host from coast to coast, but no one uses a host that's close
Re:Other Win2K advantages (Score:2)
I remembered this one after using my mom's Win95 machine and having media player crash on me: In Win2K, a program which uses MMSYSTEM that ends up crashing will not kill the sound. Instead, MMSYSTEM is restarted instantly. Also, you can run MULTIPLE INSTANCES of MMSYSTEM (i.e.: run Winamp, RealPlayer, Media Player, and Cool Edit all at once!). DirectSound is still first come, first served, but that's how it was meant to be.
DOS box log! You're not trapped in 80x25 anymore; there's now a buffer in each DOS box, and you can scroll up to previous lines (excellent for doing that >200 line tracert!)
The most stable Direct3D support. Great for 3DSMAX, Unreal Tournament, The Sims, and other D3D programs.
All calls to OPENGL32.DLL are redirected to the hardware accelerator (unless the software RGB emulator is specified). This includes the OpenGL screensavers, which run MUCH faster due to this.
Integrating IE into the operating system isn't all that bad. You can just type a URL into the path, and that Windows Explorer window turns into an IE window. This is one great timesaver.
File system advances: FAT32 support (though you can't format a volume larger than 32GB as FAT32, since NTFS is more efficient at that point), disk quotas, and per-file encryption.
By default, upon a STOP error (blue screen of death), only the first 640K of RAM is dumped, and the system is automatically restarted (not like NT4, where all RAM was dumped and the system would stay at the BSOD until the user restarted). This can be changed to your liking, but 2000 usually only goes to the BSOD when running corrupt programs.
Re:Other Win2K advantages (Score:2)
HOW do you change this? I think I have a corrupt video driver on my laptop which causes these crashes, but the damned thing keeps rebooting before I can get to the pause key
Re:MOSX & The Hurd: Rise of the Microkernels (Score:2)
Re:dreamcast. (Score:2)
Re:DOS (Score:2)
Keeping DOS away from the typical user was probably Microsofts second biggest affront to its users.
Re:dreamcast. (Score:2)
As for fast OpenGL, who said anything about games? I'm talking OpenGL 3D development.