2.0 Basic OS Concept Management
2.0 Basic OS Concept Management
0 Basic OS Concept
Management
Learning Outcomes
2.1.1 Identify the different types of user interface
2.1.2 Identify basic function perform by an operating
system’s user interface
2.1.3 Primary functions performed by File System
2.1.4 Boot process
Types of Interfaces
1. Command Interface
2. Menu Interface
3. Graphical User Interface
4. Voice-actuated interface
5. Web-form interface
Types of Interface : Command Interface
• Access method
• Directory Structure
• File Sharing
• Protection
File System : Access Method
• File is used to stored information
– When it used, this information must be
accessed and read into computer memory.
– Information in the file can be accessed in
several way :
• Capaian secara berjujukan/Sequential access
• Capaian secara terus/Direct access @ Random
Access
Sequential Access
• Refer to reading or writing data
consecutively (one after the other).
• Example : Music tape
– You must forward or rewind the tape to a
specific piece of data.
– To access item W requires passing through
points A through V sequantially
Direct Access
• Also called random access
• Means that the device can locate a particular
data item or file immediately, without having to
move consecutively through item stored in
front of the desired data item or file
• Example: Floppy disk, Zip disk, hard disk, CDs
and DVDs
• When writing or reading specific data, direct
access is much faster than sequential access.
File System : Directory Structure
• Directory records information such as name,
location, size and type for all file on that partition.
Naming problem
Directory Structure : Two Level Directory
Path name
Can have the same file name for different user
Efficient searching
16
No grouping capability
Directory Structure : Tree-Structured
Directory
Efficient searching
Grouping Capability
17
File System : File Sharing
• Sharing of files on multi-user systems is desirable
• User oriented O/S must accommodate the need to
share file for facing difficulties.
• Sharing may be done through a protection scheme
• On distributed systems, files may be shared across a
network
• FTP – transfer file between machine
• Network File System (NFS) is a common distributed
file-sharing method
• NFS is standard UNIX client-server file sharing protocol
File System :Protection
• When information is kept in a computer system :
want to keep information safe from physical
damage and improper access .
• Protection can be provided in many way
– Eg: 1. Small single-user system might provide
protection by physically removing the floppy
disk and locking them in a desk drawer or file
cabinet
– Eg: 2. In multiuser system, others mechanisms
are needed.