Index of /afterstep/download/asfsm
Name Last modified Size Description
Parent Directory 26-Aug-2009 16:01 -
asfsm-1.0pre15.tar.gz 30-Jan-2010 00:00 97k
asfsm-1.0pre15.tar.g..> 30-Jan-2010 00:00 1k
This is a file-system monitor for the AfterStep window manager. It fits nicely
in the Wharf.
Thus far it works on SunOS, Solaris, LINUX and SCO operating systems.
Very minimal porting will make it work on others.
If anyone has it running on any other architectures, let me know, and send
me patches if you could, I'd like to make the list of supported architectures
longer.
Installation:
type xmkmf
type make.
copy/move/link asfsm.man to a man page directory
(eg. /usr/local/man/man1/asfsm.1)
copy/move/link asfsm to a bin directory
(eg. /usr/local/bin/asfsm)
read the man page for usage instructions.
CHANGES:
0.1-0.2 - Support for SGI, SUN, LINUX. Made popup window know where to
popup based on screen width/height, cursor position.
0.2-0.3 - Removed silly use of fork command and used XCheckWindowEvent
loop instead. Eliminated alot of bombing.
0.3-0.31 - Removed SGI support, it apparantly didn't work.
Updated Makefile.
0.31-0.4 - Included special support for 0 size filesystems, fixed bug
that would cause a crash if the system has more than
24 filesystems mounted.
0.4-0.5 - Added afterstepy features such as background pixmaps and
a Transparent or Translucent option for the popup
windows.
0.5-0.51 - fixed a bug that caused Translucent windows not to pop down
sometimes.
0.51-0.6 - added "lowered" appearance to main window.
added popup with mount/unmount functionality,
0.6-0.7 - changed program to use Xt, Event Handlers, TimeOuts, and
XtAppNextEvent rather than the busy wait loop and
XCheckWindowEvent in the body of the program.
This reduces the cpu load of the program to almost
nothing compared to what it used to use.
Thanks to Thierry Berger-Perrin for pointing out the
problem to me.
Also tweaked size and borders to make it fit into
maximum size available using a MaxSwallow. Apparantly
using XtAppInitialize creates a widget whose size
Wharf automatically adjusts to maxmum size for
Swallowing or MaxSwallowing.
Fixed the problem that caused zero sized filesystems
(like /proc) to show up as a 1 pixel wide line instead
of the width it was supposed to.
Changed to use "df -a" for linux instead of "df -v"
because "df -v" doesn't show /proc but the mounter
popup window shows /proc.
Fixed man page which didn't show all the options.
0.7-0.8 - Solved problem which caused the mount/unmount popup to not
(or erroneously) display the device name. Also correctly
calculate the size of that window now. Added different
pixmaps for unix and DOS floppies and correctly detect
DOS floppies as opposed to DOS filesystems that are not
on floppies. Changed the unix filesystem and dos
filesystem pixmap.
0.8-0.9 - made SCO use df -Bk instead of df -v which removed platform
dependance of the format, as well as allowed the
untruncated device and directory names to pass through,
unlike df -v which truncates. It also shows the block
size of the filesystem in 1024K blocks instead of
512K which is easier to read.
0.9-0.10 - fixed problem that kept long mount directories from
overriding long filesystem names in the determination
of the mount/unmount window size.
Updated Makefile so SCO users who install the
glib module from Skunkware97 can compile using
xpm.h and libXpm from it without having to modify
stuff.
Autodetect df -a or df -Bk for filesystem usage
determination.
Autodetect mnt/umnt or mount/unmnt for user mounting
and ummounting.
Autodetect /etc/default/filesys or /etc/fstab for
filesystem descriptions.
Removed $(OS) stuff from Makefile, autodetection
does away with it's necessity.
Load mounter window pixmaps at startup instead of
when you click to open the window.
0.10-1.0pre11 - fixed problem that erroneously displayed devices which
could be mounted at multiple mount points as mounted on
all of them, instead of where they were really mounted.
Freed Pixmaps loaded at startup time.
Adopted afterstep version numbering system.
1.0pre11-1.0pre12 - fixed stupidly allocated strings for mount/unmount
commands which failed on all systems that don't use
mnt/umnt. Fixed date in man page.
1.0pre12-1.0pre13 - fixed a whole bunch of small bugs that occurred on
fstab systems (most systems). Added option to view or
not view zero size filesystems such as /proc
(-showzero).
Removed proc, swap and ignored type filesystems from
the mounter window.
1.0pre13-1.0pre14 - made asfsm use popen/pclose instead of actually
writing to the hard drive, also got rid of "system"
command. Made the filesystem info popup windows
automatically size themselves. Imakefile. Added
8bit pixmaps.
1.0pre14-1.0pre15 - made asfsm work with solaris's df -k and /etc/vfstab
as well as added a special icon for jaz drives.
TODO:
Write my own df and mount/unmount commands, use them instead of the
system ones.