General :: What Application / Daemon Converts File Paths To Inodes

Nov 4, 2010

The Linux File system uses the file path notation to abstract how data is accessed. Path really must be an environmental variable for the applcication that converts the path name to an inode so what is this application/Daemons name?

View 7 Replies


ADVERTISEMENT

General :: Application Called Impact - Paths In Java Application ?

Apr 14, 2010

So, I have this application called Impact, it is an explicit time integration Finite Elements code written in Java...

[url]

I untar the pack, and launch the application calling a script, from within the untarred folder,

Code:

This launches a gui which allows me to setup a case, which needs some setup file, tipically some *.in and a mesh file, tipically some *.msh.

Other mode of executuion consists of calling the setup file as argument to Impact.sh script ( CLI execution mode, for g33k5 )

My problem is : I have packed the whole stuff into a Slackware .tgz, that places it in /usr/local/Impact, and placed a calling script in /usr/local/bin,

Code:

Code:

I decided to hack the ImpactGUI_OGL_linux_amd64.sh script from

Code:

Code:

no avail,

Code:

even after adding /usr/local/Impact/bin to PATH... won't go...

I can run this thing from within its directory... but I do not like messing within the directories of my applications, this is why I sent this to /usr/local, and placed a calling script in /usr/local/bin...

View 4 Replies View Related

General :: Standard File Paths?

Aug 23, 2010

Is there some sort of standards file path convention for installing softwares that I could follow through? For example, I just learnt how to build Nginx from source. But the default binary path set by nginx is "/usr/local/nginx/sbin". I have seen a couple of tutorials which they specify the location of the installed binary and it is very different from those usual default paths. Thus, got me thinking whether is there some form of file path convention that I should follow?Is there some kind of list which states where do those packages on Debian.org Repository usually installed to?

View 6 Replies View Related

General :: Check If Two Paths Are Pointing To The Same File

Oct 6, 2010

I've got a script to recursively create symlinks in my home directory to my settings directory, to keep the files under version control. I would like it to skip files which are already symlinked via a parent directory. That is, if I have these files/directories:

~/foo/ -> ~/settings/foo/
~/settings/foo/
~/settings/foo/bar

, how do I check that ~/foo/bar and ~/settings/foo/bar are the same file?

Edit: D'oh, another few minutes of searching revealed the answer: readlink -f $path

View 3 Replies View Related

General :: Run GUI Application From Userdefined Boot Time Daemon Server ?

Jan 18, 2010

I am writing one simple server daemon and running with /etc/init.d/server its running properly but when i want to run one simple QT GUI with system() function , its not able to run it and returning 256 as return code .

If same daemon i m running from terminal then its working properly and also system() function is getting success with return value 0 and GUI is getting popped up.

View 1 Replies View Related

Ubuntu Multimedia :: WinFF Converts But With Huge File Size Output

Jun 1, 2010

I haven't used WinFF before yesterday. Looks simple so I tried to convert an AVI file of 600MB to DV and ended up with an 8GB conversion.For device preset I used Raw DV for Pal Fullscreen as I'm in Australia.Does WinFF always produce such large files?

View 1 Replies View Related

OpenSUSE Install :: Run An Application As A Daemon?

Feb 10, 2010

I have SLES9.I am running a Java-application named meinServer5.This app starts two application servers, one admin process and one worker process, where the admin process has to be started before and ended after the worker process:

meinServer5 startadmin // starts the admin process
meinServer6 stopadmin // stops the admin process
meinServer5 start //starts the worker process

[code]....

View 2 Replies View Related

General :: Insufficient Inodes On A FS?

Jun 21, 2011

To fix the insufficient inodes issue on a FS shouldn't be involved File System extend or House Keeping of existing File system.

View 8 Replies View Related

General :: Out Of Inodes And Can't Access /tmp?

Jan 18, 2010

My server started acting flaky this weekend and my Webmin interface was throwing strange errors. I finally tracked it down to the fact that I was out of inodes on my primary partition. I'm fairly certain that the /tmp folder has an outrageous number of files in it.I can't do an ls on the directory because the console just sits there forever after I issue the command. I also tried to do an rm -rf on the /tmp directory and it did the same thing.

View 14 Replies View Related

Fedora :: Application - KDE Daemon - Kded4 - Signal - Segmentation Fault

Jan 4, 2010

I get a couple of these a day

Application that crashed: kded4
Version of the application: $Id: kded.cpp 1031638 2009-10-05 16:59:11Z lunakl $
KDE Version: 4.3.4 (KDE 4.3.4)
Qt Version: 4.5.3
Operating System: Linux 2.6.31.9-174.fc12.i686 i686

- Backtrace:
Application:

The auto bug reporting says it cant report it

View 1 Replies View Related

Software :: Run GUI Application From Userdefined Boot Time Daemon Server

Jan 19, 2010

I am writing one simple server daemon and running with /etc/init.d/server its running properly but when i want to run one simple QT GUI with system() function , its not able to run it and returning 256 as return code .

if same daemon i m running from terminal then its working properly and also system() function is getting success with return value 0 and GUI is getting popped up.

i m using ubuntu-9.10 below is the code ....

#include <stdio.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <netinet/in.h>

[Code].....

View 1 Replies View Related

General :: Filesystem With Inodes Close On The Disk?

Jan 9, 2011

I'd like to make the ls -laR /media/myfs on Linux as fast as possible. I'll have 1 million files on the filesystem, 2TB of total file size, and some directories containing as much as 10000 files. Which filesystem should I use and how should I configure it?As far as I understand, the reason why ls -laR is slow because it has to stat(2) each inode (i.e. 1 million stat(2)s), and since inodes are distributed randomly on the disk, each stat(2) needs one disk seek.Here are some solutions I had in mind, none of which I am satisfied with:Create the filesystem on an SSD, because the seek operations on SSDs are fast. This wouldn't work, because a 2TB SSD doesn't exist, or it's prohibitively expensive.

Create a filesystem which spans on two block devices: an SSD and a disk; the disk contains file data, and the SSD contains all the metadata (including directory entries, inodes and POSIX extended attributes). Is there a filesystem which supports this? Would it survive a system crash (power outage)?Use find /media/myfs on ext2, ext3 or ext4, instead of ls -laR /media/myfs, because the former can the advantage of the d_type field (see in the getdents(2) man page), so it doesn't have to stat. Unfortunately, this doesn't meet my requirements, because I need all file sizes as well, which find /media/myfs doesn't print.Use a filesystem, such as VFAT, which stores inodes in the directory entries. I'd love this one, but VFAT is not reliable and flexible enough for me, and I don't know of any other filesystem which does that. Do you? Of course, storing inodes in the directory entries wouldn't work for files with a link count more than 1, but that's not a problem since I have only a few dozen such files in my use case.

Adjust some settings in /proc or sysctl so that inodes are locked to system memory forever. This would not speed up the first ls -laR /media/myfs, but it would make all subsequent invocations amazingly fast. How can I do this? I don't like this idea, because it doesn't speed up the first invocation, which currently takes 30 minutes. Also I'd like to lock the POSIX extended attributes in memory as well. What do I have to do for that?Use a filesystem which has an online defragmentation tool, which can be instructed to relocate inodes to the the beginning of the block device. Once the relocation is done, I can run dd if=/dev/sdb of=/dev/null bs=1M count=256 to get the beginning of the block device fetched to the kernel in-memory cache without seeking, and then the stat(2) operations would be fast, because they read from the cache. Is there a way to lock those inodes and/or blocks into memory once they have been read? Which filesystem has such a defragmentation tool?

View 2 Replies View Related

General :: Increase Number Of Inodes Without Re-creating Partition?

Jul 14, 2011

How can the number of inodes be increased on an existing EXT3 or EXT4 partition without re-creating the partition?

View 3 Replies View Related

General :: Deleted Files Recovery, Inodes And Size Is Known?

Apr 27, 2011

i manage to delete some files from the system. now i need to recover them.. i know the inode # (through ext3undel) and also the size.Quote:Unfortunately, we cannot automatically obtain the name of a deleted filefrom Unix file systems - since the connection between the iNode (whichholds the MetaData, including the file namee real data is droppedon deletion. However, we can obtain a list of names from the deleted files.How can i use this information to recover the files?Also can i search the text from a partition? (file don't exists). As i need figures

View 3 Replies View Related

General :: No Space Left On Device Error With Plenty Of Free INodes After Cross Compiler Setup

Jan 15, 2011

I have searched google for a couple of days, and I keep hearing about an INode limit on filesystems, but that doesn't seem to be the case.

Now whenever I try to download something, watch a ..... video, or listen to Pandora radio, it just stops playing after 2 seconds. Downloading says "No space left on device".I also get the error as root.I do have 5% and more free of HDD space. After reading the similar posts I checked all of this, so if I am overlooking something on the forum, I apologize for an extra post about.

View 3 Replies View Related

General :: Not Getting Access To The Needed Paths?

Jun 18, 2011

