• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: OT: Seed installation strategy
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OT: Seed installation strategy


  • Subject: Re: OT: Seed installation strategy
  • From: Alex Eddy <email@hidden>
  • Date: Mon, 8 Dec 2003 04:33:50 -0800

On Dec 7, 2003, at 8:21 PM, email@hidden wrote:
On Dec 7, 2003, at 16:30, Tim Gogolin wrote:
Having two "Applications" directories in common use might be confusing
One possible issue: if you have the Apple apps installed /Applications
on both partitions, could it launch the wrong one sometimes?

If you're worried about this (and it certainly was an issue with earlier seeds) then one idea is to unmount the OS partition you aren't using. You can do it via diskutil.

(handy script from macosxhints:)

#!/bin/bash
if [ -z $1 ] ; then
echo "usage : disk <diskname>"
echo "mounts <diskname> if it's not mounted, and"
echo "unmounts it if it is already mounted."
exit 1
fi
NAME=$1
PART=`diskutil list|grep $NAME|awk '{print $6}'`

if [ -z `ls -1 /Volumes/ | grep $NAME` ] ; then
# check that PART appears to be a disk partition
echo Checking $NAME $PART
if [ `file /dev/$PART | awk '{print $2}'` = "block" ] ; then
echo mounting $NAME $PART
diskutil mount /dev/$PART
else
echo /dev/$PART does not appear to be a disk partition - exiting
exit 1
fi
else
echo unmounting $NAME
diskutil unmount /Volumes/$NAME
fi


You can set this up to run automatically as a login item, via applescript for example.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
  • Prev by Date: Re: .webloc files and Safari (newbie)
  • Next by Date: Re: .webloc files and Safari (newbie)
  • Previous by thread: Re: OT: Seed installation strategy
  • Next by thread: .webloc files and Safari (newbie)
  • Index(es):
    • Date
    • Thread