Open main menu

CDOT Wiki β

SRA840 Lab1

Revision as of 09:11, 20 January 2009 by Evets (talk | contribs) (REFERENCES)

SRA840 Lab1

REFERENCES

FreeBSD Handbook

FreeBSD Committer's Guide

Answers

Kezhong Liang

Differences between FreeBSD and Fedora installation
1. FreeBSD must be installed into a primary partition and doesn't support the operation to the logical partition.
2. FreeBSD uses the concept of Slice and Fedora uses partition.
3. FreeBSD uses one of the slice of a disk as SWAP and Fedora uses individual partition as SWAP. 
4. FreeBSD supports UFS file system and Fedora supports EXT2, EXT3, and so on.
5. FreeBSD uses text-based sysinstall utility to install OS and Fedora uses graphic mode.
6. FreeBSD uses tcsh as default shell and Fedora uses bash.
7. GUI may not be installed on FreeBSD.
Pros of FreeBSD installation process 
1. The default installation is basic operating system and occupies small size of disk.
Cons of FreeBSD installation process 
1. Users who want to install need to configure more than Fedora.
Differences in disk drives labeling and supported file systems 
FreeBSD:
  ad0 represents a disk.
  support UFS file system
Linux:
  /dev/sda represents a disk.
  support EXT2, EXT3, and so on.
Files in the /etc directory (what each of them do) 
In my machine, there are 79 files in the /etc directory. 
  /etc/fstab       --contains file systems
  /etc/ftpusers    --list of users disallowed any ftp access
  /etc/group       --contains the group of the system
  /etc/hosts       --the hostname and their IP address that can be recognized by the local machine
  /etc/inetd.conf  --internet server configuration database
  /etc/netconfig   --the network configuration file
  /etc/netstart    --start network for user convenience
  /etc/passwd      --contains the users of the system
  /etc/rc          --start-up script
  /etc/rc.conf     --the configuration file of start-up script
  ... ...
Setting up a network 
In the file /etc/rc.conf, we can configure the network card.
Start-up scripts in FreeBSD 
In FreeBSD, the start-up scripts is in the /etc/rc.d directory. If you want to make them enable, you should set them in the /etc/rc.conf file.