xref: /aosp_15_r20/external/mtools/mtools.conf (revision d5c9a868b113e0ec0db2f27bc2ce8a253e77c4b0)
1*d5c9a868SElliott Hughes# Copyright 1996-1998,2001,2002 Alain Knaff.
2*d5c9a868SElliott Hughes# This file is part of mtools.
3*d5c9a868SElliott Hughes#
4*d5c9a868SElliott Hughes# Mtools is free software: you can redistribute it and/or modify
5*d5c9a868SElliott Hughes# it under the terms of the GNU General Public License as published by
6*d5c9a868SElliott Hughes# the Free Software Foundation, either version 3 of the License, or
7*d5c9a868SElliott Hughes# (at your option) any later version.
8*d5c9a868SElliott Hughes#
9*d5c9a868SElliott Hughes# Mtools is distributed in the hope that it will be useful,
10*d5c9a868SElliott Hughes# but WITHOUT ANY WARRANTY; without even the implied warranty of
11*d5c9a868SElliott Hughes# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12*d5c9a868SElliott Hughes# GNU General Public License for more details.
13*d5c9a868SElliott Hughes#
14*d5c9a868SElliott Hughes# You should have received a copy of the GNU General Public License
15*d5c9a868SElliott Hughes# along with Mtools.  If not, see <http://www.gnu.org/licenses/>.
16*d5c9a868SElliott Hughes
17*d5c9a868SElliott Hughes# Example mtools.conf files.  Uncomment the lines which correspond to
18*d5c9a868SElliott Hughes# your architecture and comment out the "SAMPLE FILE" line below
19*d5c9a868SElliott HughesSAMPLE FILE
20*d5c9a868SElliott Hughes
21*d5c9a868SElliott Hughes# # Linux floppy drives
22*d5c9a868SElliott Hughes# drive a: file="/dev/fd0" exclusive
23*d5c9a868SElliott Hughes# drive b: file="/dev/fd1" exclusive
24*d5c9a868SElliott Hughes
25*d5c9a868SElliott Hughes# # First SCSI hard disk partition
26*d5c9a868SElliott Hughes# drive c: file="/dev/sda1"
27*d5c9a868SElliott Hughes
28*d5c9a868SElliott Hughes# # First IDE hard disk partition
29*d5c9a868SElliott Hughes# drive c: file="/dev/hda1"
30*d5c9a868SElliott Hughes
31*d5c9a868SElliott Hughes# # dosemu floppy image
32*d5c9a868SElliott Hughes# drive m: file="/var/lib/dosemu/diskimage"
33*d5c9a868SElliott Hughes
34*d5c9a868SElliott Hughes# # dosemu hdimage
35*d5c9a868SElliott Hughes# drive n: file="/var/lib/dosemu/diskimage" offset=3840
36*d5c9a868SElliott Hughes
37*d5c9a868SElliott Hughes# # Atari ramdisk image
38*d5c9a868SElliott Hughes# drive o: file="/tmp/atari_rd" offset=136
39*d5c9a868SElliott Hughes
40*d5c9a868SElliott Hughes# # ZIP disk for Solaris:
41*d5c9a868SElliott Hughes# Drive X is ZIP-100 at target 5
42*d5c9a868SElliott Hughes# drive X: file="/dev/rdsk/c0t5d0s2" partition=4 scsi=1 nodelay
43*d5c9a868SElliott Hughes
44*d5c9a868SElliott Hughes# # ZIP disk for SunOS:
45*d5c9a868SElliott Hughes# # Zip drive is at target 5, which default kernel calls tape st1 !!
46*d5c9a868SElliott Hughes# drive Y: file="/dev/rsd5c" partition=4 scsi=1 nodelay
47*d5c9a868SElliott Hughes
48*d5c9a868SElliott Hughes# # autoselect zip drive/floppy on HP-UX 9/10
49*d5c9a868SElliott Hughes#    drive a: file="/dev/rdsk/c201d5"      exclusive partition=4
50*d5c9a868SElliott Hughes#    drive a: file="/dev/rdsk/c201d5s0"    exclusive partition=4
51*d5c9a868SElliott Hughes#    drive a: file="/dev/rfloppy/c201d0s0" exclusive
52*d5c9a868SElliott Hughes
53*d5c9a868SElliott Hughes#          A/UX target 5 on 1st scsi bus   jaz or zip
54*d5c9a868SElliott Hughes# drive X: file="/dev/rdsk/c105d0s31"      partition=4
55*d5c9a868SElliott Hughes
56*d5c9a868SElliott Hughes
57*d5c9a868SElliott Hughes# Some examples for BeOS.
58*d5c9a868SElliott Hughes# floppy drive. hardcoded in devices.c, so no real need to define it here
59*d5c9a868SElliott Hughes#drive a: file="/dev/floppy_disk" exclusive
60*d5c9a868SElliott Hughes# ZIP drive on SCSI ID 6
61*d5c9a868SElliott Hughes#drive z: file="/dev/scsi_disk_060" offset=16384 fat_bits=16
62*d5c9a868SElliott Hughes
63*d5c9a868SElliott Hughes# SCO Unix 3.2v4
64*d5c9a868SElliott Hughes# # Floppy disk drives
65*d5c9a868SElliott Hughes#
66*d5c9a868SElliott Hughes# drive a: file="/dev/install" exclusive
67*d5c9a868SElliott Hughes# drive b: file="/dev/install1" exclusive
68*d5c9a868SElliott Hughes#
69*d5c9a868SElliott Hughes# # SCSI hard disk partitions
70*d5c9a868SElliott Hughes#
71*d5c9a868SElliott Hughes# drive c: file="/dev/dsk/0sC"
72*d5c9a868SElliott Hughes# drive d: file="/dev/dsk/0sD"
73*d5c9a868SElliott Hughes# drive e: file="/dev/dsk/0sE"
74*d5c9a868SElliott Hughes# drive f: file="/dev/dsk/0sF"
75*d5c9a868SElliott Hughes# drive g: file="/dev/dsk/0sG"
76*d5c9a868SElliott Hughes# drive h: file="/dev/dsk/0sH"
77*d5c9a868SElliott Hughes
78*d5c9a868SElliott Hughes# # uncomment the following line to display all file names in lower
79*d5c9a868SElliott Hughes# # case by default
80*d5c9a868SElliott Hughes# mtools_lower_case=1
81