Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: aharon@healdb.health.gov.il (Aharon (Al) Schkolnik)
To: "Timothy J. Mickol" <mickoltj@halcyon.com>
Subject: Re: pc/windows diskettes on DEC UNIX/Alpha
Date: 1996/02/05	[thread overview]
Message-ID: <n4tt6bbsx.fsf@healdb.matat.health.gov.il> (raw)
In-Reply-To: 4f1r9d$hdg@news.halcyon.com

>>>>> "Timothy" == Timothy J Mickol <mickoltj@halcyon.com> writes:

    Timothy> How does one take a 3.5 diskette formatted under windows
    Timothy> 3.1n or windows 95 and mount/access it on a Dec alpha
    Timothy> running Dec Unix 3.2c? Is there any facility that is
    Timothy> equivalent to the SunOS/Solaris pcfs?



	Get a hold of mtools, and apply the following patch:

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 &lt;sys/types.h&gt;

--
  The day is short, and the work is great,     |   Aharon Schkolnik
  and the laborers are lazy, and the reward    |   Aharon@Matat.Health.Gov.IL
  is great, and the Master of the house is     |
  impatient. - Ethics Of The Fathers Ch. 2     |



      parent reply	other threads:[~1996-02-05  5:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-02-04  5:00 pc/windows diskettes on DEC UNIX/Alpha Timothy J. Mickol
1996-02-04  5:00 ` lih-sin the
1996-02-05  5:00 ` Aharon (Al) Schkolnik [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox