Difference between revisions of "SRA840 Lab1"

From CDOT Wiki
Jump to: navigation, search
(Kezhong Liang)
(Kezhong Liang)
Line 27: Line 27:
 
   support EXT2, EXT3, and so on.
 
   support EXT2, EXT3, and so on.
 
  '''Files in the /etc directory (what each of them do)'''  
 
  '''Files in the /etc directory (what each of them do)'''  
  Something...
+
  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      --
 +
  /etc/inetd.conf  --
 +
  /etc/netconfig  --
 +
  /etc/netstart    --
 +
  /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'''  
 
  '''Setting up a network'''  
 
  In the file /etc/rc.conf, we can configure the network card.
 
  In the file /etc/rc.conf, we can configure the network card.
 
  '''Start-up scripts in FreeBSD'''  
 
  '''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.
 
  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.

Revision as of 11:57, 19 January 2009

SRA840 Lab1

REFERENCES

[FreeBSD Handbook ]

Answers

Kezhong Liang

Differences between FreeBSD and Fedora installation
1. FreeBSD uses the concept of Slice and doesn't support the operation to the logical partition.
2. FreeBSD uses one of the slice of a disk as SWAP and Fedora uses individual partition as SWAP. 
3. FreeBSD supports UFS file system and Fedora supports EXT2, EXT3, and so on.
4. FreeBSD uses text-based sysinstall utility to install OS and Fedora uses graphic mode.
5. FreeBSD uses tcsh as default shell and Fedora uses bash.
6. 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       --
  /etc/inetd.conf  --
  /etc/netconfig   --
  /etc/netstart    --
  /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.