The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > SCO
.
google unix.com



SCO Santa Cruz Operation (SCO) was a software company based in Santa Cruz, California which was best known for selling three UNIX variants for Intel x86.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
SCO Openserver Release 5 and HP VS160 Tape Drive jfd7000 SCO 3 05-17-2008 01:52 PM
tape drive access/backup davel1000 HP-UX 5 05-15-2008 09:16 AM
SCO hard drive with data - No SCO computer lordlars1 SCO 3 03-11-2008 05:26 PM
how to access a windows shared drive from HPUX? nicky88 HP-UX 5 09-27-2004 11:55 PM
Magneto-Optical drive for SCO Openserver 5.0.5 yurist UNIX for Advanced & Expert Users 2 03-01-2002 01:59 PM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #8 (permalink)  
Old 06-26-2009
kshji's Avatar
kshji kshji is offline
Registered User
  
 

Join Date: Jun 2009
Location: Finland
Posts: 236
Post

/sbin/sdiconfig -l
- grep usb_msto line
- output example
2:0,7,0: HBA usb_msto,1
- interesting value is first value = 2
id=2
- in this example device to mount is
mount /dev/dsk/c${id}b0t0d0pa /mnt

and example
fdisk /dev/rdsk/c${id}b0t0d0p0

ksh/bash function:

usb="/usb"

mountusb()
{
oifs="$IFS"
IFS=":"
read devid xx <<EOF
$(/sbin/sdiconfig -l | grep usb_msto )
EOF
IFS="$oifs"
[ "$devid" = "" ] && echo "no usb disk" >&2 && return 1
print "devid:$devid"
mkdir $usb 2>/dev/null
mount /dev/dsk/c${devid}b0t0d0pa $usb
stat=$?
[ "$stat" != 0 ] && echo "can't mnt" >&2 && return 1
df -v
return $stat
}
  #9 (permalink)  
Old 07-10-2009
jksah jksah is offline
Registered User
  
 

Join Date: Dec 2008
Posts: 7
Hi ,

The output of the command on my system is as below ...

sco1:/root:>/sbin/sdiconfig -l
0:0,7,0: HBA : (mpt,2) LSI Logic 1030 10329
0,0,0: DISK : MAXTOR ATLAS10K5_147SCAJNZH
0,1,0: DISK : MAXTOR ATLAS10K5_147SCAJNZH
0,2,0: DISK : MAXTOR ATLAS10K5_147SCAJNZH
0,3,0: DISK : MAXTOR ATLAS10K5_147SCAJNZH
1:0,7,0: HBA : (mpt,1) LSI Logic 1030 10329
2:0,2,0: HBA : (ide,1) Generic IDE/ATAPI
0,0,0: CDROM : HL-DT-STRW/DVD GCC-H21N 1.00
4:0,7,0: HBA : (usb_msto,2) USB USB HBA
0,0,0: DISK : KingstonDataTraveler2.0 1.00

sco1:/root:>mount /dev/dsk/c4b0t0d0pa /temp
UX:dosfs mount.svr5: ERROR: /dev/dsk/c4b0t0d0pa is not an dosfs file system,
or /temp is busy.


The pen drive device doesn't mount ... not able to figure out ...
  #10 (permalink)  
Old 07-10-2009
kshji's Avatar
kshji kshji is offline
Registered User
  
 

Join Date: Jun 2009
Location: Finland
Posts: 236
Did you see /temp in your df list ?
Code:
df -v
Make new dir and use it
Code:
mkdir /some
mount /dev/dsk/c4b0t0d0pa  /some
My usb was fat32.
This method my usb mounted okay.
Sponsored Links
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 05:18 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0