The dtrace script has hopefully no impact in the target file.
From anywhere you like.
This is the expected output. You should leave the script running for the inode renumbering hack to persist.
As Bartus11 already stated, just use another terminal to experiment with you program expecting a large inode number.
Thank you for the clarification!
It looks like when I run
it shows the real inode, but
is showing the fake (large) inode:
Hi,
If inodes need to be 3-4 times greater than fd.file-max. Can you modify the current inode in the filesystem? Can you modify it on the fly? Or only in the creation of FS.
I'm using redhat ent 4.
Thank you for any comment you may add. (1 Reply)
At risk of twisting the rules to nearly the point of breaking (if you think this goes too far mods, I apologise and accept that this should be deleted), I'm hoping someone might be able to cast a little light on the following problem regarding hard links to files.
... (6 Replies)
Hello, I am using tcsh on AIX.
I would like to write a script that does the following:
1. given an inode, how do I find exactly the name of the file?
I know I could do this using ls -i | grep <inode>
but it returns: <inode> <filename>. I need some string manipulation or something to... (1 Reply)
Hi all,
I am struggling to change the content of a file without changing the inode number. The exact issue is as below.
I have a file name test.bak which has 100 lines of text.
I am trying to to delete the first 90 lines of the text in the file.
I know that using sed/awk/head/tail I can... (3 Replies)
i have a requirement where i needed to change variable values in a properties file(first file) whenever there is change to Release details file(second file). My question is do i have to create a daemon process that always checks the modified time/inode change of the second file and then change the... (1 Reply)
Hi,
I have created a file abc.log in Redhat Linux.
Inode number for a file get changes every time i update the file using vi editor.
Is there any setting that can be made , such that inode number never gets changed?
Or if we cannot restrict from inode number getting changed , is... (9 Replies)
Hello all,
I am on hpux itanium 11.31...and we run a oracle DB on it. I am testing some backup and restore situation.... first i select some data from the DB.....now i remove some files from the DB where my data is being selected from.....now i select the same data from the DB but i still get... (5 Replies)
Hi,
I have created a file a.txt in Redhat Linux.
Inode number for a file changes every time i update the file using vi editor , gedit etc.
Is there any setting that can be made , such that inode number never changes as that is supposed to be the expected behavior?
Or if we cannot... (13 Replies)
Discussion started by: srirammanohar
13 Replies
LEARN ABOUT DEBIAN
su-to-root
su-to-root(1) Debian GNU/Linux manual su-to-root(1)NAME
su-to-root - A simple script to give an `interactive' front-end to su. It can be used in menu entry commands to ask for the root password
SYNOPSIS
su-to-root [-X] [-p <user>] -c <command>
DESCRIPTION
Most menu entries simply start an editor or a game or whatever. But some menu entries would like to give the user the ability to change
important settings in the system, that require root privileges. su-to-root can be used to ask for the root password.
OPTIONS -c <command>
The command to execute as a string. This option is mandatory.
-p <user>
The name of the user to change to, instead of root.
-X The command is a X11 program that does not require a terminal. This is to be used with menu entries that declare needs="X11".
ENVIRONMENT
SU_TO_ROOT_X
Select the su-like program called by su-to-root -X. Supported values are gksu, kdesu, kde4su, ktsuss,
sux, gksudo and kdesudo. kde4su denotes the KDE4 version of kdesu.
When this variable is not set su-to-root will currently try to use gksu, kdesu, kde4su, ktsuss, sux and the built-in code, in that
order with the exception that under a KDE session, kdesu and kde4su are prefered over gksu.
The exact set of programs to try and their order is subject to change without notice.
SU_TO_ROOT_SU
Select the su-like program used in text mode. Supported values are sudo, sux and su, the later being the default.
FILES
/etc/su-to-rootrc
~/.su-to-rootrc
su-to-root will source these files at startup in this order. This lets you define and modify the environment variables above without
restarting your X session.
COPYING
su-to-root is distributed under the GNU General Public License. (GPL 2.0 or greater).
AUTHORS
Joost Witteveen <joostje@debian.org>
X11 support by Morten Brix Pedersen and Bill Allombert <ballombe@debian.org>
SEE ALSO update-menus(1), menufile(5), /usr/share/doc/menu/html
Debian Project 20 October 1998 su-to-root(1)