Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Help with mketfs buildfile: (2 Items)
   
Help with mketfs buildfile  
Hi, I'm trying to run mketfs to create the filesystem with the following buildfile:

[virtual=x86,bios +compress] .bootstrap = {
    startup-bios
    PATH=/proc/boot:/bin procnto
}

[+script] .script = {
    devc-con -e -n5 &
    reopen /dev/con1
    devf-i365sl -r -b3 -m2 -u2 -t4 &
    waitfor /fs0p0
    [+session] TERM=qansi PATH=/proc/boot:/bin esh &
}

[type=link] /tmp=/dev/shmem
[type=link] /bin=/fs0p0/bin
[type=link] /etc=/fs0p0/etc

libc.so
[type=link] /usr/lib/ldqnx.so.2=/proc/boot/libc.so
libsocket.so

[data=copy]

devf-i365sl
devc-con
esh

----------------------------------------------

When I run the mketfs command I get an error with the [virtual] attribute. Is there a replace for this attribute? Is it 
needed with mketfs?

Thanks in advance.

I'm running QNX 6.4.1
Re: Help with mketfs buildfile  
You seem to be using a OS Image Filesystem (IFS) build file with the mketfs utility which creates an Embedded 
Transaction FileSystem (ETFS).  They are not the same things and the difference and usage is documented, please have a 
look:
http://www.qnx.com/developers/docs/6.5.0_sp1/topic/com.qnx.doc.neutrino_building/building_nto.html?cp=13_2_3
http://www.qnx.com/developers/docs/6.5.0_sp1/topic/com.qnx.doc.neutrino_utilities/m/mkifs.html?cp=13_13_15_18
http://www.qnx.com/developers/docs/6.5.0_sp1/topic/com.qnx.doc.neutrino_utilities/m/mketfs.html?cp=13_13_15_15

[virtual] and [+script] are not supported in an mketfs build file.