<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>http://www.jackxiang.com/index.php</link> 
<description><![CDATA[赢在IT，Playin' with IT,Focus on Killer Application,Marketing Meets Technology.]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></copyright>
<item>
<link>http://www.jackxiang.com/post//</link>
<title><![CDATA[[实践OK]Mac OS X mkdir: mkdir -p /home/xiangdong 出现mkdir: /home/xiangdong: Operation not supported]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[Unix/LinuxC技术]]></category>
<pubDate>Sun, 24 Feb 2019 03:55:59 +0000</pubDate> 
<guid>http://www.jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	现象：bogon:tmp root# mkdir -p /home/xiangdong&nbsp;&nbsp;&nbsp;&nbsp;<br/>mkdir: /home/xiangdong: Operation not supported<br/><br/>目的：fFileZilla SFTP同步Linux上的家目录到Mac上。<br/><br/>解决办法：<br/>sudo vim /etc/auto_master<br/>/home&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; auto_home&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -nobrowse,hidefromfinder #加上#号<br/>bogon:tmp root# sudo automount<br/>bogon:tmp root# mkdir -p /home/xiangdong&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#重启automount后就能成功创建。<br/><br/><br/>Hmmm, trying to create a directory under &#039;/home&#039; on a Mac?<br/><br/>Well, Apple doesn&#039;t want you to (with good reason, automounter owns this dir, which makes it easier to do NFS mounts and such) so you shouldn&#039;t muck with it but if you really just &#039;have to do it&#039;, here is how you can.<br/><br/>Basically: Edit /etc/auto_master and remove or comment out the line that starts with &quot;/home&quot;.<br/><br/>example:<br/>sudo vim /etc/auto_master<br/><br/>before:<br/><br/># Automounter master map<br/>+auto_master&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;# Use directory service<br/>/net&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-hosts&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-nobrowse,hidefromfinder,nosuid<br/>/home&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; auto_home&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -nobrowse,hidefromfinder<br/>/Network/Servers&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-fstab<br/>/-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-static<br/>after: <br/><br/># Automounter master map<br/>+auto_master&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;# Use directory service<br/>/net&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-hosts&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-nobrowse,hidefromfinder,nosuid<br/>#/home&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; auto_home&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -nobrowse,hidefromfinder<br/>/Network/Servers&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-fstab<br/>/-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-static<br/>to have the change take effect without a reboot:<br/>sudo automount<br/><br/>mkdir /home/test<br/>ls -l /home/<br/>total 0<br/>drwxr-xr-x 3 root admin 102 Aug 10 11:33 test<br/><br/>NOTE: I wouldn&#039;t do anything &#039;important&#039; with this directory as it&#039;s easy to forget you altered this and an upgrade will plow over this directory, removing all data. (this dir is also not included in any Time Machine backups.<br/><br/><br/>来自：https://blog.csdn.net/lychao89/article/details/53667068
]]>
</description>
</item><item>
<link>http://www.jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论] [实践OK]Mac OS X mkdir: mkdir -p /home/xiangdong 出现mkdir: /home/xiangdong: Operation not supported]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://www.jackxiang.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>