I have not been on in about a month or 2. I have no idea how to list this thread. I am hoping that someone like tex can help out. Being lazy with ubuntu seems to have been badong. Ok, I had 2 physical machines and 3 vms. VM's ran under Vbox-ose via a bridge. OS's are buntu x2 and one centOS box. I installed webmin to make things easy ( i thought ).However, after setting webmin, my I have been randomly loosing PATH's. I mean, one minuet i can run sudo apt-get and the next the whole PATH is gone. I tried a compare of my "home" box's bashrc and bash_profile against the other machins, and outside of some alias for colr and the like nothing seems to stand out. Even if I su - to root I am not getting access to the needed paths. Now, while I could export the correct path, I am more conserned with the why of it all.

I would have thought that as long as my group setting on my ssh users were all correct AND the environment had not been changed, all would be good. I can provide more info if someone wants to help me out with this. HOwever, it drove me to a six pack. 8SI have read the man pages. I have used google. I have checked the logs. The logs by the way showed a lil hammering on one of the boxes for root access. [I]t wasnt me. However, I dont seem to be able to see a time stamp.

View 3 Replies View Related

General :: Ruby / Gem Installation Paths Scattered All Over

Apr 11, 2011

Trying to understand my ruby folder structure? Why my gems are scattered all over and why they aren't recognised commands. I'll explain how my installation looks like first:
/usr/bin/ruby
/usr/bin/ruby1.8
/usr/bin/ruby1.9.1

The first is a soft link to ruby1.9.1 because the "ruby" command didn't work in the terminal. I did the same with "gem". I installed rubygems through downloading, extracting and then running setup.rb here: (I created the "ruby" folder)
/home/pc/ruby/rubygems-1.7.2/setup.rb
/usr/bin/gem
/usr/bin/gem1.8
/usr/bin/gem1.9.1

I installed a few gems with "sudo gem install"
> gem list
*** LOCAL GEMS ***
compass (0.10.6)
haml (3.0.25)
mustache (0.99.3)
rake (0.8.7)

So far so good? Well not quite, as it turns out the command "compass version" doesn't seem to exist. My confusion grows with each folder I look into. The following path doesn't make any sense to me, for example. Why would it be hidden? Why is mustache the only gem inside this folder?
/home/pc/.gem/ruby/1.9.1/cache/mustache-0.99.3.gem

First of all, here is "gem environment", which makes even less sense, because I have definately installed rubygems-1.7.2 like I told you in the first paragraph, but here it shows an ancient version 1.3.7. Why? I installed Ubuntu the day before yesterday.
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.7
- RUBY VERSION: 1.9.2 (2010-08-18 patchlevel 0) [x86_64-linux]
- INSTALLATION DIRECTORY: /var/lib/gems/1.9.1
- RUBY EXECUTABLE: /usr/bin/ruby1.9.1
- EXECUTABLE DIRECTORY: /var/lib/gems/1.9.1/bin
- RUBYGEMS PLATFORMS: .....
Ruby --version returns "ruby 1.8.7"...........

Also, as it turns out, all gems are installed into this folder (mustache too! even though it already is inside the other folder), just as "ruby environment" claims:
/var/lib/gems/1.9.1/gems. But none of these gems work. I can't call any of these, except rake. So here is where I probably made the mistake, I think I used "apt-get install rake" in addition to "gem install rake", because the command "rake" wasn't recognised, and the command prompt suggested it. I may have done so with rubygems too... I'm new to Linux, and I figured that the command prompt knew how to install this stuff properly. It can't be normal that I have to create syslinks all over, right? In Windows I didn't run into this problem.

View 1 Replies View Related

General :: Use ZFS On Linux Easily - Without Paths Like /var/run/zfs - Or As Non-root

Sep 3, 2011

When I asked about filesystems with compression I got recommendation to try ZFS. Looks like it worth trying, however I find tools that manage ZFS (zfs, zpool) quite overcomplexified - you need to create some volume, then add it, then create filesystem on it. And finally it suddenly created things in root directory like /qqq/test and it uses /var/run/zfs/zfs_socket (strange for a filesystem).

How to use ZFS (with FUSE) without it's complicated things with volumes, just as good filesystem with compression, something like mount -o loop image.zfs /mnt/qqq -t zfs-fuse?

How to setup ZFS as non-root? FUSE usually means "user can use it too" (example: ntfs-3g). I expect something like this:

Can ZFS be more usual FUSE filesystem that I can add to /etc/fstab and user can install and use on its own?

View 1 Replies View Related

