<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.ccn.ucla.edu/wiki/index.php?action=history&amp;feed=atom&amp;title=Mount_AFP_Share</id>
	<title>Mount AFP Share - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.ccn.ucla.edu/wiki/index.php?action=history&amp;feed=atom&amp;title=Mount_AFP_Share"/>
	<link rel="alternate" type="text/html" href="https://www.ccn.ucla.edu/wiki/index.php?title=Mount_AFP_Share&amp;action=history"/>
	<updated>2026-05-06T11:47:40Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://www.ccn.ucla.edu/wiki/index.php?title=Mount_AFP_Share&amp;diff=1538&amp;oldid=prev</id>
		<title>Ccn admin: 6 revisions</title>
		<link rel="alternate" type="text/html" href="https://www.ccn.ucla.edu/wiki/index.php?title=Mount_AFP_Share&amp;diff=1538&amp;oldid=prev"/>
		<updated>2014-01-16T03:43:53Z</updated>

		<summary type="html">&lt;p&gt;6 revisions&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 03:43, 16 January 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Ccn admin</name></author>
	</entry>
	<entry>
		<id>https://www.ccn.ucla.edu/wiki/index.php?title=Mount_AFP_Share&amp;diff=1537&amp;oldid=prev</id>
		<title>Elau: Undo revision 2719 by Aenalb (talk)</title>
		<link rel="alternate" type="text/html" href="https://www.ccn.ucla.edu/wiki/index.php?title=Mount_AFP_Share&amp;diff=1537&amp;oldid=prev"/>
		<updated>2011-07-07T00:32:11Z</updated>

		<summary type="html">&lt;p&gt;Undo revision 2719 by &lt;a href=&quot;/wiki/index.php/Special:Contributions/Aenalb&quot; title=&quot;Special:Contributions/Aenalb&quot;&gt;Aenalb&lt;/a&gt; (&lt;a href=&quot;/wiki/index.php?title=User_talk:Aenalb&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User talk:Aenalb (page does not exist)&quot;&gt;talk&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=Using the GUI=&lt;br /&gt;
This is done in X simple steps:&lt;br /&gt;
*In Finder, either use the hot key CMD+K or in the Menu Bar Go =&amp;gt; Connect To Server&lt;br /&gt;
*In the resulting window&amp;#039;s Server Address field enter the [http://en.wikipedia.org/wiki/Ip_address IP Address] or [http://en.wikipedia.org/wiki/Domain_name Domain Name] of the computer you want to connect to preceded by afp://. For this example, we&amp;#039;ll use the miles server.&lt;br /&gt;
 afp://fmri00-miles.hosted.ats.ucla.edu&lt;br /&gt;
*Then click the Connect button located in the bottom right of the window.&lt;br /&gt;
*You will be presented with Login Screen. Enter your miles username and password into the field and select &amp;quot;Save to Keychain&amp;quot; if you&amp;#039;d like the computer to remember this information.&lt;br /&gt;
*Finally, after completing the login you are presented with available Share Points. This list most likely includes your home directory and in the case of Miles, Songbook1 and Songbook2.&lt;br /&gt;
&lt;br /&gt;
You can now access this data through Finder just like a local drive or by browsing to /Volumes/&amp;lt;sharename&amp;gt; where sharename is the name of the drive you mounted.&lt;br /&gt;
&lt;br /&gt;
=Using the Command Line=&lt;br /&gt;
To mount the disk (say if it&amp;#039;s a firewire on a remote host that is connected, but not mounted), do the following:&lt;br /&gt;
*ssh into the remote host&lt;br /&gt;
*execute the following command&lt;br /&gt;
 $ diskutil mountDisk /dev/disk2&lt;br /&gt;
&lt;br /&gt;
Note that &amp;quot;disk2&amp;quot; may change. If your not sure what the disk# is, the following command will find out for you (again, for a firewire disk):&lt;br /&gt;
 $ system_profiler SPFireWireDataType | grep &amp;quot;BSD Name: disk.$&amp;quot;&lt;br /&gt;
&lt;br /&gt;
After the disk is mounted on the remote machine, you can mount it locally via the command line like so:&lt;br /&gt;
*Create a mount point. The most common is /Volumes/someDirName, though it can be anywhere (such as /Users/you/myMountPoint&lt;br /&gt;
 $ mkdir /Volumes/MyShare&lt;br /&gt;
*Mount the drive onto MyShare (or whichever directory you wish) where ShareName is the name of the share you wish to mount.&lt;br /&gt;
 $ mount_afp -i afp://192.168.1.25/ShareName /Volumes/MyShare&lt;br /&gt;
&lt;br /&gt;
To then unmount (disconnect) the afp share, do the following&lt;br /&gt;
 $ umount /Volumes/MyShare&lt;br /&gt;
&lt;br /&gt;
And if you wish to &amp;quot;clean up&amp;quot;, delete the now empty directory:&lt;br /&gt;
 $ rmdir /Volumes/MyShare&lt;br /&gt;
&lt;br /&gt;
=One Step Mounting=&lt;br /&gt;
The following will mount your share in a single step:&lt;br /&gt;
 $ mkdir /Volumes/MyShare; mount_afp afp://username:password@192.168.1.25/ShareName /Volumes/MyShare&lt;br /&gt;
&lt;br /&gt;
The following will unmount your share and remove the mount directory&lt;br /&gt;
 $ umount /Volumes/MyShare; rmdir /Volumes/MyShare&lt;br /&gt;
&lt;br /&gt;
By using the above commands in a script and integrating with a backup method of choice (like rsync or [[Tar_Tutorial | tar]]), you could easily do one step backups of important data. Even more indicative of ninja like kung-fu skills, that script could then be added to a [http://en.wikipedia.org/wiki/Cron cron] job make the process completely automatic and hands free.&lt;/div&gt;</summary>
		<author><name>Elau</name></author>
	</entry>
</feed>