[RULE] Slinkydetect

Vegard Munthe vegard at copyleft.no
Thu Jun 26 21:33:41 EEST 2003


> 1. The file on the disk is called: "MACHINE-" (w/o the quotes) and not
> MACHINE-xxxx where xxxx is number. This results in overwriting the file
> with the next machine.

Strange, it works for me. I'll have a look.

> 2. The report gives
> DISK:ATAPI/IDE:Unknown:MAXTOR 4K060H3:/dev/hdb:117255600:240:63:7755
> DISK:ATAPI/IDE:Unknown:WDC WD100BA:/dev/hda:19535040:240:63:1292
> on a machine with a 10 GB and a 56 GB Harddrive.
>
> or
>
> DISK:ATAPI/IDE:Unknown:FUJITSU MHH2064AT:/dev/hda:12685680:240:63:839
> on a 6 GB Notebook. Reads strange to me.

The last 4 section are cylinder/heads details. The exact format I can't
remember on the top of my head, but the detect-lib docs has the details.
You can then use this to calculate the size of the disk.

> 3. Would it be possible to print CPU-Info, RAM-Size and HD-Size on the
> Screen together with the Uniq-Number? Often these tree paramteres are
> written  on the machine in order to have the information right away.

This was what I was working on until I got interrupted. What I tryed to do
was use sed and cut to print some of the details from the file to screen.
But I failed to manage this feat. I might have time to take it up again
soon. Anyone else can try if they'd like the challenge. :)

-- Vego



_______________________________________________
Rule Project HOME PAGE:  http://www.rule-project.org/en/
Rule Development Site:   http://savannah.gnu.org/projects/rule/
Rule-list at nongnu.org
http://mail.nongnu.org/mailman/listinfo/rule-list



More information about the Rule-list mailing list