LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-31-2010, 05:06 PM   #1
s4yr
LQ Newbie
 
Registered: Nov 2009
Posts: 3

Rep: Reputation: 0
Problems with FUSE module


hi 2 all!
I`ve just started develop my FUSE fs.Now it work in "clear proxy" mode it means my module just intercepts all system call and invoke standard system function,except few exceptions. But i faced with following problem: i cant use "printf" functions and in this connections i cant write anything to stdout.I think FUSE block console but i dont know how to escape this locking!
Did anybody heard about this problem?
thanks a lot!
 
Old 03-31-2010, 05:12 PM   #2
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Rep: Reputation: 231Reputation: 231Reputation: 231
Use -f switch to run in foreground.
 
Old 04-01-2010, 10:04 AM   #3
s4yr
LQ Newbie
 
Registered: Nov 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for good advise!
It works but not exactly i expected!
Deal in following : when i compile my project, in command line i transmit a directory where my file system will be mount! And then in the same terminal window a print standard shell commands like "ls" "cd" "mkdir" ...
Using -f "lock" current terminal window! And result of printf() is writed in other terminal window!
Do I have possibility to print anything with printf() or write() in the same window where i type command("ls", "mkdir"...)??????

Last edited by s4yr; 04-01-2010 at 10:07 AM.
 
Old 04-01-2010, 03:08 PM   #4
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Rep: Reputation: 231Reputation: 231Reputation: 231
No.
 
  


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
FATAL: Module fuse not found. cortomaltese Linux - Hardware 4 05-03-2008 08:38 AM
Module fuse with ntfs-3g nautz Red Hat 2 08-02-2007 10:51 PM
fuse module not found, but is present? MALDATA Linux - Newbie 8 04-03-2007 10:39 AM
fuse-module gone DaveQB Debian 13 02-27-2007 07:09 PM
Problem compiling FUSE module Jason_Bassett Linux - Software 1 04-12-2006 03:25 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:33 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