Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Automounting PC HD to desktop?

Automounting PC HD to desktop?
Thread Tools
Fresh-Faced Recruit
Join Date: Apr 2001
Location: Seattle
Status: Offline
Reply With Quote
Apr 27, 2001, 04:03 PM
 
Not too sure what section to post this in, so please excuse the cross posting... also kinda hoping for some quick responses! Thanks.

OK, dig this... I've got a real PITA process of mounting a PC hard drive to the Mac OS X desktop, but what I'm hoping for some help with is automating this process a bit. Here's what I currently have to do:

1. Boot up with the PC disk attached an on. (I've got it as the primary master IDE in a B&W G3. OS X is on the factory installed UW SCSI 9gig disk.)
2. Make sure the root account is enabled. (obviously only have to do this once.)
3. Go to the Disk Utility app and look in Drive Setup to see what /dev/ the PC drive is on. In my case it's on /dev/disk0 which is actually /dev/disk0s1 for the mountable partition.
4. Open a Terminal and use 'su' to login as root (this is required to use the mount command later unfortunately).
5. mkdir /Volumes/PCDISK (this is the mount point for the mount command)
6. cd /Volumes
7. ls -l to make sure the permissions are correct. (I use 755 for my purposes).
8. mount -t msdos /dev/disk0s1 /Volumes/PCDISK

This process gets the drive mounted, but it doesn't show up on the desktop or in the GUI. In order to do that I have to either log out and log back in or I have to Force Quit or Relaunch the Finder. It's like the automounter doesn't know the disk is there or something. And of course everytime I reboot, this whole process has to be done again. It's such a pain! Does anyone have the skills to maybe write a little script or startup program so that OS X will mount the drive automatically at boot or login? Any help is appreciated.
     
Admin Emeritus
Join Date: Oct 2000
Location: Boston, MA
Status: Offline
Reply With Quote
Apr 27, 2001, 04:38 PM
 
Your post should be fine in OS X - Usage & Support.
"Against stupidity, the gods themselves contend in vain" (Schiller)
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 01:28 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2