Search Results

Search: Posts Made By: nj302
2,307
Posted By nj302
Softlink may need to write a script to find out....
Softlink may need to write a script to find out. Thank you very much for the help.
2,307
Posted By nj302
A question for links in Unix
Is there a command that I can list, at once, all the links(path) of a give file ( including hard link and soft link)? If not, can it be down by writing a script? Thanks a lot.

(I know that pwd...
1,856
Posted By nj302
I use tcsh. I checked and "foreach" instead of...
I use tcsh. I checked and "foreach" instead of "for", "( )" instead of "[ ]" works in tcsh. Anyways, I tried bash, and the script is running now. Thanks for the help.
1,856
Posted By nj302
I tried the script. I got the following error: ...
I tried the script. I got the following error:

for: Command not found
k: Undefined variable

Also another question is if I give the hard link or the symbolic link of file1 another name, file6...
1,856
Posted By nj302
Operations on search results
Hi, I am a newbie at Unix scritping, and I have a question.

Looking at the search functionality on Unix. Here I have a structure
root---------dir1 ------- file1, file2, file3
...
Forum: Programming 09-21-2005
12,751
Posted By nj302
Problem solved. Thank you very much, Perderabo!
Problem solved. Thank you very much, Perderabo!
Forum: Solaris 09-21-2005
3,620
Posted By nj302
Memory Alignment Problem on Sun Sparcs
Hi, I try to marshal a unsigned int and a char * into a buffer, and then unmarshal them later to get them out. I need to put the char * in the front and unsigned int at the end of the buffer....
Forum: Programming 09-21-2005
12,751
Posted By nj302
Sorry, but I don't understand what exactly you...
Sorry, but I don't understand what exactly you mean?
Forum: Programming 09-21-2005
12,751
Posted By nj302
Still I got same bus error. The problem is that...
Still I got same bus error. The problem is that the dev is not at the address where keybuff + s_docname is

Some processors are not able to load an integer, unsigned etc, from an address which is...
Forum: Programming 09-19-2005
12,751
Posted By nj302
how to round up a memory address(memory alignment problem)
Hi, I try to marshal a unsigned int and a char * into a buffer, and then unmarshal them later to get them out. I need to put the char * in the front and unsigned int at the end of the buffer....
Forum: Programming 09-18-2005
7,857
Posted By nj302
"And bear in mind that a file can have zero or...
"And bear in mind that a file can have zero or more paths that point to it."

More path means there are simbolic links, right? what is zero path mean? Thank you.
Forum: Programming 09-18-2005
7,857
Posted By nj302
Functions use st_dev and st_inode to get the file name and directory path out?
Hi.
A questions on unix sytem's directory inode and file inode. Unix have system function's that can get the following stat information out to user ( readdir, lstat.etc)
struct stat {...
21,192
Posted By nj302
Thank you. But regardless of any soft link or...
Thank you. But regardless of any soft link or hard link. I am asking
across different pysical file sytems, for our case, directories can have same inode number as we see that /var/sadmbin has...
21,192
Posted By nj302
Since directory can have same inode number under...
Since directory can have same inode number under different physical file system, what about files? Can they have the same inode number across them? Thanks.
21,192
Posted By nj302
how to get directory path and name, file path and name from inode
/, /usr/, /var are different physical filesystems. Is it why inode number can be the same across them?...

The reason I am asking all these questions is that I want to find out if there is a way,...
21,192
Posted By nj302
Solaris 10 SPARCS same ino number for file system
Thank you all for replying. I understand the link to directories has the same inode number, and yes,if it is a different file system, it may have the same inode number also. But here is what I found...
21,192
Posted By nj302
Directory Inode Number Not Unique
Hi, I know that inode for each file is unique, but is it the for the directory? So far I found different directories has the same inode nubmer when you do ls -i, could some one explain why? Thanks a...
Showing results 1 to 17 of 17

 
All times are GMT -4. The time now is 08:56 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy