FSTAB(5) File Formats Manual FSTAB(5)NAME
fstab, mtab - list of file systems to mount, mounted file system table.
/etc/fstab is a table of file system to mount at boot time, /etc/mtab is a table of currently mounted file systems as maintained by mount
/etc/fstab is not read by mount as it should be. It is instead a simple shell script listing the three devices that Minix needs to oper-
ate: The device names of the root file system, the temporary (scratch) file system, and the file system for /usr. Of these only the /usr
file system is mounted in /etc/rc, the scratch file system is there for the system administrator to test new kernels, or as a temporary
/etc/mtab contains lines of four fields. The layout is:
device directory type options
These fields may be explained as follows:
A block special device.
Either 1, or 2, indicating a V1 or V2 file system.
Either ro, or rw, indicating a read-only or read-write mounted file system.
/etc/fstab Shell script naming three important file systems.
/etc/mtab List of mounted file systems.
SEE ALSO printroot(8), mount(1), fsck(1), mkfs(1).
/etc/fstab is a joke.
Kees J. Bot (email@example.com)
Check Out this Related Man Page
MOUNT.NFS(8) System Manager's Manual MOUNT.NFS(8)NAME
mount.nfs, mount.nfs4 - mount a Network File System
mount.nfs remotetarget dir [-rvVwfnsh ] [-o options]
mount.nfs is a part of nfs(5) utilities package, which provides NFS client functionality.
mount.nfs is meant to be used by the mount(8) command for mounting NFS shares. This subcommand, however, can also be used as a standalone
command with limited functionality.
remotetarget is a server share usually in the form of servername:/path/to/share. dir is the directory on which the file system is to be
Under Linux 2.6.32 and later kernel versions, mount.nfs can mount all NFS file system versions. Under earlier Linux kernel versions,
mount.nfs4 must be used for mounting NFSv4 file systems while mount.nfs must be used for NFSv3 and v2.
OPTIONS -r Mount file system readonly.
-v Be verbose.
-V Print version.
-w Mount file system read-write.
-f Fake mount. Don't actually call the mount system call.
-n Do not update /etc/mtab. By default, an entry is created in /etc/mtab for every mounted file system. Use this option to skip making
-s Tolerate sloppy mount options rather than fail.
-h Print help message.
Refer to nfs(5) or mount(8) manual pages.
For further information please refer nfs(5) and mount(8) manual pages.
/etc/fstab file system table
/etc/mtab table of mounted file systems
SEE ALSO nfs(5), mount(8),
Amit Gud <firstname.lastname@example.org>
5 Jun 2006 MOUNT.NFS(8)
I want to write a script capable of reading specific rows and collumns of a table, into a variable.
Just imagine i have a file named table.dat which contains:
Col 1 Col2 Col3
What i want to do... (13 Replies)
I need your help to finish a script that will mount two file systems automatically when saver is reboot or start.
I am working on a new Sun Sparc machine with Solaris 9 on it. This box got two disk. disk one has been partitioned to hold Solaris OS. disk two has been partitioned as... (6 Replies)
I want to take the details of all mounted directories.Some thing like using bdf we can get the information.
My code should get the information about the mounted directories and should write into a file.
What we are going to do is we are going to shutdown our HP unix server... (12 Replies)
I m posing this new thread as I didnt get satisfactory result after running search here.
My requirement is very simple (using shell script)
I need to findout what all file systems are mounted -> Then I need check the health of that file system - by disk usage & by doing a simple... (8 Replies)
i have to read some data from a teradata table and use them in my shell script.. how do i do that.. we can use BTEQ .. but i don know how to pass the field values as variables to the shell.. please help me.... (8 Replies)
In a given directory, I need to list the files present in it in the below given format as a table.
File name Permission Number of Bytes File Type
Telecom1 --w-r-x 1230 Directory
Telecom2 ---x---x---x 450 Device file
Telecom3 ... (7 Replies)
I am new in this field
I need to write a script to read a data from txt file.My file contains data in the form of many lines.I need to read the lines which contains "alter table table_name add" then need to pick the table name from this and search for that in database.If it exists then... (8 Replies)
I have some questions:
1, I successfully mounted my usb drive with "sudo mount /dev/sdb1 /mnt", but I can't wirte, It says "read-only file system". But I can write it in windows.
2, After I umounted the usb drive the led of it still on, but not blinking. Is it safe to unplug it? How to let it's... (17 Replies)
I know how to mount my share via /etc/fstab automatically when the system boots but since I do not have root permission to access the /etc/fstab nor do I think that the system admin wants me to add an entry in /etc/fstab all together. So what file could I add my mount entry in?
mount -t cifs... (8 Replies)
I am trying to write a shell script for monitoring the file system mount.
command I am using will retrieve a output as shown below.
/dev/fsv29 2% /apps/rj/pgl/bslSys
I also need to add exception mounts in a file and I would like script to ignore the mount which I specify.
If I add the... (6 Replies)
I accidentally overwrote in /etc/fstab file. Can you guys please tell me, what impact it would have created, when I restarted the machine(RHEL6).
I executed this command :
# blkid /dev/vda5 > /etc/fstab (17 Replies)
Got another basic question for the community :)
After wiping a drive with dd, and calling mkfs.ext4 to set things up again, fstab seems to need to be refreshed somehow to allow a call to mount for the volume.
What might the "secret handshake" be to pull this off without first... (6 Replies)