The Linux sdparm utility (update)

Thursday, June 9. 2005

I just packaged sdparm (because the .deb on the homepage is generated by alien ;-)):

The sdparm utility outputs and in some cases modifies SCSI device parameters. When the SCSI device is a disk, sdparm's role is similar to its Linux namesake: hdparm which is for ATA disks that usually have device names starting with "hd". More generally sdparm can be used to output and modify parameters on any device that uses a SCSI command set. Apart from SCSI disks, such devices include CD/DVD drives (irrespective of transport), SCSI and ATAPI tape drives and SCSI enclosures.

http://sg.torque.net/sg/sdparm.html

Update: Tomas Fasth made an ITP [bug #312580], so you'll find it in Debian soon.

shish - the diet shell (update)

Thursday, June 9. 2005

I just packaged shish:

shish is a shell language interpreter and an interactive command line interpreter. This shell aims at being very small and doing its tasks in efficient ways (and not through 100 abstraction layers), which is mainly done by using the dietlibc and libowfat libraries and by design considerations according to Fefe's excellent howto. shish will be a POSIX compatible shell language interpreter according to the IEEE P1003.2 Draft 11.2 by its 1.0 release.

www.blah.ch/shish/

As usual you can find the package in the grml-repos.

Update: I just made the ITP (intend to package) [bug #312660].

dupmerge: reclaim disk space by linking identical files together

Thursday, June 9. 2005

I just packaged dupmerge 1.5:

This is a utility that scans a UNIX directory tree looking for pairs of distinct files with identical content. When it finds such files, it deletes one file to reclaim its disk space and then recreates its path name as a link to the other copy. The first version of this program circa 1993 worked by computingMD5 hashes of every file, sorting the hashes and then looking for duplicates. This worked, but it was unnecessarily slow. The comparison function I use now stops comparing two files as soon as it determines their lengths are different, which is a win when you have many large files with unique lengths.

http://sourceforge.net/projects/dupmerge/

As usual you can find the package in the grml-repos. Feedback welcome.