answersLogoWhite

0

What is fstab?

Updated: 10/3/2023
User Avatar

Wiki User

13y ago

Best Answer

The file /etc/fstab is commonly found in UNIX (Such as BSD, UnixWare, or OS X) systems or UNIX-like systems (Such as Linux, Plan 9, or Minix.).

It is a plaintext file, not always modified by the user, and it stands for FileSystem TABle.

Though it can describe every filesystem on your computer, it is usually just used to describe filesystems that need to be mounted at boot as opposed to everything available.

Typically you'll find:

A description of your root filesystem, which is the topmost level all directories and mounted filesystems will branch off of.

A description of your pseudoterminal and shared memory virtual filesystems which are usually required in Linux by most applications (Your terminal emulators and the screen command depend on pseudoterminal devices to work.)

A description of your swap partition, where virtual memory or hibernation data will be stored. This particular filesystem is not actually mounted, but activated and given over to the control of the *nix memory manager. There is no way to explore this filesystem as a user.

Other filesystems and mountpoints may also be commonly described, the three most common being /home, /usr, and /boot.

Removable media can also be described in here, but it's impractical and inflexible, not to mention grossly unnecessary due to HAL and udev, which will manage such things in much the same way as Windows manages its removable media. That is beyond the scope of this answer.

Long answer short, it's a configuration file Linux needs to boot and function properly, don't mess with it unless you know what you are doing. Your Linux distribution's installer is likely to automagically generate this file for you.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

6y ago

/etc/fstab is a file that defines mountpoints for your storage devices on startup/boot.

This also includes the system partitions that your Linux distribution requires to start and run.

Each mountpoint in your fstab can be defined by [PART]UUID, or by the format /dev/sdXY. (where X is the letter of the Nth storage device, and Y is the partition number), the filesystem, mount point (location), and some filesystem-specific options (e.g. read-write/read-only)

This answer is:
User Avatar

User Avatar

Wiki User

13y ago

The fstab file is a list of file systems to be automatically mounted when the system boots up.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is fstab?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Which text file specifies what devices are to be mounted at system startup?

/etc/fstab


Can a normal user mount a Windows partition in Linux?

Yes, as long as they are given permission under the fstab.


What entery would you place in etc fstab to mount the above export at boot time?

It is always nfs.


What entry would you place in etc fstab to mount the above export at boot time?

What entry would you place in /etc/fstab to mount the above export at boot? Pressure the directory hierarchy is being exported by a server named nfsserv, and the mount point is /mnt/nfs.


What is the proper command used for automounting?

mount -aThis will automatically mount all file systems listed in /etc/fstab


Which file can a NFS client edit in order to pre-configure NFS server shares?

/etc/fstab (static mounts) /etc/auto.master (dynamic mounts)


Which file can a NFS client edit in order to pre configure nfs server shares?

/etc/fstab (static mounts) /etc/auto.master (dynamic mounts)


What file is used to the list of partitions and file systems that are mounted at boot time?

/etc/fstab only root can change, users can view it.


How do you check NFS mounts on HP-UX 11.23?

It depends on what you are checking. You can use the 'df' command to see what is currently mounted via NFS and the 'mount' command (or check /etc/fstab) for mountable file systems.


How do you check NFS mounts on HP UX 11.23?

It depends on what you are checking. You can use the 'df' command to see what is currently mounted via NFS and the 'mount' command (or check /etc/fstab) for mountable file systems.


What entry would you place in etc fstab to mount the above export by a server named nfsserv and the mount point is mnt nfs?

mount nfsserv:/mnt /nfs here you all go see you in class tonight $


If you remove a hard drive from a Linux system what file must you modify to update your system?

If the hard drive was not automatically mounted, no special action is necessary. If it was automatically mounted, you should remove its entry from /etc/mtab and /etc/fstab.