Pseudo terminal

I'm sending this e-mail because I have had a
problem with SUNOS and I am not able to solve it.
Neither are my collegues.
I wrote a program that uses pseudo terminals
to execute and send data to a second program.
The parent program opens the master side, fork
and start sending data to the child and reading
from it too.
The child
opens its side, receive data and eventualy send
the results back to the parent.
Finished the child, the parent closes the master.
The program is based on that implementation
presented by Stevens in his book "Advanced Prog.
in the Unix Environment".
It works fine the first time. But if this process
is repeated several times the data sent to the
child is not received. As a consequence, the
program never ends because it keeps waiting for
the data.
I have attached to this e-mail 2 programs. The
first is identifier.c, a very simple program that
reads a string from the stdio and simply says
whether or it is a valid identifier.
The second is playinput.c . It is a very simple
version of my program. It launchs identifier
and send the string "abcd\n\r" to it. Then reads
the result and shows it on the stdout.
This is repeated 1000 times. In older versions
of the SUNOS (5.5.1) it works many times (400
or even 900 times) and then get stuck due to the
problem I described above. In SUNOS 5.7 the
thing is even worst. It work a couple of times
(around 5 times) and then get stuck.
I beleive this is a bug because I understand that
there is no nondeterministic factors that should
make the program work for a while and then stop
working.
Marcio Delamaro, Dr.
/* *********** Identifier.c *********************/
#include <stdio.h>
main ()
char achar;
int length, valid_id;
length = 0;
valid_id = 1;
printf ("Input a Possible Silly-Pascal identifier\n");
printf ("followed by a return: ");
achar = fgetc (stdin);
valid_id = valid_s(achar);
if (valid_id)
length = 1;
achar = fgetc (stdin);
while (achar != '\n') {
if (!(valid_f(achar)))
valid_id = 0;
length++;
achar = fgetc (stdin);
if (valid_id && (length >= 1) && (length <= 6) )
printf ("Valid\n");
else printf ("Invalid\n");
int valid_s(char ch)
if (((ch >= 'A') && (ch <= 'Z')) || ((ch >= 'a') && (ch <= 'z')))
return (1);
else return (0);
int valid_f(char ch)
if (((ch >= 'A') && (ch <= 'Z')) || ((ch >= 'a') && (ch <= 'z')) || ((ch >= '0') && (ch <= '9')))
return (1);
else return (0);
/************** playinput.c *********************/
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <sys/times.h>
#include <fcntl.h>
#include <signal.h>
#include <termios.h>
#include <sys/ioctl.h>
#include <sys/resource.h>
#include <unistd.h>
#include <poll.h>
#include <stropts.h>
#include <sys/filio.h>
#include <stdio.h>
#include <errno.h>
extern char slave_name[20];
char buff[1024];
pid_t
pty_fork(int *ptrfdm)
int fdm, fds, k;
pid_t pid;
char pts_name[20];
if ( (fdm = ptym_open(pts_name)) < 0)
msg("can't open master pty");
exit(-1);
if ( (pid = fork()) < 0)
msg("Can not fork");
exit(-1);
else if (pid == 0) {            /* child */
if (setsid() < 0)
msg("setsid error");
exit(1);
/* SVR4 acquires controlling terminal on open() */
if ( (fds = ptys_open(fdm, pts_name)) < 0)
printf

sarah31: Thanks for the tip, unfortunately it didn't work. Now I get a "bad line X in fstab" at startup, where X is the line I added. But that line, as I understand it, mounts devfs, but devfs has always mounted (my /dev-folder is not empty, and I do get sound even when logging in as normal user).
The exact error message given by Konsole is: "Unable to open a suitable terminal device".
Here's what I've tried so far:
Added something like this in my /etc/devfsd.conf:
REGISTER ^pts/.* PERMISSIONS root.users=rwxrwxrwx
REGISTER ^pts/.* PERMISSIONS root.users=0660
REGISTER * PERMISSIONS root.users=rwxrwxrwx
Added this in fstab:
none /dev/pts devfs defaults 0 0
Any advice would be greatly appreciated (please try to keep it relatively explicit though
Erik

Similar Messages

  • Pseudo terminal problem

    Ok, so I have installed arch linux, and somehow managed to get my audigy soundcard function. To do this I had to compile a custom kernel (2.6.0-test9).
    In the "make xconfig"-thing I chose support for devfs, obviously.
    Now, when I log in as root, everything works real fine.
    Logging in using my normal user, however, KDE gives me this  error message when trying to open Konsole:
    "Unable to find suitable terminal device" or something.
    My current theory is that my normal user does not have access to parts of the devfs-filesystem (perhaps pty or pts?), but I have been unable to solve this sh*t.
    Please help a frustrated newbie, before I mess something up playing around as root =P
    Erik

    sarah31: Thanks for the tip, unfortunately it didn't work. Now I get a "bad line X in fstab" at startup, where X is the line I added. But that line, as I understand it, mounts devfs, but devfs has always mounted (my /dev-folder is not empty, and I do get sound even when logging in as normal user).
    The exact error message given by Konsole is: "Unable to open a suitable terminal device".
    Here's what I've tried so far:
    Added something like this in my /etc/devfsd.conf:
    REGISTER ^pts/.* PERMISSIONS root.users=rwxrwxrwx
    REGISTER ^pts/.* PERMISSIONS root.users=0660
    REGISTER * PERMISSIONS root.users=rwxrwxrwx
    Added this in fstab:
    none /dev/pts devfs defaults 0 0
    Any advice would be greatly appreciated (please try to keep it relatively explicit though
    Erik

  • Pseudo TTY's -- are they missing?

    I use a script to tunnel ppp through ssh because I have a system I maintain that is only accessible via ssh. 
    This script was working fine until a recent update -- which one I can't tell you.
    I think it might be related to pseudo tty's, which no longer exist in my /dev directory.  I have no /dev/ttyp.. entries -- what creates them?  Should I manually create them, and if I do need to do it manually, what are the parameters I need for mkdev?
    Here are the errors:
    ./ppptochaempip1.pl
    running on ttyp0; ssh=4519, pppd=4526
    Pseudo-terminal will not be allocated because stdin is not a terminal.
    [email protected]'s password:
    /usr/bin/pppd: command line: no device specified and stdin is not a tty
    [root@lapzilla ~]# starting pppd
    /usr/sbin/pppd: unrecognized option '/dev/ttyp0'
    If you look at the code, I do use the -t option in ssh to force the tty but that doesn't seem to work because I don't think the devices exist?  Maybe I'm wrong -- not sure.
    Here is a snippet of the perl script if it will help:
    foreach $maj ("p".."s") { # adjust this to the ptys you have
        foreach $min ("0".."9", "a".."f") {
           &tryopen("$maj$min");
    die "Couldn't alloc ptyn";
    sub tryopen
        local($d)=@_;
        if (open(PTY, "+>/dev/pty$d")) {
            $pid=fork;
            defined($pid) || die "can't fork";
            if ($pid) { #parent
                open(STDIN, "<PTY>&PTY") || die "reopen stout";
                close PTY;
                print STDERR "running on tty$d; ssh=$$, pppd=$pidn";
                exec $ssh, "-x", "-t", "-l$sshuser", "$sshhost", "/usr/bin/pppd passive debug";
                die "exec $ssh: $!";
            } else { #child
                close PTY;
                sleep 5;
                print "starting pppdn";
                exec "$pppd /dev/tty$d defaultroute local debug $localip:$remoteip";
                die "exec $pppd: $!";

    hmm.. not sure, I didn't write the script, I grabbed it from somewhere on the net --  I could look into finding another one I guess.
    My forum search before I posted indicated I needed the entry in fstab -- so I thought I found my problem only to find I did have the entry:
    none                   /dev/pts      devpts    defaults            0      0
    none                   /dev/shm      tmpfs     defaults            0      0
    /dev/cd/cdrom-hdc      /mnt/cd   iso9660   ro,user,noauto,unhide   0      0
    Norm[/search]

  • Using automator/applescript to do terminal commands/ssh

    hi,
    pardon my extreme novice question here, but i was looking for quick & easy ways to create a small applet to basically run a script on a web server to remotely check & update it's IP address with its web host, and also serve internet services to a wifi access point.
    here's the basic stuff we usually do in terminal —
    my-Computer:~ admin-user$ ssh admin@+{web server IP, ex.: 0.0.0.0}+
    +{we then have to wait for it to connect and ask for a password}+
    Password: {our input for password}
    Last login: Sat Jun 14 15:04:58 2008 from 0.0.0.10
    Welcome to Darwin! +{so we are now connected}+
    www:~ webserver-admin$ sudo /var/root/IP_update.sh
    +{there is then a long output as that script runs and updates the IP with the web host}+
    www:~ webserver-admin$ sudo route add -net 0.0.0.0/24 0.0.0.3 +{serve up internet services to a wifi access point, returns output that it was done, failed or already connected}+
    www:~ webserver-admin$ sudo /opt/local/sbin/lighttpd -f /opt/local/etc/lighttpd/lighttpd.conf & +{starts up our web server, returns that it was started or already on because port 80 is in use}+
    so that's what i want it to do. i thought using automator and the *run shell script* option in it would work, but i can't even get past the first ssh command without an error. i have it set to use /bin/sh, and have tried it with *pass input* setting set either way, *to stdin* or as arguments, but in either case, just on this first line alone, i get the following error —
    Run shell script failed
    Pseudo-terminal will not be allocated because stdin in not a terminal.
    does anyone know why this is happening? how do i get around this and proceed on with my script using automator?
    also, if anyone could please give tips about how to use the "pause" to have it wait for prompts over the network (like the "Password:" prompt coming back after an indeterminate number of seconds) and which automator command might be used to pop up a dialogue for user input (like asking for the password), it would be much appreciated. thanx.

    You'd want the *do shell script* command in AppleScript for this
    http://developer.apple.com/technotes/tn2002/tn2065.html
    however you're not going to be able to use it as you would tools such as Expect which allow you to wait and provide additional input on stdin. If all you're doing is updating an IP address why not simplify the entire mess with BIND's dynamic updates?

  • FileSync Failure On Mobile Account Home Directory

    Hardware
    Server
    Mac Mini Mid-2012, OS X 10.9.5, Server 3.1.2, OpenDirectory ON, HomeDirectory: /Volumes/HomeFolders/Users
    Client
    iMac 21.5-inch, Late 2012, OS X 10.9.5, MobileAccount
    Network
    Server exists on a foreign subnet. Client binds to OD Replica on local network. Authentication works without issue. SSH connections to Server work flawlessly. SCP can be used to move files across the network without issue.
    Situation
    User account automatically creates a mobile profile on any system used. This is set in Workgroup Manager for all users of this User's type.
    The local machine has successfully created a Mobile Account for the user, and User is able to use the machine without complication, except that User complains none of his personal files are present.
    Home Sync reports last sync as being "Incomplete".
    Attempted Corrections
    The log file had indicated that the synchronization process was being cancelled by the next synchronization which started automatically after 20 minutes. To correct this problem, I changed the HomeSync settings to start only on "Manual" requests.
    After this change, I observed that the log file that a file was missing.  I ran SCP to duplicate the home folder on the local machine, replacing the home folder that had been already created.  I no longer find the missing file issue.
    I found an article suggesting that deleting the .FileSync folder from the local and remote home folders would force the system to re-evaluate the status of the sync.  I deleted these folders in order to allow the system to recreate them.  The system continues to have Incomplete home sync processes.
    Help Required
    I am unable to interpret the remaining EXCEPTION lines in the log file.  I appreciate any help deciphering the next steps in fixing the Home Sync process.  I appreciate any tips or advice on what causes Home Sync to fail in these situations, and if any person has information on how to create a local mirror that would be referenced for the HomeSync rather than the main server, that information would be greatly appreciated.
    Verbose Log Output - Reduced to Output from a Single Process
    1:: [14/10/10 08:17:53.358] Received SystemLoadAdvisory notification, new state = 2
    1:: [14/10/10 08:17:53.358] System says now is an okay time for automatic syncs. Starting any automatic syncs which were previously skipped.
    0:: [14/10/10 08:17:53.828] Waking from sleep
    1:: [14/10/10 08:17:53.828] -[SSyncSet wakeFromSleep]: scheduling sync of HomeSync_Mirror in 20.0 seconds
    1:: [14/10/10 08:17:53.829] Scheduling next sync of "HomeSync_Mirror" at 2014-10-10 15:18:13 +0000
    0:: [14/10/10 08:18:13.935] EXCEPTION: Cocoa error 134030 <+[SSyncSet commitToDisk] (SyncSet.m:352): "(Error Domain=NSCocoaErrorDomain Code=134030 "An error occurred while saving." UserInfo=0x7fd5a3705f40 {NSFilePath=/Users/drbanks/Library/FileSync/a820661b8a30/SyncSets, NSAffectedStoresErrorKey=(
    0:: [14/10/10 08:18:13.935]     "<NSSQLCore: 0x7fd5a0612680> (URL: file:///Users/drbanks/Library/FileSync/a820661b8a30/SyncSets)"
    0:: [14/10/10 08:18:13.935] ), NSUnderlyingError=0x7fd5a3705ec0 "The file doesn’t exist."})">
    0:: [14/10/10 08:18:13.935] USERINFO: {
    0:: [14/10/10 08:18:13.935]     NSAffectedStoresErrorKey =     (
    0:: [14/10/10 08:18:13.935]         "<NSSQLCore: 0x7fd5a0612680> (URL: file:///Users/drbanks/Library/FileSync/a820661b8a30/SyncSets)"
    0:: [14/10/10 08:18:13.935]     );
    0:: [14/10/10 08:18:13.935]     NSFilePath = "/Users/drbanks/Library/FileSync/a820661b8a30/SyncSets";
    0:: [14/10/10 08:18:13.935]     NSUnderlyingError = "Error Domain=NSCocoaErrorDomain Code=4 \"The file doesn\U2019t exist.\" UserInfo=0x7fd5a3705e80 {NSUnderlyingError=0x7fd5a37004f0 \"The operation couldn\U2019t be completed. No such file or directory\"}";
    0:: [14/10/10 08:18:13.935] }
    0:: [14/10/10 08:18:13.935] BACKTRACE: {
    0:: [14/10/10 08:18:13.935] ? | 0x10b0c7f2b  
    0:: [14/10/10 08:18:13.935] ? | 0x7fff90496a5c
    0:: [14/10/10 08:18:13.935] ? | 0x7fff904968c4
    0:: [14/10/10 08:18:13.935] ? | 0x7fff90539516
    0:: [14/10/10 08:18:13.935] ? | 0x10b0c7c72  
    0:: [14/10/10 08:18:13.935] ? | 0x7fff8be812f8
    0:: [14/10/10 08:18:13.935] ? | 0x10b0c7abd  
    0:: [14/10/10 08:18:13.935] ? | 0x7fff905090f4
    0:: [14/10/10 08:18:13.935] ? | 0x7fff90508ea8
    0:: [14/10/10 08:18:13.935] ? | 0x10b0ce43f  
    0:: [14/10/10 08:18:13.935] ? | 0x7fff8beb50f4
    0:: [14/10/10 08:18:13.935] ? | 0x7fff90512494
    0:: [14/10/10 08:18:13.935] ? | 0x7fff90511fcf
    0:: [14/10/10 08:18:13.935] ? | 0x7fff905835aa
    0:: [14/10/10 08:18:13.935] ? | 0x7fff904cd755
    0:: [14/10/10 08:18:13.935] }
    0:: [14/10/10 08:18:13.935] +[SSyncSet commitToDisk]: exception thrown while saving (+[SSyncSet commitToDisk] (SyncSet.m:352): "(Error Domain=NSCocoaErrorDomain Code=134030 "An error occurred while saving." UserInfo=0x7fd5a3705f40 {NSFilePath=/Users/drbanks/Library/FileSync/a820661b8a30/SyncSets, NSAffectedStoresErrorKey=(
    0:: [14/10/10 08:18:13.935]     "<NSSQLCore: 0x7fd5a0612680> (URL: file:///Users/drbanks/Library/FileSync/a820661b8a30/SyncSets)"
    0:: [14/10/10 08:18:13.935] ), NSUnderlyingError=0x7fd5a3705ec0 "The file doesn’t exist."})").
    1:: [14/10/10 08:18:13.936] ==========================================================
    0:: [14/10/10 08:18:13.936] Starting automatic sync of "HomeSync_Mirror".
    1:: [14/10/10 08:18:13.938] Peer "network" reports changes since last sync.
    1:: [14/10/10 08:18:13.939] [0x7fd5a7500990/<SStore_FS:0x10b1d94f0>] +[SStore_FS newStore_FSForPeer:alias:]: isRemote = NO
    1:: [14/10/10 08:18:13.939] [0x7fd5a7500990/<SStore_FS:0x10b1d94f0>] +[SStore_FS newStore_FSForPeer:rootPath:rootAlias:rootRef:storePath:optionalStoreID:]: peer = <SPeer_FS:0x7fd5a7501500> = local, optionalStoreID = (null), peer.storeIDString = *
    1:: [14/10/10 08:18:13.939] [0x7fd5a7500990/<SStore_FS:0x10b1d94f0>] +[SStore_FS newStore_FSForPeer:rootPath:rootAlias:rootRef:storePath:optionalStoreID:]: rootPath        = /Users/drbanks
    1:: [14/10/10 08:18:13.939] [0x7fd5a7500990/<SStore_FS:0x10b1d94f0>] +[SStore_FS newStore_FSForPeer:rootPath:rootAlias:rootRef:storePath:optionalStoreID:]: storePath       = /Users/drbanks/.FileSync/store.filesyncstatetree
    1:: [14/10/10 08:18:13.939] [0x7fd5a7500990/<SStore_FS:0x10b1d94f0>] +[SStore_FS newStore_FSForPeer:rootPath:rootAlias:rootRef:storePath:optionalStoreID:]: rootAlias       = {path='/Users/drbanks', targetName='drbanks', volumeName='Fish_Office_HD', type=DIR, volumeCreateDate=2014-02-05-16:47:04, targetCreateDate=2014-09-26-09:09:23, parentDirID=156740, nodeID=733788, filesystemID=0000 ('0000'), signature=0x482b ('H+'), isBootVolume=YES, isAutomounted=NO, isEjectable=NO, hasPersistentFileIDs=YES, mounted=YES, url='file:///'}
    1:: [14/10/10 08:18:15.215] -[SStore_FS setupWithAlias:andRef:] (Store-FS.m:447): unlink('/Users/drbanks/.FileSync/.fstemp.CUtmP-mI4X6yMG0c2.noindex')
    1:: [14/10/10 08:18:15.333] -[SStore(protected) cleanupTree]: PHD-L-uCVIYQ8_Ju2-drbanks: required 0.1 seconds to execute
    1:: [14/10/10 08:18:15.645] -[SPeer_FS_PHD mountPeerVolume]: Mounted remote home server at "/Volumes/HomeFolders".
    1:: [14/10/10 08:18:15.867] -[SPeer_FS_PHD mountPeerVolume]: Final path to PHD remote home root = "/Volumes/HomeFolders/drbanks"
    1:: [14/10/10 08:18:16.353] X::...PHD-L-uCVIYQ8_Ju2-drbanks Exclusion/Inclusion pair #1 of 2
    1:: [14/10/10 08:18:16.353] X::Exclusions                                                       | Inclusions                  
    1:: [14/10/10 08:18:16.353] X::---------------------------------------------------------------------------- --------------------
    1:: [14/10/10 08:18:16.353] X::path BEGINSWITH "."                                              |                             
    1:: [14/10/10 08:18:16.353] X::name BEGINSWITH[c] ".afpDeleted"                                 |                             
    1:: [14/10/10 08:18:16.353] X::name BEGINSWITH[c] ".DocumentRevisions"                          |                             
    1:: [14/10/10 08:18:16.353] X::path LIKE[c] "Documents/Microsoft User Data"                     |                             
    1:: [14/10/10 08:18:16.353] X::path LIKE[c] "Library/Preferences/com.apple.FileSyncUI.plist"    |                             
    1:: [14/10/10 08:18:16.353] X::path LIKE[c] ".SymAVQSFile"                                      |                             
    1:: [14/10/10 08:18:16.353] X::path LIKE[c] "Library/Preferences/com.apple.mcxMenuExtras.plist" |                             
    1:: [14/10/10 08:18:16.353] X::path LIKE[c] "Library/Logs/FileSyncAgent.log"                    |                             
    1:: [14/10/10 08:18:16.353] X::name LIKE[c] ".com.apple.timemachine.supported"                  |                             
    1:: [14/10/10 08:18:16.353] X::path LIKE[c] ".Cleanup At Startup"                               |                             
    1:: [14/10/10 08:18:16.353] X::path LIKE[c] "Library/Preferences/com.apple.homeSync.plist"      |                             
    1:: [14/10/10 08:18:16.353] X::path LIKE[c] "Library/Mirrors"                                   |                             
    1:: [14/10/10 08:18:16.353] X::path LIKE[c] "Library/FileSync"                                  |                             
    1:: [14/10/10 08:18:16.353] X::path LIKE[c] ".TemporaryItems"                                   |                             
    1:: [14/10/10 08:18:16.353] X::path LIKE[c] ".fseventsd"                                        |                             
    1:: [14/10/10 08:18:16.353] X::path LIKE[c] ".Spotlight-V100"                                   |                             
    1:: [14/10/10 08:18:16.353] X::path LIKE[c] "Library/Logs/MirrorAgent.log"                      |                             
    1:: [14/10/10 08:18:16.353] X::path LIKE[c] ".FileSync"                                         |                             
    1:: [14/10/10 08:18:16.353] X::path LIKE[c] "Library"                                           |                             
    1:: [14/10/10 08:18:16.353] X::path LIKE[c] "NAVMac800QSFile"                                   |                             
    1:: [14/10/10 08:18:16.353] X::path LIKE[c] ".mcxlc"                                            |                             
    1:: [14/10/10 08:18:16.353] X::path LIKE[c] ".account"                                          |                             
    1:: [14/10/10 08:18:16.353] X::---not changed---                                                | ---not changed---           
    1:: [14/10/10 08:18:16.353] X::---------------------------------------------------------------------------- --------------------
    1:: [14/10/10 08:18:16.353] X::...PHD-L-uCVIYQ8_Ju2-drbanks Exclusion/Inclusion pair #2 of 2
    1:: [14/10/10 08:18:16.353] X::Exclusions                                                       | Inclusions                  
    1:: [14/10/10 08:18:16.353] X::---------------------------------------------------------------------------- --------------------
    1:: [14/10/10 08:18:16.353] X::name BEGINSWITH[c] ".afpDeleted"                                 | .CFUserTextEncoding         
    1:: [14/10/10 08:18:16.353] X::name BEGINSWITH[c] "EWS-"                                        | .Trash                      
    1:: [14/10/10 08:18:16.353] X::name BEGINSWITH[c] ".DocumentRevisions"                          | .bash_history               
    1:: [14/10/10 08:18:16.353] X::path LIKE[c] ".account"                                          | .ssh                        
    1:: [14/10/10 08:18:16.353] X::path LIKE[c] ".fseventsd"                                        | Documents/Microsoft User Data
    1:: [14/10/10 08:18:16.353] X::path LIKE[c] "Library/Mail/Envelope Index"                       | Library                     
    1:: [14/10/10 08:18:16.353] X::path LIKE[c] "Library/Safari/Icons.db"                           |                             
    1:: [14/10/10 08:18:16.353] X::path LIKE[c] "Library/Safari/HistoryIndex.sk"                    |                             
    1:: [14/10/10 08:18:16.353] X::path LIKE[c] "Library/Mirrors"                                   |                             
    1:: [14/10/10 08:18:16.353] X::path LIKE[c] ".mcxlc"                                            |                             
    1:: [14/10/10 08:18:16.353] X::name LIKE[c] ".com.apple.timemachine.supported"                  |                             
    1:: [14/10/10 08:18:16.353] X::path LIKE[c] "Library/Mail/Exchange-*"                           |                             
    1:: [14/10/10 08:18:16.353] X::path LIKE[c] "Library/PubSub/Feeds"                              |                             
    1:: [14/10/10 08:18:16.353] X::path LIKE[c] "Library/Logs/MirrorAgent.log"                      |                             
    1:: [14/10/10 08:18:16.353] X::path LIKE[c] ".FileSync"                                         |                             
    1:: [14/10/10 08:18:16.353] X::path LIKE[c] "Library/Calendars/Calendar Cache"                  |                             
    1:: [14/10/10 08:18:16.353] X::path LIKE[c] "Library/Mail/IMAP-*"                               |                             
    1:: [14/10/10 08:18:16.353] X::path LIKE[c] "Library/Preferences/com.apple.homeSync.plist"      |                             
    1:: [14/10/10 08:18:16.353] X::path LIKE[c] "Library/Preferences/com.apple.mcxMenuExtras.plist" |                             
    1:: [14/10/10 08:18:16.353] X::path LIKE[c] "Library/FileSync"                                  |                             
    1:: [14/10/10 08:18:16.353] X::path LIKE[c] "Library/PubSub/Downloads"                          |                             
    1:: [14/10/10 08:18:16.353] X::path LIKE[c] "Library/Application Support/SyncServices"          |                             
    1:: [14/10/10 08:18:16.353] X::path LIKE[c] "Library/Printers"                                  |                             
    1:: [14/10/10 08:18:16.353] X::path LIKE[c] "Library/Preferences/Macromedia/Flash Player"       |                             
    1:: [14/10/10 08:18:16.353] X::path LIKE[c] ".Cleanup At Startup"                               |                             
    1:: [14/10/10 08:18:16.353] X::path LIKE[c] "Library/Logs/FileSyncAgent.log"                    |                             
    1:: [14/10/10 08:18:16.353] X::path LIKE[c] ".SymAVQSFile"                                      |                             
    1:: [14/10/10 08:18:16.353] X::path LIKE[c] "Library/Caches"                                    |                             
    1:: [14/10/10 08:18:16.353] X::path LIKE[c] ".TemporaryItems"                                   |                             
    1:: [14/10/10 08:18:16.353] X::path LIKE[c] "Documents/Microsoft User Data/Entourage Temp"      |                             
    1:: [14/10/10 08:18:16.353] X::path LIKE[c] "Library/Preferences/com.apple.FileSyncUI.plist"    |                             
    1:: [14/10/10 08:18:16.353] X::path LIKE[c] "Library/iTunes/iPhone Software Updates"            |                             
    1:: [14/10/10 08:18:16.353] X::path LIKE[c] "Library/PubSub/Database"                           |                             
    1:: [14/10/10 08:18:16.353] X::path LIKE[c] "Library/Application Support/MobileSync"            |                             
    1:: [14/10/10 08:18:16.353] X::path LIKE[c] "Library/Mail/Mac-*"                                |                             
    1:: [14/10/10 08:18:16.353] X::path LIKE[c] "Library/Logs"                                      |                             
    1:: [14/10/10 08:18:16.353] X::path LIKE[c] ".Spotlight-V100"                                   |                             
    1:: [14/10/10 08:18:16.353] X::path LIKE[c] "Library/Mail/AvailableFeeds"                       |                             
    1:: [14/10/10 08:18:16.353] X::---not changed---                                                | ---not changed---           
    1:: [14/10/10 08:18:16.353] X::---------------------------------------------------------------------------- --------------------
    1:: [14/10/10 08:18:16.353] [0x7fd5a7500990/<SStore_FS:0x7fd5a7d01440>] -[SStore_FS prepareForSync]: PHD-L-uCVIYQ8_Ju2-drbanks: self.wasPrepareForSyncDoneRemotely => NO
    1:: [14/10/10 08:18:16.353] Store "PHD-L-uCVIYQ8_Ju2-drbanks" started prepareForSync with root version (null)
    1:: [14/10/10 08:18:16.431] PHD-L-uCVIYQ8_Ju2-drbanks FSEvents scan
    0:: [14/10/10 08:18:16.650] EXCEPTION: Cocoa error 134030 <+[SSyncSet commitToDisk] (SyncSet.m:352): "(Error Domain=NSCocoaErrorDomain Code=134030 "An error occurred while saving." UserInfo=0x7fd5a370b560 {NSFilePath=/Users/drbanks/Library/FileSync/a820661b8a30/SyncSets, NSAffectedStoresErrorKey=(
    0:: [14/10/10 08:18:16.650]     "<NSSQLCore: 0x7fd5a0612680> (URL: file:///Users/drbanks/Library/FileSync/a820661b8a30/SyncSets)"
    0:: [14/10/10 08:18:16.650] ), NSUnderlyingError=0x7fd5a3707ec0 "The file doesn’t exist."})">
    0:: [14/10/10 08:18:16.650] USERINFO: {
    0:: [14/10/10 08:18:16.650]     NSAffectedStoresErrorKey =     (
    0:: [14/10/10 08:18:16.650]         "<NSSQLCore: 0x7fd5a0612680> (URL: file:///Users/drbanks/Library/FileSync/a820661b8a30/SyncSets)"
    0:: [14/10/10 08:18:16.650]     );
    0:: [14/10/10 08:18:16.650]     NSFilePath = "/Users/drbanks/Library/FileSync/a820661b8a30/SyncSets";
    0:: [14/10/10 08:18:16.650]     NSUnderlyingError = "Error Domain=NSCocoaErrorDomain Code=4 \"The file doesn\U2019t exist.\" UserInfo=0x7fd5a3709440 {NSUnderlyingError=0x7fd5a3797170 \"The operation couldn\U2019t be completed. No such file or directory\"}";
    0:: [14/10/10 08:18:16.650] }
    0:: [14/10/10 08:18:16.650] BACKTRACE: {
    0:: [14/10/10 08:18:16.650] ? | 0x10b0c7f2b  
    0:: [14/10/10 08:18:16.650] ? | 0x7fff90496a5c
    0:: [14/10/10 08:18:16.650] ? | 0x7fff904968c4
    0:: [14/10/10 08:18:16.650] ? | 0x7fff90539516
    0:: [14/10/10 08:18:16.650] ? | 0x10b0c7c72  
    0:: [14/10/10 08:18:16.650] ? | 0x7fff8beb413e
    0:: [14/10/10 08:18:16.650] ? | 0x7fff904dc661
    0:: [14/10/10 08:18:16.650] ? | 0x7fff904cdd12
    0:: [14/10/10 08:18:16.650] ? | 0x7fff904cd49f
    0:: [14/10/10 08:18:16.650] ? | 0x7fff904ccf25
    0:: [14/10/10 08:18:16.650] ? | 0x7fff90582811
    0:: [14/10/10 08:18:16.650] ? | 0x10b0bd950  
    0:: [14/10/10 08:18:16.650] ? | 0x7fff939bd5fd
    0:: [14/10/10 08:18:16.650] }
    0:: [14/10/10 08:18:16.650] +[SSyncSet commitToDisk]: exception thrown while saving (+[SSyncSet commitToDisk] (SyncSet.m:352): "(Error Domain=NSCocoaErrorDomain Code=134030 "An error occurred while saving." UserInfo=0x7fd5a370b560 {NSFilePath=/Users/drbanks/Library/FileSync/a820661b8a30/SyncSets, NSAffectedStoresErrorKey=(
    0:: [14/10/10 08:18:16.650]     "<NSSQLCore: 0x7fd5a0612680> (URL: file:///Users/drbanks/Library/FileSync/a820661b8a30/SyncSets)"
    0:: [14/10/10 08:18:16.650] ), NSUnderlyingError=0x7fd5a3707ec0 "The file doesn’t exist."})").
    1:: [14/10/10 08:18:16.650] -[SPeer_FS_PHD mountPeerVolume]: Remote home located at "/Volumes/HomeFolders/drbanks"
    1:: [14/10/10 08:18:16.650] [0x7fd5a8202970/<SStore_FS:0x10b1d94f0>] +[SStore_FS newStore_FSForPeer:alias:]: isRemote = YES
    1:: [14/10/10 08:18:16.650] [0x7fd5a8202970/<SStore_FS:0x10b1d94f0>] +[SStore_FS newStore_FSForPeer:alias:]: gAttemptRemotePrepareForSync = YES
    1:: [14/10/10 08:18:17.169] PHD-L-uCVIYQ8_Ju2-drbanks FSEvents scan took 0.74 seconds
    1:: [14/10/10 08:18:17.303] PHD-L-uCVIYQ8_Ju2-drbanks Scanning flagged directory "/"
    1:: [14/10/10 08:18:17.304] PHD-L-uCVIYQ8_Ju2-drbanks Scanning flagged directory "Desktop/"
    1:: [14/10/10 08:18:17.304] PHD-L-uCVIYQ8_Ju2-drbanks Scanning flagged directory "Desktop/Desktop/Desktop/EMR IM Unreadable/"
    1:: [14/10/10 08:18:17.368] PHD-L-uCVIYQ8_Ju2-drbanks Scanning flagged directory "Desktop/Desktop/Desktop/Videos/"
    1:: [14/10/10 08:18:17.371] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'name BEGINSWITH[c] ".afpDeleted"' to 'normalizedName >= ".afpdeleted" AND normalizedName < ".afpdeletee"'
    1:: [14/10/10 08:18:17.371] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'name BEGINSWITH[c] "EWS-"' to 'normalizedName >= "ews-" AND normalizedName < "ews."'
    1:: [14/10/10 08:18:17.371] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'name BEGINSWITH[c] ".DocumentRevisions"' to 'normalizedName >= ".documentrevisions" AND normalizedName < ".documentrevisiont"'
    1:: [14/10/10 08:18:17.371] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'path LIKE[c] ".account"' to 'normalizedPath == ".account"'
    1:: [14/10/10 08:18:17.371] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'path LIKE[c] ".fseventsd"' to 'normalizedPath == ".fseventsd"'
    1:: [14/10/10 08:18:17.371] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'path LIKE[c] "Library/Mail/Envelope Index"' to 'normalizedPath == "library/mail/envelope index"'
    1:: [14/10/10 08:18:17.371] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'path LIKE[c] "Library/Safari/Icons.db"' to 'normalizedPath == "library/safari/icons.db"'
    1:: [14/10/10 08:18:17.371] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'path LIKE[c] "Library/Safari/HistoryIndex.sk"' to 'normalizedPath == "library/safari/historyindex.sk"'
    1:: [14/10/10 08:18:17.372] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'path LIKE[c] "Library/Mirrors"' to 'normalizedPath == "library/mirrors"'
    1:: [14/10/10 08:18:17.372] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'path LIKE[c] ".mcxlc"' to 'normalizedPath == ".mcxlc"'
    1:: [14/10/10 08:18:17.372] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'name LIKE[c] ".com.apple.timemachine.supported"' to 'normalizedName == ".com.apple.timemachine.supported"'
    1:: [14/10/10 08:18:17.372] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'path LIKE[c] "Library/Mail/Exchange-*"' to 'normalizedPath >= "library/mail/exchange-" AND normalizedPath < "library/mail/exchange."'
    1:: [14/10/10 08:18:17.372] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'path LIKE[c] "Library/PubSub/Feeds"' to 'normalizedPath == "library/pubsub/feeds"'
    1:: [14/10/10 08:18:17.372] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'path LIKE[c] "Library/Logs/MirrorAgent.log"' to 'normalizedPath == "library/logs/mirroragent.log"'
    1:: [14/10/10 08:18:17.372] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'path LIKE[c] ".FileSync"' to 'normalizedPath == ".filesync"'
    1:: [14/10/10 08:18:17.372] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'path LIKE[c] "Library/Calendars/Calendar Cache"' to 'normalizedPath == "library/calendars/calendar cache"'
    1:: [14/10/10 08:18:17.372] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'path LIKE[c] "Library/Mail/IMAP-*"' to 'normalizedPath >= "library/mail/imap-" AND normalizedPath < "library/mail/imap."'
    1:: [14/10/10 08:18:17.372] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'path LIKE[c] "Library/Preferences/com.apple.homeSync.plist"' to 'normalizedPath == "library/preferences/com.apple.homesync.plist"'
    1:: [14/10/10 08:18:17.372] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'path LIKE[c] "Library/Preferences/com.apple.mcxMenuExtras.plist"' to 'normalizedPath == "library/preferences/com.apple.mcxmenuextras.plist"'
    1:: [14/10/10 08:18:17.372] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'path LIKE[c] "Library/FileSync"' to 'normalizedPath == "library/filesync"'
    1:: [14/10/10 08:18:17.372] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'path LIKE[c] "Library/PubSub/Downloads"' to 'normalizedPath == "library/pubsub/downloads"'
    1:: [14/10/10 08:18:17.372] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'path LIKE[c] "Library/Application Support/SyncServices"' to 'normalizedPath == "library/application support/syncservices"'
    1:: [14/10/10 08:18:17.372] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'path LIKE[c] "Library/Printers"' to 'normalizedPath == "library/printers"'
    1:: [14/10/10 08:18:17.373] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'path LIKE[c] "Library/Preferences/Macromedia/Flash Player"' to 'normalizedPath == "library/preferences/macromedia/flash player"'
    1:: [14/10/10 08:18:17.373] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'path LIKE[c] ".Cleanup At Startup"' to 'normalizedPath == ".cleanup at startup"'
    1:: [14/10/10 08:18:17.373] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'path LIKE[c] "Library/Logs/FileSyncAgent.log"' to 'normalizedPath == "library/logs/filesyncagent.log"'
    1:: [14/10/10 08:18:17.373] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'path LIKE[c] ".SymAVQSFile"' to 'normalizedPath == ".symavqsfile"'
    1:: [14/10/10 08:18:17.373] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'path LIKE[c] "Library/Caches"' to 'normalizedPath == "library/caches"'
    1:: [14/10/10 08:18:17.373] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'path LIKE[c] ".TemporaryItems"' to 'normalizedPath == ".temporaryitems"'
    1:: [14/10/10 08:18:17.373] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'path LIKE[c] "Documents/Microsoft User Data/Entourage Temp"' to 'normalizedPath == "documents/microsoft user data/entourage temp"'
    1:: [14/10/10 08:18:17.373] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'path LIKE[c] "Library/Preferences/com.apple.FileSyncUI.plist"' to 'normalizedPath == "library/preferences/com.apple.filesyncui.plist"'
    1:: [14/10/10 08:18:17.373] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'path LIKE[c] "Library/iTunes/iPhone Software Updates"' to 'normalizedPath == "library/itunes/iphone software updates"'
    1:: [14/10/10 08:18:17.373] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'path LIKE[c] "Library/PubSub/Database"' to 'normalizedPath == "library/pubsub/database"'
    1:: [14/10/10 08:18:17.373] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'path LIKE[c] "Library/Application Support/MobileSync"' to 'normalizedPath == "library/application support/mobilesync"'
    1:: [14/10/10 08:18:17.373] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'path LIKE[c] "Library/Mail/Mac-*"' to 'normalizedPath >= "library/mail/mac-" AND normalizedPath < "library/mail/mac."'
    1:: [14/10/10 08:18:17.373] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'path LIKE[c] "Library/Logs"' to 'normalizedPath == "library/logs"'
    1:: [14/10/10 08:18:17.373] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'path LIKE[c] ".Spotlight-V100"' to 'normalizedPath == ".spotlight-v100"'
    1:: [14/10/10 08:18:17.373] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'path LIKE[c] "Library/Mail/AvailableFeeds"' to 'normalizedPath == "library/mail/availablefeeds"'
    1:: [14/10/10 08:18:17.374] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'path BEGINSWITH "."' to 'normalizedPath >= "." AND normalizedPath < "/"'
    1:: [14/10/10 08:18:17.374] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'name BEGINSWITH[c] ".afpDeleted"' to 'normalizedName >= ".afpdeleted" AND normalizedName < ".afpdeletee"'
    1:: [14/10/10 08:18:17.374] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'name BEGINSWITH[c] ".DocumentRevisions"' to 'normalizedName >= ".documentrevisions" AND normalizedName < ".documentrevisiont"'
    1:: [14/10/10 08:18:17.374] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'path LIKE[c] "Documents/Microsoft User Data"' to 'normalizedPath == "documents/microsoft user data"'
    1:: [14/10/10 08:18:17.374] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'path LIKE[c] "Library/Preferences/com.apple.FileSyncUI.plist"' to 'normalizedPath == "library/preferences/com.apple.filesyncui.plist"'
    1:: [14/10/10 08:18:17.374] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'path LIKE[c] ".SymAVQSFile"' to 'normalizedPath == ".symavqsfile"'
    1:: [14/10/10 08:18:17.374] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'path LIKE[c] "Library/Preferences/com.apple.mcxMenuExtras.plist"' to 'normalizedPath == "library/preferences/com.apple.mcxmenuextras.plist"'
    1:: [14/10/10 08:18:17.374] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'path LIKE[c] "Library/Logs/FileSyncAgent.log"' to 'normalizedPath == "library/logs/filesyncagent.log"'
    1:: [14/10/10 08:18:17.374] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'name LIKE[c] ".com.apple.timemachine.supported"' to 'normalizedName == ".com.apple.timemachine.supported"'
    1:: [14/10/10 08:18:17.374] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'path LIKE[c] ".Cleanup At Startup"' to 'normalizedPath == ".cleanup at startup"'
    1:: [14/10/10 08:18:17.374] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'path LIKE[c] "Library/Preferences/com.apple.homeSync.plist"' to 'normalizedPath == "library/preferences/com.apple.homesync.plist"'
    1:: [14/10/10 08:18:17.374] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'path LIKE[c] "Library/Mirrors"' to 'normalizedPath == "library/mirrors"'
    1:: [14/10/10 08:18:17.374] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'path LIKE[c] "Library/FileSync"' to 'normalizedPath == "library/filesync"'
    1:: [14/10/10 08:18:17.374] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'path LIKE[c] ".TemporaryItems"' to 'normalizedPath == ".temporaryitems"'
    1:: [14/10/10 08:18:17.374] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'path LIKE[c] ".fseventsd"' to 'normalizedPath == ".fseventsd"'
    1:: [14/10/10 08:18:17.375] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'path LIKE[c] ".Spotlight-V100"' to 'normalizedPath == ".spotlight-v100"'
    1:: [14/10/10 08:18:17.375] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'path LIKE[c] "Library/Logs/MirrorAgent.log"' to 'normalizedPath == "library/logs/mirroragent.log"'
    1:: [14/10/10 08:18:17.375] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'path LIKE[c] ".FileSync"' to 'normalizedPath == ".filesync"'
    1:: [14/10/10 08:18:17.375] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'path LIKE[c] "Library"' to 'normalizedPath == "library"'
    1:: [14/10/10 08:18:17.375] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'path LIKE[c] "NAVMac800QSFile"' to 'normalizedPath == "navmac800qsfile"'
    1:: [14/10/10 08:18:17.375] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'path LIKE[c] ".mcxlc"' to 'normalizedPath == ".mcxlc"'
    1:: [14/10/10 08:18:17.375] -[NSPredicate(FileSyncAdditions) optimizedPredicate]: Optimized 'path LIKE[c] ".account"' to 'normalizedPath == ".account"'
    1:: [14/10/10 08:18:17.379] PHD-L-uCVIYQ8_Ju2-drbanks Scanning flagged directory "Library/"
    1:: [14/10/10 08:18:17.381] PHD-L-uCVIYQ8_Ju2-drbanks Scanning flagged directory "Library/Application Support/AddressBook/Metadata/"
    1:: [14/10/10 08:18:17.382] PHD-L-uCVIYQ8_Ju2-drbanks Scanning flagged directory "Library/Application Support/AddressBook/Sources/80E89097-D917-4DE6-8B87-D5ACD34DCBA9/"
    1:: [14/10/10 08:18:17.382] PHD-L-uCVIYQ8_Ju2-drbanks: -[SStore(protected) checkAndHandleMissingNode:withID:exists:nodeTypeChanged:]: (null): CVV = (null), LVV = (null), converting to breadcrumb
    1:: [14/10/10 08:18:17.383] PHD-L-uCVIYQ8_Ju2-drbanks Scanning flagged directory "Library/Application Support/CrashReporter/"
    1:: [14/10/10 08:18:17.383] PHD-L-uCVIYQ8_Ju2-drbanks: -[SStore(protected) checkAndHandleMissingNode:withID:exists:nodeTypeChanged:]: (null): CVV = (null), LVV = (null), converting to breadcrumb
    1:: [14/10/10 08:18:17.383] PHD-L-uCVIYQ8_Ju2-drbanks Scanning flagged directory "Library/Application Support/Dock/"
    1:: [14/10/10 08:18:17.384] PHD-L-uCVIYQ8_Ju2-drbanks Scanning flagged directory "Library/Application Support/iCloud/Accounts/"
    1:: [14/10/10 08:18:17.385] PHD-L-uCVIYQ8_Ju2-drbanks: -[SStore(protected) checkAndHandleMissingNode:withID:exists:nodeTypeChanged:]: (null): CVV = (null), LVV = (null), converting to breadcrumb
    1:: [14/10/10 08:18:17.385] PHD-L-uCVIYQ8_Ju2-drbanks Scanning flagged directory "Library/Calendars/"
    1:: [14/10/10 08:18:17.385] PHD-L-uCVIYQ8_Ju2-drbanks Scanning flagged directory "Library/Calendars/F3A85C22-7A2C-4D1F-9D43-34720B9AFDCD.caldav/"
    1:: [14/10/10 08:18:17.386] PHD-L-uCVIYQ8_Ju2-drbanks Scanning flagged directory "Library/Calendars/F3A85C22-7A2C-4D1F-9D43-34720B9AFDCD.caldav/4B6959F3-F05E-4F 30-891A-C8234667064B.calendar/"
    1:: [14/10/10 08:18:17.387] PHD-L-uCVIYQ8_Ju2-drbanks Scanning flagged directory "Library/Calendars/F3A85C22-7A2C-4D1F-9D43-34720B9AFDCD.caldav/6F039F7E-3CC6-4B 94-AE4C-6F17A7C8CA71.calendar/"
    1:: [14/10/10 08:18:17.388] PHD-L-uCVIYQ8_Ju2-drbanks Scanning flagged directory "Library/Calendars/F3A85C22-7A2C-4D1F-9D43-34720B9AFDCD.caldav/8A3D1921-C2DE-4F F2-8E0F-0FABED30EE2D.calendar/"
    1:: [14/10/10 08:18:17.389] PHD-L-uCVIYQ8_Ju2-drbanks Scanning flagged directory "Library/Calendars/F3A85C22-7A2C-4D1F-9D43-34720B9AFDCD.caldav/18273985-1499-47 77-AAEF-EA6093AF2FE3.calendar/"
    1:: [14/10/10 08:18:17.390] PHD-L-uCVIYQ8_Ju2-drbanks Scanning flagged directory "Library/Calendars/F3A85C22-7A2C-4D1F-9D43-34720B9AFDCD.caldav/A8305227-211A-43 D7-9979-38F79A9F24A7.calendar/"
    1:: [14/10/10 08:18:17.391] PHD-L-uCVIYQ8_Ju2-drbanks Scanning flagged directory "Library/Calendars/F3A85C22-7A2C-4D1F-9D43-34720B9AFDCD.caldav/B15C90DE-3A13-48 DC-A260-B40B9A40D7E9.calendar/"
    1:: [14/10/10 08:18:17.391] PHD-L-uCVIYQ8_Ju2-drbanks Scanning flagged directory "Library/Calendars/F3A85C22-7A2C-4D1F-9D43-34720B9AFDCD.caldav/B092C532-DA51-4F 61-BEDF-1CC5B564667D.calendar/"
    1:: [14/10/10 08:18:17.392] PHD-L-uCVIYQ8_Ju2-drbanks Scanning flagged directory "Library/Calendars/F3A85C22-7A2C-4D1F-9D43-34720B9AFDCD.caldav/F89651C6-3E88-4D 6E-873D-2C2D3A36CD80.calendar/"
    1:: [14/10/10 08:18:17.393] PHD-L-uCVIYQ8_Ju2-drbanks Scanning flagged directory "Library/Containers/com.apple.corerecents.recentsd/"
    1:: [14/10/10 08:18:17.393] PHD-L-uCVIYQ8_Ju2-drbanks Scanning flagged directory "Library/Containers/com.apple.corerecents.recentsd/Data/Library/Recents/"
    1:: [14/10/10 08:18:17.394] PHD-L-uCVIYQ8_Ju2-drbanks Scanning flagged directory "Library/Containers/com.apple.corerecents.recentsd/Data/Library/SyncedPreferenc es/"
    1:: [14/10/10 08:18:17.395] PHD-L-uCVIYQ8_Ju2-drbanks: -[SStore(protected) checkAndHandleMissingNode:withID:exists:nodeTypeChanged:]: (null): CVV = (null), LVV = (null), converting to breadcrumb
    1:: [14/10/10 08:18:17.395] PHD-L-uCVIYQ8_Ju2-drbanks: -[SStore(protected) checkAndHandleMissingNode:withID:exists:nodeTypeChanged:]: (null): CVV = (null), LVV = (null), converting to breadcrumb
    1:: [14/10/10 08:18:17.395] PHD-L-uCVIYQ8_Ju2-drbanks: -[SStore(protected) checkAndHandleMissingNode:withID:exists:nodeTypeChanged:]: (null): CVV = (null), LVV = (null), converting to breadcrumb
    1:: [14/10/10 08:18:17.395] PHD-L-uCVIYQ8_Ju2-drbanks Scanning flagged directory "Library/Cookies/"
    1:: [14/10/10 08:18:17.396] PHD-L-uCVIYQ8_Ju2-drbanks: -[SStore(protected) checkAndHandleMissingNode:withID:exists:nodeTypeChanged:]: (null): CVV = (null), LVV = (null), converting to breadcrumb
    1:: [14/10/10 08:18:17.396] PHD-L-uCVIYQ8_Ju2-drbanks Scanning flagged directory "Library/Google/"
    1:: [14/10/10 08:18:17.396] PHD-L-uCVIYQ8_Ju2-drbanks Scanning flagged directory "Library/Google/GoogleSoftwareUpdate/"
    1:: [14/10/10 08:18:17.397] PHD-L-uCVIYQ8_Ju2-drbanks Scanning flagged directory "Library/Google/GoogleSoftwareUpdate/TicketStore/"
    1:: [14/10/10 08:18:17.397] PHD-L-uCVIYQ8_Ju2-drbanks Scanning flagged directory "Library/IdentityServices/"
    1:: [14/10/10 08:18:17.398] PHD-L-uCVIYQ8_Ju2-drbanks Scanning flagged directory "Library/Mail/V2/MailData/"
    1:: [14/10/10 08:18:17.399] PHD-L-uCVIYQ8_Ju2-drbanks Scanning flagged directory "Library/Preferences/"
    1:: [14/10/10 08:18:17.400] PHD-L-uCVIYQ8_Ju2-drbanks: -[SStore(protected) checkAndHandleMissingNode:withID:exists:nodeTypeChanged:]: (null): CVV = (null), LVV = (null), converting to breadcrumb
    1:: [14/10/10 08:18:17.401] PHD-L-uCVIYQ8_Ju2-drbanks: -[SStore(protected) checkAndHandleMissingNode:withID:exists:nodeTypeChanged:]: (null): CVV = (null), LVV = (null), converting to breadcrumb
    1:: [14/10/10 08:18:17.401] PHD-L-uCVIYQ8_Ju2-drbanks: -[SStore(protected) checkAndHandleMissingNode:withID:exists:nodeTypeChanged:]: (null): CVV = (null), LVV = (null), converting to breadcrumb
    1:: [14/10/10 08:18:17.402] PHD-L-uCVIYQ8_Ju2-drbanks: -[SStore(protected) checkAndHandleMissingNode:withID:exists:nodeTypeChanged:]: (null): CVV = (null), LVV = (null), converting to breadcrumb
    1:: [14/10/10 08:18:17.402] PHD-L-uCVIYQ8_Ju2-drbanks: -[SStore(protected) checkAndHandleMissingNode:withID:exists:nodeTypeChanged:]: (null): CVV = (null), LVV = (null), converting to breadcrumb
    1:: [14/10/10 08:18:17.402] PHD-L-uCVIYQ8_Ju2-drbanks: -[SStore(protected) checkAndHandleMissingNode:withID:exists:nodeTypeChanged:]: (null): CVV = (null), LVV = (null), converting to breadcrumb
    1:: [14/10/10 08:18:17.403] PHD-L-uCVIYQ8_Ju2-drbanks: -[SStore(protected) checkAndHandleMissingNode:withID:exists:nodeTypeChanged:]: (null): CVV = (null), LVV = (null), converting to breadcrumb
    1:: [14/10/10 08:18:17.403] PHD-L-uCVIYQ8_Ju2-drbanks Scanning flagged directory "Library/Preferences/ByHost/"
    1:: [14/10/10 08:18:17.405] PHD-L-uCVIYQ8_Ju2-drbanks: -[SStore(protected) checkAndHandleMissingNode:withID:exists:nodeTypeChanged:]: (null): CVV = (null), LVV = (null), converting to breadcrumb
    1:: [14/10/10 08:18:17.405] PHD-L-uCVIYQ8_Ju2-drbanks Scanning flagged directory "Library/Safari/"
    1:: [14/10/10 08:18:17.406] PHD-L-uCVIYQ8_Ju2-drbanks: -[SStore(protected) checkAndHandleMissingNode:withID:exists:nodeTypeChanged:]: (null): CVV = (null), LVV = (null), converting to breadcrumb
    1:: [14/10/10 08:18:17.406] PHD-L-uCVIYQ8_Ju2-drbanks Scanning flagged directory "Library/Safari/LocalStorage/"
    1:: [14/10/10 08:18:17.408] PHD-L-uCVIYQ8_Ju2-drbanks: -[SStore(protected) checkAndHandleMissingNode:withID:exists:nodeTypeChanged:]: (null): CVV = (null), LVV = (null), converting to breadcrumb
    1:: [14/10/10 08:18:17.408] PHD-L-uCVIYQ8_Ju2-drbanks Scanning flagged directory "Library/SyncedPreferences/"
    1:: [14/10/10 08:18:17.408] PHD-L-uCVIYQ8_Ju2-drbanks: -[SStore(protected) checkAndHandleMissingNode:withID:exists:nodeTypeChanged:]: (null): CVV = (null), LVV = (null), converting to breadcrumb
    1:: [14/10/10 08:18:17.409] PHD-L-uCVIYQ8_Ju2-drbanks: -[SStore(protected) checkAndHandleMissingNode:withID:exists:nodeTypeChanged:]: (null): CVV = (null), LVV = (null), converting to breadcrumb
    1:: [14/10/10 08:18:17.552] Store "PHD-L-uCVIYQ8_Ju2-drbanks" finished prepareForSync with root version (null)
    1:: [14/10/10 08:18:17.727] ssh subtask PID:3180
    1:: [14/10/10 08:18:17.732] -[SSHIPCClient handleStderrLineOrEOF:]: [2014-10-10 15:18:17 +0000] 'Pseudo-terminal will not be allocated because stdin is not a terminal.
    1:: [14/10/10 08:18:17.732] '
    1:: [14/10/10 08:18:17.755] -[SSHIPCClient handleStderrLineOrEOF:]: [2014-10-10 15:18:17 +0000] 'ssh: connect to host maidmarian.pediatricheartcenter.org port 2336: Connection refused
    1:: [14/10/10 08:18:17.755] '
    1:: [14/10/10 08:18:17.755] -[SSHIPCClient handleStderrLineOrEOF:]: SSH: 'ssh: connect to host maidmarian.pediatricheartcenter.org port 2336: Connection refused
    1:: [14/10/10 08:18:17.755] '
    1:: [14/10/10 08:18:17.755] -[SSHIPCClient handleStderrLineOrEOF:]: [2014-10-10 15:18:17 +0000] '(null)'
    1:: [14/10/10 08:18:18.031] FS-remote: reusing local DB cache (modDate = 1412893054, size = 677707, local: "/Users/drbanks/Library/Caches/Cleanup At Startup/FileSyncAgent-1032/.FileSync/Store-FS-PHD-network-home.filesyncstatetre e", remote: "/Volumes/HomeFolders/drbanks/.FileSync/Store-FS-PHD-network-home.filesyncstate tree.bz2")
    1:: [14/10/10 08:18:18.031] [0x7fd5a8202970/<SStore_FS:0x10b1d94f0>] +[SStore_FS newStore_FSForPeer:rootPath:rootAlias:rootRef:storePath:optionalStoreID:]: peer = <SPeer_FS_PHD:0x7fd5a8202540> = network, optionalStoreID = (null), peer.storeIDString = *
    1:: [14/10/10 08:18:18.031] [0x7fd5a8202970/<SStore_FS:0x10b1d94f0>] +[SStore_FS newStore_FSForPeer:rootPath:rootAlias:rootRef:storePath:optionalStoreID:]: rootPath        = /Volumes/HomeFolders/drbanks
    1:: [14/10/10 08:18:18.031] [0x7fd5a8202970/<SStore_FS:0x10b1d94f0>] +[SStore_FS newStore_FSForPeer:rootPath:rootAlias:rootRef:storePath:optionalStoreID:]: storePath       = /Users/drbanks/Library/Caches/Cleanup At Startup/FileSyncAgent-1032/.FileSync/Store-FS-PHD-network-home.filesyncstatetre e
    1:: [14/10/10 08:18:18.060] [0x7fd5a8202970/<SStore_FS:0x10b1d94f0>] +[SStore_FS newStore_FSForPeer:rootPath:rootAlias:rootRef:storePath:optionalStoreID:]: rootAlias       = {path='/Volumes/HomeFolders/drbanks', targetName='drbanks', volumeName='HomeFolders', type=DIR, volumeCreateDate=2014-07-12-16:04:02, targetCreateDate=2014-07-14-12:08:33, parentDirID=2, nodeID=39476, filesystemID=0x6173 ('as'), signature=0x482b ('H+'), isBootVolume=NO, isAutomounted=NO, isEjectable=NO, hasPersistentFileIDs=YES, mounted=YES, url='afp://[email protected]/HomeFolders'}
    1:: [14/10/10 08:18:18.092] -[SStore_FS setupWithAlias:andRef:] (Store-FS.m:447): unlink('/Users/drbanks/Library/Caches/Cleanup At Startup/FileSyncAgent-1032/.FileSync/.fstemp.CUtmP-d-LEOKGQ6G5.noindex')
    1:: [14/10/10 08:18:18.203] X::...PHD-R-GX5KJxmEuF6-drbanks Exclusion/Inclusion pair #1 of 2
    1:: [14/10/10 08:18:18.203] X::Exclusions                                                       | Inclusions                  
    1:: [14/10/10 08:18:18.203] X::---------------------------------------------------------------------------- --------------------
    1:: [14/10/10 08:18:18.203] X::path BEGINSWITH "."                                              |                             
    1:: [14/10/10 08:18:18.203] X::name BEGINSWITH[c] ".afpDeleted"                                 |                             
    1:: [14/10/10 08:18:18.203] X::name BEGINSWITH[c] ".DocumentRevisions"                          |                             
    1:: [14/10/10 08:18:18.203] X::path LIKE[c] "Documents/Microsoft User Data"                     |                             
    1:: [14/10/10 08:18:18.203] X::path LIKE[c] "Library/Preferences/com.apple.FileSyncUI.plist"    |                             
    1:: [14/10/10 08:18:18.203] X::path LIKE[c] ".SymAVQSFile"                                      |                             
    1:: [14/10/10 08:18:18.203] X::path LIKE[c] "Library/Preferences/com.apple.mcxMenuExtras.plist" |                             
    1:: [14/10/10 08:18:18.203] X::path LIKE[c] "Library/Logs/FileSyncAgent.log"                    |                             
    1:: [14/10/10 08:18:18.203] X::name LIKE[c] ".com.apple.timemachine.supported"                  |                             
    1:: [14/10/10 08:18:18.203] X::path LIKE[c] ".Cleanup At Startup"                               |                             
    1:: [14/10/10 08:18:18.203] X::path LIKE[c] "Library/Preferences/com.apple.homeSync.plist"      |                             
    1:: [14/10/10 08:18:18.203] X::path LIKE[c] "Library/Mirrors"                                   |                             
    1:: [14/10/10 08:18:18.203] X::path LIKE[c] "Library/FileSync"                                  |                             
    1:: [14/10/10 08:18:18.203] X::path LIKE[c] ".TemporaryItems"                                   |                             
    1:: [14/10/10 08:18:18.203] X::path LIKE[c] ".fseventsd"                                        |                             
    1:: [14/10/10 08:18:18.203] X::path LIKE[c] ".Spotlight-V100"                                   |                             
    1:: [14/10/10 08:18:18.203] X::path LIKE[c] "Library/Logs/MirrorAgent.log"                      |                             
    1:: [14/10/10 08:18:18.203] X::path LIKE[c] ".FileSync"                                         |                             
    1:: [14/10/10 08:18:18.203] X::path LIKE[c] "Library"                                           |                             
    1:: [14/10/10 08:18:18.203] X::path LIKE[c] "NAVMac800QSFile"                                   |                             
    1:: [14/10/10 08:18:18.203] X::path LIKE[c] ".mcxlc"                                            |                             
    1:: [14/10/10 08:18:18.203] X::path LIKE[c] ".account"                                          |                             
    1:: [14/10/10 08:18:18.203] X::---not changed---                                                | ---not changed---           
    1:: [14/10/10 08:18:18.203] X::---------------------------------------------------------------------------- --------------------
    1:: [14/10/10 08:18:18.203] X::...PHD-R-GX5KJxmEuF6-drbanks Exclusion/Inclusion pair #2 of 2
    1:: [14/10/10 08:18:18.203] X::Exclusions                                                       | Inclusions                  
    1:: [14/10/10 08:18:18.203] X::---------------------------------------------------------------------------- --------------------
    1:: [14/10/10 08:18:18.203] X::name BEGINSWITH[c] ".afpDeleted"                                 | .CFUserTextEncoding         
    1:: [14/10/10 08:18:18.203] X::name BEGINSWITH[c] "EWS-"                                        | .Trash                      
    1:: [14/10/10 08:18:18.203] X::name BEGINSWITH[c] ".DocumentRevisions"                          | .bash_history               
    1:: [14/10/10 08:18:18.203] X::path LIKE[c] ".account"                                          | .ssh                        
    1:: [14/10/10 08:18:18.203] X::path LIKE[c] ".fseventsd"                                        | Documents/Microsoft User Data
    1:: [14/10/10 08:18:18.203] X::path LIKE[c] "Library/Mail/Envelope Index"                       | Library                     
    1:: [14/10/10 08:18:18.203] X::path LIKE[c] "Library/Safari/Icons.db"                           |                             
    1:: [14/10/10 08:18:18.203] X::path LIKE[c] "Library/Safari/HistoryIndex.sk"                    |                             
    1:: [14/10/10 08:18:18.203] X::path LIKE[c] "Library/Mirrors"                                   |                             
    1:: [14/10/10 08:18:18.203] X::path LIKE[c] ".mcxlc"                                            |                             
    1:: [14/10/10 08:18:18.203] X::name LIKE[c] ".com.apple.timemachine.supported"                  |                             
    1:: [14/10/10 08:18:18.203] X::path LIKE[c] "Library/Mail/Exchange-*"                           |                             
    1:: [14/10/10 08:18:18.203] X::path LIKE[c] "Library/PubSub/Feeds"                              |                             
    1:: [14/10/10 08:18:18.203] X::path LIKE[c] "Library/Logs/MirrorAgent.log"                      |                             
    1:: [14/10/10 08:18:18.203] X::path LIKE[c] ".FileSync"                                         |                             
    1:: [14/10/10 08:18:18.203] X::path LIKE[c] "Library/Calendars/Calendar Cache"                  |                             
    1:: [14/10/10 08:18:18.203] X::path LIKE[c] "Library/Mail/IMAP-*"                               |                             
    1:: [14/10/10 08:18:18.203] X::path LIKE[c] "Library/Preferences/com.apple.homeSync.plist"      |                             
    1:: [14/10/10 08:18:18.203] X::path LIKE[c] "Library/Preferences/com.apple.mcxMenuExtras.plist" |                             
    1:: [14/10/10 08:18:18.203] X::path LIKE[c] "Library/FileSync"                                  |                             
    1:: [14/10/10 08:18:18.203] X::path LIKE[c] "Library/PubSub/Downloads"                          |                             
    1:: [14/10/10 08:18:18.203] X::path LIKE[c] "Library/Application Support/SyncServices"          |                             
    1:: [14/10/10 08:18:18.203] X::path LIKE[c] "Library/Printers"                                  |                             
    1:: [14/10/10 08:18:18.203] X::path LIKE[c] "Library/Preferences/Macromedia/Flash Player"       |                             
    1:: [14/10/10 08:18:18.203] X::path LIKE[c] ".Cleanup At Startup"                               |                             
    1:: [14/10/10 08:18:18.203] X::path LIKE[c] "Library/Logs/FileSyncAgent.log"                    |                             
    1:: [14/10/10 08:18:18.203] X::path LIKE[c] ".SymAVQSFile"                                      |                             
    1:: [14/10/10 08:18:18.203] X::path LIKE[c] "Library/Caches"                                    |                             
    1:: [14/10/10 08:18:18.203] X::path LIKE[c] ".TemporaryItems"                                   |                             
    1:: [14/10/10 08:18:18.203] X::path LIKE[c] "Documents/Microsoft User Data/Entourage Temp"      |                             
    1:: [14/10/10 08:18:18.203] X::path LIKE[c] "Library/Preferences/com.apple.FileSyncUI.plist"    |                             
    1:: [14/10/10 08:18:18.203] X::path LIKE[c] "Library/iTunes/iPhone Software Updates"            |                             
    1:: [14/10/10 08:18:18.203] X::path LIKE[c] "Library/PubSub/Database"                           |                             
    1:: [14/10/10 08:18:18.203] X::path LIKE[c] "Library/Application Support/MobileSync"            |                             
    1:: [14/10/10 08:18:18.203] X::path LIKE[c] "Library/Mail/Mac-*"                                |                             
    1:: [14/10/10 08:18:18.203] X::path LIKE[c] "Library/Logs"                                      |                             
    1:: [14/10/10 08:18:18.203] X::path LIKE[c] ".Spotlight-V100"                                   |                             
    1:: [14/10/10 08:18:18.203] X::path LIKE[c] "Library/Mail/AvailableFeeds"                       |                             
    1:: [14/10/10 08:18:18.203] X::---not changed---                                                | ---not changed---           
    1:: [14/10/10 08:18:18.203] X::---------------------------------------------------------------------------- --------------------
    1:: [14/10/10 08:18:18.203] [0x7fd5a8202970/<SStore_FS:0x7fd5a05d7ad0>] -[SStore_FS prepareForSync]: PHD-R-GX5KJxmEuF6-drbanks: self.wasPrepareForSyncDoneRemotely => NO
    1:: [14/10/10 08:18:18.203] Store "PHD-R-GX5KJxmEuF6-drbanks" started prepareForSync with root version (null)
    1:: [14/10/10 08:18:18.333] PHD-R-GX5KJxmEuF6-drbanks Full scan

    Some of your user files (not system files) have incorrect permissions or are locked. This procedure will unlock those files and reset their ownership, permissions, and access controls to the default. If you've intentionally set special values for those attributes, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it, but you do need to follow the instructions below.
    Back up all data before proceeding.
    Step 1
    If you have more than one user, and the one in question is not an administrator, then go to Step 2.
    Enter the following command in the Terminal window (triple-click, copy, and paste):
    sudo find ~ $TMPDIR.. -exec chflags -h nouchg,nouappnd,noschg,nosappnd {} + -exec chown -h $UID {} + -exec chmod +rw {} + -exec chmod -h -N {} + -type d -exec chmod -h +x {} + 2>&-
    The command may take several minutes to run, depending on how many files you have. Wait for a new line ending in a dollar sign ($) to appear, then quit Terminal.
    Step 2 (optional)
    Take this step only if you have trouble with Step 1, if you prefer not to take it, or if it doesn't solve the problem.
    Start up in Recovery mode. When the OS X Utilities screen appears, select
              Utilities ▹ Terminal
    from the menu bar. A Terminal window will open. In that window, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window will open. You’re not going to reset a password.
    Select your startup volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button
    Select
               ▹ Restart
    from the menu bar.

  • DAT Drive not registering on sunfire V240

    Hi,
    I have 9 SUN v240 with which i connected the same DAT drive HP 72GB DDS DAT (PART NUMBER C7439). In six servers
    did devfsadm and it registered the DAT. It worked fine but in three of the SUN v240, this command doesnt seem to
    do anything. /dev/rmt is not created. I cannot restart the server because they are live/production servers. Is there
    any other solution to get this DAT recognised in solaris with out a reboot. Also, i cannot go to OBP (OK prompt) because
    ofcourse it needs a reboot.
    I checked the st.conf file and the entries of these file are the same in all 9 v240. So i think its not a problem of
    st.conf.
    Eargerly waiting for a solution.
    Here are some of the command outputs from 1 of the 3 servers which donot see the DAT:
    [root@vbsmf /kernel/drv] $strings /kernel/drv/st.conf | grep st
    # Copyright (c) 1995-2000 by Sun Microsystems, Inc.
    "@(#)st.conf
    # devices of Sun Microsystems and many 3rd party devices.
    # 1 Drive is configured automatically - no entry is needed in st.conf.
    # The 3rd party devices do apparently work with the configurations listed.
    # the past, but have not been tested by Sun Microsystems. Use these entries
    # as your starting point for generating your configuration entries.
    #tape-config-list=
    name="st" class="scsi"
    name="st" class="scsi"
    name="st" class="scsi"
    name="st" class="scsi"
    name="st" class="scsi"
    name="st" class="scsi"
    name="st" class="scsi"
    #name="st" class="scsi"
    #name="st" class="scsi"
    #name="st" class="scsi"
    #name="st" class="scsi"
    #name="st" class="scsi"
    #name="st" class="scsi"
    #name="st" class="scsi"
    #name="st" class="scsi"
    name="st" parent="fp" target=0;
    [root@vbsmf /kernel/drv] $cfgadm configure
    Ap_Id Type Receptacle Occupant Condition
    configure: No matching library found
    [root@vbsmf /kernel/drv] $cfgadm -al
    Ap_Id Type Receptacle Occupant Condition
    c0 scsi-bus connected configured unknown
    c0::dsk/c0t0d0 CD-ROM connected configured unknown
    c1 scsi-bus connected configured unknown
    c1::dsk/c1t0d0 disk connected configured unknown
    c1::dsk/c1t1d0 disk connected configured unknown
    c2 scsi-bus connected unconfigured unknown
    [root@vbsmf /kernel/drv] $cfgadm configure c2
    Ap_Id Type Receptacle Occupant Condition
    c2 scsi-bus connected unconfigured unknown
    configure: No matching library found
    [root@vbsmf /kernel/drv] $cfgadm -val
    Ap_Id Receptacle Occupant Condition Information
    When Type Busy Phys_Id
    c0 connected configured unknown
    Jan 1 1970 scsi-bus n /devices/pci@1e,600000/ide@d:scsi
    c0::dsk/c0t0d0 connected configured unknown unavailable
    Jan 1 1970 CD-ROM y /devices/pci@1e,600000/ide@d:scsi::dsk/c0t0d0
    c1 connected configured unknown
    Jan 1 1970 scsi-bus n /devices/pci@1c,600000/scsi@2:scsi
    c1::dsk/c1t0d0 connected configured unknown FUJITSU MAT3073N SUN72G
    Jan 1 1970 disk n /devices/pci@1c,600000/scsi@2:scsi::dsk/c1t0d0
    c1::dsk/c1t1d0 connected configured unknown FUJITSU MAT3073N SUN72G
    Jan 1 1970 disk n /devices/pci@1c,600000/scsi@2:scsi::dsk/c1t1d0
    c2 connected unconfigured unknown
    Jan 1 1970 scsi-bus n /devices/pci@1c,600000/scsi@2,1:scsi
    [root@vbsmf /kernel/drv] $ls /dev/rmt/0
    /dev/rmt/0: No such file or directory
    [root@vbsmf /kernel/drv] $ls /dev/rmt
    [root@vbsmf /kernel/drv] $devfsadm -v
    [root@vbsmf /kernel/drv] $ls /dev/rmt
    [root@vbsmf /kernel/drv] $ls /dev/rmt/0
    /dev/rmt/0: No such file or directory
    [root@vbsmf /] $modinfo
    Id Loadaddr Size Info Rev Module Name
    6 10158000 445b 1 1 specfs (filesystem for specfs)
    8 1015dd40 333c 1 1 TS (time sharing sched class)
    9 10160938 8d4 - 1 TS_DPTBL (Time sharing dispatch table)
    10 101609c0 291e3 2 1 ufs (filesystem for ufs)
    11 10187b33 1f7 - 1 fssnap_if (File System Snapshot Interface)
    12 10187c83 10900 226 1 rpcmod (RPC syscall)
    12 10187c83 10900 226 1 rpcmod (32-bit RPC syscall)
    12 10187c83 10900 1 1 rpcmod (rpc interface str mod)
    13 10195cc3 66f08 0 1 ip (IP Streams module)
    13 10195cc3 66f08 3 1 ip (IP Streams device)
    14 101f30bb 1982 1 1 rootnex (sun4u root nexus 1.91)
    15 101f4648 210 57 1 options (options driver)
    17 101f4d3c 18d8 12 1 sad (Streams Administrative driver's)
    18 101f639c 67b 2 1 pseudo (nexus driver for 'pseudo')
    19 101f68a5 1c228 85 1 md (Meta disk base module)
    24 1023362d 5234 - 1 md_stripe (Meta disk stripes module)
    25 1023847d a760 - 1 md_mirror (Meta disk mirrors module)
    26 10242765 10338 109 1 pcisch (PCI Bus nexus driver 1.201)
    27 1025111d 1023b 50 1 glm (GLM SCSI HBA Driver 1.166.)
    28 1025f310 8ac0 - 1 scsi (SCSI Bus Utility Routines)
    29 10264fe4 18008 32 1 sd (SCSI Disk Driver 1.356)
    33 1029bf1e a52d 135 1 uata (ATA controller Driver 1.89)
    34 102a5713 151f - 1 dada ( ATA Bus Utility Routines)
    37 102a7141 93c - 1 todm5819p_rmc (tod module for ALI M5819P)
    38 102a7a0b 344f 196 1 rmc_comm (rmc_comm driver, v1.2)
    39 102aaa92 508 199 1 pmugpio (Pmugpio Driver 1.1)
    40 780b8000 72bf - 1 ufs_log (Logging UFS Module)
    41 1027bd5c 1b04a 5 1 procfs (filesystem for proc)
    42 102962ba fab 126 1 ebus (ebus nexus driver)
    43 10296efd 2fcd 194 1 mc-us3i (Memory-controller: v1.1)
    44 10299bba d98 134 1 power (power button driver v1.9)
    45 1029a7aa 1016 159 1 pmubus (pmubus nexus driver)
    46 10211abd 5cb6 197 1 rmclomv (rmclomv control driver v1.4)
    47 1021684b 256a 9 1 pcf8584 (I2C Nexus Driver 1.13)
    48 102a689a 464 - 1 i2c_svc (I2C module ver 1.2)
    50 102aae3a 10628 8 1 sockfs (filesystem for sockfs)
    52 102a6c7b 6be 11 1 clone (Clone Pseudodriver 'clone')
    53 1029b5f0 304 2 1 ip6 (IP Streams module)
    53 1029b5f0 304 143 1 ip6 (IP Streams device)
    54 102bafd2 25e40 3 1 tcp (TCP Streams module)
    54 102bafd2 25e40 42 1 tcp (TCP Streams device)
    55 10219963 1059 - 1 md5 (MD5 Message-Digest Algorithm)
    56 1029b734 365 4 1 tcp6 (TCP Streams module)
    56 1029b734 365 146 1 tcp6 (TCP Streams device)
    57 1021a907 9b50 5 1 udp (UDP Streams module)
    57 1021a907 9b50 41 1 udp (UDP Streams device)
    58 1029b8d9 365 6 1 udp6 (UDP Streams module)
    58 1029b8d9 365 145 1 udp6 (UDP Streams device)
    59 1022292f 7f10 7 1 icmp (ICMP Streams module)
    59 1022292f 7f10 5 1 icmp (ICMP Streams device)
    60 1029ba7e 30e 8 1 icmp6 (ICMP Streams module)
    60 1029ba7e 30e 144 1 icmp6 (ICMP Streams device)
    61 10228ea7 651b 9 1 arp (ARP Streams module)
    61 10228ea7 651b 44 1 arp (ARP Streams driver)
    62 1022e16a 4b93 10 1 timod (transport interface str mod)
    64 102d9d66 c83 16 1 conskbd (Console kbd Multiplexer driver )
    65 102da65d 1ffa 15 1 wc (Workstation multiplexer Driver )
    66 102dba4f 4885 37 1 su (su driver 1.47)
    67 102dff2c 3f2e 1 1 elfexec (exec module for elf)
    67 102dff2c 3f2e 0 1 elfexec (32-bit exec module for elf)
    68 102e3d57 3400 3 1 fifofs (filesystem for fifo)
    69 102e6ebf adea 11 1 ldterm (terminal line discipline)
    70 102f13b6 246d 12 1 ttcompat (alt ioctl calls)
    71 102f365a 9223 29 1 zs (Z8530 serial driver V4.125)
    72 102fc375 1568 26 1 ptsl (tty pseudo driver slave 'ptsl')
    73 102fd645 211f 25 1 ptc (tty pseudo driver control 'ptc')
    77 10318d3b 116a9 - 1 usba (USBA: USB Architecture 1.25)
    78 10313719 498c - 1 usbser (USB generic serial module 1.1)
    80 1032d854 15ac5 - 1 usba10 (USBA10: USB 1.0 Architecture 1.)
    81 781b6000 4012 - 1 usba10_usbser (USBA10 Generic Serial Modul
    82 10344153 1c30 13 1 rts (Routing Socket Streams module)
    82 10344153 1c30 43 1 rts (Routing Socket Streams device)
    83 781e8000 f487 15 1 ipsecesp (IP Encapsulating Security Paylo)
    83 781e8000 f487 141 1 ipsecesp (IP Encapsulating Security Paylo)
    84 7814e000 ff46 14 1 ipsecah (IP Authentication Header Stream)
    84 7814e000 ff46 140 1 ipsecah (IP Authentication Header Stream)
    85 7803c000 4af3 105 1 tl (TPI Local Transport Driver - tl)
    86 78042000 44ab 16 1 keysock (keysock module)
    86 78042000 44ab 139 1 keysock (PF_KEY Key Management Socket ST)
    87 78040743 16ea 97 1 sysmsg (System message redirection (fan)
    88 780416bd 82c 0 1 cn (Console redirection driver)
    89 780e3c1a 475 2 1 intpexec (exec mod for interp)
    90 78041d59 2c3 42 1 pipe (pipe(2) syscall)
    90 78041d59 2c3 42 1 pipe (32-bit pipe(2) syscall)
    91 10354c78 f9d 13 1 mm (memory driver)
    92 78046000 8a90 195 1 bge (BCM570x driver v0.22)
    93 7804e000 e868 - 1 gld (Generic LAN Driver (v2))
    94 7805e000 4eac6 217 1 ce (CE Ethernet Driver v1.135)
    95 780b0000 2bd7 - 1 vlan (Ethernet VLAN module (v1) 1.18)
    97 780b4000 322b 115 1 pci_pci (Standard PCI to PCI bridge nexu)
    98 780b7ad5 5ac 19 1 dump (crash dump driver)
    99 780c0000 4421 201 1 doorfs (doors)
    99 780c0000 4421 201 1 doorfs (32-bit door syscalls)
    100 780c6000 2d06 88 1 devinfo (DEVINFO Driver 1.33)
    103 780ca000 ebf8 66 1 ohci (USB OpenHCI Driver 1.23)
    104 781579c6 c03 176 1 inst_sync (instance binding syscall)
    104 781579c6 c03 176 1 inst_sync (32-bit instance binding syscall
    105 780d4c38 1538 4 1 namefs (filesystem for namefs)
    106 7814c6d0 1a98 4 1 logindmux ( LOGIND MUX Driver)
    110 780bf047 d70 14 1 iwscn (Workstation Redirection driver )
    111 7804d698 a4f 17 1 consms (Mouse Driver for Sun 'consms' 5)
    113 780b6bbb 9f7 21 1 log (streams log driver)
    114 780b734a 8f3 22 1 sy (Indirect driver for tty 'sy')
    115 780c8b56 cc4 23 1 ptm (Master streams driver 'ptm')
    116 10342e11 dc6 24 1 pts (Slave Stream Pseudo Terminal dr)
    117 780c5670 a8c 31 1 seeprom (I2C serial EEPROM device driver)
    120 1030a1c5 6a30 - 1 fctl (Sun FC Transport Library v1.12)
    123 780c411c 17ec 34 1 smbus (SMBUS nexus Driver 1.6)
    124 10308a8f 1dea 35 1 random (random number device v1.1)
    125 780e0000 2290 17 1 authsha1 (SHA1-HMAC algorithm)
    127 780b2637 1f01 38 1 openeepr (OPENPROM/NVRAM Driver v1.7)
    131 78188000 30bc0 - 1 s1394 (IEEE 1394 Services Library 1.0)
    143 10355a75 2e1f - 1 hidparser (HID PARSER 1.5)
    146 103256b4 2d2e 60 1 fssnap (snapshot driver)
    153 781af8c7 820 72 1 ksyms (kernel symbols driver)
    156 10345623 2d73 - 1 usba10_hidparser (USBA10 HID PARSER 1.1)
    161 780e2467 1a23 81 1 winlock (Winlock Driver v1.43)
    162 10317889 14ed - 1 seg_drv (Segment Device Driver v1.1)
    165 1030f375 2268 - 1 diaudio (Generic Audio)
    167 1032811a 19cc 89 1 lockstat (Lock Statistics)
    168 78215406 d1e 90 1 kstat (kernel statistics driver)
    169 780e6000 5d08 91 1 vol (Volume Management Driver, 1.87)
    170 780de000 1664 95 1 cpc (cpc sampling driver v1.8)
    170 780de000 1664 179 1 cpc (cpc sampling system call)
    170 780de000 1664 179 1 cpc (32-bit cpc sampling system call)
    172 78259747 ba0 103 1 qec (QEC driver v1.32)
    175 10347bee 4197 107 1 llc1 (LLC Class 1 Driver)
    177 780ec000 4c5e - 1 amsrc1 (Audio Sample Rate Conv. #1 1.2)
    178 780f2000 23ee - 1 audiosup (Audio Device Support 1.9)
    179 780f6000 14f6e - 1 mixer (Audio Mixer 1.41)
    182 1030331b 4edc 114 1 tnf (kernel probes driver 1.48)
    184 7816a000 b3ec 150 1 fcp (Sun FCP Pseudo Driver v1.11)
    185 1034b93d 4cd6 127 1 pm (power management driver v1.95)
    186 780598aa 846 128 1 tod (tod driver 1.0)
    189 780f0baf 1420 138 1 poll (Dev Poll driver)
    190 780f4176 1ecf 147 1 lofi (loopback file driver (1.2))
    193 78142000 499d - 1 pcihp (PCI nexus hotplug support v1.31)
    194 78146605 1ae7 - 1 busra (Bus Resource Allocator (BUSRA) )
    195 780df02c c4c - 1 hpcsvc (hot-plug controller services v1)
    196 78148000 4fe8 - 1 pcicfg (PCI configurator v1.38)
    203 781567ae bb1f - 1 amsrc2 (Audio Sample Rate Conv. #2 1.1)
    214 1034f79b 4805 187 1 sppp (PPP 4.0 mux v1.3)
    215 780da000 3ae0 18 1 sppptun (PPP 4.0 tunnel module v1.2)
    215 780da000 3ae0 188 1 sppptun (PPP 4.0 tunnel driver v1.2)
    218 781f0000 b5c0 191 1 rsm (Remote Shared Memory Driver 1.6)
    219 7804dd6f 2e8 - 1 ipc (common ipc code)
    220 780c95b2 aac - 1 rsmops (RSMOPS module 1.1)
    221 781fb0b0 b33 198 1 rmcadm (rmcadm control driver v1.1)
    222 78174f30 fec 200 1 pca9556 (pca9556 device driver v1.2)
    231 10329430 1069 214 1 fcode (FCode driver 1.8)
    232 1032a2c1 29ec - 1 fcodem (FCode framework 1.13)
    245 78104000 4819 242 1 kb_ps2 (PS/2 Keyboard 1.31, 01/05/09)
    250 781ba000 267e7 250 1 llc2 (SUN LLC2 Class II Streams Drive)
    253 78108000 1bcaa - 1 pcmcia (PCMCIA Nexus Support)
    264 781b2000 304c 263 1 ipdcm (IP/Dialup v1.9)
    265 7814dd68 40a 264 1 ipdptp (IP/Dialup ptp interface v1.9)
    266 7825bd1b 407 265 1 ipd (IP/Dialup mtp interface v1.9)
    268 7826a000 165b8 268 1 wrsmd (RSMPI DLPI 1.4 03/01/08)
    269 7827c000 295e6 19 1 nca (NCA Streams module)
    269 7827c000 295e6 269 1 nca (NCA Streams device 1.2)
    270 1032c3f5 15cc 15 1 mntfs (mount information file system)
    271 78210000 159d2 11 1 tmpfs (filesystem for tmpfs)
    272 78228000 2aa20 106 1 nfs (NFS syscall, client, and common)
    272 78228000 2aa20 106 1 nfs (NFS syscall, client, and common)
    272 78228000 2aa20 16 1 nfs (network filesystem)
    272 78228000 2aa20 7 1 nfs (network filesystem version 2)
    272 78228000 2aa20 17 1 nfs (network filesystem version 3)
    273 78254000 4d9b - 1 rpcsec (kernel RPC security module.)
    274 7825a000 1dc1 - 1 tlimod (KTLI misc module)
    275 7825c000 860f - 1 klmmod (lock mgr common module)
    276 78264000 65e3 18 1 autofs (filesystem for autofs)
    277 10357fa4 109 2 1 IA (interactive scheduling class)
    278 78258a03 f40 3 1 RT (realtime scheduling class)
    279 102a70e1 28c - 1 RT_DPTBL (realtime dispatch table)
    280 103406c9 2878 53 1 semsys (System V semaphore facility)
    280 103406c9 2878 53 1 semsys (32-bit System V semaphore facil)
    281 103064bf 26f8 52 1 shmsys (System V shared memory)
    281 103064bf 26f8 52 1 shmsys (32-bit System V shared memory)
    282 102186fd cf0 207 1 pset (processor sets)
    282 102186fd cf0 207 1 pset (32-bit pset(2) syscall)
    283 102ff5cc 3d82 178 1 kaio (kernel Async I/O)
    283 102ff5cc 3d82 178 1 kaio (kernel Async I/O for 32 bit com)
    284 780a8a5e 1687 20 1 ptem (pty hardware emulator)
    285 781b482c 19d2 21 1 telmod (telnet module)
    [root@vbsmf /kernel/drv] $vi st.conf
    # Copyright (c) 1995-2000 by Sun Microsystems, Inc.
    # All rights reserved.
    #pragma ident "@(#)st.conf 1.27 00/08/29 SMI"
    # This file contains configuration entries for both officially supported
    # devices of Sun Microsystems and many 3rd party devices.
    # The officially supported devices are :
    # "ARCHIVE Python 28388"
    # "ARCHIVE Python 28454"
    # "ARCHIVE Python 29279"
    # "ARCHIVE VIPER 150"
    # "EXABYTE EXB-8200"
    # "EXABYTE EXB-8500"
    # "EXABYTE EXB-8505"
    # "EXABYTE EXB-8900"
    # "HP 88780"
    # "HP C5683A" Note 1
    # "HP C5713A" Note 1
    # "Quantum DLT4000"
    # "Quantum DLT7000"
    # "Quantum DLT8000" Note 1
    # "STK 9840" Note 1
    # "SUN DLT4000"
    # "SUN DLT4700"
    # "SUN DLT7000"
    # "TANDBERG SLR5"
    # "TANDBERG TDC 4200"
    # "TANDBERGMLR1"
    # "TANDBERGMLR3"
    # Notes
    # 1 Drive is configured automatically - no entry is needed in st.conf.
    # The 3rd party devices do apparently work with the configurations listed.
    # All the entries have been taken from the net and probably have worked in
    # the past, but have not been tested by Sun Microsystems. Use these entries
    # as your starting point for generating your configuration entries.
    #tape-config-list=
    # "Emulex MTO2", "Emulex MT02 QIC-11/QIC-24", "MT02",
    # "ANRITSU DMT2120", "Unisys 1/2\" Reel", "ANRITSU",
    # "ARCHIVE Python 28454","Archive Python 4mm Helical Scan","ARCH_Python",
    # "ARCHIVE Python 29279", "Archive Python 4mm DAT Stacker","ARCH_Python",
    # "ARCHIVE Python 28388", "Archive/Conner CTDX004 4mm DAT", "Conner2-DAT",
    # "ARCHIVE VIPER 150", "Archive QIC-150", "QIC150",
    # "ARCHIVE VIPER 255", "Archive QIC-525", "QIC150",
    # "DEC DLT2", "DEC DLT", "DLT2",
    # "DEC TZ87", "DEC DLT", "DLT2",
    # "EXABYTE EXB-2501", "Exabyte EXB-2501 QIC", "EXB-2501",
    # "EXABYTE EXB-4200c", "Exabyte 4mm Helical Scan","Exa4200c",
    # "EXABYTE EXB-8200", "Exabyte EXB-8200 8mm Helical Scan","EXB-8200",
    # "EXABYTE EXB-8500", "Exabyte EXB-8500 8mm Helical Scan","EXB-850X",
    # "EXABYTE EXB-8505", "Exabyte EXB-8505 8mm Helical Scan","EXB-850X",
    # "EXABYTE EXB8500C", "Exabyte 8500C 8mm Helical Scan", "EXB-850X",
    # "EXABYTE EXB-8900", "Mammoth EXB-8900 8mm Helical Scan","EXB-8900",
    # "FUJITSU M1016B M2483B","Fujitsu 1/2\" Cartridge", "Fujitsu_comp",
    # "FUJITSU M248", "Fujitsu 1/2\" Cartridge", "Fujitsu_m248x",
    # "HP 88780", "HP-88780 1/2\" Reel", "HP_half",
    # "HP C1533A", "HP DDS2 4mm DAT loader", "HP_DAT",
    # "HP C1553A ", "HP C1553A 4mm DAT", "HP_DAT",
    # "HP C1537A", "HP DDS-3 4mm DAT ", "HP_DAT_3",
    # "HP C1557A", "HP DDS-3 4mm DAT loader", "HP_DAT_3",
    # "HP HP35470A", "HP 35470A 4mm DAT", "HP_DAT",
    # "HP HP35480A", "HP 35480A 4mm DAT", "HP_DAT",
    # "IBM 03490", "IBM 3490E 1/2\" Cartridge", "CLASS_3490",
    # "IBM 9348", "STK 4220 1/2\" Cartridge", "C3490",
    # "KENNEDY", "Kennedy 1/2\" Reel", "KENNEDY",
    # "LMS", "CDC 1/2\" Cartridge", "LMS",
    # "M4 DATA 123107 SCSI", "M4-Data 1/2\" Reel", "M4_DATA",
    # "Metrum", "Metrum VHS Cartridge", "MetD",
    # "QUANTUM DLT7000", "Quantum DLT7000", "DLT7k-data",
    # "SUN DLT7000", "Sun DLT7000", "DLT7k-data",
    # "Quantum DLT4000", "Quantum DLT4000", "DLT-data",
    # "SUN DLT4000", "DLT4000", "DLT-data",
    # "SUN DLT4700", "DLT4700 Library", "DLT-data",
    # "R-BYTE RB100", "R-Byte Whozits", "DAT",
    # "SONY SDT-5000", "SONY 4mm DAT", "DAT",
    # "SONY SDT-5200", "SONY 4mm DAT", "DAT",
    # "STK 9490", "STK 9490 1/2\" Cartridge", "CLASS_3490",
    # "STK 4280", "STK 4280 1/2\" Cartridge", "C3490",
    # "STK", "STK 1/2\" Cartridge", "CLASS_3490",
    # "TANDBERG 4100", "Tandberg 4100 QIC", "TAND_4100_QIC",
    # "TANDBERG 4200", "Tandberg 4200 QIC", "TAND_4200_QIC",
    # "TANDBERG TDC 4200", "Tandberg QIC 2.5 Gig Tape Drive", "TANDB-2_5G",
    # "TANDBERG SLR5", "Tandberg 8 Gig QIC", "TAND-8G-VAR",
    # "TANDBERGMLR1", "Tandberg MLR1 QIC", "TANDBERG_MLR1",
    # "TANDBERGMLR3", "Tandberg 50 Gig QIC", "TAND-50G-VAR",
    # "TELEX", "STK 4220 1/2\" Cartridge", "C3490",
    # "WANGTEK 51000 SCSI", "Wangtek 1.2GB QIC", "WtQIC",
    # "WANGTEK 5150ES", "Wangtek QIC-150", "WANGTEK_QC150",
    # "WANGTEK 5525ES SCSI", "Wangtek 525MB QIC", "WtQIC",
    # "WANGTEK 6130-HS", "Wangtek 4mm Helical Scan", "WANGTEK_6130",
    # "WangDAT Model 2600", "WangDAT 4mm DAT", "WangDAT",
    # "WangDAT Model 3400", "WangDAT 4mm DAT", "WangDAT",
    # "WangDAT", "Wang DAT 3.81 Helical Scan", "WangDAT",
    # "\076\000", "Fujitsu 1/2\" Cartridge", "Fujitsu_half";
    #ANRITSU = 1,0x25,0,0x41d,4,0x00,0x02,0x03,0x03,1;
    #ARCH_Python= 1,0x2c,0,0xde39,4,0x00,0x8c,0x8c,0x8c,3;
    #CLASS_3490 = 1,0x24,0,0x1c43d,1,0x00,0;
    #C3490 = 1,0x24,0,0x1c43d,4,0x00,0x00,0x00,0x01,2;
    #Conner2-DAT= 1,0x2c,0,0xde39,1,0x00,0;
    #DAT = 1,0x34,0,0x0439,1,0x00,0;
    #DLT2 = 1,0x38,0,0xd639,4,0x17,0x18,0x80,0x81,2;
    #DLT-data = 1,0x38,0,0xD639,4,0x80,0x81,0x82,0x83,2;
    #DLT7k-data = 1,0x38,0,0xD639,4,0x82,0x83,0x84,0x85,2;
    #EXB-2501 = 1,0x28,1024,0x442,1,0x00,0;
    #EXB-8200 = 1,0x28,0,0x8c79,1,0x00,0;
    #EXB-850X = 1,0x29,0,0xce39,4,0x14,0x15,0x8c,0x8c,1;
    #EXB-8900 = 1,0x29,0,0x19E39,4,0x27,0x27,0x27,0x27,3;
    #Exa4200c = 1,0x34,0,0x1639,2,0x63,0x0,1;
    #Fujitsu_comp = 1,0x21,0,0x18639,4,0x00,0x00,0x00,0x09,1;
    #Fujitsu_half = 1,0x21,0,0x63b,1,0x00,0;
    #Fujitsu_m248x = 1,0x21,0,0xc639,1,0x00,0;
    #HP_DAT = 1,0x34,0,0x19679,1,0x0,0;
    #HP_DAT_3 = 1,0x34,0,0x9639,4,0x00,0x8c,0x8c,0x8c,1;
    #HP_half = 1,0x23,0,0x41d,4,0x01,0x02,0x03,0xc3,1;
    #KENNEDY = 1,0x22,0,0x41d,4,0x01,0x02,0x03,0x03,1;
    #LMS = 1,0x20,0,0x66b,1,0x00,0;
    #M4_DATA = 1,0x27,0,0x49d,4,0x01,0x02,0x06,0x06,1;
    #MT02 = 1,0x14,512,0x202,4,0x84,0x05,0x05,0x05,1;
    #MetD = 1,0x36,0,0x1639,1,0x00,0;
    #QIC150 = 1,0x15,512,0x642,1,0x00,0;
    #TANDB-2_5G = 1,0x32,0,0xD67b,1,0x0,0;
    #TAND-8G-VAR = 1,0x37,0,0x963b,4,0xA0,0xD0,0xD0,0xD0,3;
    #TANDBERG_MLR1 = 1,0x32,512,0x463a,1,0x00,0;
    #TAND-50G-VAR = 1,0x37,0,0x963b,4,0xA0,0xD0,0xD0,0xD0,3;
    #TAND_4100_QIC = 1,0x32,512,0x463a,1,0x00,0;
    #TAND_4200_QIC = 1,0x32,512,0x463a,1,0x00,0;
    #WANGTEK_6130 = 1,0x2a,0,0x659,1,0x00,0;
    #WANGTEK_QC150 = 1,0x16,512,0x642,1,0x00,0;
    #WangDAT = 1,0x2b,0,0x659,1,0x00,0;
    #WangDAT = 1,0x34,0,0x0679,1,0x00,0;
    #WtQIC = 1,0x32,512,0x467a,1,0x00,0;
    name="st" class="scsi"
    target=0 lun=0;
    name="st" class="scsi"
    target=1 lun=0;
    name="st" class="scsi"
    target=2 lun=0;
    name="st" class="scsi"
    target=3 lun=0;
    name="st" class="scsi"
    target=4 lun=0;
    name="st" class="scsi"
    target=5 lun=0;
    name="st" class="scsi"
    target=6 lun=0;
    # as your starting point for generating your configuration entries.
    #tape-config-list=
    # "Emulex MTO2", "Emulex MT02 QIC-11/QIC-24", "MT02",
    # "ANRITSU DMT2120", "Unisys 1/2\" Reel", "ANRITSU",
    # "ARCHIVE Python 28454","Archive Python 4mm Helical Scan","ARCH_Python",
    # "ARCHIVE Python 29279", "Archive Python 4mm DAT Stacker","ARCH_Python",
    # "ARCHIVE Python 28388", "Archive/Conner CTDX004 4mm DAT", "Conner2-DAT",
    # "ARCHIVE VIPER 150", "Archive QIC-150", "QIC150",
    # "ARCHIVE VIPER 255", "Archive QIC-525", "QIC150",
    # "DEC DLT2", "DEC DLT", "DLT2",
    # "DEC TZ87", "DEC DLT", "DLT2",
    # "EXABYTE EXB-2501", "Exabyte EXB-2501 QIC", "EXB-2501",
    # "EXABYTE EXB-4200c", "Exabyte 4mm Helical Scan","Exa4200c",
    # "EXABYTE EXB-8200", "Exabyte EXB-8200 8mm Helical Scan","EXB-8200",
    # "EXABYTE EXB-8500", "Exabyte EXB-8500 8mm Helical Scan","EXB-850X",
    # "EXABYTE EXB-8505", "Exabyte EXB-8505 8mm Helical Scan","EXB-850X",
    # "EXABYTE EXB8500C", "Exabyte 8500C 8mm Helical Scan", "EXB-850X",
    # "EXABYTE EXB-8900", "Mammoth EXB-8900 8mm Helical Scan","EXB-8900",
    # "FUJITSU M1016B M2483B","Fujitsu 1/2\" Cartridge", "Fujitsu_comp",
    # "FUJITSU M248", "Fujitsu 1/2\" Cartridge", "Fujitsu_m248x",
    # "HP 88780", "HP-88780 1/2\" Reel", "HP_half",
    # "HP C1533A", "HP DDS2 4mm DAT loader", "HP_DAT",
    # "HP C1553A ", "HP C1553A 4mm DAT", "HP_DAT",
    # "HP C1537A", "HP DDS-3 4mm DAT ", "HP_DAT_3",
    # "HP C1557A", "HP DDS-3 4mm DAT loader", "HP_DAT_3",
    # "HP HP35470A", "HP 35470A 4mm DAT", "HP_DAT",
    # "HP HP35480A", "HP 35480A 4mm DAT", "HP_DAT",
    # "IBM 03490", "IBM 3490E 1/2\" Cartridge", "CLASS_3490",
    # "IBM 9348", "STK 4220 1/2\" Cartridge", "C3490",
    # "KENNEDY", "Kennedy 1/2\" Reel", "KENNEDY",
    # "LMS", "CDC 1/2\" Cartridge", "LMS",
    # "M4 DATA 123107 SCSI", "M4-Data 1/2\" Reel", "M4_DATA",
    # "Metrum", "Metrum VHS Cartridge", "MetD",
    # "QUANTUM DLT7000", "Quantum DLT7000", "DLT7k-data",
    # "SUN DLT7000", "Sun DLT7000", "DLT7k-data",
    # "Quantum DLT4000", "Quantum DLT4000", "DLT-data",
    # "SUN DLT4000", "DLT4000", "DLT-data",
    # "SUN DLT4700", "DLT4700 Library", "DLT-data",
    # "R-BYTE RB100", "R-Byte Whozits", "DAT",
    # "SONY SDT-5000", "SONY 4mm DAT", "DAT",
    # "SONY SDT-5200", "SONY 4mm DAT", "DAT",
    # "STK 9490", "STK 9490 1/2\" Cartridge", "CLASS_3490",
    # "STK 4280", "STK 4280 1/2\" Cartridge", "C3490",
    # "STK", "STK 1/2\" Cartridge", "CLASS_3490",
    # "TANDBERG 4100", "Tandberg 4100 QIC", "TAND_4100_QIC",
    # "TANDBERG 4200", "Tandberg 4200 QIC", "TAND_4200_QIC",
    # "TANDBERG TDC 4200", "Tandberg QIC 2.5 Gig Tape Drive", "TANDB-2_5G",
    # "TANDBERG SLR5", "Tandberg 8 Gig QIC", "TAND-8G-VAR",
    # "TANDBERGMLR1", "Tandberg MLR1 QIC", "TANDBERG_MLR1",
    # "TANDBERGMLR3", "Tandberg 50 Gig QIC", "TAND-50G-VAR",
    # "TELEX", "STK 4220 1/2\" Cartridge", "C3490",
    # "WANGTEK 51000 SCSI", "Wangtek 1.2GB QIC", "WtQIC",
    # "WANGTEK 5150ES", "Wangtek QIC-150", "WANGTEK_QC150",
    # "WANGTEK 5525ES SCSI", "Wangtek 525MB QIC", "WtQIC",
    # "WANGTEK 6130-HS", "Wangtek 4mm Helical Scan", "WANGTEK_6130",
    # "WangDAT Model 2600", "WangDAT 4mm DAT", "WangDAT",
    # "WangDAT Model 3400", "WangDAT 4mm DAT", "WangDAT",
    # "WangDAT", "Wang DAT 3.81 Helical Scan", "WangDAT",
    # "\076\000", "Fujitsu 1/2\" Cartridge", "Fujitsu_half";
    #ANRITSU = 1,0x25,0,0x41d,4,0x00,0x02,0x03,0x03,1;
    #ARCH_Python= 1,0x2c,0,0xde39,4,0x00,0x8c,0x8c,0x8c,3;
    #CLASS_3490 = 1,0x24,0,0x1c43d,1,0x00,0;
    #C3490 = 1,0x24,0,0x1c43d,4,0x00,0x00,0x00,0x01,2;
    #Conner2-DAT= 1,0x2c,0,0xde39,1,0x00,0;
    #DAT = 1,0x34,0,0x0439,1,0x00,0;
    #DLT2 = 1,0x38,0,0xd639,4,0x17,0x18,0x80,0x81,2;
    #DLT-data = 1,0x38,0,0xD639,4,0x80,0x81,0x82,0x83,2;
    #DLT7k-data = 1,0x38,0,0xD639,4,0x82,0x83,0x84,0x85,2;
    #EXB-2501 = 1,0x28,1024,0x442,1,0x00,0;
    #EXB-8200 = 1,0x28,0,0x8c79,1,0x00,0;
    #EXB-850X = 1,0x29,0,0xce39,4,0x14,0x15,0x8c,0x8c,1;
    #EXB-8900 = 1,0x29,0,0x19E39,4,0x27,0x27,0x27,0x27,3;
    #Exa4200c = 1,0x34,0,0x1639,2,0x63,0x0,1;
    #Fujitsu_comp = 1,0x21,0,0x18639,4,0x00,0x00,0x00,0x09,1;
    #Fujitsu_half = 1,0x21,0,0x63b,1,0x00,0;
    #Fujitsu_m248x = 1,0x21,0,0xc639,1,0x00,0;
    #HP_DAT = 1,0x34,0,0x19679,1,0x0,0;
    #HP_DAT_3 = 1,0x34,0,0x9639,4,0x00,0x8c,0x8c,0x8c,1;
    #HP_half = 1,0x23,0,0x41d,4,0x01,0x02,0x03,0xc3,1;
    #KENNEDY = 1,0x22,0,0x41d,4,0x01,0x02,0x03,0x03,1;
    #LMS = 1,0x20,0,0x66b,1,0x00,0;
    #M4_DATA = 1,0x27,0,0x49d,4,0x01,0x02,0x06,0x06,1;
    #MT02 = 1,0x14,512,0x202,4,0x84,0x05,0x05,0x05,1;
    #MetD = 1,0x36,0,0x1639,1,0x00,0;
    #QIC150 = 1,0x15,512,0x642,1,0x00,0;
    #TANDB-2_5G = 1,0x32,0,0xD67b,1,0x0,0;
    #TAND-8G-VAR = 1,0x37,0,0x963b,4,0xA0,0xD0,0xD0,0xD0,3;
    #TANDBERG_MLR1 = 1,0x32,512,0x463a,1,0x00,0;
    #TAND-50G-VAR = 1,0x37,0,0x963b,4,0xA0,0xD0,0xD0,0xD0,3;
    #TAND_4100_QIC = 1,0x32,512,0x463a,1,0x00,0;
    #TAND_4200_QIC = 1,0x32,512,0x463a,1,0x00,0;
    #WANGTEK_6130 = 1,0x2a,0,0x659,1,0x00,0;
    #WANGTEK_QC150 = 1,0x16,512,0x642,1,0x00,0;
    #WangDAT = 1,0x2b,0,0x659,1,0x00,0;
    #WangDAT = 1,0x34,0,0x0679,1,0x00,0;
    #WtQIC = 1,0x32,512,0x467a,1,0x00,0;
    name="st" class="scsi"
    target=0 lun=0;
    name="st" class="scsi"
    target=1 lun=0;
    name="st" class="scsi"
    target=2 lun=0;
    name="st" class="scsi"
    target=3 lun=0;
    name="st" class="scsi"
    target=4 lun=0;
    name="st" class="scsi"
    target=5 lun=0;
    nam

    Sorry Simon, but I had to jump in on that.
    You are correct that they'll need to probe from OBP, however...
    jumping down from an active OS will leave much in various bus registers and they'll lock up the entire system when a probe is done that way. They'll have to power-cycle the chassis to recover.
    Vassilios,
    When you have the chance for testing this system, bring the chassis down to the OBP level. ( init 0 is acceptable ) then do:
    OK setenv auto-boot? false <enter>
    OK reset-all <enter>
    The chassis will cycle and automatically stop at the OK prompt, with empty bus registers, and you can probe all you wish.
    The peripheral MUST be seen at the hardware level before an OS can dream of manipulating it.
    But, if I may ask...
    You attached the tape peripheral to where?
    (the integrated onboard SCSI connector or to an add-on card?)
    Is it a Single-Ended SCSI device, a HVD SCSI device, or a LVD SCSI device?
    If your cable is attached to an appropriate add-on card, do you need to install any packages for that card?

  • Using scripting with networking equipment under Windows

    It can be a challenge to use scripting to automate working with Cisco devices. The Cisco IOS does not seem to directly provide a command line interface. You are forced to find a way to automate interaction with a telnet or ssh session.
    The PERL language provides a number of object-oriented methods to help manage an interactive session, most notably Net::SSH::Expect and Net::Appliance::Session. These options can work well in a Unix environment, but not under MS Windows.
    There are PERL for Windows options, the best probably being Strawberry PERL. There is also a Unix under Windows option known as CYGWIN that is freely available. Unfortunately none of these will work well with the way Windows manages low-level terminal I/O. The curious can google "windows pseudo terminal" to see all the technical details.
    One way that does work under Windows is Tcl.  It was initially named Tool Command Language. It is sometimes shown as Tcl/Tk.
    Interestingly enough, Tcl is included within Cisco IOS as tclsh. There is no interaction with the tclsh and this example. It is just a bit of a curious coincidence.
    A Tcl port to Windows can be downloaded from http://www.activestate.com/activetcl/downloads. Select Download ActiveTCL for Windows. A direct link to the download that worked at the time of writing is Download ActiveTcl 8.5.14 for Windows (x86)
    Once base Tcl has been downloaded and installed there is one other component that will need to be installed from the Tcl Extension Archive, the expect package.
    The teacup program that is installed with the base Tcl package makes this easy. The teacup program will work with a proxy.
    You can set these Windows environment variables to specify proxy details:
    set http_proxy=
    set http_proxy_user=
    set http_proxy_pass=
    Then run teacup install expect
    The plink tool from the PuTTY download is also needed. It can be obtained from http://www.putty.org/.
    The sample that follows assumes that the data files, script and plink.exe executable all reside in the same directory.
    A sample Tcl script follows that reads a file of devices and a file of commands. It will run the list of commands against each device in the device file. It has some basic error checking, but should best be considered a ‘beta’ version. You could do more complex interactions in the Tcl script by adding exp_send and expect command statements. In short, if you can type it you could script it!
    Change directory to where your script, plink.exe  and data is stored and run with  tclsh <script_name>
    devices.list
    # Comment lines are allowed if they start with a hash mark
    # <IP_Addr> <userid> <password> <ssh|telnet> <timeout_in_secs>
    nnn.nnn.nnn.nnn    <userid>    <password>  ssh         <timeout_in_secs>
    nnn.nnn.nnn.nnn    <userid>    <password>  telnet      30
    commands.list
    # term length 0 needed or else IOS will wait for an enter to be pressed at the  --More-- prompts
    term length 0
    show run
    exit
    Script:
    # Run batch commands against one or more devices
    package require Expect
    exp_log_user 0
    set exp_internal 0
    set exp::nt_debug 0
    set prompt "(#\s*$|>\s*$)"
    set env(TERM) dumb
    set file_channel  [open "devices.list" r]
    set DEVICES      [read $file_channel]
    close $file_channel
    set file_channel  [open "commands.list" r]
    set COMMANDS      [read $file_channel]
    close $file_channel
    set command_entries [split $COMMANDS "\n"]
    set device_entries  [split $DEVICES "\n"]
    proc timedout {{msg {none}}} {
          send_user "Timed out (reason: $msg)\n"
          if {[info exists ::expect_out]} { parray ::expect_out }
          exit 1
    foreach device_entry $device_entries {
          if {[string length $device_entry] == 0 || [regexp {[ \t]*#} $device_entry]} { continue }
          set device  [lindex $device_entry 0]
          set user    [lindex $device_entry 1]
          set pass    [lindex $device_entry 2]
          set mode    [lindex $device_entry 3]
          set wait    [lindex $device_entry 4]
          set serial  [lindex $device_entry 5]
          # puts "Device=$device"
          # puts "User=$user"
          # puts "Mode=$mode"
          # puts "Wait=$wait"
          set timeout $wait
          # Spawning the Session
          # If you are logging on to the remote machine using "ssh", "slogin" or "rlogin", the information
          # gets processed in a slightly different manner. With any of these methods, it is necessary to
          # include an additional -l option to specify a username.
          # Next, the $spawn_id variable is captured, storing information about this spawn session in
          # memory for future reference.
          # If you are logging in via Telnet, the final code block in this section is required to pass the
          # username to Telnet. If the login is completed before the script times out, the exp_send command
          # passes the username.
          switch -exact $mode {
                "telnet" { set pid [spawn plink -telnet -l $user $device] }
                "ssh"   { set pid [spawn plink -ssh -l $user -pw $pass $device] }
                "serial" { set pid [spawn plink -serial $serial -l $user -pw $pass $device] }
          set id $spawn_id
          if {$mode == "telnet"} {
                expect -i $id timeout {
                timedout "in user login"
                } eof {
                timedout "spawn failed with eof on login"
                } -re "(login|Username):.*" {
                exp_send -i $id -- "$user\r"
          # Handling Errors
          # The error-handling section of the script is a while loop that anticipates a number of problems
          # that could occur during login. This section is not exhaustive. For example, you could also add
          # provisions for invalid usernames and passwords.
          # If the login is not completed during the allotted time frame, which is set from the devices.list file
          # and specified with expect -i $id timeout, the program displays an appropriate error message.
          # The remainder of this loop makes use of the exp_send command to allow for other scenarios, such
          # as the user typing "yes" when prompted to proceed with the connection, entering a password, or
          # resetting the terminal mode.
          set logged_in 0
          while {!$logged_in} {
                expect -i $id timeout {
                timedout "in while loop"
                break
                } eof {
                timedout "spawn failed with eof"
                break
                } "Store key in cache? (y/n)" {
                exp_send -i $id -- "y\r"
                } -re "\[Pp\]assword:.*" {
                exp_send -i $id -- "$pass\r"
                } "TERM = (*) " {
                exp_send -i $id -- "$env(TERM)\r"
                } -re $prompt {
                set logged_in 1
          foreach command $command_entries {
                if {[string length $command] == 0 || [regexp {[ \t]*#} $command]} { continue }
                # Sending the Request
                # If the login is successful, the code in the if statement below is used to send the "cmd" request
                # to display files and directories. After the request is sent with exp_send, the resulting output
                # is captured in the dir variable, which is set on the fourth line of the code shown below.
                if {$logged_in} {
                      exp_send -i $id -- "$command\r"
                      expect -i $id timeout {timedout "on prompt"} -re $prompt
                      puts "$expect_out(buffer)"
                # Closing the Spawned Session
                # The exp_close command ends the session spawned earlier. Just to be sure that session
                # does indeed close, the exp_wait command causes the script to continue running until a result is
                # obtained from the system processes. If the system hangs, it is likely because exp_close was not
                # able to close the spawned process, and you may need to kill it manually.
          catch { exp_close -i $id }
          exp_wait -i $id
          set logged_in 0
    *** End of Document ***

    Your friend will have to save the templates as CS6, which he can do.

  • When using touch id reboot isn't working as normal

    Dear,
    I've just bought an iPhone 6. I restored from a backup from a year ago from my iphone 4s on ios 7 ( don't know if it has something to do with it. So I mention it).
    When booting without touch id on the phone boots well. When I enable touch id and then reboot the phone boots but then just shows my background image. No slide to unlock or whatever. Just my background... Then I need to hold the home button for 2 seconds and then the screen flips and there comes phone locked and the phone is working like normal.
    Is this normal ios 8 behavior and touch id behavior if you reboot or is there something wrong?
    kind regards,

    http://hints.linuxfromscratch.org/hints/dsp_devfsd.txt
    there is some help right there.
    they give you a few options in there.
    You can have the devices set with permissions that you specify each startup (mainly what the article focuses on)
    You can also have devfs 'remember' its previous settings
    edit this section in your /etc/devfsd.conf to look like this:
    # Uncomment this if you want permissions to be saved and restored
    # Do not do this for pseudo-terminal devices
    REGISTER ^pt[sy] IGNORE
    CREATE ^pt[sy] IGNORE
    CHANGE ^pt[sy] IGNORE
    DELETE ^pt[sy] IGNORE
    REGISTER .* COPY /dev-state/$devname $devpath
    CREATE .* COPY $devpath /dev-state/$devname
    CHANGE .* COPY $devpath /dev-state/$devname
    DELETE .* CFUNCTION GLOBAL unlink /dev-state/$devname
    RESTORE /dev-state
    You should just have to uncomment those lines.
    then as root:
    # cd /dev
    # chown -R root.users sound/
    # chmod 774 sound/
    # chmod 664 sound/*
    I think that should take care of it
    This assumes you have already probed your modules (or have them compiled into the kernel)

  • C and ncurses: execl in a specific window

    Hi!
    Is there a way to call vfork() and then execl a system program (/usr/bin/nano for example) in a specific ncurses window and not stdscr? I'd like to achieve that, having 2 subwin of stdscr, nano will be launched in the first, but the second window will stay untouched. So you can open 2 files in the same time in 2 different windows.
    Is there a way? I tried googling but couldn't find anything.
    Thanks everyone!

    There is a way to do this, but I don't know that it can be done with just the tools you describe.  You need a pseudo terminal set up in the ncurses window.  The ncurses window only provides a space on which to draw, it doesn't provide a new terminal - but a pty can do this.  You might want to check out the code of screen/tmux/dvtm (the last might have the simplest code as the first two have lots of other features).
    EDIT: vt_forkpty on line 1564 of vt.c in the dvtm-git code would probably be the key.
    Last edited by Trilby (2015-03-23 11:59:27)

  • [Solved] Starting applications locally but not SSH

    Ok, so.. argh..
    I'm normally good enough to figure these _basic_ things out but i'm bashing my head right now.
    https://wiki.archlinux.org/index.php/Autostarting
    i want to run startx when logging in locally on a tty, but not when i initiate a user-session via SSH.
    Normally i'd place profiling stuff in .bashrc (variables, user aliases etc) and place startx in say a tty1.conf or something under /etc/init.d but since Arch is running systemd and starting x is not a daemon per sae i'm all out of luck here.
    How do you guys normally startx? and how do you separate autostarting applications locally, remote etc?
    Ps. I've started stuff via .config/openbox/autostart so that's fine.
    I need X not to iniatate every ssh session :)
    Solution (one of many):
    This solution will not only work through all terminals (meaning you don't check the terminal name) it will also not rely on tty or session names, it will instead check if the source is running under a X window (:0) or from an IP (10.0.0.1).
    If non of the above it defaults to starting x.
    Note: It will not distinguish running under systemd aparently and it also doesn't take in account if you're relaying X via SSH i guess (havn't tried that tho but it's an assumption).
    sudo nano /etc/profile.d/gui.sh
    #!/bin/bash
    me=`who am i`
    case "$me" in
    *\(:0\)*) echo "Youre in X" ;;
    *\(*.*.*.*) echo "Youre in SSH" ;;
    *) startx ;;
    esac
    Last edited by Torxed (2013-06-12 07:24:46)

    jasonwryan wrote:
    You could also use lastlog to determine if you are logged in on a TTY or pseudo-terminal:
    ┌─[Veles ~]
    └─╼ lastlog -u jason | awk '/jason/ {print $2}'
    pts/9
    ┌─[Shiv ~ ]
    └─╼ lastlog -u jason | awk '/jason/ {print $2}'
    tty1
    # edit: or just grep it if you only need an exit status...
    This feels unpredictable right off the bat mainly because there's other services being found in lastlog, also if two people login at the exact same time and one of them get a "spike" in the process priority you'll end up giving the wrong sessiondata to the wrong user unless you check the username logged in against lastlog but that requires more processing power then a case/if clause from a single output source. Speed is everything, logic is next and everything else falls behind
    Tarqi wrote:
    What about /usr/bin/tty?
    .bashrc
    tty | grep tty && startx
    Edit: Check the DISPLAY Variable if you want to avoid starting multiply X-Servers. However, maybe $TERM might be another solution.
    Locally:
    [doxid@faparch ~]$ tty
    /dev/pts/1
    Remote SSH:
    [doxid@faparch ~]$ ssh [email protected]
    Last login: Wed Jun 12 02:27:53 2013 from 10.0.0.140
    Youre in SSH
    [root@lookabeaver ~]# tty | grep tty
    [root@lookabeaver ~]# tty
    /dev/pts/1
    Don't think this is a viable option.
    WonderWoofy wrote:
    I think ewaller meant cut and not -cut.  But even then, what he is suggesting is that you print characters 10 through 12.  So it highly depends on the output length and therefore the number of letters in your username.  If you has used something like this it would have worked:
    who am i | cut -d' ' -f2
    Might work, but you're probably feteching:
    [doxid@faparch ~]$ who am i | cut -d' ' -f16
    (:0)
    Last edited by Torxed (2013-06-12 07:15:09)

  • PHD will not sync on log out

    Hi,
    I have two 10.7.4 clients running as PHD on a 10.7.4 server.  I have noticed rec ently that neither of them sync themselves when they log out.  All other syncing works (i.e log in, maually, and every 5 minutes).  I have an exception errro in my FileSyncAgent-Verbose.log file that says that it couldn't write a .FileSyncHistory file to my server side ~/.FileSync folder:
    From FileSynce Agent.log
    EXCEPTION: [data writeToFile:'/Volumes/HomeDirectories/francis.hampden/.FileSync/HomeSync_Mirror_Peer-eu96pQJN794-francis.hampden.FileSyncHistory' options:0 error:&error] (Cocoa error 512)
    From FileSynce Agent-verbose.log
    Marker - 6 Jul 2012 08:06:59
    1:: [12/07/06 08:07:00.461] Setting PHD remote home path to "/Volumes/HomeDirectories/francis.hampden".
    1:: [12/07/06 08:07:01.501] ==========================================================
    0:: [12/07/06 08:07:01.501] Starting manual sync of "HomeSync_Mirror".
    1:: [12/07/06 08:07:01.502] _incomingIPC: SFObjcMessageMsgID (2000) took 1.041332 seconds.
    1:: [12/07/06 08:07:01.505] -[SPeer_FS_PHD mountPeerVolume]: We've been given remote home path "/Volumes/HomeDirectories/francis.hampden".
    1:: [12/07/06 08:07:01.505] -[SPeer_FS_PHD mountPeerVolume]: Remote home path exists.
    1:: [12/07/06 08:07:01.505] -[SPeer_FS_PHD mountPeerVolume]: Final path to PHD remote home root = "/Volumes/HomeDirectories/francis.hampden"
    1:: [12/07/06 08:07:01.507] [0x7f8feaa04bb0/<SStore_FS:0x10d7f2420>] +[SStore_FS newStore_FSForPeer:alias:]: isRemote = NO
    1:: [12/07/06 08:07:01.507] [0x7f8feaa04bb0/<SStore_FS:0x10d7f2420>] +[SStore_FS newStore_FSForPeer:rootPath:rootAlias:rootRef:storePath:optionalStoreID:]: peer = <SPeer_FS:0x7f8fea80b440> = local, optionalStoreID = (null), peer.storeIDString = *
    1:: [12/07/06 08:07:01.507] [0x7f8feaa04bb0/<SStore_FS:0x10d7f2420>] +[SStore_FS newStore_FSForPeer:rootPath:rootAlias:rootRef:storePath:optionalStoreID:]: rootPath        = /Users/francis.hampden
    1:: [12/07/06 08:07:01.507] [0x7f8feaa04bb0/<SStore_FS:0x10d7f2420>] +[SStore_FS newStore_FSForPeer:rootPath:rootAlias:rootRef:storePath:optionalStoreID:]: storePath       = /Users/francis.hampden/.FileSync/store.filesyncstatetree
    1:: [12/07/06 08:07:01.509] [0x7f8feaa04bb0/<SStore_FS:0x10d7f2420>] +[SStore_FS newStore_FSForPeer:rootPath:rootAlias:rootRef:storePath:optionalStoreID:]: rootAlias       = {path='/Users/francis.hampden', targetName='francis.hampden', volumeName='Macintosh HD', type=DIR, volumeCreateDate=2011-10-08-06:16:08, targetCreateDate=2012-06-29-17:43:11, parentDirID=49187, nodeID=7693575, filesystemID=0000 ('0000'), signature=0x482b ('H+'), isBootVolume=YES, isAutomounted=NO, isEjectable=NO, hasPersistentFileIDs=YES, mounted=YES, url='file://localhost/'}
    1:: [12/07/06 08:07:01.515] -[SStore_FS setupWithAlias:andRef:] (Store-FS.m:447): unlink('/Users/francis.hampden/.FileSync/.fstemp.Optt41-cRGLKUN.HK3.noindex')
    1:: [12/07/06 08:07:01.524] X::...PHD-L-rRaw7zntXN5-francis.hampden Exclusion/Inclusion pair #1 of 1
    1:: [12/07/06 08:07:01.524] X::Exclusions                                                       | Inclusions     
    1:: [12/07/06 08:07:01.524] X::------------------------------------------------------------------------------------
    1:: [12/07/06 08:07:01.524] X::path BEGINSWITH "."                                              |                
    1:: [12/07/06 08:07:01.524] X::name BEGINSWITH[c] ".DocumentRevisions"                          |                
    1:: [12/07/06 08:07:01.524] X::name BEGINSWITH[c] ".afpDeleted"                                 |                
    1:: [12/07/06 08:07:01.524] X::path LIKE[c] "Library/Logs/FileSyncAgent.log"                    |                
    1:: [12/07/06 08:07:01.524] X::path LIKE[c] "Documents/Microsoft User Data"                     |                
    1:: [12/07/06 08:07:01.524] X::path LIKE[c] ".dropbox"                                          |                
    1:: [12/07/06 08:07:01.524] X::path LIKE[c] "Library/Logs/MirrorAgent.log"                      |                
    1:: [12/07/06 08:07:01.524] X::path LIKE[c] "Library/Preferences/com.apple.homeSync.plist"      |                
    1:: [12/07/06 08:07:01.524] X::path LIKE[c] "NAVMac800QSFile"                                   |                
    1:: [12/07/06 08:07:01.524] X::path LIKE[c] ".FileSync"                                         |                
    1:: [12/07/06 08:07:01.524] X::path LIKE[c] "Library/Preferences/com.apple.FileSyncUI.plist"    |                
    1:: [12/07/06 08:07:01.524] X::path LIKE[c] "Library/Mirrors"                                   |                
    1:: [12/07/06 08:07:01.524] X::path LIKE[c] "Library/FileSync"                                  |                
    1:: [12/07/06 08:07:01.524] X::path LIKE[c] "Library/Preferences/com.apple.mcxMenuExtras.plist" |                
    1:: [12/07/06 08:07:01.524] X::path LIKE[c] "Dropbox"                                           |                
    1:: [12/07/06 08:07:01.524] X::path LIKE[c] ".Spotlight-V100"                                   |                
    1:: [12/07/06 08:07:01.524] X::path LIKE[c] ".account"                                          |                
    1:: [12/07/06 08:07:01.524] X::path LIKE[c] ".TemporaryItems"                                   |                
    1:: [12/07/06 08:07:01.524] X::path LIKE[c] ".fseventsd"                                        |                
    1:: [12/07/06 08:07:01.524] X::path LIKE[c] ".mcxlc"                                            |                
    1:: [12/07/06 08:07:01.524] X::path LIKE[c] "Library"                                           |                
    1:: [12/07/06 08:07:01.524] X::name LIKE[c] ".com.apple.timemachine.supported"                  |                
    1:: [12/07/06 08:07:01.524] X::path LIKE[c] ".Cleanup At Startup"                               |                
    1:: [12/07/06 08:07:01.524] X::path LIKE[c] "Parallels"                                         |                
    1:: [12/07/06 08:07:01.524] X::path LIKE[c] "Applications (Parallels)"                          |                
    1:: [12/07/06 08:07:01.524] X::path LIKE[c] ".SymAVQSFile"                                      |                
    1:: [12/07/06 08:07:01.524] X::---not changed---                                                | ---not changed---
    1:: [12/07/06 08:07:01.524] X::------------------------------------------------------------------------------------
    1:: [12/07/06 08:07:01.524] [0x7f8feaa04bb0/<SStore_FS:0x7f8fea818520>] -[SStore_FS prepareForSync]: PHD-L-rRaw7zntXN5-francis.hampden: self.wasPrepareForSyncDoneRemotely => NO
    1:: [12/07/06 08:07:01.525] Store "PHD-L-rRaw7zntXN5-francis.hampden" started prepareForSync with root version HomeSync_Mirror_Peer-eu96pQJN794-francis.hampden1340988492PHD-L-rRaw7zntXN5-francis.hampden1340988517[]
    1:: [12/07/06 08:07:01.527] PHD-L-rRaw7zntXN5-francis.hampden FSEvents scan
    1:: [12/07/06 08:07:01.724] PHD-L-rRaw7zntXN5-francis.hampden FSEvents scan took 0.20 seconds
    1:: [12/07/06 08:07:02.077] PHD-L-rRaw7zntXN5-francis.hampden Scanning flagged directory "/"
    1:: [12/07/06 08:07:02.436] Store "PHD-L-rRaw7zntXN5-francis.hampden" finished prepareForSync with root version HomeSync_Mirror_Peer-eu96pQJN794-francis.hampden1340988492PHD-L-rRaw7zntXN5-francis.hampden1340988517[]
    1:: [12/07/06 08:07:02.437] -[SPeer_FS_PHD mountPeerVolume]: Remote home located at "/Volumes/HomeDirectories/francis.hampden"
    1:: [12/07/06 08:07:02.438] [0x7f8feaa03110/<SStore_FS:0x10d7f2420>] +[SStore_FS newStore_FSForPeer:alias:]: isRemote = YES
    1:: [12/07/06 08:07:02.438] [0x7f8feaa03110/<SStore_FS:0x10d7f2420>] +[SStore_FS newStore_FSForPeer:alias:]: gAttemptRemotePrepareForSync = YES
    1:: [12/07/06 08:07:02.451] ssh subtask PID:509
    1:: [12/07/06 08:07:02.461] -[SSHIPCClient handleStderrLineOrEOF:]: [2012-07-06 07:07:02 +0000] 'Pseudo-terminal will not be allocated because stdin is not a terminal.
    1:: [12/07/06 08:07:02.461] '
    1:: [12/07/06 08:07:02.512] -[SSHIPCClient handleStderrLineOrEOF:]: [2012-07-06 07:07:02 +0000] 'Warning: Permanently added '[leopard.glyndeestates.co.uk]:2336' (RSA) to the list of known hosts.
    1:: [12/07/06 08:07:02.512] '
    1:: [12/07/06 08:07:02.845] Remote peer greeting: 'com.apple.FileSync-2.0.0 FileSyncAgent-502.2 r? OKAY pid=28624'
    1:: [12/07/06 08:07:02.846] Remote host 'leopard.glyndeestates.co.uk' reported status as 'OKAY'
    1:: [12/07/06 08:07:18.601] Peer 'network' successfully performed remote prepareForSync, remoteStoreID = HomeSync_Mirror_Peer-eu96pQJN794-francis.hampden, remoteDBName = Store-FS-PHD-network-home.filesyncstatetree, took 16.16 seconds
    1:: [12/07/06 08:07:18.606] +[SStore_FS newStore_FSForPeer:alias:] (Store-FS.m:325): unlink('/Users/francis.hampden/Library/Caches/Cleanup At Startup/FileSyncAgent-1025/.FileSync/Store-FS-PHD-network-home.filesyncstatetree')
    1:: [12/07/06 08:07:18.606] unlink('/Users/francis.hampden/Library/Caches/Cleanup At Startup/FileSyncAgent-1025/.FileSync/Store-FS-PHD-network-home.filesyncstatetree') failed (2)
    1:: [12/07/06 08:07:21.933] Download/expand of "/Volumes/HomeDirectories/francis.hampden/.FileSync/Store-FS-PHD-network-home.filesyncstatetree.bz2" took 3.33 seconds
    1:: [12/07/06 08:07:21.933] [0x7f8feaa03110/<SStore_FS:0x10d7f2420>] +[SStore_FS newStore_FSForPeer:rootPath:rootAlias:rootRef:storePath:optionalStoreID:]: peer = <SPeer_FS_PHD:0x7f8fe960ca10> = network, optionalStoreID = HomeSync_Mirror_Peer-eu96pQJN794-francis.hampden, peer.storeIDString = *
    1:: [12/07/06 08:07:21.933] [0x7f8feaa03110/<SStore_FS:0x10d7f2420>] +[SStore_FS newStore_FSForPeer:rootPath:rootAlias:rootRef:storePath:optionalStoreID:]: rootPath        = /Volumes/HomeDirectories/francis.hampden
    1:: [12/07/06 08:07:21.933] [0x7f8feaa03110/<SStore_FS:0x10d7f2420>] +[SStore_FS newStore_FSForPeer:rootPath:rootAlias:rootRef:storePath:optionalStoreID:]: storePath       = /Users/francis.hampden/Library/Caches/Cleanup At Startup/FileSyncAgent-1025/.FileSync/Store-FS-PHD-network-home.filesyncstatetree
    1:: [12/07/06 08:07:21.934] [0x7f8feaa03110/<SStore_FS:0x10d7f2420>] +[SStore_FS newStore_FSForPeer:rootPath:rootAlias:rootRef:storePath:optionalStoreID:]: rootAlias       = {path='/Volumes/HomeDirectories/francis.hampden', targetName='francis.hampden', volumeName='HomeDirectories', type=DIR, volumeCreateDate=2011-08-26-18:22:47, targetCreateDate=2012-03-05-18:26:39, parentDirID=2, nodeID=3851835, filesystemID=0x6173 ('as'), signature=0x482b ('H+'), isBootVolume=NO, isAutomounted=NO, isEjectable=NO, hasPersistentFileIDs=YES, mounted=YES, url='afp://[email protected]/HomeDirectories'}
    1:: [12/07/06 08:07:21.942] -[SStore_FS setupWithAlias:andRef:] (Store-FS.m:447): unlink('/Users/francis.hampden/Library/Caches/Cleanup At Startup/FileSyncAgent-1025/.FileSync/.fstemp.Optt41-CwkuIb9eL_.noindex')
    1:: [12/07/06 08:07:22.072] -[SStore(protected) cleanupTree]: HomeSync_Mirror_Peer-eu96pQJN794-francis.hampden: required 0.1 seconds to execute
    1:: [12/07/06 08:07:22.078] X::...HomeSync_Mirror_Peer-eu96pQJN794-francis.hampden Exclusion/Inclusion pair #1 of 1
    1:: [12/07/06 08:07:22.078] X::Exclusions                                                       | Inclusions     
    1:: [12/07/06 08:07:22.078] X::------------------------------------------------------------------------------------
    1:: [12/07/06 08:07:22.078] X::path BEGINSWITH "."                                              |                
    1:: [12/07/06 08:07:22.078] X::name BEGINSWITH[c] ".DocumentRevisions"                          |                
    1:: [12/07/06 08:07:22.078] X::name BEGINSWITH[c] ".afpDeleted"                                 |                
    1:: [12/07/06 08:07:22.078] X::path LIKE[c] "Library/Logs/FileSyncAgent.log"                    |                
    1:: [12/07/06 08:07:22.078] X::path LIKE[c] "Documents/Microsoft User Data"                     |                
    1:: [12/07/06 08:07:22.078] X::path LIKE[c] ".dropbox"                                          |                
    1:: [12/07/06 08:07:22.078] X::path LIKE[c] "Library/Logs/MirrorAgent.log"                      |                
    1:: [12/07/06 08:07:22.078] X::path LIKE[c] "Library/Preferences/com.apple.homeSync.plist"      |                
    1:: [12/07/06 08:07:22.078] X::path LIKE[c] "NAVMac800QSFile"                                   |                
    1:: [12/07/06 08:07:22.078] X::path LIKE[c] ".FileSync"                                         |                
    1:: [12/07/06 08:07:22.078] X::path LIKE[c] "Library/Preferences/com.apple.FileSyncUI.plist"    |                
    1:: [12/07/06 08:07:22.078] X::path LIKE[c] "Library/Mirrors"                                   |                
    1:: [12/07/06 08:07:22.078] X::path LIKE[c] "Library/FileSync"                                  |                
    1:: [12/07/06 08:07:22.078] X::path LIKE[c] "Library/Preferences/com.apple.mcxMenuExtras.plist" |                
    1:: [12/07/06 08:07:22.078] X::path LIKE[c] "Dropbox"                                           |                
    1:: [12/07/06 08:07:22.078] X::path LIKE[c] ".Spotlight-V100"                                   |                
    1:: [12/07/06 08:07:22.078] X::path LIKE[c] ".account"                                          |                
    1:: [12/07/06 08:07:22.078] X::path LIKE[c] ".TemporaryItems"                                   |                
    1:: [12/07/06 08:07:22.078] X::path LIKE[c] ".fseventsd"                                        |                
    1:: [12/07/06 08:07:22.078] X::path LIKE[c] ".mcxlc"                                            |                
    1:: [12/07/06 08:07:22.078] X::path LIKE[c] "Library"                                           |                
    1:: [12/07/06 08:07:22.078] X::name LIKE[c] ".com.apple.timemachine.supported"                  |                
    1:: [12/07/06 08:07:22.078] X::path LIKE[c] ".Cleanup At Startup"                               |                
    1:: [12/07/06 08:07:22.078] X::path LIKE[c] "Parallels"                                         |                
    1:: [12/07/06 08:07:22.078] X::path LIKE[c] "Applications (Parallels)"                          |                
    1:: [12/07/06 08:07:22.078] X::path LIKE[c] ".SymAVQSFile"                                      |                
    1:: [12/07/06 08:07:22.078] X::---not changed---                                                | ---not changed---
    1:: [12/07/06 08:07:22.078] X::------------------------------------------------------------------------------------
    1:: [12/07/06 08:07:22.078] [0x7f8feaa03110/<SStore_FS:0x7f8feaa12680>] -[SStore_FS prepareForSync]: HomeSync_Mirror_Peer-eu96pQJN794-francis.hampden: self.wasPrepareForSyncDoneRemotely => YES
    1:: [12/07/06 08:07:22.080] Sync history for "HomeSync_Mirror": last sync peer count = 2, all syncs peer count = 2, last sync included this machine: YES
    1:: [12/07/06 08:07:22.080] Sync job generation pass 1 of 1 for "HomeSync_Mirror" took 0.00 seconds
    0:: [12/07/06 08:07:22.088] EXCEPTION: [data writeToFile:'/Volumes/HomeDirectories/francis.hampden/.FileSync/HomeSync_Mirror_Peer-eu96pQJN794-francis.hampden.FileSyncHistory' options:0 error:&error] (Cocoa error 512) <-[SStoreFileOperator_FS writeFileData:] (StoreFileOperator-FS.m:1120): "(Error Domain=NSCocoaErrorDomain Code=512 "The file “HomeSync_Mirror_Peer-eu96pQJN794-francis.hampden.FileSyncHistory” couldn’t be saved in the folder “.FileSync”." UserInfo=0x7f8fe9635260 {NSFilePath=/Volumes/HomeDirectories/francis.hampden/.FileSync/HomeSync_Mirror_Peer-eu96pQJN794-francis.hampden.FileSyncHistory, NSUnderlyingError=0x7f8fe9635490 "The operation couldn’t be completed. Resource temporarily unavailable"})">
    0:: [12/07/06 08:07:22.088] USERINFO: {
    0:: [12/07/06 08:07:22.088]     NSFilePath = "/Volumes/HomeDirectories/francis.hampden/.FileSync/HomeSync_Mirror_Peer-eu96pQJN794-francis.hampden.FileSyncHistory";
    0:: [12/07/06 08:07:22.088]     NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=35 \"The operation couldn\U2019t be completed. Resource temporarily unavailable\"";
    0:: [12/07/06 08:07:22.088] }
    0:: [12/07/06 08:07:22.088] BACKTRACE: {
    0:: [12/07/06 08:07:22.088] ? | 0x10d6a1113 
    0:: [12/07/06 08:07:22.088] ? | 0x10d6a0f24 
    0:: [12/07/06 08:07:22.088] ? | 0x10d69ecdb 
    0:: [12/07/06 08:07:22.088] ? | 0x10d69df88 
    0:: [12/07/06 08:07:22.088] ? | 0x10d666863 
    0:: [12/07/06 08:07:22.088] ? | 0x7fff8d89c72a
    0:: [12/07/06 08:07:22.088] ? | 0x7fff8d89c6a2
    0:: [12/07/06 08:07:22.088] ? | 0x7fff81bb78bf
    0:: [12/07/06 08:07:22.088] ? | 0x7fff81bbab75
    0:: [12/07/06 08:07:22.088] }
    1:: [12/07/06 08:07:22.670] -[SStore(protected) cleanupTree]: PHD-L-rRaw7zntXN5-francis.hampden: required 0.0 seconds to execute
    1:: [12/07/06 08:07:22.793] Store "PHD-L-rRaw7zntXN5-francis.hampden" finished syncing with root version HomeSync_Mirror_Peer-eu96pQJN794-francis.hampden1340988492PHD-L-rRaw7zntXN5-francis.hampden1340988517[]
    1:: [12/07/06 08:07:22.794] -[SStore_FS deleteStateTreeTurdFile] (Store-FS.m:476): unlink('/Users/francis.hampden/.FileSync/store.filesyncstatetree.statetree_dirty')
    1:: [12/07/06 08:07:23.069] Store "HomeSync_Mirror_Peer-eu96pQJN794-francis.hampden" finished syncing with root version HomeSync_Mirror_Peer-eu96pQJN794-francis.hampden1340988492PHD-L-rRaw7zntXN5-francis.hampden1340988517[]
    1:: [12/07/06 08:07:23.070] Database not uploaded because it has no changes.
    1:: [12/07/06 08:07:23.070] -[SStore_FS deleteStateTreeTurdFile] (Store-FS.m:476): unlink('/Volumes/HomeDirectories/francis.hampden/.FileSync/Store-FS-PHD-network-home.filesyncstatetree.bz2.statetree_dirty')
    1:: [12/07/06 08:07:23.071] -[SStore_FS disconnectFromStore] (Store-FS.m:698): unlink('/Users/francis.hampden/Library/Caches/Cleanup At Startup/FileSyncAgent-1025/.FileSync/Store-FS-PHD-network-home.filesyncstatetree')
    0:: [12/07/06 08:07:23.996] Finished sync of "HomeSync_Mirror".
    1:: [12/07/06 08:07:23.997] 1-pass sync of "HomeSync_Mirror" took 20.58 seconds
    1:: [12/07/06 08:07:24.614] Scheduling next sync of "HomeSync_Mirror" at 2012-07-06 07:27:24 +0000
    I've looked at other postings and can't find any solutions that work for me.  I have delted .FileSync on both client and server.  I've even deleted the PHD and recreated it (which did clear up some anomolies to do with with files and folder ought not to have been synced).
    Any ideas?
    Many thanks,
    Francis.

    You can try resolving it by trashing the…
    ~/.FileSync
    … directory for affected accounts (on both the local system and the server sides). This will trigger a full account scan for differences on the next sync but may hopefully fix it.

  • Why is mobile home syncing so slow?

    I am running 10.8.3 on the clients and 10.8.3 with Server 2.2.1 on the Server. I have turned server-side file tracking on with
    sudo serveradmin settings info:enableFileSyncAgent = yes
    But the full story I got that from (http://krypted.com/mac-os-x/enable-server-side-file-tracking-in-os-x-mountain-li on-server/) does add:
    Note that TCP port 2336 needs to be open for the FileSync Agent to connect over ssh on port 2336 to the server; however, ssh doesn’t need to be enabled on the standard port 22 but mobile users must have access to the SSH SACL.
    - How do I recognize the SSH SACL in Workgroup manager so I can add the mobile users to it?
    - SInce we have a different firewall than the 10.6 setup, how do I add port 2336?
    - Is that the reason? Or is there also something on the client side?
    Thanks,

    Network conditions: gigabit ethernet LAN between OS X client and OS X server. I see a scan of the home directory.
    I found the culprit in the FileSyncAgent verbose log:
    <Login> 1:: [13/05/03 13:57:17.186] -[SSHIPCClient handleStderrLineOrEOF:]: [2013-05-03 11:57:17 +0000] 'Pseudo-terminal will not be allocated because stdin is not a terminal.
    <Login> 1:: [13/05/03 13:57:17.186] '
    <Login> 1:: [13/05/03 13:57:25.860] -[SSHIPCClient handleStderrLineOrEOF:]: [2013-05-03 11:57:25 +0000] 'ssh: connect to host myserver.mydomain.com port 2336: Operation timed out
    <Login> 1:: [13/05/03 13:57:25.860] '
    <Login> 1:: [13/05/03 13:57:25.860] -[SSHIPCClient handleStderrLineOrEOF:]: SSH: 'ssh: connect to host myserver.mydomain.com port 2336: Operation timed out
    <Login> 1:: [13/05/03 13:57:25.860] '
    <Login> 1:: [13/05/03 13:57:25.861] -[SSHIPCClient handleStderrLineOrEOF:]: [2013-05-03 11:57:25 +0000] '(null)'
    <Login> 1:: [13/05/03 13:57:25.865] +[SStore_FS newStore_FSForPeer:alias:] (Store-FS.m:325): unlink('/Users/userfoo/Library/Caches/Cleanup At Startup/FileSyncAgent-1025/.FileSync/Store-FS-PHD-network-home.filesyncstatetre e')
    <Login> 1:: [13/05/03 13:57:25.865] unlink('/Users/userfoo/Library/Caches/Cleanup At Startup/FileSyncAgent-1025/.FileSync/Store-FS-PHD-network-home.filesyncstatetre e') failed (2)
    <Login> 1:: [13/05/03 13:57:26.582] Download/expand of "/Volumes/Users/userfoo/.FileSync/Store-FS-PHD-network-home.filesyncstatetree.b z2" took 0.72 seconds
    Checking with a port scan by Network Utility I found out that the PF firewall is blocking port 2336 when connected from the clients. From the server itself both 127.0.0.1 and the real IP address of the server accept incoming connections on port 2336 (which is what I had checked previously, but that was a mistake, 192.168.x.x. is routed to 127.0.0.1 I guess and thus not blocked).
    Now I just have to find out how to open up port 2336 from the local IP range for clients.
    And I'm wondering how much of a breach it would be to open up port 2336 in my router and forward it to the server. How safe is Apple's use of SSH here? Is it certificate protected?

  • Proper way to Connect to Automatically Connect to SSH Server

    What is the proper way to automatically connect to an ssh server via applescript?
    I've tried a variety of different things, none of them seemed to have worked yet... I've searched Google for quite awhile, and was wondering if anyone could please shed some light.
    1. do shell script "ssh user@hostname"
    Error Msg: Pseudo-terminal will not be allocated because stdin in not a terminal
    2. do shell script "ssh -t -t user@hostname"
    Error Msg: None; However it doesn't allow me to put a password in
    3. do shell script "ssh user@hostname > /dev/null &"
    Error Msg: None; Same as above
    4. tell application "Terminal"
    do script "stty -echo"
    do script "ssh user@hostname"
    end tell
    Error Msg: None. Popups a terminal window for user to enter password
    I've been using password prompt box, for the user to enter a password and would like a way to pass it directly to ssh terminal running in the background.
    I've also though about using SSH RSA keypairs the only way to accomplish this (no login regquired) but would prefer to use user/password authentication rather than trusted RSA keypairs.

    I am trying to setup an automated port forward through ssh -L and run it in the background for someone who has no idea what ssh is..
    Then either Terminal.app or private keys are your option.
    Could you shed some light on why RSA private keys are more secure? Because can't they be used by any user on that machine?
    Not unless you set it up wrong.
    SSH keys require two matching pieces of information - a private key (normally stored in the .ssh directory in your home directory) and a matching public key stored in the authorized_keys file in the .ssh directory of the home directory of the account you're logging in as.
    These two pieces of data have to match and since they're in the home directories of the respective accounts, they are only accessible to the specific user and not everyone.
    Whereas password authentication requires it to typed in.
    And if it's wrong (e.g. a hacker guesses incorrectly) he can try again, and again, and again until he either gets bored (not likely since he's probably using an automated script anyway) or he gets lucky and gets in.
    People are notoriously bad at selecting passwords. All too often passwords are weak and can be broken via simple dictionary attacks (try combinations of common dictionary words) or social engineering techniques. Public keys cannot be broken in such way (or, at least, the brute force attack is estimated to take the average hacker several years to break through).
    There are also trojan keylogger applications (more common on Windows, of course) - these have the ability to record every keystroke made on the system, which makes it easy to capture someone's password any time they type it.

  • Java debugging - problems with standard input

    Hi
    I hope somebody can help me with this problem.
    I'm developing a Java app that reads from the standard input. I use System.in.read() to do that. When I debug it, I use the Standard I/O window instead of the Run Log window to pass in values, but nothing happens (i.e. the line following the read() is never reached). I also tried to run the app and then attach the debugger to use the Run Log window as standard input, with the same result. If I add a breakpoint before the call to read(), the debugger pauses the execution, so I suppose the breakpoints are OK.
    In the executable Info window, Debugging tab, I use the pseudo terminal with the Java debugger.
    So my question is: how can I enter values from the standard input in debugging mode?

    I believe that you are seeing these problems because we have found the
    current versions of RMI found in the JDK to be inherently unscalable -- we
    do not listen for them. As you noticed, we recommend that you use our
    packages for now, and then do the simple change that you found if you decide
    that you do not like WLS. (If you do decide that you do not like us, please
    definitely let us know why you chose the way you did!)
    Thanks,
    Michael
    Michael Girdley
    Product Manager, WebLogic Server & Express
    BEA Systems Inc
    "Tim Dawson" <[email protected]> wrote in message
    news:397b8cc2$[email protected]..
    We're developing a J2EE application on NT using WLS 5.1, SP3, but we don't
    want to be tied to any particular J2EE server, so we're making sure that
    none of our code is weblogic specific.
    In keeping with this philosophy, I created an RMI service that used the
    standard java.rmi.* imports instead of weblogic.rmi.* and used thestandard
    RMIC compiler rather than the weblogic.rmic compiler.
    Unfortunately, I couldn't get the system to work. I kept getting
    "java.rmi.MarshalException: Error marshaling transport header; nested
    exception is: java.io.EOFException" whenever I'd call Naming.lookup().
    Of course, when I did the search & replace with java.rmi.* with
    weblogic.rmi.*, and switched from the standard rmic to weblogic.rmic,
    everything started working just fine. This is the ONLY change I made!
    Has anyone else run into similar problems?
    Tim Dawson
    Sr. Software Architect
    is.com

  • /dev/??? - what does that mean?

    Hello,
    What does /dev/??? mean? I have received a strange message:
    su: 'su user1' succeeded for user2 on /dev/???
    What does that thing mean?
    Regards,
    Przemek

    some thing like: /dev/pts/5 ? its a console message alerting you to someone becoming another user. the /dev mentioned is the pseudo terminal this occurred on (this is a telnet or ssh session).

Maybe you are looking for

  • How can i update/Remove Items from AR Invoice using SDK?

    Hi All, I have 1 problem with update or remove item from sales order. here is the source code of mine. If inv.GetByKey(DocumentNumber) = True Then                     inv.CardCode = cardcode                     Dim ercode As Integer                  

  • Does Firefox 5 have any problems with Kaspersky ant-virus

    Since I downloaded Firefox 5 I have a problem with a process avp.exe in Kaspersky anti-virus 2011. This process uses 70-80% of my CPU slowing my system almost completely. This only started after I downloaded F5. Is this just a coincidence?

  • Full screen from text

    Hi, I'm using a 5c; when my sister texts a video she sent on her 4s, the video does not play in full screen or even expanded to most of the screen when I open it from within the text.  I tried saving the video and then viewing from within the photo a

  • New Themes and Extra Large Book format not working

    I can't access the new themes or the new large format book in iPhoto. I have installed the 8.1 upgrade. (I also have installed Snow Leopard). 8.1 seems to have installed successfully, but I still can't get the new stuff, so I tried re-installing it,

  • Tree using APEX 2.2

    Hi I have created a tree using APEX 2.2 and the wizard provided. The select for my tree is: select "NODE_PRIMARY_KEY" id, "NODE_FOREIGN_KEY" pid, CASE WHEN NODE_PRIMARY_KEY = :P6_SELECTED_PK THEN '<span style="color:white;background-color:#0000CD;">'