path_to_inst file question


 
Thread Tools Search this Thread
Operating Systems Solaris path_to_inst file question
# 1  
Old 05-16-2008
path_to_inst file question

When path_to_inst file get created? Can we manually edit it?

Thanks
# 2  
Old 05-17-2008
maps the physical device names to instance numbers. it is what is attached to the system and managed by devfsadm (i think, i maybe wrong on this one).
technically, you could manually edit this file but i won't touch it because it can really screw you up. if you ever screw it up, boot to cdrom and copy the /etc/path_to_inst from cd.
anyway i think devfsadm builds the attached devices and maps them in this file. its read only at boot time.

hope this helps a bit.
# 3  
Old 05-17-2008
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Incorrect fabric WWN and path_to_inst Solaris 9

Hi, Over a period of time we gradually migrated all LUN's from our HP EVA array over to our EMC array. From the server it would appear some files require a tidy up and was wondering what the impact it would have if changes were to be made to the fabric_WWN_map and path_to_inst files and if... (0 Replies)
Discussion started by: jamba1
0 Replies

2. UNIX for Dummies Questions & Answers

Question regarding lm file

How to know where a ln file point to.ln files is soft link which point to some file. I want to get the absolute path of that file which my lm files pointing to. (5 Replies)
Discussion started by: mr_deb
5 Replies

3. UNIX for Dummies Questions & Answers

path_to_inst output for usb storage device

Hello, I have a sun blade 100 with solaris 10 and am perplexed by the instances of devices that I see when I attach a usb flash stick to one of the ports in the back of the chassis. Here is what I see for USB storage in /etc/path_to_inst: "/pci@1f,0/usb@c,3/storage@3" 0 "scsa2usb"... (0 Replies)
Discussion started by: montana77
0 Replies

4. Shell Programming and Scripting

mk file question

In a makefile when you specify something like.... xxx-xx: -$(yyy) $(zzz) What does the"-" (hyphen) before the "$" mean? (assuming xxx-xx is the target name) (2 Replies)
Discussion started by: felixmat1
2 Replies

5. Shell Programming and Scripting

Post Shell programming: Question about source a file and read data from the file

This is shell programming assignment. It needs to create a file called .std_dbrc contains STD_DBROOT=${HOME}/class/2031/Assgn3/STD_DB (which includes all my simple database files) and I am gonna use this .std_dbrc in my script file (read the data from the database files) like this: .... (3 Replies)
Discussion started by: ccwq
3 Replies

6. Filesystems, Disks and Memory

/etc/path_to_inst

Hello Friends I was using V490 server with StoreEdge 3500 on Solaris 5.8 platform. It got crashed when the optical link between 3500 and V490 got failed. After a long effort it is now getting messege like below, Rebooting with command: boot Boot device:... (6 Replies)
Discussion started by: ailnilanjan
6 Replies

7. Shell Programming and Scripting

File count question..

This will likely be a simple one for you gurus! I have the following line: xcount=`ls -1p $process_dir | grep -v '\/' | grep -c "$"` xcount ends up being a count of the files in the directory represented by process_dir. So if I have 10 files in there like test.dat, test.rpt, etc. it... (1 Reply)
Discussion started by: gerard1
1 Replies

8. Solaris

cannot open /etc/path_to_inst file

In trouble... booted system and error on prom is "cannot open /etc/path_to_inst file" Any suggestions? (4 Replies)
Discussion started by: frustrated1
4 Replies

9. Shell Programming and Scripting

file question

without using a file stream editor such as sed, is there a way to echo the value of a variable to a specific location in a file (i.e. if the file has 20 lines, can I add a new line with the contents of the variable FOO at line 1?) ? I should add that the file will be created during run time. The... (7 Replies)
Discussion started by: google
7 Replies

10. UNIX for Dummies Questions & Answers

Newbie question about difference between executable file and ordinary file

Hi, I am newbie in unix and just started learning it. I want to know what is the difference between an executable file and a file (say text file). How to create executable file? What is the extension for that? How to differentiate ? How does it get executed? Thanks (1 Reply)
Discussion started by: Balaji
1 Replies
Login or Register to Ask a Question