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 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159
|
.\" -*- nroff-*-
.TH WMMOUNT 1x "October 1999" "Debian Project" "wmmount"
.SH NAME
wmmount \- the WindowMaker universal mount point
.SH SYNOPSIS
.B wmmount
[ -- [-h|-help|--help] [-s] [-w] [-a] [-display <display>]
[-position <position>] [-b <color>] ]
.SH DESCRIPTION
.B wmmount
mounts and umounts filesystems using a simple interface on a 64x64
miniwindow and a configuration file. It can also launch commands
on the mount points, for example Midnight Commander, \fBmc\fP(1).
.PP
.B wmmount
is configured using a configuration file, ~/.wmmount (or
/etc/system.wmmountrc). Its format is documented on the
"\fIConfiguration\fP" section below.
.PP
To mount a file system, click the left most button on the bottom
strip. To move between mounts, click the right arrow button (goes
"forward") and left arrow button (goes "back"). To launch the
configured command, click the icon you defined.
.SS OPTIONS
You need to put "--" in front of every argument that relates to dockapp
settings.
.TP
.B \-h, \-help, \-\-help
displays a brief help message
.TP
.B \-s
start up without groundplate
.TP
.B \-w
start up withdrawn (for Window Maker)
.TP
.B \-a
use an smaller window (for AfterStep's Wharf)
.TP
.B \-display <display>
selects target display
.TP
.B \-position <position>
specifies the start up position in +x+y format
.TP
.B \-b <color>
specifies the back color
.SH CONFIGURATION
The configuration file has a semi rigid format, and is case
sensitive. A # starts a comment, and lines consisting entirely of
whitespace are ignored. There are some key-value pairs that control
the behaviour and appearance of \fBwmmount\fP, namely:
.TP
.B mountcmd=<command>
specifies the command used to mount a file system. If ommited \fImount
%m &\fP will be used.
.TP
.B umountcmd=<command>
specifies the command used to unmount a file system. If ommited
\fIumount %m &\fP will be used.
.TP
.B opencmd=<command>
specifies the command to run when the mount icon is clicked. If
ommited \fIxterm -e mc %m\fP will be used.
.TP
.B namecolor=<color>
specifies the color used for the mount name text. If ommited, black is
used.
.TP
.B namefont=<font>
specifies the font used for the mount name text. This is an X Font
specification. See xlsfonts(1x). If ommited, helvetica, bold, 11 pt is
used.
.TP
.B usagecolor=<color>
specifies the color used for the capacity readout. If ommited, gray90
is used.
.TP
.B usagefont=<font>
specifies the font used for the capacity readout. This is an X Font
specification. See xlsfonts(1x). If ommited, helvetica, medium,
oblique, 11 pt is used.
.TP
.B ledcolor=<color>
specifies the color used for the led. If ommited, green is used.
.PP
As you may have guessed by now, \fI%m\fP on the commands, is
substituted with the corresponding \fBmount point\fP. Icons are
specified like this:
.TP
.B icon <icon file>
.PP
At least \fBone\fP icon has to be specified, there's a maximum of 20
icons. The details of the mountpoint(s) are specified like this
(ordering and indentation \fIis\fP important, there are \fIno\fP blank
lines between keys):
.PP
\fBmountpoint \fP<\fImountpoint\fP>
.br
\fBname=\fP<\fIname\fP>
.br
\fBiconnumber=\fP<\fInumber\fP>
.br
\fBusagedisplay=\fP<\fI0\fP|\fI1\fP|\fI2\fP|\fI3\fP>
.TP
.I mountpoint
is the actual mountpoint. This value is substituted wherever %m
appears on the commands described above.
.TP
.I name
is the name displayed on for that particular mount.
.TP
.I number
is the icon number used. The first icon is number 0, and the same icon
can be used multiple times.
.TP
.I usagedisplay
this key specifies that kind of capacity information will be
displayed. Value of usagedisplay can be 0 (none), 1 (available), 2 (used)
or 3 (percentage used). The quantities, with values 1 or 2, are in bytes
(kB, MB or GB).
.SH FILES
.TP
.I ~/.wmmount
user configuration file.
.TP
.I /etc/system.wmmount
system-wide configuration file.
.TP
.I /etc/fstab
static information about the filesystems.
.TP
.I /usr/share/wmmount
directory which contains several icons that can be used with wmmount.
.PP
A maximum of 20 mountnames can be specified.
.SH BUGS
Does not read symlinks properly when testing for mounted filesystems.
So, if it incorrectly reports devices as mounted, make sure the mountpoint
specified in the config file does not include symlinks.
.sp
Version 1.0-beta1 of wmmount had different configuration file syntax
and different way of argument handling. You may experience segfaults
if trying to use old style configuration files with newer versions
(>= 1.0-beta2). You can use the gen-wmmountrc script to generate a
new wmmount config file from your /etc/fstab file contents.
.SH "SEE ALSO"
.BR df (1),
.BR mount (1),
.BR fstab (5),
.BR nfs (5),
.BR gen-wmmountrc (1),
.BR wmaker (1x).
.SH AUTHORS
.B wmmount
was written by Sam Hawker <shakie@geocities.com>.
.sp
This manual page was written by Marcelo Magallon <mmagallo@debian.org>,
and is GNU Copyright 1998 Marcelo Magallon. Later updated by Josip Rodin.
|