LPI 101
- Was für ein Dateisystem erstell mkfs, wenn man nur den Namen eines Block Devices angibt ohne Parameter?
A. XFS
B. VFAT
C. ext2
D. ext3
E. ext4
- Welcher umask-Wert erzeugt neue Verzeichnisse mit Lese-, Schreib- und Ausführrechte für den Eigentümer, Lese- und Ausführrechte für die Gruppe und keine Berechtigungen für alle anderen?
A. 0750
B. 0027
C. 0036
D. 7640
E. 0029
- Which of the following commands changes the number of days before the ext3 filesystem on /dev/sda1 has to run through a full filesystem check while booting?
A. tune2fs -d 200 /dev/sda1
B. tune2fs -i 200 /dev/sda1
C. tune2fs -c 200 /dev/sda1
D. tune2fs -n 200 /dev/sda1
E. tune2fs --days 200 /dev/sda1
- Which is the default percentage of reserved space for the root user on new ext4 filesystems?
A. 10%
B. 3%
C. 15%
D. 0%
E. 5%
- Which of the following is true when a file system, which is neither listed in /etc/fstab nor known to system, is mounted manually?
A. systemd ignores any manual mounts which are not done using the systemctl mount command
B. The command systemctl mountsync can be used to create a mount unit based on the existing mount
C. systemd automatically generates a mount unit and monitors the mount point without changing it
D. Unless a systemd mount unit is created, systemd unmounts the file system after a short period of time
E. systemctl unmount must be used to remove the mount because system opens a file descriptor on the mount point
Which program updates the database that is used by the locate command? (Specify ONLY the command without any path or parameters).
Antwort ausschreiben
What does the command mount --bind do?
A. It makes the contents of one directory available in another directory
B. It mounts all available filesystems to the current directory
C. It mounts all user mountable filesystems to the user's home directory
D. It mounts all file systems listed in /etc/fstab which have the option userbind set
E. It permanently mounts a regular file to a directory
- How would a new file named c.txt be created with the same inode number as a.txt (Inode 525385)?
A. ln -h a.txt c.txt
B. ln c.txt a.txt
C. ln a.txt c.txt
D. ln -f c.txt a.txt
E. ln -i 525385 c.txt