Re: Test for BSD subsystem
Re: Test for BSD subsystem
- Subject: Re: Test for BSD subsystem
- From: bill <email@hidden>
- Date: Sun, 12 Jan 2003 20:10:57 +0800
>
> do shell script "lsbom /Library/Receipts/BSD.pkg/Contents/Archive.bom"
>
>
>
> Which lists the contents of the file Archive.bom in BSD.pkg
>
+-
>
>
Good suggestion! lsbom is a really useful command! But can I trust
>
that the commands listed there are *NOT* installed by other Mac OS X
>
components?
Good question, then try this method:
Step 1 - initialize the harddisk, install a system with BSD subsystem, make
a list (list 1) of every file installed.
Step 2 - initialize the harddisk again, install a system without subsystem,
make a list (list 2) of every file installed.
Step 3 - compare list 1 and list 2, we could conclude that files in list 1
and not in list 2 come from BSD.pkg.
Good news - I had a list of step 1, which was made just after installation
of Jaguar. If you9re interested, can send to you (about 470 KB).
To make the file, using Terminal.app:
sudo find / -exec ls -dl {} \; > ~/Desktop/jaguarAtlas
Type your password, wait, a file named 3jaguarAtlas2 will be appeared on
your desktop after 20 minutes, a long time.
The first ten lines of this file:
drwxrwxr-t 26 root admin 884 Aug 24 18:13 /
-rwxrwxr-x 1 bill admin 6148 Aug 24 18:07 /.DS_Store
-r--r--r-- 1 root wheel 156 Jul 14 14:20 /.hidden
d-wx-wx-wx 2 root unknown 68 Aug 24 17:01 /.Trashes
dr--r--r-- 2 root wheel 96 Aug 24 18:13 /.vol
dr--r--r-- 2 root wheel 64 Aug 24 18:13 /.vol/234881033
drwxrwxr-x 26 root admin 884 Aug 24 18:07 /Applications
-rwxrwxr-x 1 bill admin 12292 Aug 24 18:07 /Applications/.DS_Store
-rw-rw-r-- 1 root admin 0 Jul 14 19:33 /Applications/.localized
drwxrwxr-x 3 root admin 102 Aug 24 17:25 /Applications/Acrobat Reader 5.0
Bad news - The following *.pkg are installed on my machine, your
installation may be different, which would affect the comparison (maybe not,
any idea?)
AdditionalApplications.pkg
AdditionalAsianFonts.pkg
BaseSystem.pkg
BSD.pkg
Essentials.pkg
French.pkg
HewlettPackardPrinterDrivers.pkg
SimplifiedChinese.pkg
TraditionalChinese.pkg
Want to try?
bill
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.