03-17-2005
How to map a disk block to filename/ Inode
Hi,
I want to find out a particular disk block belong to which file. in solaris 2.8
Can anyone help.
Thanks and Regards
Bala
10 More Discussions You Might Find Interesting
1. Solaris
hiho,
i would like to show my apprentices the auto-defrag/perform mechanism from UFS. new FS, creating new directories, each directory get its own cylinder on the disk. hmm....
they want proofs.....
*embarrassing*
i couldn't remember how to look on which block the inode is linked....
so,... (4 Replies)
Discussion started by: pressy
4 Replies
2. UNIX for Dummies Questions & Answers
How we can know number of inode present in my Disk including free and occupied.
Is there any tool or program to know how much free inode are there in inode free list . (2 Replies)
Discussion started by: mr_deb
2 Replies
3. Shell Programming and Scripting
Hi all,
I have a list of xml file. I need to split the files to a different files when see the <ko> tag.
The list of filename are
B20090908.1100-20090908.1200_CDMA=1,NO=2,SITE=3.xml
B20090908.1200-20090908.1300_CDMA=1,NO=2,SITE=3.xml
B20090908.1300-20090908.1400_CDMA=1,NO=2,SITE=3.xml
... (3 Replies)
Discussion started by: natalie23
3 Replies
4. AIX
How to get the filename of which has been deleted if I know the inode number.
i can use the command "istat" to get the inode number of the file.
# istat
/proc//fd/x
If this file has been deleted,but the process of this file has not been closed and handle has not been released ,so this... (3 Replies)
Discussion started by: JoyOnLine
3 Replies
5. UNIX for Dummies Questions & Answers
can someone please tell me why is the filename not inlcuded in the inode of the file? (2 Replies)
Discussion started by: wowman
2 Replies
6. UNIX for Advanced & Expert Users
Hi,
I have installed ubuntu.
-how to see the disk on Windows machine ? I should copy some files from a Windows machien which is on the same network to my ubuntu machine.
Thank you. (4 Replies)
Discussion started by: big123456
4 Replies
7. Shell Programming and Scripting
How can I get only FileName associated with a INODE on Unix in seconds instead of minutes, as it is the case for me as shown below.
# Say I have FileDescriptor: 43, INODE: 2590784, File: abc.rdb. I want to get only filename associated with inode:2590784 and FD:43.
$> time find / -inum... (7 Replies)
Discussion started by: kchinnam
7 Replies
8. UNIX for Advanced & Expert Users
I was reading a book on UNIX internals "The design of the UNIX Operating system." There are two memory structures that are confusing me:
1) Buffer cache
2) Inode cache
My questions are
1) Does a process get both buffer cache and Indoe cache allocated when it opens/creates a file?
2) if no,... (1 Reply)
Discussion started by: sreeharshasn
1 Replies
9. Solaris
Hi All,
I have copied a existing root file system from c0t0d0 to c0t1d0 in SUN Fire 6800 by using the below command,
ufsdump 0ucf - / | (cd /new.root ; ufsrestore -rf - )
and later on I created a boot block on c0t1d0s0 by using the below command
installboot /usr/platform/`uname... (1 Reply)
Discussion started by: dammaharasba
1 Replies
10. Shell Programming and Scripting
I have 2 files sorted by numerically. I need help with shell script to read these 2 files and do a 1:1 mapping and rename the filenames with the mapped case#;
For example:
cat case.txt
10_80
10_90
cat files.txt
A BCD_x 1.pdf
A BCD_x 2.pdf
ls pdf_dir
A BCD_x 1.pdf A BCD_x 2.pdf
... (2 Replies)
Discussion started by: iaav
2 Replies