Operating System - HP-UX
1825764 Members
2085 Online
109687 Solutions
New Discussion

Re: Device File in /var/sam ?

 
SOLVED
Go to solution
Rob Smith
Respected Contributor

Device File in /var/sam ?

Hi Everybody,

Was looking around the other day when I cam across a device file in /var/sam:

hpqad /var/sam =>ls -l
total 48
dr-xr-xr-x 9 bin bin 1024 Jul 11 14:41 ./
drwxr-xr-x 19 bin bin 1024 Sep 9 1997 ../
-rw-rw-rw- 1 root sys 0 May 31 2000 TMeHAAa25483
-rw-rw-rw- 1 root sys 0 May 31 2000 TMoIAAa25483
crw------- 1 root sys 188 0x022000 Jun 1 13:45 disk_query
drwxrwxrwx 2 root sys 1024 Apr 1 1998 dps/
-rw-r----- 1 root sys 29 Jul 11 14:40 hpqad.dion
-rw-r----- 1 root sys 6356 Jul 11 14:40 hpqad.iout
-rw-r----- 1 root sys 6356 Jul 11 10:19 hpqad.iout.old
drwxrwxrwx 2 bin bin 1024 Jul 11 14:41 lock/
dr-xr-xr-x 2 bin bin 1024 Jun 21 11:54 log/
drwxrwxrwx 8 root sys 1024 Oct 15 1998 lp/
dr-xr-xr-x 2 bin bin 1024 Mar 5 1997 preferences/
dr-xr-xr-x 2 bin bin 1024 Oct 26 1998 rt/
dr-xr-xr-x 3 bin bin 1024 Mar 5 1997 ug/
hpqad /var/sam =>lssf disk_query
sdisk card instance 2 SCSI target 2 SCSI LUN 0 section 0 at address 8/16/5.2.0 d
isk_query
hpqad /var/sam =>lsdev 188
Character Block Driver Class
188 31 sdisk disk

What does this do, why is it there? Just wondering. Thanks.

Rob



Learn the rules so you can break them properly.
1 REPLY 1
Stefan Farrelly
Honored Contributor
Solution

Re: Device File in /var/sam ?


Its just a temporary device file setup by sam to access your disk array when you were using Sam to talk to it. Sam does this just to be safe, in case your normal device files in /dev are wrong. Nothing to worry about.
Im from Palmerston North, New Zealand, but somehow ended up in London...