Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

<Q> Can Linux Mount a Mac Floppy

165 views
Skip to first unread message

Tim Bass (Network Systems Engineer)

unread,
Oct 2, 1994, 10:18:28 AM10/2/94
to

Got some ASCII text files on my Powerbook... Would like to write them
to the PB floppy and then mount the floppy on my linux box and
read the ascii text (and do some other stuff). I haven't seen this
in any FAQ or the The Linux Bible. Any clues for the clueless ;-)


Steve Kneizys

unread,
Oct 2, 1994, 1:56:53 PM10/2/94
to
Tim Bass (Network Systems Engineer) (ba...@cais2.cais.com) wrote:


: Got some ASCII text files on my Powerbook... Would like to write them


: to the PB floppy and then mount the floppy on my linux box and
: read the ascii text (and do some other stuff). I haven't seen this
: in any FAQ or the The Linux Bible. Any clues for the clueless ;-)

Well, my solution is, instead of making Linux understand the Mac
format why not make the Mac understand a format Linux does! I have
to exchange data between Mac, PC, VAX, Unix, and use FTP for most of
it. But when I do flopppy exchange, I use a DOS formatted floppy...
the Dayna product DOSMOUNTER for Mac lets me mount Dos floppies on the
Mac, write ascii files, then mount on Unix, etc.

I heard a rumor there was a shareware program that mounted DOS disks
on Macs, but never looked into it. But if you want to go this roundabout
way then I'd think some Mac folks could help more than I have.

Good luck!

Steve...

Jeff Kesselman

unread,
Oct 2, 1994, 2:28:31 PM10/2/94
to
In article <1994Oct2....@acad.ursinus.edu>,

Steve Kneizys <ST...@acad.ursinus.edu> wrote:
>Tim Bass (Network Systems Engineer) (ba...@cais2.cais.com) wrote:
>
>
>: Got some ASCII text files on my Powerbook... Would like to write them
>: to the PB floppy and then mount the floppy on my linux box and
>: read the ascii text (and do some other stuff). I haven't seen this
>: in any FAQ or the The Linux Bible. Any clues for the clueless ;-)
>
>Well, my solution is, instead of making Linux understand the Mac
>format why not make the Mac understand a format Linux does! I have
>to exchange data between Mac, PC, VAX, Unix, and use FTP for most of
>it. But when I do flopppy exchange, I use a DOS formatted floppy...
>the Dayna product DOSMOUNTER for Mac lets me mount Dos floppies on the
>Mac, write ascii files, then mount on Unix, etc.

You can also use Apple File Exchange. Its not a convenient but it comes
with system 7 at no additional charge. (It deosn't mount the DOS disk,
but allows you to copy files off it and onto it from the mac.)

Alternately, I use ACCESS PC (does basicly the same thing as dos
mounter) so there are many choices to accomplish this task.

Richard Keightley

unread,
Oct 3, 1994, 1:12:10 AM10/3/94
to
In article <36mffk$p...@news.cais.com>, ba...@cais2.cais.com (Tim Bass
(Network Systems Engineer)) wrote:

> Got some ASCII text files on my Powerbook... Would like to write them
> to the PB floppy and then mount the floppy on my linux box and
> read the ascii text (and do some other stuff).

I use the Macintosh HFS Access Tool by Craig Southeren
geo...@extro.ucc.su.oz.au which allows my Linux box to read hfs formated
disks. It is on Sunsite at /pub/Linux/utils/disk-management/xhfs0_3.tgz
(69047) but I got it from my June 94 InfoMagic CD rom #1.

I take gifs across all the time. (but really must upgrade from sneaker net)

--
Richard Keightley Scottsdale,AZ
email <rich...@world.std.com>
web <http://www.indirect.com/user/richardk/index.html>

zening ge

unread,
Oct 3, 1994, 12:17:46 AM10/3/94
to
I have two problems:

On my Slackware 2.0.1, the system boots with error message telling
me that file "utmp" cannot be found and I checked with /etc and it is there.
As a result, whenever I do a "who" I get nothing.

I cannot run any program which calls SVGALIB as a normal user because
of the lack of I/O permission. I guess there may be something wrong
with the permission setting with the tty's, but I failed to find any.

Can somebody please help me? Thanks in advance.


--
Zening Ge
Department of Economics | Member of Board of Directors
The University of Chicago | The Chinese Economists Society
Chicago, IL 60637

jason a duerstock

unread,
Oct 2, 1994, 6:46:12 PM10/2/94
to
Tim Bass (Network Systems Engineer) (ba...@cais2.cais.com) wrote:


: Got some ASCII text files on my Powerbook... Would like to write them


: to the PB floppy and then mount the floppy on my linux box and
: read the ascii text (and do some other stuff). I haven't seen this
: in any FAQ or the The Linux Bible. Any clues for the clueless ;-)

Write it to a DOS floppy with Apple File Exchange + then mount it as an
MSDOS disk on the Linux system. If there are plans to support the Mac
HFS, I don't know about them.

Jason

Patrick Schaaf

unread,
Oct 3, 1994, 9:34:35 AM10/3/94
to
zg...@ellis.uchicago.edu (zening ge) writes:

>On my Slackware 2.0.1, the system boots with error message telling
>me that file "utmp" cannot be found and I checked with /etc and it is there.
>As a result, whenever I do a "who" I get nothing.

With newer libc's, the location of the utmp file might have changed.

Run the following:
strace -o /tmp/who.trc /bin/who
This will generate a system call trace in /tmp/who.trc. Look at that
file, search for 'utmp' - you should see an open() system call with
the path listed.

>I cannot run any program which calls SVGALIB as a normal user because
>of the lack of I/O permission. I guess there may be something wrong
>with the permission setting with the tty's, but I failed to find any.

I don't know SVGALIB, but either a program linked to it needs r/w access
to /dev/port, or it has to be setuid root (chown root prog;chmod 4711 prog)

If you have the choice, prefer X programs over SVGALIB ones.

bye
Patrick

Andrew Berkley

unread,
Oct 3, 1994, 10:37:49 AM10/3/94
to
Obviously, the only users that you would want to run SVGALIB programs
are logged in at the console -- and that is nicely handled by SVGALIB
(try running sasteroids from a telnet :). But, since SVGALIB needs access
to /dev/console (new versions) which is a link to a tty0-6, you need
someway of letting it access them. One solution is to make tty? world
readable/writeable/etc, but that's just wrong... The real solution, which
most SVGALIB install programs do (witness zgv) is to install the program
with owner _root_, and set the 'Run this program as owner' bit on the
program.
chmod a+s FileName


Clifford Story

unread,
Oct 3, 1994, 10:37:40 AM10/3/94
to
In article <36nd7k$h...@newshost.fiu.edu> jason a duerstock,
jdue...@solix.fiu.edu writes:

> If there are plans to support the Mac HFS, I don't know about them.

Pretty unlikely, I'd think, since Apple likes to keep internals to
itself...

I just stick in a floppy, choose "Erase Disk..." from the Finder's
Special menu,
and "DOS 1.4 MB" from the "Format" pop-up on the resulting dialog. This
gives
me a DOS-format disk; I then copy whatever files I want directly to it.
No need
for third-party software. I'm running System 7.1.

This doesn't correct the newline conflicts, of course - the Mac uses a CR
(0x0D),
UNIX and Linux a linefeed (0x0A), and DOS uses both (0x0D0A). But that's
a
trivial filter to write.

Cliff

Nick Hilliard

unread,
Oct 3, 1994, 2:21:32 PM10/3/94
to
Andrew Berkley (a...@wonder.resnet.cornell.edu) wrote:
: Obviously, the only users that you would want to run SVGALIB programs

This is *NOT* a solution. This is *DANGEROUS* and *STUPID*.

Please a) read some books about system administration and security, and b)
think twice about the logical outcome of this sort of 'advice' before
posting to the net.

Note: follow-ups redirected to c.o.l.misc.

Nick
--
Thought for the day:
"Don't worry about people stealing your ideas. If your ideas are any
good, you'll have to ram them down people's throats."
-- Howard Aiken

N J Bailey

unread,
Oct 4, 1994, 5:08:05 AM10/4/94
to
In article p...@news.cais.com, ba...@cais2.cais.com (Tim Bass (Network Systems Engineer)) writes:
> Got some ASCII text files on my Powerbook... Would like to write them
> to the PB floppy and then mount the floppy on my linux box and
...
I'm not a Mac expert, but the ones I've used car read and write MSDOS disks.
The disk icon looks like a floppy with PC written on it in large letters.
Perhaps your solution is to use an IBM-formatted floppy, and then mount it
on you r linux box with the -t msdos flag.

Nick.

---
-------------------------------------------------------------------------------
Nick Bailey Telephone: +44 532 332057
Lecturer in Electronic Engineering Facsimile: +44 532 332032
University of Leeds
Woodhouse Lane
Leeds LS2 9JT
United Kingdom
===============================================================================


Myung Cho 40-242E

unread,
Oct 4, 1994, 10:07:56 AM10/4/94
to
In article <1994Oct2....@acad.ursinus.edu> ST...@acad.ursinus.edu (Steve Kneizys) writes:

Newsgroups: comp.os.linux.admin
From: ST...@acad.ursinus.edu (Steve Kneizys)
Date: 2 Oct 94 12:56:53 EST
Organization: Ursinus College

Good luck!

Steve...

Better yet, I use suntar 2.0, a macintosh freeware that reads and writes unix tar format.
This way you could tar up all the text right to the floppy on the mac and untar it on the
Linux box. No need to go through an intermediate PC format.

You can get suntar 2.0 from usual mac archive sites.

mcho@mhny Salomon Brothers Inc.


Stefan Taferner

unread,
Oct 5, 1994, 8:37:41 AM10/5/94
to
In article <MCHO.94Oct4100757@ba4_50.sbi.com>, mcho@ba4_50.sbi.com (Myung Cho 40-242E) writes:
> : Got some ASCII text files on my Powerbook... Would like to write them
> : to the PB floppy and then mount the floppy on my linux box and
> : read the ascii text (and do some other stuff). I haven't seen this
> : in any FAQ or the The Linux Bible. Any clues for the clueless ;-)

There is a package on the net called hfs tools that allows access for
mac HFS floppies, similar to mtools for dos disks.

The version I have is 0.3, but don't ask me where it is.

--
Stefan Taferner, RISC Linz, Austria | Hardware, n.: The parts of a computer
email: staf...@risc.uni-linz.ac.at | system that can be kicked

Christopher Wiles

unread,
Oct 5, 1994, 2:17:39 PM10/5/94
to
staf...@risc.uni-linz.ac.at (Stefan Taferner) writes:

: There is a package on the net called hfs tools that allows access for


: mac HFS floppies, similar to mtools for dos disks.
:
: The version I have is 0.3, but don't ask me where it is.

sunsite.unc.edu:/pub/Linux/system/filesystems? Something like that ...

.. and I just started using it. Real nice.

-- Chris

a001...@wsuaix.csc.wsu.edu wil...@halcyon.com wil...@quark.chs.wa.com
"... but I want to use all eight comm ports SIMULTANEOUSLY!"
PGP 2.6 public key available by finger for the clinically paranoid.

Kevin Cummings

unread,
Oct 5, 1994, 3:33:00 PM10/5/94
to

I think that you need to have the PB write them out to an MSDOS formatted
floppy. You can then mount the floppy directly on a Linux system compiled with
the MSDOS files system support (or use the mtools on a system without it).
There is currently no support for MAC format floppies under Linux.

Is there even a project ongoing to support it? I thought that at least at some
level Apple used some variable speed drives and varied the speed of the drive
depending on which track was being written to. This allowed them to write
more sectors onto some tracks than others resulting in more storage. The
floppy drives found in most "IBM-compatible" PCs are fixed speed drives
making it near impossible to read Apple formatted floppies (never mind
write them).

If your PB is using a fixed speed floppy drive, then it should be possible
to read them under Linux. Whether you can or not will depend on the system
software (floppy disk driver, and whether or not it can recognize and support
the drive).

--
Kevin J. Cummings Peritus Software Services, Inc.
cumm...@kjc386.framingham.ma.us cumm...@peritus.com

Mark J. Dulcey

unread,
Oct 5, 1994, 6:46:56 PM10/5/94
to
In article <1994Oct...@hammer.westboro-ma.peritus.com> cumm...@hammer.westboro-ma.peritus.com writes:
>
>Is there even a project ongoing to support it? I thought that at least at some
>level Apple used some variable speed drives and varied the speed of the drive
>depending on which track was being written to. This allowed them to write
>more sectors onto some tracks than others resulting in more storage. The
>floppy drives found in most "IBM-compatible" PCs are fixed speed drives
>making it near impossible to read Apple formatted floppies (never mind
>write them).

400K and 800K Mac floppies used variable-speed recording, with more
sectors on the outer tracks. It's actually possible to read and write
such disks without a variable-speed disk drive -- you use a variable
speed controller instead. The Copy II Deluxe Option Board that Central
Point Software used to sell was capable of this trick, as was the
Spectre GCR add-on for the Atari ST.

1.44MB Mac floppies use IBM-style fixed-speed MFM recording, but still
use a Mac-style HFS directory structure, so you can't read them on a PC
without special software. PC-compatible 720K and 1.44MB floppies
written by a Mac use MFM recording and a standard DOS directory and FAT.

Rumor has it that future Mac models will drop the variable speed disk
drives, so they won't be able to read old Mac floppies. They're also
going to drop the auto-eject mechanism. (Basically, they're planning
to use standard IBM-style floppy drives; because of the economies of
scale, those drives are significantly less expensive.)

If there is any Linux software to read Macintosh disks, I would expect
it to only be able to read the 1.44MB ones, which can be easily read
by a standard IBM-compatible floppy controller.

sean....@dundee.ncr.com

unread,
Oct 6, 1994, 7:39:27 AM10/6/94
to
>> Got some ASCII text files on my Powerbook... Would like to write them
>> to the PB floppy and then mount the floppy on my linux box and
>> read the ascii text (and do some other stuff).
>
>I use the Macintosh HFS Access Tool by Craig Southeren
>geo...@extro.ucc.su.oz.au which allows my Linux box to read hfs formated
>disks. It is on Sunsite at /pub/Linux/utils/disk-management/xhfs0_3.tgz
>(69047) but I got it from my June 94 InfoMagic CD rom #1.

>I take gifs across all the time. (but really must upgrade from sneaker net)

On a related topic, can this tool be used to read a Mac HFS format CD-ROM
on linux ?

Sean

--
Sean Gordon AT&T GIS Dundee, Kingsway West, Dundee, DD2 3XX
Email : sean....@dundee.ncr.com [ This .signature file was adapted for
Tel : +44 (0)382 592586 [ radio by nailing it to a piece of wood.
Fax : +44 (0)382 622243 [ #include<std_disclaimer.h>

Anthony J. Stuckey

unread,
Oct 7, 1994, 12:58:46 PM10/7/94
to

Then Learn.


Path: vixen.cso.uiuc.edu!howland.reston.ans.net!europa.eng.gtefsd.com!MathWorks.Com!news.kei.com!news.byu.edu!news.mtholyoke.edu!nic.umass.edu!twain.ucs.umass.edu!apj
From: a...@twain.ucs.umass.edu (ADAM P JENKINS)
Newsgroups: comp.os.linux.help
Subject: Re: Write Mac disk in linux??
Date: 15 May 1994 03:30:17 GMT
Organization: University of Massachusetts, Amherst
Lines: 23
Message-ID: <2r4509$p...@nic.umass.edu>
References: <CpqGw...@icews5.ipc.kanazawa-u.ac.jp>
NNTP-Posting-Host: twain.ucs.umass.edu
X-Newsreader: TIN [version 1.2 PL2]

Azlan Ali (aw...@icews1.ipc.kanazawa-u.ac.jp) wrote:
: I am wondering if I can write some Mac binaries from linux to disk. Is it
: possible to just dd <something> directly to the Mac disk. Any info can really
: help me.

: Azlan Ali
: Kanazawa University

: --
: +-------------------------------\
: | Azlan Ali \ __ -====-
: | aw...@icews1.ipc.kanazawa-u.ac.jp\ |=\___v_|__|_\/
: | Kanazawa University \____|_______|__|_||

Try this file.
sunsite.unc.edu:/pub/Linux/utils/disk-management/xhfs0_3.tgz

It's at least supposed to let you read Mac disks, I'm not sure if you
can write with it too. Hope this helps.

--Adam
a...@twain.ucs.umass.edu


--
Anthony J. Stuckey stu...@mrcnext.cso.uiuc.edu
"And if you frisbee-throw a universe where does it go?" -- Steve Blunt.
GCS/S -d+@ p c(++) l u+ e+(-) m+(*) s+++/-- !n h(*) f+ g+ w+ t+@ r y?
KiboNumber == 1

Holger Petersen

unread,
Oct 7, 1994, 4:55:38 PM10/7/94
to
ST...@acad.ursinus.edu (Steve Kneizys) writes:

>Tim Bass (Network Systems Engineer) (ba...@cais2.cais.com) wrote:


>: Got some ASCII text files on my Powerbook... Would like to write them

>Well, my solution is, instead of making Linux understand the Mac


>format why not make the Mac understand a format Linux does!


But Linux _can_ use (read & write) MAC-Floppies !
Look for a thing like xhfs###. I found mine on the
Spring-Infomagic-CD.

But I would like to read MAC-CD's too...

OR have a simple SLIP for MAC
OR at least have a sort of "tree" / "ls -R" on the MAC.

>Steve...

Greetings, Holger

Paul English

unread,
Oct 7, 1994, 12:06:06 AM10/7/94
to
Tim Bass (Network Systems Engineer) (ba...@cais2.cais.com) wrote:
> Got some ASCII text files on my Powerbook... Would like to write them
> to the PB floppy and then mount the floppy on my linux box and
> read the ascii text (and do some other stuff). I haven't seen this
> in any FAQ or the The Linux Bible. Any clues for the clueless ;-)

HFS will allow you to read high density Macintosh disks. I believe it
is not possible for the drives in most PCs to read the 800K format.
Note this is a read only utility, I don't know of any way to write to
a mac disk.

Here's the LSM entry:

Title: Macintosh HFS Access Tool
Version: 0.3
Description: This program allows non-Macintosh hosts to read
Macintosh HFS format disks Includes Linux executable
Author: Craig Southeren
AuthorEmail: geo...@extro.ucc.su.oz.au
Maintainer: Craig Southeren
MaintEmail: geo...@extro.ucc.su.oz.au
Required: g++ 2.5.2 (preferred)
CopyPolicy: GNU Public License version 2
Keywords: hfs, macintosh,
DateEntered: 12JAN94
WhoEntered: Craig Southeren
EmailEntered: geo...@extro.ucc.su.oz.au
Location1: sunsite.unc.edu:
/pub/Linux/utils/disk-management/xhfs0_3.tgz (69047)

--
,-_|\ | Paul English (p.en...@nepean.uws.edu.au) =-=-=-=-=-=-=-=-=-=
/ \ | Associate Lecturer | PO Box 10 | Ph: +61 47 36 0607
\_.--_/ <- | Department of Computing | Kingswood 2747 | Fax: +61 2 678 5570
v | UWS - Nepean | NSW, AUSTRALIA |
<a href=http://www.st.nepean.uws.edu.au/~paule>My WWW Home Page</a>

Wade Maxfield

unread,
Oct 9, 1994, 6:20:31 PM10/9/94
to

>
>In article <36mffk$p...@news.cais.com>, ba...@cais2.cais.com (Tim Bass (Network Systems Engineer)) writes:

>> Got some ASCII text files on my Powerbook... Would like to write them
>> to the PB floppy and then mount the floppy on my linux box and
>> read the ascii text (and do some other stuff). I haven't seen this
>> in any FAQ or the The Linux Bible. Any clues for the clueless ;-)

I think the easist way is to use the Macintosh program that translates files
from Mac Format to MSDOS format. In the process, it will also copy a file to a
dos formatted floppy.

Then, mount the floppy under linux (on my Yggdrasil version, mount -t msdos
-o conv=text /dev/fd0 /mnt), and copy the files onboard.

Wade
maxf...@ix.netcom.com

Michael Knigge

unread,
Oct 8, 1994, 6:49:58 AM10/8/94
to
Andrew Berkley (a...@wonder.resnet.cornell.edu) wrote:
: to /dev/console (new versions) which is a link to a tty0-6, you need

: someway of letting it access them. One solution is to make tty? world
: readable/writeable/etc, but that's just wrong... The real solution, which
: most SVGALIB install programs do (witness zgv) is to install the program
: with owner _root_, and set the 'Run this program as owner' bit on the
: program.
: chmod a+s FileName


Yes, thats right. But SVGALIB needs access to /dev/mem too!!!!!! And for
security reasons /dev/mem should only be read/writeable to root. Therefore
all Programs that uses SVGALIB _MUST_ be running SETUID root. I don't know
an other solution.....

Bye
Knick
--
-----------------------------------------------------------------------
--- Michael Knigge eMail: kn...@cove.han.de ---
-----------------------------------------------------------------------

0 new messages