<PREV> <INDEX> <NEXT>

Layered Data Organization Model

Type
Description
Linux Commands (man)
bit
0,1

byte
0-255, 00-FF
hexedit
data structure/object
  • group of bytes
  • context sensitive meaning
  • big endian/ little endian

file
  • size in bytes
  • atributes: permissions/ownership
  • special: major/minor number
  • magic number
file, ls -l
rm, cp, mv
chown, chgrp, chmod
cat, less
emacs, pico
grep

directory/folder
  • list of files
  • description of files
  • atributes: permissions/ownership
  • hidden files
  • path:  "/" "."   ".."   "~"
cd, ls -l, du
mkdir, rmdir
pwd, find
chown,chgrp, chmod

filesystem/partition
disk: ext2, ext4, xfs, FAT, NTFS
CDROM: ISO9660
network: nfs, afs
virtual: proc

  • hierachy of  files and folders
  • format
  • block - inode - journal
  • redundancy
  • delete/undelete files
  • drive/mount - /etc/fstab
mke2fs -j
mkdosfs
mkisofs
fsck
mount, df
blkid
device
  • group of partitions
  • partition table
  • boot sector
fdisk, parted
grub

ls -l, cat, chmod, chown, chgrp
ls-la

fdisk
fdisk

m1

mount
m2

df
m3


<PREV> <INDEX> <NEXT>