Download presentation
Presentation is loading. Please wait.
Published byDerek Joseph Modified over 9 years ago
2
Agenda 1. Present weekly Power Point presentation 2. Open source presentations 3. Final exam review link available 4. All lab assignments due by August 8, 2015. 5. Final exam composition True/False questions: 100 questions (1 point each) Multiple choice questions: 25 questions (2 points each) Essay questions: 10 questions (5 points each)
3
Week Fourteen Student name: Mountaga Tall Open source topic : GIMP Student name: Michael Hambrecht Open source topic : Stellarium Student name: Jon Latshaw Open source topic : FreeNAS Student name: Jared Stamper Open source topic : Kodi Student name: Eric Queveado Open source topic : OpenFiler
4
UNIX Operating System The dumpe2fs command prints the super block and blocks group information for the file system present on a device. Lab Assignment 12- 1 can be submitted using the dumpe2fs command. The dumpe2fs command must be used on Knoppix software because the Unix / Linux file system blocks.
5
UNIX Operating System Blocks are used for two different purposes: Most blocks store user data aka files (user data). Some blocks in every file system store the file system's metadata. So what is metadata? In simple words Metadata describes the structure of the file system. Most common metadata structure the superblock, inode and directories.
6
UNIX Operating System Superblock: Each file system is different and they have a type like ext2, ext3, and ext4 etc. Further each file system has size like 5 GB, 10 GB and status such as mount status. In short each file system has a superblock, which contains information about file system such as: 1.File system type 2.Size 3.Status 4.Information about other metadata structures
7
UNIX Operating System If the super-block is lost or damaged, you are in trouble (data loss) so Linux maintains multiple redundant copies of the superblock in every file system. This is very important in many emergency situations, for example you can use backup copies to restore damaged primary super block. Following command displays primary and backup superblock location on /dev/sda3: # dumpe2fs /dev/hda3 | grep -i superblock
8
UNIX Operating System The primary superblock is resides on block group 0, The back up superblock is resides on block groups 1, 3, 5, 7, 9.
9
UNIX-like Operating System The cs.franklin.edu machine requires root permission to execute the dumpe2fs command. tune2fs command is helpful to manipulate the file system parameters of a ext2fs, or ext3fs, or ext4fs type file system.
10
UNIX-like Operating System What is a shared library? Shared libraries are libraries that are loaded by programs when they start. When a shared library is installed properly, all programs that start afterwards automatically use the new shared library.
11
UNIX-like Operating System Shared libraries are much more flexible and sophisticated than mentioned in the previous slide, because the approach used by Linux permits you to: Update libraries and still support programs that want to use older, non-backward-compatible versions of those libraries; Override specific libraries or even specific functions in a library when executing a particular program. Do all this while programs are running using existing libraries.
12
UNIX-like Operating System Recognizing shared library names Every shared library has a special name called the ``soname''. The soname has the prefix ``lib'', the name of the library. One important libraries is the C library (libc). Another common type library is the one associated with GUIs. These libraries are often referred to as widget sets, because they provide the on-screen widgets used by programs – buttons, scroll bars, and menu bars.
13
UNIX-like Operating System Shared libraries are stored somewhere in the file system. The GNU standards recommend installing by default all libraries in /usr/local/lib when distributing source code (and all commands should go into /usr/local/bin).
14
UNIX-like Operating System Locating shared library files To Set the library path is to edit the /etc/ld.so.conf file. This file consists of a series of lines, each of which lists one directory in which shared library files may be found. /etc>cat ld.so.conf include ld.so.conf.d/*.conf
15
UNIX Operating System
16
Lab Assistance available by phone and/or email
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.