deltaspot.blogg.se

Linux kernel interview questions
Linux kernel interview questions












linux kernel interview questions
  1. #Linux kernel interview questions how to#
  2. #Linux kernel interview questions install#

whereas inode is a type of metadata which contains the information about a regular file, directory, or other file system object such as permission, owner and group, file size, access and modification time, number of links etc. Metadata contains the information about the entire data (one or more pieces of data), ie file name, owner,creation date, location etc. 0 stands for no fsck.įile system is the hierarchy of directories that is used to organize files in computer.Each file system contains a control block ( which contains information about that file system ) and inodes ( Which contains information about each files and data blocks). The / partition should have value 1 and next partitions can take 2,3. The partitions will go for fsck based on the order given. Now a days we can leave this as 0.įsck – This parameters is for file system check. Ro – read only, rw – read write, user – user can mount, exec – script can be execute, noexec – script can’t be execute, noauto – partition will not mount automatically, auto – mounts automatically, sync – input and output will synchronize.ĭumping is an outdated option for backup for cases when system went down, 0 – stands for False and 1 – stands for true. * Explain the entries in fstab mnt]# cat /etc/fstabĭevice to mount mount point file system type mount options dump fscheck. Runlevel 3 – Multi user mode with network. Runlevel 2 – Multi user mode without network.

linux kernel interview questions

#Linux kernel interview questions how to#

* How to mount an ISO file mnt]# mount -o loop /tmp/rhel-server-7.0-x86_64-dvd.iso /mnt If we require to remove the old kernel, use rpm -e and also remove the entry form /etc/nf file. Don’t use rpm -Uvh, because it will upgrade the existing kernel and we won’t able to go to the previous kernel version at any point of time.

#Linux kernel interview questions install#

To upgrade the kernel, download the kernel rpm file and install it using rpm -ivh command. To check the kernel version use any of the following ~]# uname -a














Linux kernel interview questions