/xfn directory


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users /xfn directory
# 1  
Old 07-10-2003
/xfn directory

Hi all,
On Solaris systems, I often find a direcotry named: /xfn
I often find myself frozen when I try either try to cd or ls this directory.
This is a problem for this case when I try to find the core files for the system

find / -ln -name core

When the command get to the /xfn dir, it will hang the process.

I tried to look at www.sun.com for the description to the /xfn dir but was not able to find the answer.
Please let me know if you have any reference about this directory and what is the cause for the hanging process.
Thnks,
Vu
# 2  
Old 07-10-2003
Check the man page for xfn and Intro to FNS

And your -ln doesn't seem to be an option of the find command...

I could cd to the directory and list it's contents with ls -lR - no hang on either Solaris 8 or 2.6.

Last edited by RTM; 07-10-2003 at 04:05 PM..
# 3  
Old 07-10-2003
Hi

Thanks for your reply,
I am digging moe about these stuff. But anyway what could be the cause for these process to hang since we don't manually handle this directory and therefore it's harder to troubleshoot. Thanks,
Vu
# 4  
Old 07-10-2003
If you are using NIS, check to see if it's part of the auto_master - it might be that it use to be used and at some point in time removed but the auto_master list wasn't updated.

$ ypcat auto_master
auto_pkgs -bg,soft,intr,nosuid,nodev
auto_home -nobrowse,bg,soft,intr
-xfn
-hosts -nosuid,nobrowse
auto_adm -bg,hard,nointr,nosuid,nodev
auto_u -bg,soft,intr
auto_direct -bg,soft,intr


If it is, then you need to start digging on the why and how. That's the only reason I can think of at the moment - someone else might be able to add more.

Added Note: Very good, oombera, I had forgotten that little extra SUN threw in on 2.6 find command.

Last edited by RTM; 07-10-2003 at 06:25 PM..
# 5  
Old 07-10-2003
Well, this may not be the same exact problem, but it seems related. Look about half-way for the topic "Why does 'find' never finish in Solaris?" Could be something to try...
# 6  
Old 07-10-2003
Thanks guy,

Thank you all,
Epecially Oombera, the doc states the exact problem.
Vu
# 7  
Old 07-10-2003
Hi all

I just want to make a note.
I notice that this problem happens only with an upgraded Solaris 8 system. At my site we have a couple systems with Solaris 8. Few of them was upgraded from Solaris 7 and few are fresh installed. This problem happens to all the systems that are using the upgraded version. The freshly installed Solaris 8 systems has the same configurations in the /etc/auto_master files and the /xfn files mounted; however, they are working flawlessly.
So the problem could be in the upgrade version of Solaris 8.
Thanks to all,
Vu
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

List files with date, create directory, move to the created directory

Hi all, i have a folder, with tons of files containing as following, on /my/folder/jobs/ some_name_2016-01-17-22-38-58_some name_0_0.zip.done some_name_2016-01-17-22-40-30_some name_0_0.zip.done some_name_2016-01-17-22-48-50_some name_0_0.zip.done and these can be lots of similar files,... (6 Replies)
Discussion started by: charli1
6 Replies

2. AIX

How to set owner and permission for files/directory in directory in this case?

Hi. My example: I have a filesystem /log. Everyday, log files are copied to /log. I'd like to set owner and permission for files and directories in /log like that chown -R log_adm /log/* chmod -R 544 /log/*It's OK, but just at that time. When a new log file or new directory is created in /log,... (8 Replies)
Discussion started by: bobochacha29
8 Replies

3. Shell Programming and Scripting

Shell scripting-I need a script which should watch a directory for a file with specific directory

I need a script which should watch a directory for a file with specific directory. If it finds a file in directory, it should search for few specific keyword in the file. if the keyword exists, it should trim string from specific column. The file should be moved to another directory and the a... (8 Replies)
Discussion started by: akashdeepak
8 Replies

4. UNIX for Dummies Questions & Answers

Extract directory name from the full directory path in UNIX using shell scripting

My input is as below : /splunk/scrubbed/rebate/IFIND.REBTE.WROC.txt /splunk/scrubbed/rebate/IFIND.REBTE.WROC.txt /splunk/scrubbed/loyal/IFIND.HELLO.WROC.txt /splunk/scrubbed/triumph/ifind.triumph.txt From the above input I want to extract the file names only . Basically I want to... (5 Replies)
Discussion started by: IshuGupta
5 Replies

5. Web Development

Directory index forbidden by Options directive error on specific directory with indexing disabled

I am seeing the following error appear numerous times in my Apache error log: I have my Apache config configured as below, so I would expect indexing not to occur on this directory as it falls under the parent /web directory. Strangely all the IP address, including this example, all... (5 Replies)
Discussion started by: crmpicco
5 Replies

6. Shell Programming and Scripting

Catching the xml tag when only parent directory is known ..not the actual directory

Hi folks, I have an query that is let say i have to search in an xml file an tag that is <abcdef> now this xml file is at /opt/usr/local so one fastest way to achieve this is go to this location by cd /opt/usr/local and then do grep like this... grep -i abcdef but for this I must know the... (4 Replies)
Discussion started by: punpun66
4 Replies

7. Shell Programming and Scripting

Grepping file names, comparing them to a directory of files, and moving them into a new directory

got it figured out :) (1 Reply)
Discussion started by: sHockz
1 Replies

8. Shell Programming and Scripting

FTP files from different directory from remote server to one directory in local

Hi All, I want to search for .log files from folders and sub folders in remote server and FTP them to one particular folder in the local machine. I dont want to copy the entire directory tree structure, just have to take all the .log files from all the folders by doing a recursive search from the... (3 Replies)
Discussion started by: dassv
3 Replies

9. UNIX for Advanced & Expert Users

How to rsync or tar directory trees, with hidden directory, but without files?

I want to backup all the directory tress, including hidden directories, without copying any files. find . -type d gives the perfect list. When I tried tar, it won't work for me because it tars all the files. find . -type d | xargs tar -cvf a.tar So i tried rsync. On my own test box, the... (4 Replies)
Discussion started by: fld2007
4 Replies
Login or Register to Ask a Question