Tuesday, January 10, 2017

Re: [LINUX_Newbies] UNIX Compatibility Question

 

On Tue, Jan 10, 2017 at 06:07:36PM -0500, J dreadpiratejeff@gmail.com [LINUX_Newbies] wrote:
> On Tue, Jan 10, 2017 at 2:58 PM, Scott scottro@nyc.rr.com
> [LINUX_Newbies] <LINUX_Newbies@yahoogroups.com> wrote:
> >
> > The answer is that most things run on the BSDs, but not all, and they
> > frequently have to be somewhat re-written.
>
> More specifically, anything that runs via an interpreter should be ok
> in MOST cases (caveat emptor) such as Java, Python, etc.
>
> Things that directly make system calls directly should (again caveat
> emptor) work if they adhere to POSIX standards, and things that make
> non-POSIX system calls will need porting.
>
I am thinking more of various programs and drivers--for example, Linux is
way ahead of the BSDs in things like X--my 2 year old Haswell card on a
Yoga 2 will work with any Linux, but in FreeBSD, I have to use CURRENT,
then recompile the kernel with a special git repository.

Various things may simply not be written for the BSDs because of lack of
manpower, or interest There seems to be one person doing all of BSD
wireless, and cards will usually work in Linux before they will work in
FreeBSD.

As Jeff points out though, there are often bash-isms, that, while they'll
work in FreeBSD, may have to be rewritten--in Linux, /bin/sh is bash, while
in FreeBSD, it's a simpler sh program--to use bash in FreeBSD, you have to
install it as a third party program and any scripts using it would have to
use /usr/local/bin/bash, rather than that #!/bin/sh that would work in
Linux.

That being said, I use FreeBSD as my workstation at work, though for some
things, I have to use a Linux VM, e.g., the netextender program to connect
to a Sonicwall, or the plugin for firefox to open a console on a vCloud
director interface.

--
Scott Robbins
PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

__._,_.___

Posted by: Scott <scottro@nyc.rr.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (5)

Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.

To unsubscribe from this list, please email LINUX_Newbies-unsubscribe@yahoogroups.com & you will be removed.

.

__,_._,___

No comments:

Post a Comment