Sponsored Content
Top Forums Programming How do I compile a file system? Post 302486212 by DGPickett on Friday 7th of January 2011 11:46:34 AM
Old 01-07-2011
Yes, the man page for mount option -t seems to say only the Gods add file system types:
Code:
-t vfstype The argument following the -t is used to indicate the file system type. The file system types which are currently supported include:
 adfs, affs, autofs, cifs, coda, coherent, cramfs, debugfs, devpts, efs, ext, ext2, ext3, hfs, hpfs, iso9660, jfs, minix, msdos, ncpfs,
 nfs, nfs4, ntfs, proc, qnx4, ramfs, reiserfs, romfs, smbfs, sysv, tmpfs, udf, ufs, umsdos, usbfs, vfat, xenix, xfs, xiafs. 
Note that coherent, sysv and xenix are equivalent and that xenix and coherent will be removed at some point in the future -- use sysv instead. 
Since kernel version 2.1.21 the types ext and xiafs do not exist anymore. Earlier, usbfs was known as usbdevfs.

mount(8): mount file system - Linux man page
 

8 More Discussions You Might Find Interesting

1. Programming

error trying to compile a c++ source file

i tried to compile a c++ file using the g++ command: g++ <filename>.cpp -out <output_file> and i received the following error message: ld.so.1: gcc: fatal: relocation error: file gcc: symbol bindtextdomain: referenced symbol not found Killed is it that i am using incorrectly the... (1 Reply)
Discussion started by: ldrojasm
1 Replies

2. Programming

Compile .C file in Mac OS X 10.2

Hi =) Need help? I have a .C file and need compile in Mac OS X 10.2 I try with cc and make but don't work? Can anybody help me?? (2 Replies)
Discussion started by: FerIX
2 Replies

3. AIX

Compile errors because of the ras.h file

I recently compile some code in 32 bit mode on a AIX 5.3 server that has its kernal set to 64 bit mode. The compile was successful and the code works great. That being the case I use the model of the successful makefile on some other code but ended up getting errors that looked like this...... ... (2 Replies)
Discussion started by: morrisey
2 Replies

4. Programming

Not able to compile .pcc (Pro*C++) file

Hello, I use Omniworks build environment for compiling pro*c++(filename.pcc) files which would result in .filename.cc. I am not able get these files due some misplacement in environment... Could anyone explain the environment variable linked to it .. I know few like LIB_PATH,LD_LIBRARY_PATH and... (0 Replies)
Discussion started by: shafi2all
0 Replies

5. Programming

Not able to compile Pro*c file due - give errors and points to /usr/include/.. file

