[comp.unix.aux] HFS volumes uner A/UX revisited

d88-jwa@byse.nada.kth.se (Jon W{tte) (04/11/91)

How hard would it be to write a device driver that read HFS volumes ?

How hard would it be to implement a NFS server that exported a HFS
volume ?

Or even a "ftp" server that used a HFS disk (much like NCSA Telnet)
though the two previous suggestions would be of much more use.

Just a question, (Poking Apple OS Development in the side...)

							h+@nada.kth.se
							Jon W{tte

--
          I remain: h+@nada.kth.se (Jon W{tte) (Yes, a brace !)
"It's not entirely useless. I came in this great cardboard box !" - Calvin
"Life should be more like TV. I think all women should wear tight clothes,
       and all men should carry powerful handguns" - Calvin, again

liam@cs.qmw.ac.uk (William Roberts;) (04/17/91)

In <D88-JWA.91Apr11124853@byse.nada.kth.se> d88-jwa@byse.nada.kth.se (Jon 
W{tte) writes:

>How hard would it be to write a device driver that read HFS volumes ?

You don't mean device driver, you mean "file system" as in the things which 
understand the information structure made out of blocks on the disk. This is 
hard because Apple don't publish the information and don't promise it won't 
change even if you do read the "Recovering after Hard Disk Crashes" documents 
and work it out for yourself.

>How hard would it be to implement a NFS server that exported a HFS
>volume ?

I had a student do this (read only HFS access) for A/UX 1.1 - it can be done 
as a user-level process but seemed to provoke some serious NFS bugs (like it 
would trash the server disk). I couldn't find the code again without some 
serious looking at our archive tapes, though I agree it would be a useful 
thing to have. 

I'd currently settle for a way of mounting HFS volumes which didn't assume a 
local SCSI device with a partition map: I'm prepared to port simple 
block-level remote disk devices so that I can get at centrally served CD-ROMs.