Mounting & Filesystems Flashcards

(19 cards)

1
Q

What does mount do?

A

Attaches a filesystem to a directory.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does umount do?

A

Detaches a filesystem.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is autofs?

A

Service for automounting on demand.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is NFS used for?

A

Linux-to-Linux sharing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is SMB used for?

A

Cross-platform sharing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

NFS mount syntax?

A

mount -t nfs server:/path mountpoint

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

SMB mount syntax?

A

mount -t cifs //<server>/<share> -o user=,pass=</share></server>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What does ro do?

A

Read-only mount.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What does rw do?

A

Read/write mount.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What does remount do?

A

Changes mount options live.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What does noatime do?

A

Disables access time updates.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What does nodiratime do?

A

Disables directory access time updates.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What does nodev do?

A

Disables device file execution.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What does nosuid do?

A

Blocks SUID/SGID privilege escalation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What does noexec do?

A

Blocks execution of binaries.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What does /proc/mounts show?

A

Real-time mounted filesystems.

17
Q

What does /etc/mtab show?

A

User-space tracked mounts.

18
Q

What does /etc/fstab define?

A

Static mount entries.

19
Q

What does mount -a do?

A

Mounts all fstab filesystems.