General :: Using Locate - All Paths That Contain Element /bin/ But Only One Instance Of Each One

Jun 18, 2010

I want to print, using locate, all the paths that contain the element /bin/ but only one instance of each one. If I issue 'locate /bin/' then I have many screens of text with, for example,

/usr/bin/foo1
/usr/bin/foo2
/home/me/bin/foo3
whereas I want to see only
/usr/bin/foo1
/home/bin/foo3

That is to say, if in two lines /bin/ appears with the same prefix (in the example above the prefixes would be /usr and /home/me) I only want to print the first line. Can I pipe locate to grep to do this? I've mentioned locate because it does not scan the whole disk.

View 5 Replies View Related

General :: Cant Find Executables To Update Paths?

Nov 24, 2010

How do I find paths on ubuntu. I have installed redcar(ide written in ruby similar to textmate) and rvm for ruby. However I cannot locate where the executables are to update my .bashrc.

View 2 Replies View Related

General :: Run The Script From A Different Directory The Paths Are Not Read?

Nov 29, 2010

I have written a script which reads a text file and takes out absolute and relative paths embedded in the text file.Then the script looks for a string in some text files mentioned in those paths. The problem I am facing is that since these paths are from my working directory,if I try to run the script from a different directory the paths are not read.

View 7 Replies View Related

Ubuntu :: Banshee Only Converts Flac To Pcm?

Jul 12, 2011

I have Ubuntu 11.04 and I have some music in flac-format. However, when I try to transfer that music to my ipod nano 5g using Banshee, I only have the option of converting it to pcm, not i.e. mp3.

Is it possible to set Banshee up, so it converts flac to mp3 instead of PCM?

View 2 Replies View Related

General :: Looking For A Web File Management Application?

Apr 27, 2011

I'm looking for a Web File Management Application to use in my intranet.
All I need are users ACL and a simple interface. Ldap authentication would be a nice fit
I saw something around like PHPfilenavigator, and for further info, I like Ubuntu distro. Right now I'm using the filemanager inside eGroupware but I'd like to dump it
Can anyone give me some opinion and suggestion?

View 1 Replies View Related

General :: Application Redirect To File

Aug 5, 2010

i want to redirect application to file.i m redirecting it by command
konsole -e 'application name' >> applog.txt
but it is not working.

View 6 Replies View Related

Programming :: Lost Gcc .bash_profile Paths - Error: "stdio.h: No Such File Or Directory Gcc Was Installed And Configured Correctly"

May 5, 2010

I tried compiling a simple Hello World with gcc but didn't have any luck. I got this message: Code: junk.c:1:19: error: stdio.h: No such file or directory gcc was installed and configured correctly at one point but I think I changed the the .bash_profile since then. I checked where stdio.h lives. The path is:

[Code]....

View 2 Replies View Related

Software :: What Converts Or Views .easm Files?

Apr 23, 2010

Using Lenny, have desperate need to view .easm files.Anybody have luck with this?

View 2 Replies View Related

General :: Edit The Config File Of An Application?

Aug 20, 2010

I want to edit the config file of an application I have installed and the documentation says that the config file is per-user and therefore stored in "~/". Which folder is that? The app itself is installed in "/usr/local/bin/".

View 5 Replies View Related

General :: Command Line - Get Relative Path From Two Absolute Paths In Shell?

May 13, 2010

We have two paths. First one is directory, second either dir or file.

/a/b/c and /a/d/e.txt

Relative path from first path to second will be: ../../d/e.txt

How to get it in linux terminal?

PS: For those who ask "what is use case?" - creating lots of relative symlinks (just as an example)

View 1 Replies View Related

Ubuntu Multimedia :: Banshee Streamrecorder No Longer Converts To MP3

Feb 3, 2011

Using Ubuntu 10.04 and installed latest Banshee via Banshee Team PPA repository. Also installed the streamrecorder plugin and gstreamer-plugins-ugly. When Banshee was at 1.8.0, I could convert streams to MP3. Since it updated to 1.8.1, I can only save the unconverted stream. Tried re-installing the gstreamer plugins but no effect. why I can no longer convert streams to mp3?

View 2 Replies View Related

General :: Give Web Application/daemons File Permissions?

Dec 4, 2010

I have a web application which calls scripts on the linux box it's deployed on. Currently, there are some file permission issues which prevent the scripts from running properly. How can I give my web application the needed permissions? I thought of creating a user 'group' , assigning my web app to that group, and changing the ownership of the script files to the new group. Unfortunately, I'm having trouble with the following: What user id does my web app have? If my web app does not have an user id,

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved