Download Linux kernel 2.4 internals by Aivazian T. PDF

By Aivazian T.

Show description

Read or Download Linux kernel 2.4 internals PDF

Best operating systems books

Alan Simpson's Windows XP Reloaded Bible

What the e-book covers: makes a speciality of home windows XP performance, this Bible covers the fundamentals (e. g. , navigating your computing device) in addition to the best way to use the preferred web positive factors, customise the paintings atmosphere, keep and tweak the method, and use basic innovations for operating with textual content, numbers, and snap shots.

Mac OS X

Bei Mac OS X handelt es sich um das jüngste Betriebssystem von Apple laptop. Es unterscheidet sich vom Vorgänger Mac OS nine nicht nur durch eine Vielzahl von neuen Funktionen und durch die neue Benutzeroberfläche Aqua, sondern vor allen Dingen durch die Nutzung von Mach und BSD als foundation für seine Implementierung.

Extra resources for Linux kernel 2.4 internals

Sample text

G. pipefs mounts itself on "pipe:" as its own root instead of "/". 12. s_wait: waitqueue of processes waiting for superblock to be unlocked. 13. s_dirty: a list of all dirty inodes. Recall that if inode is dirty (inode−>i_state & I_DIRTY) then it is on superblock−specific dirty list linked via inode−>i_list. 14. s_files: a list of all open files on this superblock. c:fs_may_remount_ro() which goes through sb−>s_files list and denies remounting if there are files opened for write (file−>f_mode & FMODE_WRITE) or files with pending unlink (inode−>i_nlink == 0).

It has been suggested many times that anonymous filesystems should not use s_dev field. 3. s_blocksize, s_blocksize_bits: blocksize and log2(blocksize). 4. s_lock: indicates whether superblock is currently locked by lock_super()/unlock_super(). 5. s_dirt: set when superblock is changed, and cleared whenever it is written back to disk. 6. s_type: pointer to struct file_system_type of the corresponding filesystem. c:read_super() sets it for you if fs−specific read_super() succeeds and resets to NULL if it fails.

4 Internals 10. umount_begin: called during forced umount to notify the filesystem beforehand, so that it can do its best to make sure that nothing keeps the filesystem busy. Currently used only by NFS. This has nothing to do with the idea of generic VFS level forced umount support. So, let us look at what happens when we mount a on−disk (FS_REQUIRES_DEV) filesystem. c:sys_mount() which is the just a wrapper that copies the options, filesystem type and device name for the do_mount() function which does the real work: 1.

Download PDF sample

Rated 4.08 of 5 – based on 43 votes