I am trying to compile the pro*C file but gives errors. It says it encountered "std" while it was expecting ; , = ( $ $ORACLE_HOME/bin/proc tradewind/dataaccess/Blob.pcc Pro*C/C++: Release 10.2.0.3.0 - Production on Fri May 9 11:10:54 2008 Copyright (c) 1982, 2005, Oracle. All rights... (0 Replies)
Discussion started by: shafi2all
0 Replies

6. Programming

compile java with GUI on unix system/putty

is it possible in the first place? if so, how should I go about it? (0 Replies)
Discussion started by: finalight
0 Replies

7. Shell Programming and Scripting

How to compile a test file

How do I compile a test file to test functionality of my script? (1 Reply)
Discussion started by: Pauline mugisha
1 Replies

8. UNIX for Dummies Questions & Answers

Compiling gcc to compile make to compile yaboot

I have just installed OpenBSD on a 333MHz PPC iMac G3. It has a 6GB HDD that has been partitioned as 1GB MacOS 8.5.1, 3GB MacOS X 10.3.9, 2GB OpenBSD 4.8. I now need to install a bootloader so that my computer can recognize the OpenBSD partition at startup. I have been trying to install... (0 Replies)
Discussion started by: t04st3r
0 Replies
FSTAB(5)							   File Formats 							  FSTAB(5)

NAME
fstab - static information about the filesystems SYNOPSIS
/etc/fstab DESCRIPTION
The file fstab contains descriptive information about the various file systems. fstab is only read by programs, and not written; it is the duty of the system administrator to properly create and maintain this file. Each filesystem is described on a separate line; fields on each line are separated by tabs or spaces. Lines starting with '#' are comments, blank lines are ignored. The order of records in fstab is important because fsck(8), mount(8), and umount(8) sequentially iterate through fstab doing their thing. The first field (fs_spec). This field describes the block special device or remote filesystem to be mounted. For ordinary mounts it will hold (a link to) a block special device node (as created by mknod(8)) for the device to be mounted, like `/dev/cdrom' or `/dev/sdb7'. For NFS mounts one will have <host>:<dir>, e.g., `knuth.aeb.nl:/'. For procfs, use `proc'. Instead of giving the device explicitly, one may indicate the filesystem that is to be mounted by its UUID or LABEL (cf. e2label(8) or xfs_admin(8)), writing LABEL=<label> or UUID=<uuid>, e.g., `LABEL=Boot' or `UUID=3e6be9de-8139-11d1-9106-a43f08d823a6'. It's also possible to use PARTUUID= and PARTLABEL=. These partitions identifiers are supported for GUID Partition Table (GPT) and MAC partition table only. See blkid(8) or lsblk(8) for more details about devices identifiers. Note that mount(8) uses UUIDs as strings. The string representation of the UUID should be based on lower case characters. The second field (fs_file). This field describes the mount point for the filesystem. For swap partitions, this field should be specified as `none'. If the name of the mount point contains spaces these can be escaped as `40'. The third field (fs_vfstype). This field describes the type of the filesystem. Linux supports lots of filesystem types, such as adfs, affs, autofs, coda, coher- ent, cramfs, devpts, efs, ext2, ext3, hfs, hpfs, iso9660, jfs, minix, msdos, ncpfs, nfs, ntfs, proc, qnx4, reiserfs, romfs, smbfs, sysv, tmpfs, udf, ufs, umsdos, vfat, xenix, xfs, and possibly others. For more details, see mount(8). For the filesystems currently supported by the running kernel, see /proc/filesystems. An entry swap denotes a file or partition to be used for swapping, cf. swapon(8). An entry none is useful for bind or move mounts. mount(8) and umount(8) support filesystem subtypes. The subtype is defined by '.subtype' suffix. For example 'fuse.sshfs'. It's recommended to use subtype notation rather than add any prefix to the first fstab field (for example 'sshfs#example.com' is depre- cated). The fourth field (fs_mntops). This field describes the mount options associated with the filesystem. It is formatted as a comma separated list of options. It contains at least the type of mount plus any additional options appropri- ate to the filesystem type. For documentation on the available mount options, see mount(8). For documentation on the available swap options, see swapon(8). Basic file system independent options are: defaults use default options: rw, suid, dev, exec, auto, nouser, and async. noauto do not mount when "mount -a" is given (e.g., at boot time) user allow a user to mount owner allow device owner to mount comment or x-<name> for use by fstab-maintaining programs nofail do not report errors for this device if it does not exist. The fifth field (fs_freq). This field is used for these filesystems by the dump(8) command to determine which filesystems need to be dumped. If the fifth field is not present, a value of zero is returned and dump will assume that the filesystem does not need to be dumped. The sixth field (fs_passno). This field is used by the fsck(8) program to determine the order in which filesystem checks are done at reboot time. The root filesystem should be specified with a fs_passno of 1, and other filesystems should have a fs_passno of 2. Filesystems within a drive will be checked sequentially, but filesystems on different drives will be checked at the same time to utilize parallelism available in the hardware. If the sixth field is not present or zero, a value of zero is returned and fsck will assume that the filesystem does not need to be checked. NOTES
The proper way to read records from fstab is to use the routines getmntent(3) or libmount. The keyword ignore as filesystem type (3rd field) is not more supported by the pure libmount based mount utility (since util-linux v2.22). FILES
/etc/fstab, <fstab.h> SEE ALSO
findmnt(8), mount(8), swapon(8), fs(5), getmntent(3) HISTORY
The ancestor of this fstab file format appeared in 4.0BSD. AVAILABILITY
This man page is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/. util-linux August 2010 FSTAB(5)
All times are GMT -4. The time now is 02:45 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy