LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-18-2003, 12:13 PM   #1
h011ywood
LQ Newbie
 
Registered: Sep 2003
Location: Saint Paul, MN
Posts: 4

Rep: Reputation: 0
Can you mount QNX from Linux?


I'm in need of making a QNX recovery program, that will recover the file system if it would go bad. A thought is to run this program from linux and thus would have to mount the QNX partition on the linux side. Are you able to mount a QNX partition from linux? If so, how do you go about doing this.
 
Old 09-18-2003, 12:16 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
if you have a problem or question, why have you chosen to post it in the "success stories" forum? a relevant moderator will move it shortly. thanks

Last edited by acid_kewpie; 09-18-2003 at 12:24 PM.
 
Old 09-18-2003, 12:22 PM   #3
h011ywood
LQ Newbie
 
Registered: Sep 2003
Location: Saint Paul, MN
Posts: 4

Original Poster
Rep: Reputation: 0
Appology, went one level too deep.
 
Old 09-18-2003, 12:29 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Moved: Seems suitable in the Newbie forum. Regards.
 
Old 09-18-2003, 12:43 PM   #5
demian
Member
 
Registered: Apr 2001
Location: Bremen, Germany
Distribution: Debian
Posts: 303

Rep: Reputation: 30
Yes, you can mount qnx filesystems. You need to have CONFIG_QNX4FS_FS enabled (works for QNX4 and 6 aka QNX RTP). If you use a distro stock kernel you might have the module already compiled (try modprobe qnx4). If the modules isn't there then you will have to re-compile the kernel and enable QNX filesystem support in the filesystem section. Read only support seems to be well tested. Write support is tagged as "dangerous" so you might want to stay away from that.

Once you have the module compiled mount your qnx drive with the -t qnx4 option to mount.
 
Old 09-18-2003, 02:11 PM   #6
h011ywood
LQ Newbie
 
Registered: Sep 2003
Location: Saint Paul, MN
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by demian
Yes, you can mount qnx filesystems. You need to have CONFIG_QNX4FS_FS enabled (works for QNX4 and 6 aka QNX RTP). If you use a distro stock kernel you might have the module already compiled (try modprobe qnx4). If the modules isn't there then you will have to re-compile the kernel and enable QNX filesystem support in the filesystem section. Read only support seems to be well tested. Write support is tagged as "dangerous" so you might want to stay away from that.

Once you have the module compiled mount your qnx drive with the -t qnx4 option to mount.
When you say re-compile the kernel, you are talking about the Linux kernel, not the QNX kernel right???

The idea here, is to mount QNX4 and trouble shoot on a system failure, by having a par2 backup on linux of the QNX4 filesystem. Is this a feasible idea???
 
Old 09-18-2003, 02:44 PM   #7
demian
Member
 
Registered: Apr 2001
Location: Bremen, Germany
Distribution: Debian
Posts: 303

Rep: Reputation: 30
Quote:
Originally posted by h011ywood
When you say re-compile the kernel, you are talking about the Linux kernel, not the QNX kernel right???
Yup, the Linux kernel. Try modprobe first, though. Might save you some work

Quote:
The idea here, is to mount QNX4 and trouble shoot on a system failure, by having a par2 backup on linux of the QNX4 filesystem. Is this a feasible idea???
Sure, backups are always a good idea.
 
Old 09-18-2003, 02:47 PM   #8
h011ywood
LQ Newbie
 
Registered: Sep 2003
Location: Saint Paul, MN
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks a bunch. Got QNX4 mounted on the linux side of my system. Thx again.
 
Old 03-04-2013, 08:17 PM   #9
surajkumarr
LQ Newbie
 
Registered: Mar 2013
Posts: 1

Rep: Reputation: Disabled
Unhappy

I know this thread is too old. I reached here through google. In ubuntu 12.04 I can mount QNX 4 and 6 but the QNX disk mounts as read-only.
"mount -o rw -t qnx source destination" doesn't work. I tried mount -o remount,rw also . It mounts read only. Is there any workaround
 
Old 11-06-2013, 03:58 PM   #10
shakestar
LQ Newbie
 
Registered: Nov 2013
Posts: 1

Rep: Reputation: Disabled
Did anyone know how to mount a QNX6 Filesystem as read-only on a Ubuntu 13.10?
 
Old 11-06-2013, 09:54 PM   #11
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,980

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
cat /proc/filesystems


http://cateee.net/lkddb/web-lkddb/QNX6FS_FS.html

Best to use qnx to access qnx file systems.

Last edited by jefro; 11-06-2013 at 09:58 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux & QNX DEVICE DRIVERS jdevi Linux - Networking 1 03-28-2005 02:59 AM
QNX and Linux Multiboot concoran Linux - General 15 07-17-2002 12:47 PM
Linux, QNX multiboot !! concoran Linux - General 11 03-04-2002 02:57 PM
Linux and QNX multiboot? concoran Linux - General 2 11-16-2001 11:08 PM
Linux vs. QNX Stephanie Linux - General 11 11-02-2001 11:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration