LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 10-16-2016, 06:14 PM   #31
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,445
Blog Entries: 7

Rep: Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553

Quote:
Originally Posted by 273 View Post
I didn't realise there was much difference between the BSD and Linux structures, since Linux is largely designed as Unix-like. What are the differences?
Going from Linux to FreeBSD, these are two of the differences which I noticed immediately:

1. /usr/home is where the user directories are kept. If it exists, /home is a symlink to /usr/home.

2. All packages which aren't part of the base system are installed under /usr/local. This includes Xorg and your choice of DE.

Then there are other directories which exist under FreeBSD which aren't under Linux. Eg:

/compat (or /usr/compat) - files needed to support binary compatibility with other operating systems, such as Linux

/net - automounted NFS shares

/libexec - critical system utilities needed for binaries in /bin and /sbin

/rescue - statically linked programs for emergency recovery

And under Linux which aren't under FreeBSD:

/srv - contains site-specific data which is served by this system

/lost+found - created by ext* filesystems
 
Old 10-17-2016, 12:46 AM   #32
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by rkelsen View Post
Going from Linux to FreeBSD, these are two of the differences which I noticed immediately:

1. /usr/home is where the user directories are kept. If it exists, /home is a symlink to /usr/home.

2. All packages which aren't part of the base system are installed under /usr/local. This includes Xorg and your choice of DE.

Then there are other directories which exist under FreeBSD which aren't under Linux. Eg:

/compat (or /usr/compat) - files needed to support binary compatibility with other operating systems, such as Linux

/net - automounted NFS shares

/libexec - critical system utilities needed for binaries in /bin and /sbin

/rescue - statically linked programs for emergency recovery

And under Linux which aren't under FreeBSD:

/srv - contains site-specific data which is served by this system

/lost+found - created by ext* filesystems
Thanks, I've not spent much time with BSD so hadn't noticed the differences.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a hidden char following Linux directory names? wolfv Linux - General 16 07-27-2015 05:22 PM
[SOLVED] How to changing same file names by their directory names? bayaraa_u Linux - General 3 04-09-2010 08:26 AM
Need help to make all file- and directory names linux conform. madking75 Linux - Desktop 2 11-30-2006 10:48 AM
Getting file names in a directory using C on linux. rajsun Programming 4 06-10-2005 12:47 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 03:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration