How can I keep 'lsregister' away from partitions?
I've used 'lsregister' to -kill an old output, and then build a new one, like this:
myapp=$(find /System/Library/Frameworks -name lsregister)
$myapp -kill
$myapp -dump "/Volumes/Mac.HD" >$HOME/lsreg.txt
$myapp -dump "/Applications" >>$HOME/lsreg.txt
But the output contains entries for my /Volumes/Alternate.HD, which I don't want, and didn't ask to get. Is there some option that will suppress going down the /Volumes-tree? It also picks up any externally mounted volumes.