Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: Strange system call failure in OS X

by kcott (Canon)
on Feb 16, 2013 at 07:50 UTC ( #1019018=note: print w/replies, xml ) Need Help??

in reply to Strange system call failure in OS X

G'day endor-moon,

Welcome to the monastery.

I have Mac OSX Lion, so check your (Mountain Lion) system for any relevant differences to what I've posted below.

The error message says the argument is Invalid (i.e. not Empty, Missing, etc.). I'd say "... third gets an empty string." is an unreasonable assumption.

Running man scutil, I see --set pref [newval] with the following listed (under the --get option):

Supported preferences include: ComputerName The user-friendly name for the system. LocalHostName The local (Bonjour) host name. HostName The name associated with hostname(1) and gethos +tname(3).

Given this, I'd read "Invalid argument" as "Invalid local (Bonjour) host name".

I know nothing about Bonjour but an internet search for "mac osx bonjour" produced many results including a number of hints/tips/tricks/howto type pages. led me to Bonjour Overview: Domain Naming Conventions which contains a number of Bonjour Names for ... sections. I'll leave you to continue researching from there.

-- Ken

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1019018]
[ambrus]: Corion: those are good rules.
[ambrus]: Discipulus: oh sure. the input data has different filenames every time I get them.
[ambrus]: the directory structure may be 1, 2, or 3 deep, it may have spaces in the filename or not, it has dates in various format, different keywords for the same meanings, and the dates and other keywords are assembled in various ways.
[Discipulus]: no ambrus by specification i mean for example license per core instead of per socket, so fields are different

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (13)
As of 2017-03-29 12:18 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (350 votes). Check out past polls.