Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Slight difference in syntax' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Slight difference in syntax
Authored by: magill on Dec 02, '03 10:21:58AM

Note that using the Write Defaults technique generates the following:

<dict>
<key>AutomountDisksWithoutUserLogin</key>
<string>true</string>
</dict>


<string>true</string> instead of <true/>

---
--
William H. Magill
Senior Systems Administrator



[ Reply to This | # ]
Slight difference in syntax
Authored by: daniel_steffen on Dec 04, '03 09:42:34PM
use
sudo defaults write /Library/Preferences/SystemConfiguration/autodiskmount AutomountDisksWithoutUserLogin -bool true
in that case

[ Reply to This | # ]
Slight difference in syntax -defaults and autodiskmount
Authored by: oakley808 on Dec 18, '04 05:06:05PM

Interestingly enough (to me at least) when I type in that command:
sudo defaults write /Library/Preferences/SystemConfiguration/autodiskmount AutomountDisksWithoutUserLogin -bool true

...the setting changes to TRUE in:
/Library/Preferences/SystemConfiguration/autodiskmount.plist
while I STILL have a FALSE setting in:
/var/db/SystemConfiguration/autodiskmount.xml

Running 10.3 by the way. Perhaps 10.3.x changes this?
It's problems like this, I believe, that really make havoc out of the OS when you start tweaking things. The left hand doesn't know what the right hand is doing, and each software update changes the rules or over-writes your fix. Grrr.



[ Reply to This | # ]