README
1This is a file-system monitor for the AfterStep window manager. It fits nicely
2in the Wharf.
3
4Thus far it works on SunOS, Solaris, LINUX and SCO operating systems.
5Very minimal porting will make it work on others.
6
7If anyone has it running on any other architectures, let me know, and send
8me patches if you could, I'd like to make the list of supported architectures
9longer.
10
11Installation:
12
13 type xmkmf
14
15 type make.
16
17 copy/move/link asfsm.man to a man page directory
18 (eg. /usr/local/man/man1/asfsm.1)
19
20 copy/move/link asfsm to a bin directory
21 (eg. /usr/local/bin/asfsm)
22
23 read the man page for usage instructions.
24
25CHANGES:
26 0.1-0.2 - Support for SGI, SUN, LINUX. Made popup window know where to
27 popup based on screen width/height, cursor position.
28
29 0.2-0.3 - Removed silly use of fork command and used XCheckWindowEvent
30 loop instead. Eliminated alot of bombing.
31
32 0.3-0.31 - Removed SGI support, it apparantly didn't work.
33 Updated Makefile.
34
35 0.31-0.4 - Included special support for 0 size filesystems, fixed bug
36 that would cause a crash if the system has more than
37 24 filesystems mounted.
38
39 0.4-0.5 - Added afterstepy features such as background pixmaps and
40 a Transparent or Translucent option for the popup
41 windows.
42
43 0.5-0.51 - fixed a bug that caused Translucent windows not to pop down
44 sometimes.
45
46 0.51-0.6 - added "lowered" appearance to main window.
47 added popup with mount/unmount functionality,
48
49 0.6-0.7 - changed program to use Xt, Event Handlers, TimeOuts, and
50 XtAppNextEvent rather than the busy wait loop and
51 XCheckWindowEvent in the body of the program.
52 This reduces the cpu load of the program to almost
53 nothing compared to what it used to use.
54 Thanks to Thierry Berger-Perrin for pointing out the
55 problem to me.
56 Also tweaked size and borders to make it fit into
57 maximum size available using a MaxSwallow. Apparantly
58 using XtAppInitialize creates a widget whose size
59 Wharf automatically adjusts to maxmum size for
60 Swallowing or MaxSwallowing.
61 Fixed the problem that caused zero sized filesystems
62 (like /proc) to show up as a 1 pixel wide line instead
63 of the width it was supposed to.
64 Changed to use "df -a" for linux instead of "df -v"
65 because "df -v" doesn't show /proc but the mounter
66 popup window shows /proc.
67 Fixed man page which didn't show all the options.
68 0.7-0.8 - Solved problem which caused the mount/unmount popup to not
69 (or erroneously) display the device name. Also correctly
70 calculate the size of that window now. Added different
71 pixmaps for unix and DOS floppies and correctly detect
72 DOS floppies as opposed to DOS filesystems that are not
73 on floppies. Changed the unix filesystem and dos
74 filesystem pixmap.
75 0.8-0.9 - made SCO use df -Bk instead of df -v which removed platform
76 dependance of the format, as well as allowed the
77 untruncated device and directory names to pass through,
78 unlike df -v which truncates. It also shows the block
79 size of the filesystem in 1024K blocks instead of
80 512K which is easier to read.
81 0.9-0.10 - fixed problem that kept long mount directories from
82 overriding long filesystem names in the determination
83 of the mount/unmount window size.
84 Updated Makefile so SCO users who install the
85 glib module from Skunkware97 can compile using
86 xpm.h and libXpm from it without having to modify
87 stuff.
88 Autodetect df -a or df -Bk for filesystem usage
89 determination.
90 Autodetect mnt/umnt or mount/unmnt for user mounting
91 and ummounting.
92 Autodetect /etc/default/filesys or /etc/fstab for
93 filesystem descriptions.
94 Removed $(OS) stuff from Makefile, autodetection
95 does away with it's necessity.
96 Load mounter window pixmaps at startup instead of
97 when you click to open the window.
98 0.10-1.0pre11 - fixed problem that erroneously displayed devices which
99 could be mounted at multiple mount points as mounted on
100 all of them, instead of where they were really mounted.
101 Freed Pixmaps loaded at startup time.
102 Adopted afterstep version numbering system.
103 1.0pre11-1.0pre12 - fixed stupidly allocated strings for mount/unmount
104 commands which failed on all systems that don't use
105 mnt/umnt. Fixed date in man page.
106 1.0pre12-1.0pre13 - fixed a whole bunch of small bugs that occurred on
107 fstab systems (most systems). Added option to view or
108 not view zero size filesystems such as /proc
109 (-showzero).
110 Removed proc, swap and ignored type filesystems from
111 the mounter window.
112 1.0pre13-1.0pre14 - made asfsm use popen/pclose instead of actually
113 writing to the hard drive, also got rid of "system"
114 command. Made the filesystem info popup windows
115 automatically size themselves. Imakefile. Added
116 8bit pixmaps.
117 1.0pre14-1.0pre15 - made asfsm work with solaris's df -k and /etc/vfstab
118 as well as added a special icon for jaz drives.
119
120TODO:
121 Write my own df and mount/unmount commands, use them instead of the
122 system ones.
123
README.8bit
1To change the bitmaps from 16bpp to 8bpp
2change -DSIXTEENBIT to -DEIGHTBIT
3in the Makefile.
4
5