PC-BSD® for Linux Users/9.2

From PC-BSD Wiki
Revision as of 22:14, 25 February 2013 by Tigersharke (Talk | contribs)

Jump to: navigation, search

(Sorry for the inconvenience)

PC-BSD® is based on BSD Unix[1], meaning that it is not a Linux distribution. If you have used Linux before, you will find that some features that you are used to have different names on a BSD system and that some commands are different. This section covers some of these differences.

Contents

Filesystems

BSD and Linux use different filesystems during installation. Many Linux distros use EXT2, EXT3, EXT4, or ReiserFS, while PC-BSD® uses UFS or ZFS. This means that if you wish to dual-boot with Linux or access data on an external drive that has been formatted with another filesystem, you will want to do a bit of research first to see if the data will be accessible to both operating systems.

Table 1.4a summarizes the various filesystems commonly used by desktop systems. Most of the desktop managers available from PC-BSD® should automatically mount the following filesystems: FAT16, FAT32, EXT2, EXT3 (without journaling), EXT4 (read-only), NTFS5, NTFS6, and XFS. See the section on Files and File Sharing for more information about available file manager utilities.


Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates.
Table 1.41.4a: Filesystem Support on PC-BSD® [Tables 1] Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates.

Device Names

Linux and BSD use different naming conventions for devices. For example:

  • in Linux, Ethernet interfaces begin with eth; in BSD, interface names indicate the name of the driver. For example, an Ethernet interface may be listed as re0, indicating that it uses the Realtek re driver. The advantage of this convention is that you can read the man 4 page for the driver (e.g. type man 4 re) to see which models and features are provided by that driver.
  • BSD disk names differ from Linux. IDE drives begin with ad and SCSI and USB drives begin with da.

Feature Names

Some of the features used by BSD have similar counterparts to Linux, but the name of the feature is different. Table 1.4b provides some common examples:


Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates.
Table 1.41.4b: Names for BSD and Linux Features [Tables 2] Please use alternative templates. Please use alternative templates. Please use alternative templates.

Commands

If you are comfortable with the command line, you may find that some of the commands that you are used to have different names on BSD. Table 1.4c lists some common commands and what they are used for.


Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates. Please use alternative templates.
Table 1.41.4c: Common BSD and Linux Commands [Tables 3] Please use alternative templates. Please use alternative templates.


File formats, size and updates

A common complaint is that the size of PC-BSD® PBI files are much larger than the actual program. What complaints of this sort often do not recognize is that very few installable applications are complete by themselves. If you take a look at what happens while the program is being compiled, or when you install a package, you will notice that there are additional applications being pulled in or downloaded and installed. These are all dependencies: things that the program will require in order to fully function. An application of any complexity, especially if it is desktop-oriented, is likely to depend upon many programs. These programs may relate to audio or video playback, window management, or libraries for encoding, compression, encryption.

A PBI file consists of the primary application, determined by its name, along with all of its dependencies. When you add a program with AppCafe®, you download the application and dependency bundle that we call a PBI. The first set of dependencies may be reused by other applications that you install later; however, every PBI file contains all the necessary dependencies, even if those that would be redundant are not installed.

Additional Resources

The following articles and videos provide additional information about some of the differences between BSD and Linux:

References

  1. http://en.wikipedia.org/wiki/Berkeley_Software_Distribution
  2. http://www.freebsd.org/doc/en/articles/explaining-bsd/comparing-bsd-and-linux.html
  3. http://www.freebsd.org/doc/en/articles/linux-comparison/article.html
  4. http://www.freebsd.org/doc/en/articles/linux-users/index.html
  5. http://www.over-yonder.net/~fullermd/rants/bsd4linux/01
  6. http://www.freebsd.org/advocacy/whyusefreebsd.html
  7. http://www.unixmen.com/bsd-for-human-beings-interview/
  8. http://www.youtube.com/watch?v=xk6ouxX51NI
  9. http://www.freebsd.org/doc/en/articles/bsdl-gpl/article.html
  10. http://bhami.com/rosetta.html

 Translator:  Please update the last element on this page, and/or locate the {{groupListHeading|group=tables}} line, replace that with {{GroupRefHeading|{{putCommon|19}}}}


Cite error: <ref> tags exist for a group named "Tables", but no corresponding <references group="Tables"/> tag was found
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox