File: asmounter.example

package info (click to toggle)
asmounter 0.3-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 336 kB
  • ctags: 114
  • sloc: ansic: 658; sh: 183; makefile: 55
file content (70 lines) | stat: -rw-r--r-- 1,830 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# asmounter - AfterStep All-Purpose Mounter

# User config file. Should be placed in ~/

# First, tell asmounter how to mount and unmount devices.
# %s will be replaced with the appropriate mountpoint.
# Since only the mountpoint will be passed to mount, the
# device must be listed in /etc/fstab
# These entries may be ommitted and defaults will be used.

mountcmd=mount %s &
umountcmd=umount %s &

# Next, tell asmounter what to do when you click on the icon
# of a mounted device with the third mouse button.
# Again %s will be replaced with the mountpoint.
# This entry may be ommitted and the default will be used.

execmd=xterm -e mc %s &

# Now give details of each mountpoint.
# Each mountpoint requires 4 lines.
# NO COMMENTS OR BLANK LINES BETWEEN THESE!!!

# eg.

# mountname cdrom               (THIS LINE MUST NOT BE INDENTED!!)
#    mountpoint /mnt/cdrom          (THIS LINE MUST BE INDENTED!!)
#    type cd                        (THIS LINE MUST BE INDENTED!!)
#    showcapacity FALSE             (THIS LINE MUST BE INDENTED!!)

# mountname     is the name displayed in the title bar.
# mountpoint    is the directory to attach the device to.
# type          is a reference to a type of device.
# showcapacity  should capacity info be shown for this mount?

# Details of at least one mointpoint must be specified.
# References to invalid iconnumbers will cause crashes.

mountname Linux
   mountpoint /
   type hdd
   showcapacity TRUE

mountname Dos C
   mountpoint /mnt/dosc
   type hdd
   showcapacity TRUE

mountname Floppy
   mountpoint /mnt/floppy
   type fd
   showcapacity TRUE

# mountname Dos A
#    mountpoint /mnt/dosa
#    type fd
#    showcapacity TRUE

mountname Cdrom
   mountpoint /mnt/cdrom
   type cd
   showcapacity FALSE

mountname Zip
   mountpoint /mnt/zip
   type zip
   showcapacity TRUE