Summary: RX26 Floppy drive

From: John Peden <pdxjfp_at_evol.gene.nottingham.ac.uk>
Date: Fri, 11 Nov 94 12:44:32 +0000

Thanks to all those who replied, there were three main
threads to the suggestions.

a) use newfs /dev/rfd0c rx26 before mounting
the disk ( this however produced a disk full error )

It was suggested to look at the disklabel using
disklabel -rw /dev/[r]fd0c RX26 ( not character device error)

b) use scu -f /dev/rfd0c
(this produced a -- not a character type device error )

c) get mtools version 2.0.7 and apply a alpha OSF patch,
which I include in this posting. This was the most
successful option.

Option C worked, I can now read and write files
to the RX26 in a MSDOS compatable manner. I still
however can't treat this drive as a ordinary OSF/UFS
device ( still unable to mount it as a file system )
but mtools answers almoat all of my problems.


Many thanks to
jrosenfe_at_darwin.cc.nd.edu ( joseph rosenfeld )
stellr_at_smyrna.cc.vt.edu ( Ray Stell )
8810057q_at_fizix.levels.unisa.edu.au (Angela Nolan )
anthony.baxter_at_aaii.oz.au (Anthony Baxter)
sanjay_at_gough.ce.berkeley.edu
im_at_uvo.dec.com ( nagroM W sirdI )
steve_at_eiscat.ag.rl.ac.uk ( Steve Crothers )
Georges.Dubus_at_univ-lille1.fr ( Georges Dubus )
kobig_at_neora.iso.dec.com ( Kobi Gover )
jjd_at_uamc12.fmc.uam.es (Jose Jesus Dorado Montero)


john peden



/////////////////////////////cut here//////////////////////////////////

diff -cr mtools-2.0.7/Makefile mtools-2.0.7.alpha/Makefile
*** mtools-2.0.7/Makefile Thu Sep 10 16:10:46 1992
--- mtools-2.0.7.alpha/Makefile Thu Oct 06 08:52:59 1994
***************
*** 13,20 ****
  # for Xenix
  #CFLAGS = -O -M2e -DINT16 -DXENIX -DLOCKF
  #LDFLAGS = -s -M2e -i -f 5000
  
! CFLAGS = -O -DSPARC -DBSD
  LDFLAGS = -s
  LD = $(CC)
  LINT = lint
--- 13,26 ----
  # for Xenix
  #CFLAGS = -O -M2e -DINT16 -DXENIX -DLOCKF
  #LDFLAGS = -s -M2e -i -f 5000
+ # for Alpha/OSF
+ #CFLAGS = -O -DBSD -DFLOCK
  
! # For Alpha/OSF use installbsd
! INSTALL=installbsd
! #INSTALL=install
!
! CFLAGS = -O -DBSD -DFLOCK
  LDFLAGS = -s
  LD = $(CC)
  LINT = lint
***************
*** 107,128 ****
  
  install: all
          -mkdir $(BINDIR)
! for prog in $(PROGS); do install $$prog $(BINDIR)/$$prog; gln -sf ../mtools/$$prog ${DETDIR}/usr/local/bin; done
! install -c -m 644 Mattrib.1 $(MANDIR)/mattrib.$(MANEXT)
! install -c -m 644 Mcd.1 $(MANDIR)/mcd.$(MANEXT)
! install -c -m 644 Mcopy.1 $(MANDIR)/mcopy.$(MANEXT)
! install -c -m 644 Mdel.1 $(MANDIR)/mdel.$(MANEXT)
! install -c -m 644 Mdir.1 $(MANDIR)/mdir.$(MANEXT)
! install -c -m 644 Mformat.1 $(MANDIR)/mformat.$(MANEXT)
! install -c -m 644 Mlabel.1 $(MANDIR)/mlabel.$(MANEXT)
! install -c -m 644 Mmd.1 $(MANDIR)/mmd.$(MANEXT)
! install -c -m 644 Mrd.1 $(MANDIR)/mrd.$(MANEXT)
! install -c -m 644 Mread.1 $(MANDIR)/mread.$(MANEXT)
! install -c -m 644 Mren.1 $(MANDIR)/mren.$(MANEXT)
! install -c -m 644 Mtools.1 $(MANDIR)/mtools.$(MANEXT)
! install -c -m 644 Mtype.1 $(MANDIR)/mtype.$(MANEXT)
! install -c -m 644 Mwrite.1 $(MANDIR)/mwrite.$(MANEXT)
! install -c -m 644 Mkmanifest.1 $(MANDIR)/mkmanifest.$(MANEXT)
  
  clean:
          rm $(PROGS) *.o core a.out tags TAGS
--- 113,134 ----
  
  install: all
          -mkdir $(BINDIR)
! for prog in $(PROGS); do $(INSTALL) $$prog $(BINDIR)/$$prog; done
! $(INSTALL) -c -m 644 Mattrib.1 $(MANDIR)/mattrib.$(MANEXT)
! $(INSTALL) -c -m 644 Mcd.1 $(MANDIR)/mcd.$(MANEXT)
! $(INSTALL) -c -m 644 Mcopy.1 $(MANDIR)/mcopy.$(MANEXT)
! $(INSTALL) -c -m 644 Mdel.1 $(MANDIR)/mdel.$(MANEXT)
! $(INSTALL) -c -m 644 Mdir.1 $(MANDIR)/mdir.$(MANEXT)
! $(INSTALL) -c -m 644 Mformat.1 $(MANDIR)/mformat.$(MANEXT)
! $(INSTALL) -c -m 644 Mlabel.1 $(MANDIR)/mlabel.$(MANEXT)
! $(INSTALL) -c -m 644 Mmd.1 $(MANDIR)/mmd.$(MANEXT)
! $(INSTALL) -c -m 644 Mrd.1 $(MANDIR)/mrd.$(MANEXT)
! $(INSTALL) -c -m 644 Mread.1 $(MANDIR)/mread.$(MANEXT)
! $(INSTALL) -c -m 644 Mren.1 $(MANDIR)/mren.$(MANEXT)
! $(INSTALL) -c -m 644 Mtools.1 $(MANDIR)/mtools.$(MANEXT)
! $(INSTALL) -c -m 644 Mtype.1 $(MANDIR)/mtype.$(MANEXT)
! $(INSTALL) -c -m 644 Mwrite.1 $(MANDIR)/mwrite.$(MANEXT)
! $(INSTALL) -c -m 644 Mkmanifest.1 $(MANDIR)/mkmanifest.$(MANEXT)
  
  clean:
          rm $(PROGS) *.o core a.out tags TAGS
diff -cr mtools-2.0.7/devices.c mtools-2.0.7.alpha/devices.c
*** mtools-2.0.7/devices.c Thu Sep 10 16:11:17 1992
--- mtools-2.0.7.alpha/devices.c Wed Feb 09 08:54:18 1994
***************
*** 103,108 ****
--- 103,115 ----
  };
  #endif /* SUN386 */
  
+ #ifdef __alpha
+ struct device devices[] = {
+ {'A', "/dev/rfd0c", 0L, 12, 0, (int (*) ()) 0, 80, 2, 18},
+ {'A', "/dev/rfd0c", 0L, 12, 0, (int (*) ()) 0, 80, 2, 9},
+ {'\0', (char *) NULL, 0L, 0, 0, (int (*) ()) 0, 0, 0, 0}
+ };
+ #endif /* __alpha */
    
  #ifdef SPARC_ODD
  #include <sys/types.h>
Received on Wed Jan 11 1995 - 09:01:26 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:45 NZDT