DaemonForums  

Go Back   DaemonForums > Miscellaneous > Off-Topic

Off-Topic Everything else.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 10th April 2011
nilsgecko's Avatar
nilsgecko nilsgecko is offline
Port Guard
 
Join Date: Apr 2011
Location: Chicago, USA
Posts: 45
Default FreeBSD/NetBSD compatibility?

Hello everyone, I'm new here but wanted to ask: Say I build a kernel in NetBSD or FreeBSD for example, and I omit compatibility for NetBSD/FreeBSD 1.X 2.X 3.X etc.,

Do any of the built-in utilities/commands/libraries depend on this compatibility or would I be safe in omitting this compatibility if I don't intend to run older versions of these operating systems with the current ones?
Reply With Quote
  #2   (View Single Post)  
Old 10th April 2011
Mr-Biscuit Mr-Biscuit is offline
Banned
 
Join Date: May 2008
Posts: 272
Default

The compat is not needed. You'll be safe.
Reply With Quote
  #3   (View Single Post)  
Old 10th April 2011
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Welcome!

This new discussion topic was separated from the original thread.

We find that most members extensively search these forums for information. As such, we attempt to keep threads limited to one topic -- as defined by the person originating the thread. Keeping discussion focused helps later readers piece together pertinent information.
Reply With Quote
  #4   (View Single Post)  
Old 10th April 2011
nilsgecko's Avatar
nilsgecko nilsgecko is offline
Port Guard
 
Join Date: Apr 2011
Location: Chicago, USA
Posts: 45
Default

Hello and thanks for the answer. I have heard some admins still run FreeBSD 4.X etc. even though an older release such as this might no longer be supported. I suppose the compatibility is for these people then. Regards
Reply With Quote
  #5   (View Single Post)  
Old 22nd April 2011
nilsgecko's Avatar
nilsgecko nilsgecko is offline
Port Guard
 
Join Date: Apr 2011
Location: Chicago, USA
Posts: 45
Default

Dear forum,

I found the appropriate manual page for NetBSD detailing the various compat options

Code:
man 4 options
Quote:
Compatibility Options

options COMPAT_09
Enable binary compatibility with NetBSD 0.9. This enables support for
16-bit user, group...getdomainname(3),
setdomainname(3), and uname(3) syscalls. This option also allows using
numeric file system identifiers rather than strings. Post NetBSD 0.9
versions use string identifiers.
...
etc...
options COMPAT_43
Enables compatibility with 4.3BSD. This adds an old syscall for
lseek(2)...support for some older pre
4.4BSD socket calls.
etc...

http://netbsd.gw.com/cgi-bin/man-cgi...s+4+NetBSD-5.1
Reply With Quote
  #6   (View Single Post)  
Old 22nd April 2011
nilsgecko's Avatar
nilsgecko nilsgecko is offline
Port Guard
 
Join Date: Apr 2011
Location: Chicago, USA
Posts: 45
Default

As far as FreeBSD, I have not been able to locate a manual page with similar documentation on the compat options other than just reading the kernel config file itself. If anyone knows please let me know. Regards
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
compatibility layers BSDfan666 OpenBSD General 7 6th April 2011 02:17 AM
Urtw driver compatibility question Alex_Dc OpenBSD General 14 13th February 2010 11:31 PM
Quality and Backwards Compatibility of GNU Tools ... vermaden Off-Topic 1 12th May 2009 08:25 PM
Encrypted disk compatibility issue TheLogicInverter FreeBSD Security 3 30th January 2009 02:59 PM
Bug-For-Bug Compatibility JMJ_coder General software and network 2 12th September 2008 07:03 AM


All times are GMT. The time now is 09:33 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick