Apple Apple II User Manual Page 16

  • Download
  • Add to my manuals
  • Print
  • Page
    / 28
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 15
Part III: FUSE ProDOS driver.
The FUSE driver (File system in User SpacE) for Apple II Pi works closely with the Apple II
environment to reflect the FUSE operation into a ProDOS MLI call. The FUSE driver knows very little
about the details of ProDOS. ProDOS itself does most of the work so that compatibility is guaranteed.
fusea2pi:
fusea2pi is the actual FUSE device driver. At start up it calls the ProDOS on_line function to retrieve
all the ProDOS volumes available to the Apple II. fusea2pi then makes a directory for each volume
named after the volume. In addition, each volume is made available as a raw device file named after it's
position in the ProDOS device table. The two default 5¼ drives in slot 6 are always made available for
non-ProDOS format floppies that can still be accessed in a raw mode. This way, volumes can be easily
backed up (copied elsewhere) and emulators can have access to the physical media.
ProDOS file names are munged in the same way that CiderPress attaches the meta information, type
and aux, to the end of the file name, separated by '#'. Also, file names are displayed in upper-case. The
decision to munge the file names in this was it in order to make a very visual distinction between the
ProDOS files and regular *nix files.
The driver can run directly, but the helper script a2mount is the recommended way to mount ProDOS
volumes. Run as:
fusea2pi <mount point> [fuse options..] [+rw]
The last option (must be last) is a fusea2pi only option which allows the raw device files to be
write-able. By default, they are read-only. It can be potentially dangerous to write to the raw device
while Linux accesses the mounted file system. If an emulator is going to be writing to the raw device
files, it is best to leave the mounted file system alone until the emulator is exited.
a2mount:
The a2mount script calls the fusea2pi and fills in some additional parameters to give your user name
the ownership of the files. This is the preferred way to call fusea2pi. It can accept up to two parameters:
one is the mount point, the second is the option +rw argument to make the raw device files write-able.
Run as:
a2mount <mount point> [+rw]
fusermount:
To unmount the ProDOS file system, call the FUSE command as:
fusermount -u <mount point>
Any additional users, which should have the ability to mount the ProDOS devices, need to be added to
the ‘fuse’ group with the following command:
sudo addgroup <username> fuse
16
16
Page view 15
1 2 ... 11 12 13 14 15 16 17 18 19 20 21 ... 27 28

Comments to this Manuals

No comments