Advice packaging jazip
jazip is an XForms tool to mount/umount jaz and zip disks.
I have a few questions I need to address in order to package it, and would
appreciate any advice.
1- what to use as a menu entry:
the command usage is
$ jazip [raw_scsi_device]
Since a device is usually required as argument, what do I do for the
`menu' entry? Should I create a confile in /etc and a shell script
that parses it? Or should I create a jazipconfig script to do something
like that (and what should it do?)
FYI: The default device is /dev/sda (defined at compile time). Using
the default is likely wrong on most SCSI systems, and correct with
parallel Zips. If you get it wrong, it's non-destructive. e.g., on my
system:
# ./jazip /dev/sdb
SEAGATE ST31230N
Unable to identify an IOMEGA drive on /dev/sdb
2- mount points:
The mount points for Zip and Jaz disks are hardwired as /zip and /jaz.
Should the deb package create /zip and /jaz mount points?
What if they already exist and aren't empty?
This should be done in postinst, right?
3- suid:
jazip is usually suid root such that users can u/mount disks.
Should I create a new jazip group to get around that? I suppose it
would need to own the raw scsi device and mount points, but I can play
around with that to figure it out.
Should this by done in a jazipconfig script?
4- Location:
I plan to put jazip in /usr/X11R6/bin
the mini-icon used in `menu' in /usr/X11R6/include/X11/pixmaps
the support doc file needed by the binary in /usr/X11R6/lib/X11/jazip
Okay?
Should I put _all_ supplied icons in /usr/X11R6/include/X11/pixmaps ?
Or in /usr/doc/jazip/icons ?
Thanks
Peter Galbraith <psg@debian.org>
Reply to: