Creating and Mounting File Systems Flashcards Preview

(RHCSA) Red Hat Certified System Administrator C > Creating and Mounting File Systems > Flashcards

Flashcards in Creating and Mounting File Systems Deck (8)
Loading flashcards...
1
Q

What command lists all open files and the process accessing them in the provided directory?

A

■ lsof

■ usage: lsof

2
Q

Where are USB and other removable media mounted?

A

■ /run/media//

3
Q

What two programs are used to create/delete/edit file systems?

A

■ fdisk (uses MBR)

■ gdisk (uses GPT)

4
Q

What utility forces a reread of a disks partition table?

A

■ partprobe

■ usage: partprobe `

5
Q

What utility is used to format a swap partition?

A

■ mkswap

6
Q

What utility is used to activate a swap partition for use?

A

■ swapon

7
Q

What utility is used to deactivate a swap partition?

A

■ swapoff

8
Q

How is a swap partition given priority over another?

A

■ Add ‘pri=’ in place of ‘defaults’ in /etc/fstab