How do I compile a file system?


 
Thread Tools Search this Thread
Top Forums Programming How do I compile a file system?
# 1  
Old 01-06-2011
How do I compile a file system?

hello everybody! I have the source code(C) about a flat file system with shell,directory service,file service and blockservice.But I don t know how to compile this.Can anyone inform me?I connect to a remote system of Unix...Actually I have 4 files,system.c direct.c blockserv.c and fileserv.c.Smilie
# 2  
Old 01-06-2011
It sound more like how to compile a kernel that includes new file systems.
# 3  
Old 01-06-2011
Yes something like that..
# 4  
Old 01-06-2011
need more details. what system is this code for and what is it supposed to do?
# 5  
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
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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
Login or Register to Ask a Question