GNU/Linux Filesystem 1 st AUT GNU/Linux Festival Computer Engineering & IT Department Bahador Bakhshi.

Slides:



Advertisements
Similar presentations
POS/420 Philip Robbins – March 19, 2013 (Week 2) University of Phoenix Mililani Campus Introduction to Unix.
Advertisements

The UNIX File System Harry Chen Department of CSEE University of MD Baltimore County.
Linux Booting Procedure
Linux can be generally divided into four major components: 1. KERNEL – OS, ultimate boss The kernel is the core program that runs programs and manages.
A Guide to Unix Using Linux Fourth Edition
5 Basic utilities When a user logs in to the Linux operating system the directory that they will start in is their home directory. Most users will have.
1 Unix Systems Administration Y. K. Chang Generic Unix Directory Structure /bin /dev /etc /sbin /home /lost+found / Root Dir /dsk /rdsk /term /pts /rmt.
Introduction to Unix (CA263) File System
Exploring the UNIX File System and File Security
Linux Intro Linux, the do it yourself OS Linux, successor to MINIX Linux, Unix for the masses (PC users) History:
Lesson 22 – Introduction to Linux Systems Administration.
Linux Linux File System.
The UNIX File System.
Guide To UNIX Using Linux Third Edition
DELTA TAU Data Systems, Inc. 1 UMAC TurboTurbo PMAC PCIGeo Drive Single Source Machine Control motion logic data Power PMAC as a Linux Computer January.
File System and Directory Structure in Linux. What is File System In a computer, a file system is the way in which files are named and where they are.
Guide To UNIX Using Linux Fourth Edition
Linux Installation and Administration – Lesson 5 Tutor: George Papamarkos Topic: Devices in Linux.
Introduction to Linux Installing Linux User accounts and management Linux’s file system.
Manage Directories and Files in Linux
Chapter 8. Disks and Filesystems. Ordinary Files u What is a file? –a container for ordered data –persistent (stays around) and accessible by name u Unix.
CIS 191 – Lesson 2 System Administration. CIS 191 – Lesson 2 System Architecture Component Architecture –The OS provides the simple components from which.
Unix Basics Chapter 4.
Chapter Two Exploring the UNIX File System and File Security.
File System Management File system management encompasses the provision of a way to store your data in a computer, as well as a way for you to find and.
INTRODUCTION TO LINUX Jacob Chan. GNU/Linux Consists of Linux kernel, GNU utilities, and open source and commercial applications Works like Unix –Multi-user.
COMPUTER SYSTEM LABORATORY Lab6 - Root Filesystem.
Linux Introduction What is Linux? How do you use it?
Filesystem Hierarchy Dr. Michael L. Collard 1.
Linux file system "On a UNIX system, everything is a file; if something is not a file, it is a process." Sorts of files (on a Linux system) Directories:
Manage Directories and Files in Linux. 2 Objectives Understand the Filesystem Hierarchy Standard (FHS) Identify File Types in the Linux System Change.
Chapter Two Exploring the UNIX File System and File Security.
E X C E E D I N G E X P E C T A T I O N S Basic LINUX Linux System Administration Dr. Hoganson Kennesaw State University Operating Systems Directory structure:
1 © 2001 John Urrutia. All rights reserved. Chapter 4 The LINUX Filesystem.
Linux Commands C151 Multi-User Operating Systems.
PTA Linux Series Copyright Professional Training Academy, CSIS, University of Limerick, 2006 © Workshop V Files and the File System Part B – File System.
Slide: 1 UNIX FILE SYSTEM By:Qing Yang ID: Operating System Research Topic December, 2000.
Linux Filesystem WeeSan Lee. Roadmap Disk Partitions The Filesystem Filesystem Mouting & Umounting File Tree File Type File Permission.
Chapter 10: File-System Interface Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Jan 1, 2005 File-System Interface.
The Unix File system (UFS) Presented by: Gurpreet Singh Assistant Professor Department of School of Computing and Engineering Galgotias University.
Chapter 9: Networking with Unix and Linux. Objectives: Describe the origins and history of the UNIX operating system Identify similarities and differences.
CS 245 – Part 1 Using Operating Systems and Networks for Programmers Jiang Guo Dept. of Computer Science California State University Los Angeles.
UNIX File System By Vishal Desai. Introduction Basic purpose of file system: Represent and organize the system resources. But UNIX File System also maps.
SUSE Linux Enterprise Desktop Administration Chapter 7 Manage Directories and Files.
UNIX filesystem CS 2204 Class meeting 2 *Notes by Doug Bowman and other members of the CS faculty at Virginia Tech. Copyright
Lecture 02 File and File system. Topics Describe the layout of a Linux file system Display and set paths Describe the most important files, including.
Operating System & Administration UNIT-III Introduction to File System.
Lab 8 Department of Computer Science and Information Engineering National Taiwan University Lab8 - Root Filesystem 2015/11/10/ 22 1.
CEG 2400 FALL 2012 Linux/UNIX Network Operating Systems.
LINUX Zhengli Zhu, School of Life Sciences. Outline 1. ABC of Linux 2. Basic orers of Linux 3. Bash Programming.
ORAFACT The Linux File System. ORAFACT Filesystem Support Support for dozens of filesystem types including: Minix, ext2, MS-DOS, UMSDOS, VFAT, NTFS, NFS,
Linux Administration – Finding You Way on the Command Line The Linux File Directory or Tree.
BILKENT UNIVERSITY DEPARTMENT OF COMPUTER TECHNOLOGY AND INFORMATION SYSTEMS CTIS156 INFORMATION TECHNOLOGIES II FILES AND FILE SYSTEM STRUCTURE.
Filesystem Management and Backups
Linux 101 Training Module Linux Basics.
Welcome to Linux Chap#1 Hanin Abdulrahman.
UBUNTU INSTALLATION
Linux file system "On a UNIX system, everything is a file;
Linux/Unix - Download Ubuntu Linux :
Chapter 6 File Systems CSNB113 SYSTEM ADMINISTRATION
Basic Commands ls cp ls –l (in detail format) echo ls –a
UNIX Filesystem and Hierarchy
Structure of Unix OS.
Exploring the UNIX File System and File Security
File Structure 2018, Spring Pusan National University Joon-Seok Kim
Operating Systems Lecture 4.
Welcome to Linux Chap#1 Hanin Abdulrahman.
Welcome to Linux Chap#1.
Chapter 4: The Linux Filesystem
January 26th, 2004 Class Meeting 2
Presentation transcript:

GNU/Linux Filesystem 1 st AUT GNU/Linux Festival Computer Engineering & IT Department Bahador Bakhshi

2 What We Will Learn  Introduction  Filesystem Hierarchy Standard  Directory layout of Linux FS  Help  Mounting

3 Introduction  Filesystem  How are data stored in storage?  How do users access the data?  Data organization, files and directories  Filesystem types  Disk FS: ext2, ext3, FAT, FAT32 & NTFS  Network FS: Samba & NFS  Flash FS: JFFS2  Special FS: proc FS

4 Introduction (cont’d)  You should understand Linux FS  Why?  Everything in Linux is file, if it is NOT process  Easy to use  Open file, read/write and close the file  Unlike Windows, Linux FS is standard FS  Everyone should learn standards

5 Filesystem Hierarchy Standard  Started by Dennis Ritchie, 1993  Defines the main directories and their contents in most Linux-based systems  Current Version: 2.3, 29 Jan 2004.

6 FHS  There is not any drive C:, D:, …  All directories are under “/”  “/” is the root directory  It is possible  to have multiple partitions  to multiple filesystems

7 The “/”  The primary hierarchy in FSH  The root of tree of filesystem  All paths start form here  There is only one “/” in filesystem

8 The “/”

9 boot  Linux kernel  Boot loader configuration  If you lost boot  You cannot boot your OS

10 boot

11 bin  Essential programs  Need for system startup  Basic commands for  Navigating in filesystem  File management

12 bin

13 dev  Everything is file  Hardware components (devices) are file  Hard disk  Key board  All device files are here  Direct interaction with device driver  Open the device file  Read & Write

14 dev

15 etc  System configuration directory  What is done by the registry in Windows  All configuration file are text files  You can view and edit it manually

16 etc

17 home  Home directory of user  Each user has a directory  /home/bahador  /home/hamed  All files of user are stored here

18 lib  Programs need libraries  Dynamically linked libraries  Programmers need libraries  All essential libraries are here  Needed for system startup

19 lib

20 proc  Kernel’s interface  Kernel pseudo-directory  Special directory  It is NOT a directory on hard disk  Kernel Configuration  Kernel State monitoring

21 proc

22 root  Home directory of root  Don’t confuse  / is the “root of Filesystem”  root is the name of system admin  /root is the admin

23 sbin  System configuration programs  Format hard disk  Manage hardware  Only “root” can run the programs

24 sbin

25 tmp  Temporary directory  All temp files are created by programs  Your temp files  It is emptied regularly

26 usr  Secondary hierarchy  Very useful programs  We usually use them  compiler, tools  Are not essential for system startup

27 usr

28 var  The variable directory  All dynamic files  User cannot change the files

29 var

30 Helps  Some documents are in /usr/share/doc  Info pages are not complete help  info  Man pages  /usr/share/man  man1: user commands, man8: System administration  man

31 Permissions  There are 3 basic permissions  Read (r)  Write (w)  Execute (x)  How to find them  ls -l  How to change them  chmod +/- r/w/x

32 Mounting  Mount  To add a filesystem to other filesystem  Add you cool-disk FS to you laptop FS  How?  mount  mount -t vfat /dev/sdb1 /mnt/flash  Don ’ t forget the umount  umount  umount /mnt/flash

33 Linux FS vs. Windows FS  There is not drive C:, D:  Top hierarchy is /  Path separator is / not \  File extensions have NOT any meaning  There is not hidden attribute, hidden files are started by.

34 ?