Re: "the complete FBSD 3.3"- bootable?

From: Julian Stacey <jhs(at)jhs.muc.de>
Date: Mon, 22 Nov 1999 23:28:48 +0100

Hi, Marc van Woerkom wrote:
> > CD State Label in middle (hold to light)
> > old 1 OK "JUS 544 MFG:BY HA/CA" "IFPI LB61"
> > old 2 OK "JUS 545 MFG:BY HA/CA" "IFPI LB62"
>
> Mit welchem tool hast Du diesen output generiert?

Fuer die specifische Zeilen oben ...
        "hold to light" --> Mensclichen Augen :-) Schaust du in die mitte,
        beim spindle loch,
aber fals die frage ist wirklich:
"wie einfach, die unterschiede zwische eine CD & eine andere schnell zu
automatisch erkennen ?" ... dann benutze dieses script mit beide CDROMs

http://bim.bsn.com/~jhs/bin/.sh/new_cd appended:
-----
#!/bin/sh
# new_cd
dir=/pub/cd
if [ "x.$1" = "x." ]; then
        target=$dir/new_cd
        # 1st targ in case no params are specified, to protect /pub/cd/*
else # }{
        target=$dir/$1
fi # }
rm -f $target/*
mkdir -p $target
cd /cdrom
find . -type d -print | sort > $target/dirs
find . -type f -print | sort > $target/files
find -X . -type f -print | sort | xargs ls -l > $target/ls-l
find -X . -type f -print | sort | xargs md5 > $target/md5
# if there are read errors, md5 says Invalid argument, dd shows errors too,
# but cp $1 /dev/null does Not show errors !
find -X . \( -type b -o -type c -o -type p -o -type s \) -print | sort | xargs ls -l > $target/devs
find -X . -type l -print | sort | xargs ls -l > $target/syms
du -k > $target/du
cd $target ; gzip *

# Warning if you run this script again some months later, the content of the
# ls-l file will not compare equal, as of course the ls command displays
# dates differently depending upon the time differential between
# file date & current date.
-----

Julian
Julian H. Stacey http://www.freebsd.org/~jhs/ http://www.jhs.muc.de
   FreeBSD: Free system software with 2500 free packages, Linux compatible.

To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-chat" in the body of the message
Received on Tue 23 Nov 1999 - 01:11:05 CET

search this site