Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!crdgw1!uunet!ncrcom!ncrwat!ncrcan!tim From: tim@ncrcan.Canada.NCR.CA (tim) Newsgroups: comp.sys.ncr Subject: Re: Pcdsk on SCSI flex Keywords: pcdsk SCSI Message-ID: <3794@ncrcan.Canada.NCR.CA> Date: 3 Apr 91 16:21:54 GMT References: <1991Mar19.005953.15726@pilikia.pegasus.com> Reply-To: tim.nelson@canada.ncr.com Organization: NCR Canada Ltd. Mississauga, Ontario Lines: 78 In article <1991Mar19.005953.15726@pilikia.pegasus.com> art@pilikia.pegasus.com (Art Neilson) writes: >We have a problem writing to our SCSI 5.25 flex via pcdsk(1). I realize >pcdsk is an unsupported utility, this means we are SOL if NCR doesn't >know of an answer offhand. Pcdsk works just fine on MSC based flex drives, >however it does not work for SMSC and HPMSC (SCSI) based flex drives. On >our Tower 32/650 in the /etc/RELDEF directory, the following text can be >found in the file 3.00.00.rd: [ stuff deleted ] >Hmmmm. the nodes mentioned here yeild no joy when created with mknod(1), >pcdsk complains that it can't open /dev/pcdsk/h2s9. I do know of some >nodes that work, they are as follows: > > /dev/pcdsk/h2s8 major no. 64, minor no. 200 > /dev/pcdsk/h2s9 major no. 64, minor no. 204 > [ more stuff deleted ] Here is the file which I used on a 450, with a SCSI flex. I found that the "utm" will sometimes core dump when copying several files at a time. The solution to this is to do a "dir" as the first command after pcdsk has been run, then do the "utm". ---cut-here---------------------------------------------------------- # Copyright 1988 NCR Corporation - Dayton, Ohio, USA # @(#)cmd/pcdsk:pcnodes.sh 1.1 # # Shellscript to make device nodes to recognize PC disks. echo "Making device nodes for PC disks" if [ ! -d /dev/pcdsk ] then echo "Creating directory '/dev/pcdsk' to contain device nodes" mkdir /dev/pcdsk chmod 755 /dev/pcdsk fi echo "Raw PC -- 40 tracks, 1 side, 8 sectors per track ... /dev/pcdsk/h1s8" /etc/mknod /dev/pcdsk/h1s8 b 2 162 chmod 666 /dev/pcdsk/h1s8 echo "Raw PC -- 40 tracks, 1 side, 9 sectors per track ... /dev/pcdsk/h1s9" /etc/mknod /dev/pcdsk/h1s9 b 2 178 chmod 666 /dev/pcdsk/h1s9 echo "Raw PC -- 40 tracks, 2 sides, 8 sectors per track ... /dev/pcdsk/h2s8" /etc/mknod /dev/pcdsk/h2s8 b 2 34 chmod 666 /dev/pcdsk/h2s8 echo "Raw PC -- 40 tracks, 2 sides, 9 sectors per track ... /dev/pcdsk/h2s9" /etc/mknod /dev/pcdsk/h2s9 b 2 50 chmod 666 /dev/pcdsk/h2s9 echo "Raw PC -- 80 tracks, 1 side, 8 sectors per track ... /dev/pcdsk/t80h1s8" /etc/mknod /dev/pcdsk/t80h1s8 b 2 130 chmod 666 /dev/pcdsk/t80h1s8 echo "Raw PC -- 80 tracks, 1 side, 9 sectors per track ... /dev/pcdsk/t80h1s9" /etc/mknod /dev/pcdsk/t80h1s9 b 2 146 chmod 666 /dev/pcdsk/t80h1s9 echo "Raw PC -- 80 tracks, 2 sides, 8 sectors per track ... /dev/pcdsk/t80h2s8" /etc/mknod /dev/pcdsk/t80h2s8 b 2 2 chmod 666 /dev/pcdsk/t80h2s8 echo "Raw PC -- 80 tracks, 2 sides, 9 sectors per track ... /dev/pcdsk/t80h2s9" /etc/mknod /dev/pcdsk/t80h2s9 b 2 18 chmod 666 /dev/pcdsk/t80h2s9 ls -ls /dev/pcdsk/* ---cut-here---------------------------------------------------------- -- Tim.Nelson@Canada.NCR.COM - or - Tim.Nelson@Canada.NCR.CA NCR Canada, Customer Support Services (416) 819-4112