~ubuntu-branches/ubuntu/natty/autofs5/natty-proposed

« back to all changes in this revision

Viewing changes to README.changer

  • Committer: Bazaar Package Importer
  • Author(s): Jan Christoph Nordholz
  • Date: 2008-04-28 15:55:37 UTC
  • Revision ID: james.westby@ubuntu.com-20080428155537-h6h457h1fwwzhvby
Tags: upstream-5.0.3
ImportĀ upstreamĀ versionĀ 5.0.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Fri Jan 21 17:31:43 GMT 2000
 
2
Toby Jaffey <toby@earth.li>
 
3
Added modules/mount_changer.c
 
4
 
 
5
I have an NEC CD-ROM DRIVE:251, 4X CD-ROM changer w/4 slots, 128kB
 
6
Cache.  The drive can only mount one CD at a time. To change the CD in
 
7
use you must unmount, swap slots (lots of ioctl() calls) and
 
8
remount. Using autofs, this module allows the illusion that all CDs
 
9
are mounted at any given time. Only when data is requested does the
 
10
drive need to swap. Clearly, this is awful for simultaneous reads
 
11
across many disks, but I use it to create mp3 playlists spanning
 
12
multiple CDs.
 
13
 
 
14
The code is mostly clean, but rather than adding a new "mediatype" to
 
15
the config file, I set my drive up as fstype=changer. The assumption
 
16
is made that all of the disks are of type iso9660. This is a bad
 
17
thing, but it works for me.
 
18
 
 
19
[hpa: I believe these problems are due to a design error.  The changer
 
20
should be a lookup type, rather than a filesystem (mount) type.]
 
21
 
 
22
My /etc/auto.master says:
 
23
/mnt/changer    /etc/auto.misc
 
24
 
 
25
My /etc/auto.misc says:
 
26
1          -fstype=changer              :/dev/hdb
 
27
2          -fstype=changer              :/dev/hdb
 
28
3          -fstype=changer              :/dev/hdb
 
29
4          -fstype=changer              :/dev/hdb
 
30
 
 
31
 
 
32