General :: Use Inode Hook Functions(inode_alloc_security And Inode_free_security)?

Mar 4, 2010

how to use inode hook functions(inode_alloc_security and inode_free_security)?

View 1 Replies


ADVERTISEMENT

General :: Deleted The /etc/rc.d/functions Folder And Functions.d Script And Turned Arch Machine Into A Brick?

Mar 19, 2011

None of my daemon scripts work now, and the startup process displayed errors. Should I reinstall the OS and start from scratch, or is there a way to recover these files? Is there a way to rebuild the files I deleted?

View 2 Replies View Related

Debian :: Error (device Hde1): Ext3_get_inode_loc: Unable To Read Inode Block - Inode=2375715

Mar 25, 2010

I decided to take an old Gateway that I bought off a guy cheaply and turn it into a file and web server.I purchased copies of Debian 5.0.4 i386 disks (31 in all) on the advice of a friend, the disks weren't expensive, but now that Ive installed all the disks, I'm having a variety of errors

[443.110940 end request: I/O error, dev hde, sector 76021855
[443.111074] EXT3-fs error (device hde1): ext3_get_inode_loc: unable to read inode block - inode=2375715, block=9502724
INIT: cannot execute "/sbin/getty"

[Code]..

View 2 Replies View Related

Ubuntu :: Resize2fs: "inode Is From A Bad Block In The Inode Table"?

Jul 9, 2010

I was using gparted from a live usb to resize an ext4 partition and it failed while running resize2fs. The error it gave was

Code:
resize2fs: The inode is from a bad block in the inode table while trying to resize /dev/sda5
please run 'e2fsck -fy /dev/sda5' to fix the filesystem after the aborted resize operation.

[code]...

View 1 Replies View Related

General :: Hook Qosmio Laptop Into Vizio Tv

Jul 23, 2010

I am trying to hook my qosmio laptop into my vizio tv. I am using a VGA cable and I run mandriva linux 2009.1.

Unfortunately I have no luck from here. I rebooted my computer and for the first time it offered to run drakroam, but when I accepted, nothing happened.

View 4 Replies View Related

General :: Mplayer - How To Hook To The File Tool And Firefox

Mar 23, 2011

Two tries at building mplayer. First time failed with no sound, second time worked fine - NO CHANGES that I know of, BUT OK - it works nicely.So if I click on a file in the Linux (fedora 14) file browser, I see using "Mplayer Media Player" as a second option, It does nothing, nor does it do anything from the Application tool menu. I do not know where the "I am doing nothing (and here is why)" error message is logged.

I can manually run mplayer or xmplayer on the .wmv file and it works.How do I edit the menus (control files?) and have them use the newly installed and working mplayer (or xmplayer??).Next, it would be nice to make mplayer the default tool to play videos in Firefox (the default for both is another tool (Movie player) which needs a plugin that I cannot find to work).And finally, if I can get one or both of these working - it would be nice to set the default to the new player instead of "Movie player".

View 6 Replies View Related

General :: Script - Hook Into System Mount / Umount Event?

Mar 27, 2010

Is there a way to provide post-mount and pre-umount scripts in Linux?
I am trying to do some scripts on storage media when mounted and before umounting (eg, for syncing).

View 3 Replies View Related

Programming :: Define Functions Within Other Functions In C++?

Mar 11, 2010

Is it possible to define functions within other functions in C++? I know it is the case in other languages.

View 2 Replies View Related

General :: Effect On Inode While Resizing The LV?

May 22, 2010

In Linux when we resize the partition with the logical volume(LV), how is the inode adjusted?

View 1 Replies View Related

General :: View A File With Its Inode Nno?

Nov 2, 2010

how can we view a file with its inode nno . eg. cat 12456 where 12345 is the inode of a file

View 3 Replies View Related

General :: Where Is Inode Table In Ext3

Mar 16, 2010

Where is the inode table located in ext3 file system ? How can I read the entries in it ?

View 4 Replies View Related

General :: Find Inode Of A Particular File Using Its Number?

Nov 16, 2010

Can we find the inode of a particular file using its inode number?

The reason is i want to know how many blocks are occupied by specific file.

if we consider block size of 1K.
if the file size is of 100 bytes. In such a case, when the file is
stored on disk, the file will occupy 100 bytes or 1K (since we have
choosen block size to be 1K) ?

View 6 Replies View Related

General :: Loop Through A DIR To Delete Files By Inode

Feb 9, 2010

I have a directory that contains some files (over a 1,000) that have a '' in the filename. There are also some good files that I need to keep. therefore I need a script to delete based on inode.

What I have thus far:
list="$(ls -il /opt/PC/log/*RPOUT*.xml)" #this gives me the list
# I need to get the inode of.
for i in $list
do
find . -inum $i -exec rm -i {} ;
echo "delete file" $i >> /home/me/tmp/del_inode.txt
done
echo 'completed'

I know this is not right ... what I know is is the 'find' is. I need to loop through the $list gleaning inodes to get all the files with '' delete. I'm not sure how. The $i gives me the whole line. I just want the first position. set $() does not seem to work ...

View 5 Replies View Related

General :: Resize2fs: Can't Read Next Inode While Trying To Resize

Jan 19, 2010

I'm currently in the process of remove a drive from an lvm. I am following this guide

[URL]

and to be honest I have also posted this question at [URL] but I have a fair amount of data at stake here and really need to make sure I'm acting safely. This is certainly not a place to button mash or guess.this is the 2nd drive that I am removing, the first one went off without a problem.However, I just received this error

Code:

resize2fs: Can't read next inode while trying to resize /dev/vg0/lvol0

and I'm not sure what it means or where to go from here. The entire output is

Code:

root@dude:/mnt# resize2fs -p /dev/vg0/lvol0 4466524456k
resize2fs 1.41.4 (27-Jan-2009)
Resizing the filesystem on /dev/vg0/lvol0 to 1116631114 (4k) blocks.

[code]....

View 14 Replies View Related

General :: Remove A File On System Using Inode Number?

May 19, 2010

If you create a file on UNIX/linux with special chars, like touch "la*, you can't remove it with rm "la*. You have to use the inode number(you can if you add the before the name, I know, but you'd have to guess as a user that it was used in the file creation).

I checked the manpage for rm, but there's no metion of the inode number. Doing rm inodenumber doesn't work either.

What is the command for this?

View 4 Replies View Related

General :: Disk Image Starting At Specific Inode?

Mar 9, 2010

I deleted some files on the command line and would like to learn if it's possible to recover them. It's not a terrible thing if they are gone, but I want to see what I can do. The server is configured as a hardware RAID5+1 (ext3, Debian Stable) and I *really* don't want to take a dd of the entire disk.

ls -id gets me the inode value of the directory(155655)

I'd like to create a disk image starting at that specific inode. Then there is the issue of picking an outer boundary of the disk image. I'm hoping there's a dd/ext3 genius out there to advise.

View 1 Replies View Related

General :: Resize2fs Seems Stuck At Pass 3 (scanning Inode Table)?

Jun 16, 2011

I have a machine running Arch Linux (2010, I believe) with a 6TB RAID-5 array hooked up to a Highpoint RocketRaid 2320. I've been having issues with the RAID controller's drivers and the latest Linux kernels thanks to the driver not being open-source, and as a result I am migrating the system to Windows Server.Problem is that the 6TB disk originally was comprised only of an ext4 partition.I shrunk the partition down as much as I could, and added a NTFS partition in the empty space so I could start moving files. That went fine. Problem is that now I need to shrink the ext4 partition again, move files, shrink again, etc. The second run through resize2fs is taking way longer than the first pass.It seems to be getting stuck at pass 3:

[root@nar-shaddaa rc.d]# resize2fs -p /dev/sdb3 863000000
resize2fs 1.41.14 (22-Dec-2010)
Resizing the filesystem on /dev/sdb3 to 863000000 (4k) blocks.

[code]....

View 2 Replies View Related

General :: EXT3 FS Error - Unable To Read Inode Block

Feb 8, 2011

I am using Wind River Linux- 2.6.27.18-WR3.0bg_standard. The problem is whenever I execute "reboot, ls, cd" and many other commands the OS prompts me an error-
"end request: i/o error, dev sda, sector "(different sector each time)" and
EXT3-fs error (device sda1):ext3_get_inode_loc:unable to read inode block- inode-4088001, block-4097027
I also executed "dmesg", it also showed similar errors. Has the disk gone bad or the kernel is corrupted?

View 3 Replies View Related

General :: Ext2-fs (sda1): Error: Ext2_Lookup: Deleted Inode Referenced 83359

Jul 18, 2011

1st. I lost my usb drives. Im using Puppy Studio(Lucid, Full HDD install, latest ver) on a Toshiba Satellite 2805-S201... My 1st Linux treasure... Anyway... I was recording audio thru audacity. Shutdown. L8r started and inserted a Flash drive and the icon never showed even though I used it hours prior with no issues. The drives are working fine meaning I can access the data on other devices. Now the newb... I cant find the USB info anywhere. i followed System-Status & Configure-Hardware info-Devices-USB devices and theres nothing there. The optical drive & sda1 are registered but the flash drives are not. Does it sound like my 2 USB ports are dead? My mouse & keyboard dont register either!

2nd. B4 today reboot was the only command I knew (so sad...) but I learned dmesg and tried that and dmesg reads

Ext2-fs (sda1): error: ext2_Lookup: deleted inode referenced 83359

Basically I now want to move my music but I have no working usb ports. And Its been frustrating trying to figure out what the dmesg means when today is the 1st time I opened a terminal!

View 3 Replies View Related

General :: Functions Of The Tar Utility?

Apr 30, 2010

What are the functions of the tar utility?

View 9 Replies View Related

General :: Unable To Use Functions With Bash

Dec 24, 2009

Code:

#!/bin/bash
#Functions
CallFunct() {
functio()

[code]....

When I try to run the current code, it stops on the bracket after functio() in CallFunct(). The only way I could get this to run was by removing CallFunct and just calling functio.

View 3 Replies View Related

General :: Change The Signature Of All The Functions In Scripts?

Mar 23, 2010

I was trying to write a script to change the signature of the all the methods in a set of scripts.. here is a sample of the same :

old signature :

methodname()
{
method-body
}

New signature:

function methodname
{
method-body
}

That is i need to insert "function" keyword in front of the methodname and remove the () after the methodname.

View 4 Replies View Related

General :: Pthreads - Executing Two Different Functions Simultaneously

Jul 1, 2011

In my code I want to have two different functions to be executed simultaneously (in parallel) in a single processor system. I tried to use pthreads but they happened to be executed one after another. I have heard about fork, some saying that its no longer recommended since its functions can be achieved by pthreads.

View 1 Replies View Related

General :: Script Has 5 Functions But Exits Only After 2nd Function?

Jan 25, 2011

Quote:
logcountfunction()
{
awk ' {
# when executing the script pass the logfile as parameter on the command prompt with the name of the file
#export file_name= "&1"

[Code]....

my problem is that when i execute this script only the first two functions are being called.once the DBcounttry_finalnofunc() is done ,the script exits.The rest of the functions are not being called.

View 1 Replies View Related

General :: Meaning And Functions Of Shell Symbols?

Mar 16, 2011

In shell scripting, what do or what does this symbol do or mean ? "."(octet), ";" (semicolon)? Would really like to know? Cause I saw a written script if [ -f /etc/file ];then. . /etc/file. Wondering, the "." is meant to be source, so is "." the same thing as "source" ?

View 2 Replies View Related

General :: Check The Referenced Functions In A Executable Through Command?

Oct 20, 2010

Is there any command that can check the referenced functions in a executable?

View 1 Replies View Related

General :: Difference And Working Functions Between Kernel And Shell

Apr 4, 2011

I am the new child of the linux world. What is the difference and working functions between kernel and shell..

View 5 Replies View Related

General :: Warning Messages And Numerical Recipes Functions In C?

Jun 19, 2010

I am using some "Numerical Recipes in C" routines in my C code.(I am using ludcmp() & lubksb().)These are used to find inverse of a matrix.After compiling my c code, I get following warning messages.I have not understood them at all. What is the meaning of these and why did they pop up and how to remove them?

Code:
nrutil.h:11: warning: 'sqrarg' defined but not used
nrutil.h:14: warning: 'dsqrarg' defined but not used

[code]....

View 7 Replies View Related

General :: Passing Commands As Arguments To Functions In Bash Script?

May 31, 2010

I wrote a simple bash script to let me treat any set of programs like a deamon. For example if I configure the script a certain way I can start/stop/get the status of apache, mysql and php all from one command. I am having a bit of a problem though. I am passing commands as strings to a function and then depending on the arguments to the script it might run one of these commands or another. Some of these commands need to beun in the background though, such as deluge-web. When I send "deluge-web &" to the function and it execute it deluge-web does not start in the background. I can't figure out why this is. I have tried escaping the & with ''s and with a , but nothing seems to work. I know that this is some idiotic thing that I am overlooking, but I am a bit stumped. Here is the script configured to start/stop/get status of deluged and deluge-web.

Code:
#!/bin/bash
function checkanddosomething {

[code]...

View 3 Replies View Related

General :: Belkin USB Wireless Functions Well In Jackalope But Fails To Connect?

Jun 12, 2010

I'm pretty new to Linux, but have had a bit of functional tutoring. i'm triple booting my old Dimension 8400. Have been running with Jackalope and XP for some time now and wanted to install Lynx and get a good handle on it before i completely wipe my other machine (Win7/Jackalope) and install it there.

Installed Lynx from a USB stick and all seems well, it recognises the UBS wireless and all available connections but just sits and spins on the password login and never connects...hmmm. I have tried all possible combinations of rebooting with the USB connected/disconnected/connecting after... to no avail.

The wireless seems to "work out of the box" just as seamlessly as it did for Jackalope, all the steps are similar, it just never connects.

View 6 Replies View Related







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