Recursive ctags under solaris 10
Hi,
i am new to solaris development.
Under linux for recursive ctags we use " ctags -r .".
What will be the equivalent recursive ctags under solaris 10 ?
With thanks in advance,
Barun Parichha
<table border="0" align="center" width="90%" cellpadding="3" cellspacing="1"><tr><td class="SmallText"><b>korsabad wrote on Wed, 11 January 2006 06:23</b></td></tr><tr><td class="quote">
if you use solaris x86 and the ntfs-partition
Not possible. NTFS has those windows-security-id's (you know, those about-40-character-long-id's) for each object which cannot be read from solaris.
</td></tr></table>
I think writing to NTFS is nearly impossible (due to changes of the NTFS version, security stuff, and so on).
However reading from an <u>unencrypted</u> NTFS partition seems to be a possible thing. I do not know if a tool or a driver <u>already</u> exists but I think it is a possible task to write a tool that reads from NTFS partitions.
I think writing a tool that reads from UFS partitions under Windows is an easy task, too. I wrote such a tool for reading the EXT2 file system under Windows long time ago.
Martin
Similar Messages
-
hello all,
I am trying to launch Mozilla 1.7 under Solaris 10 with multiple Java versions, like Java 1.5, 1.4 and 1.6.
I am not 100% sure but from what I see its not fully supported by Mozilla?
some behavior patters that I noticed is that Mozilla tend to lock the session against the JRE its running under. so if you started with 1.5
it will remain under 1.5 until you kill/finish that session..
could anyone please help with this or if you have any better suggestion?
thanks a lot
/aymanNot really sure what you are trying to do, but you can get a more recent version at the following
link. README link has info on install, including java.
http://www.mozilla.com/en-US/firefox/2.0.0.11/releasenotes/#contributedbuilds -
Hi can anybody tell me if i can mount a NTFS partition under Solaris 10??
Thanks for ur help.<table border="0" align="center" width="90%" cellpadding="3" cellspacing="1"><tr><td class="SmallText"><b>korsabad wrote on Wed, 11 January 2006 06:23</b></td></tr><tr><td class="quote">
if you use solaris x86 and the ntfs-partition
Not possible. NTFS has those windows-security-id's (you know, those about-40-character-long-id's) for each object which cannot be read from solaris.
</td></tr></table>
I think writing to NTFS is nearly impossible (due to changes of the NTFS version, security stuff, and so on).
However reading from an <u>unencrypted</u> NTFS partition seems to be a possible thing. I do not know if a tool or a driver <u>already</u> exists but I think it is a possible task to write a tool that reads from NTFS partitions.
I think writing a tool that reads from UFS partitions under Windows is an easy task, too. I wrote such a tool for reading the EXT2 file system under Windows long time ago.
Martin -
Porting of Sybase Application to Oracle 8i under Solaris
Dear All
I want to port an application from sybase 10.2 which is running under Solaris to Oracle 8I under Solaris. Apart from database objects and stored procedures which I have already converted I wan to conver some C Codes and Unix Scripts
Which are either shell scripts or perl programs. I need all of your valuable suggestions in this regard.
Q-1 . In the Perl Program the following lines are sybase specific
Use Sybase:: Dblib
Require /files0/apps/local/lib/perl15/Sybase/sybperl.pl;
What will be the equivalent for ORACLE.
Suggest what perl I should use in this context.
In continuation to the above also I have some shell variables assigned as follows
$SYB_SERVER=SYB_PROD_CERT;
$SYB_DATABASE=APPLDB;
$ENV{SYBASE}=/sybase/10.0.4;
$ENV{DSQUERY}=$SYB_SERVER
$SYB_USER=keshav;
$SYB_PWFILE=/myappl/processcert/passwords/$SYB_SERVER;
$SYB_PW=/usr/bin/cat $SYB_PWFILE;
chop($SYB_PW);
dbmsghandle(message_handler);
dberrhandle(error_handler);
( ($dbproc = &dblogin($SYB_USER,$SYB_PW,$SYB_SERVER)) != -1 );
( &dbuse($dbproc, $SYB_DATABASE) != -1 );
( ($dbproc2 = &dblogin($SYB_USER,$SYB_PW,$SYB_SERVER)) != -1 );
( &dbuse($dbproc2, $SYB_DATABASE) != -1 );
sub Statistics
# get distinct sub-cat counts
( &dbcmd($dbproc, "select count(*),orgnumber,name=(select servicerorgname from servicer where servicer.orgnumber=transactionlog.orgnumber) from transactionlog group by orgnumber order by count(*) desc\n") != -1 );
&dbsqlexec($dbproc);
&dbresults($dbproc);
$row = DBROWS( $dbproc );
2. One of the Sample C Program is given here which I want to convert into pro*c.
I would like to know what are the corresponding libraries of oracle under
Solaris are to be used and also the respective header files mapping of Sybase
To Oracle. Any comment of this will be appreciated.
#include "sql.h"
#include "unix.h"
#include <stdlib.h>
#ifndef SQL_INCLUDED
#define SQL_INCLUDED
#include <sybfront.h>
#include <sybdb.h>
/*#include "sybdbex.h"*/
/* #include <syberror.h>*/
#endif
/* LogonToServer(char server[]) */
/*----------------------------------------------------------------------sra-*/
DBPROCESS *LogonToServer(char server[], char datab[], char user[],
char passwd[], char appname[] )
PCHAR szTemp;
char data[1000];
int result;
long l;
DBPROCESS *dbp;
LOGINREC *login;
/* initiailize library */
if ( dbinit() == FAIL)
printf("DB Initialization failed!\n");
exit(1);
/* install user supplied error handling and message handling routines*/
dberrhandle(err_handler);
dbmsghandle(msg_handler);
/* get LOGINREC structure and fill */
login = dblogin();
DBSETLUSER(login,user);
DBSETLPWD(login,passwd);
DBSETLAPP(login,appname);
/* get a DBPROCESS structure for communicating with the server */
if ((dbp = dbopen(login,server)) == NULL)
printf("dbopen failed on server: %s\n",server);
exit(1);
dbcmd(dbp,strcat("use ",datab));
dbsqlexec(dbp);
result=dbresults(dbp);
return dbp;
/* LogoutOfServer() */
/*----------------------------------------------------------------------sra-*/
void LogoutOfServer(DBPROCESS *dbproc)
DBPROCESS *dbp2;
dbclose( dbproc );
return;
int err_handler(DBPROCESS *dbproc,int severity,int dberr,int oserr,
char dberrstr,char oserrstr)
if ((dbproc == NULL))
return(INT_EXIT);
else
fprintf(ERR_CH, "DB-LIBRARY error:\n\t%s\n",dberrstr);
if (oserr != DBNOERR)
fprintf(ERR_CH,"Operating-system error:\n\t%s\n",oserrstr);
return(INT_CANCEL);
int msg_handler(DBPROCESS *dbproc, DBINT msgno, int msgstate, int severity,
char msgtext,char srvname,char *procname,DBUSMALLINT line)
return 0;Hello
The "-D_BIG_ENDIAN" shows you that the code is endian-dependent. This means that the program cannot be ported 1:1 because x86 is little endian while Sparc is big-endian.
I would first try to use "-D_LITTLE_ENDIAN" (or what flag ever I can find in the source codes) and to compile for x86.
Because of the "-D_BIG_ENDIAN" different source code is used for both machines. Maybe the little-endian source code is wrong:
#ifdef _BIG_ENDIAN
// correct source code for Sparc
#else
// INCORRECT source code for x86
#endifMartin -
How to start ftp under solaris 10
Hi,
if I try to enable ftp under Solaris 10, I get the message "unsatisfied dependencies":
root@u015ad2a:.../>svcadm -v enable -rst svc:/network/ftp:default
svc:/network/ftp:default temporarily enabled.
svc:/network/inetd:default temporarily enabled.
svc:/network/loopback temporarily enabled.
svc:/system/filesystem/local temporarily enabled.
svc:/milestone/single-user temporarily enabled.
svc:/system/identity:node temporarily enabled.
svc:/system/filesystem/minimal temporarily enabled.
svc:/system/filesystem/usr temporarily enabled.
svc:/system/filesystem/root temporarily enabled.
svc:/system/device/local temporarily enabled.
svc:/milestone/devices temporarily enabled.
svc:/system/manifest-import temporarily enabled.
svc:/milestone/sysconfig temporarily enabled.
svc:/milestone/name-services temporarily enabled.
svcadm: Instance "svc:/network/ftp:default" has unsatisfied dependencies.
root@u015ad2a:.../>svcs svc:/network/ftp:default
STATE STIME FMRI
uninitialized 9:40:09 svc:/network/ftp:default
How can I enable ftp?This looks sort of like what happened to me just now. I tried svcs -x
and got:
# svcs -x
svc:/network/rpc/gss:default (Generic Security Service)
State: uninitialized since Mon Apr 18 13:01:12 2005
Reason: Restarter svc:/network/inetd:default has not initialized service state.
See: http://sun.com/msg/SMF-8000-4D
See: gssd(1M)
Impact: 10 dependent services are not running. (Use -v for list.)
svc:/network/service:default (layered network services)
State: offline since Mon Apr 18 13:01:29 2005
Reason: Start method is running.
See: http://sun.com/msg/SMF-8000-C4
See: ifconfig(1M)
See: /var/svc/log/network-service:default.log
Impact: 4 dependent services are not running. (Use -v for list.)
svc:/application/print/server:default (LP print server)
State: disabled since Mon Apr 18 13:01:12 2005
Reason: Disabled by an administrator.
See: http://sun.com/msg/SMF-8000-05
See: lpsched(1M)
Impact: 1 dependent service is not running. (Use -v for list.)
I tried all kinds of things to get gss to run, but I finally realized that
it was really ifconfig that was the problem. The system has two
network interfaces, and during installation I gave both of them
a name. However, hme1 was not really connected to anything.
All I did to get it to work was
# cd /etc
# mv hostname.hme1 no.hme1
After that, I rebooted, and everything came up OK. I don't know
if the original problem was the same, but this solved my problem. -
Sparc Storag Array 102 needs to run under solaris 10
I need to get a Sparc Storage Array to run under solaris 10. The soc driver that is needed is not supportted under solairs 10. I took the packages needed off of solari 9 cd and installed them but no luck. I tried to to do a modload and modinfo but it was not there.
The package loaded a file into /kernel/drv/sparcv9/soc. I have solaris 9 onanother disk on the same system and looked at the system trying to copy and edit the files on 10 but not device paths show up in the system. I copyied a file called soc that was in /kernel/drv/ I edited the /etc/device_aliases and path_to_inst but no good.
There are no entries in the /devices/ dir that reference the soc path. I do not if than can work but really would like to get this working.The fibre interface on that beast is NOT a Gigabit connection,
such as is common on current systems.
It was a 100Mbps connection through an array controller,
running with a 40MHz microSPARC II control module.
You'd exceed its throughput capabilities in any attempt
to read or write data at or beyond that 100Mbps rate.
I don't anticipate much assistance in these forums for a technology that goes back a decade-and-a-half.
Contributors familiar with products from that era stopped posting in 2006
when the previous supportforum.sun.com was merged into this one.
We'll all look forward to your guidance after you succeed.
You'll teach the rest of us. -
How to install a LPR Printer under Solaris 10 01/06
Hi,
I just installed Solaris 10 01/06 2 days ago and so far I'm pretty impressed, really a nice system!
I have one problem, though:
I have a Kyocera FS-1010 printer in my office which is connected to a CNet Printserver.
I'm able to print from other Linux and *BSD boxes to this printer by using CUPS and adding the Printer as a LPR Printqueue.
My question is: Is there a way to do the same under Solaris? As far as I know, Solaris doesn't use CUPS as the default printing system, unlike OSX for example.
Thanks in advance,
DominikIs there any reason you haven't ftp'd and then configued cups on Solaris?
http://www.sun.com/bigadmin/content/submitted/install_cups.html
alan -
LSI1030 scsi adapter does not work under solaris 10 on t5240 sparc server
hi all,
i have following LSI1030 scsi pci-x card in t5240 server with solaris 10u8 ..
## prtpicl -v ## director's cut
LSILogic,scsi (scsi-2, ad0000061e)
:DeviceID 0x8
:UnitAddress 8
:vendor-id 0x1000
:device-id 0x30
:revision-id 0xc1
:subsystem-vendor-id 0x103c
:subsystem-id 0x322a
:class-code 0x10000
:cache-line-size 0x10
:interrupts 00 00 00 01
:min-grant 0x10
:max-latency 0x6
:latency-timer 0x40
:devsel-speed 0x1
:66mhz-capable
:fcode-rom-offset 0xa800
:device_type scsi-2
:wide 0x10
:version 1.00.38
:reg
00 07 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
01 07 40 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00
03 07 40 14 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 00
03 07 40 1c 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 00
02 07 40 30 00 00 00 00 00 00 00 00 00 00 00 00 00 10 00 00
:model LSI,1030
:compatible pci103c,30
:assigned-addresses
81 07 40 10 00 00 00 00 00 00 10 00 00 00 00 00 00 00 01 00
82 07 40 14 00 00 00 00 05 20 00 00 00 00 00 00 00 02 00 00
82 07 40 1c 00 00 00 00 05 22 00 00 00 00 00 00 00 02 00 00
82 07 40 30 00 00 00 00 05 30 00 00 00 00 00 00 00 10 00 00
:mpt-version 1.02
:firmware-version 1.03.39.00
:devfs-path /pci@500/pci@0/pci@c/pci@0/LSILogic,scsi
:binding-name LSILogic,scsi
:instance -1
:_class scsi-2
:name LSILogic,scsi
## prtdiag -v # director's cut
MB lsilOGICLSILogic,scsi LSI,1030
/pci@500/pci@0/pci@c/pci@0/LSILogic,scsi
## prtconf -v # director's cut
LSILogic,scsi (driver not attached)
tape (driver not attached)
disk (driver not attached)
{0} ok probe-scsi-all
/pci@500/pci@0/pci@c/pci@0/LSILogic,scsi@8
MPT Version 1.02, Firmware Version 1.03.39.00
Initiator ID is 7
Target 3
Unit 0 Removable Tape HP Ultrium 2-SCSI S63Di am unable to run this controller under solaris 10, is it even possible ??
regards, daniel
ps. i did reconfigure reboot and tried to tweak a mpt driver by hand, i also checked a patches for mpt driver ..# prtconf -v | grep LSI
LSILogic,scsi, instance #0
dev_path=/pci@500/pci@0/pci@c/pci@0/LSILogic,scsi@8:devctl
dev_path=/pci@500/pci@0/pci@c/pci@0/LSILogic,scsi@8:scsi
# cfgadm -lv c2
Ap_Id Receptacle Occupant Condition Information
When Type Busy Phys_Id
c2 connected unconfigured unknown
unavailable scsi-bus n /devices/pci@500/pci@0/pci@c/pci@0/LSILogic,scsi@8:scsi
# iostat -En ## cut
rmt/0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: HP Product: Ultrium 2-SCSI Revision: S63D Serial No:thanks, resolved .. i added this device (mpt "pci103c,30") in /etc/driver_aliases
regards -
Problems starting SunMC Agent 3.6 under Solaris 10
Hi folks,
I just did a test installation of the new SunMC 3.6 Server which worked fine. Afterwards, I did a fresh install of the 3.6 agent on a Sun Enterprise 420R running Solaris 10. I installed the agent in the global zone.
At the end of the setup, when the system asks me if I want to start the agent, which I affirmed. But this didn't work, system says just laconically "Could not start agent". Unfortunately, I can't even find the logs, since there is no log subdirectory under /var/opt/SUNWsymon. Have they moved this under Solaris 10?
Any ideas somebody how to dig into this?
Regards,
PeterHi Mike,
This sounds a lot like a post just a few days ago:
http://forum.sun.com/thread.jspa?threadID=27785&tstart=0Well, yes and no...I read this thread and I found some similarities but it's not the same problem. Besides, this was Solaris 8, I've 10 and my guess is that it has something to do with Sol10.
What do you see when you start the Agent with this command:
/opt/SUNWsymon/sbin/es-start -aiNo error...I end up in a prompt:
bash-3.00# /opt/SUNWsymon/sbin/es-start -ai
info Dec 05 17:48:19 agent Sun Management Center Version: 3.6, Build: 18, H491, (c) 2003 Sun Microsystems, Inc.
info Dec 05 17:48:19 agent registering import actions
info Dec 05 17:48:19 agent loading standard services
info Dec 05 17:48:19 agent standard services load complete
info Dec 05 17:48:19 agent agent host and port: cngaer:1161
info Dec 05 17:48:19 agent trap handler destination host and port: SunMC_server:162
info Dec 05 17:48:19 agent event trap destination host and port: SunMC_server:163
agent:>
I've really no idea what to enter at this prompt. A simple "help" doesn't give me anything but I got something from "ls"
agent:> ls
classes templates _config config services iso shadow contexts rules -
Backup issues (ufsdump/ufsrestore) under solaris 10
Hello all,
We are in the process of migrating to Solaris 10 from Solaris 8.
On our Solaris 8 systems with 2 HDDs we have a script that does a full backup of one disk (slice by slice) on to another using ufsdump/ufsrestore + boot record. The idea is that if one disk becomes corrupt logically/physically we can boot off the backup disk and continue using the system.
This worked fine under Solaris 8. We tried to do the same under Solaris 10 and noticed some unexpected behaviour when we tried to boot off the backup disk. Solaris 10 started "reconfiguring services" just like it does it when you install the OS fresh with the message:
Loading smf(5) service descriptions: xx/117
Somehow Solaris 10 "knew" that it was booted from a different device than last time.
My question would be: how does Solaris 10 know this and could we "fool" it into thinking that it was always installed on a backup disk, so it doesn't reconfigure itself every time new backup is made (and used)."... The real question is "how can I be sure that except smf there is nothing else in the OS affected by HDD change" and that is what I meant..."
The fact that you use ufsdump on mounted (I am guessing that you are doing so :-) file systems is risky!. Alternatively, you can create snapshots (fssnap(1M)) for the file systems that you are going to ufsdump on.
If your main aim is to replicate and reduce down time in case of root disk failure, a better solution is make use of mirriong via Solaris Volume Manager (aka SDS or md(7D)). Mirror does not guard against human errors though, such as accidentally deletion of crucial files :-) (which a backup strategy can guard against).
Hope this helps.
Regards,
S.T.Chang -
Using Solaris 8 drivers under Solaris 10?
I have a Mylex AcceleRAID 352 SCSI RAID controller card I would like to use under Solaris 10/11. It has drivers for Solaris 8 and is reported to work unofficially under Solaris 9.
What are the chances this will function reliably under Solaris 10/11? Has the driver format changed appreciably? Can anyone comment on using older drivers in newer versions of Solaris?
Many thanks for any advice, comments, or tips.
Regards,
Andrew<i>should I try the big monitor with the 13w3 connector</i>
Yes, this is the primary output.
Attach the monitor to the 13W3 output and change the <b>output-device</b> to the integrated video.
Michael -
Sparc storage Array woring under solaris 10.
I need to get a Sparc Storage Array to run under solaris 10. The soc driver that is needed is not supportted under solairs 10. I took the packages needed off of solaris 9 cds and installed them but no luck. I tried to to do a modload and modinfo but it was not there.
The package loaded a file into /kernel/drv/sparcv9/soc. I have solaris 9 onanother disk on the same system and looked at the system trying to copy and edit the files on 10 but not device paths show up in the system. I copyied a file called soc that was in /kernel/drv/ I edited the /etc/device_aliases and path_to_inst but no good.
There are no entries in the /devices/ dir that reference the soc path. I do not if than can work but really would like to get this working.Don't cross-post.
You already have an active thread on this topic in the other forum.
Cross-posting fragments any responses all over the universe.
As time passes and the threads get separated by time,
the responses become irrelevant.
That's why it's poor forum etiquette.
You end up diluting the information. -
NIC install problem under Solaris 10
I have an old 3Com NIC card (ISA) under Solaris 10. 3C509B Etherlink III card and prtconf -pv command shows correct PNP80f7 device id, all correct
resources, IRQ, I/O address .... But fail to work. Is it sun does not support elx driver or something I misconfigured?
My installation as follows:
elx "PNP80F7" entry to /etc/driver_aliases
PNP80F7|TCM5094.... elx net isa elx.bef "3Com"
entry to /boot/solaris/devicedb/master
#devlinks
#touch reconfigure ; rebootI use these cards for my x86 installations as well. The one thing that I've had to do is force the speed and duplex using the 3Com driver diskettes before installing the operating system. For whatever reason, Solaris 10 finds the card but will not initialize it properly whenever I the card is programmed to auto-negotiate. Forcing the card to half-duplex on the card itself works almost all of the time for me.
Get the driver diskettes from 3Com's site, boot from a bootable floppy, run 3c9x5cfg (if I recall correctly), and change the duplex and speed to whatever is appropriate. I've had the best luck with half-duplex. (If you need a boot diskette, you can get them from http://www.bootdisk.com.) -
I use tftp in solaris 10,like follows:
$ tftp
tftp> connect 127.0.0.1
tftp> ls
?Invalid command
tftp> put a.txt
Transfer timed out.
I want to know if I need to configure tftp under solaris 10,if need,how to configure it?
how to show directory and file after connect command,which command I can use? ls is not right command. when I want to put a file,why Transfer timed out. I am puzzled with it. Which directory is source directory and which directory is destinate directory?A detailed example is better.
ThanksYou cannot list directory contents with tftp. If you want any sort of interactive session, use ftp.
-
Hi,
I'm trying to compile the current svn release of mono (free implementation of .NET framework) under Solaris 10/x86.
After fixing some GCC specific code, I'm currently stuck with the GCC internal function __builtin_frame_address (and __builtin_return_address).
These functions return information about the current stack trace, e.g. the function that invokes the current function. They are used in the integrated debugger for single stepping and other functionality.
So far I haven't been able to find a workaround for these function within the Studio Compiler.
What's is the best way to implement these function? Does the Studio Compiler (or the libc or some other library) already provide the necessary functionality?
With best regards,
Burkhard LinkeI'm afraid you have to write assembly code for that sort of functions
Maybe you are looking for
-
Back episodes not showing up in iTunes
Since switching to a FeedBurner feed, only the most recent 3 of my 59 episodes are showing up in the iTunes Store. The RSS feed that iTunes reads from is still working fine, subscription is possible, so what could be causing this limited display? www
-
Flickering green dots... What's the final answer?
Hi, I jgot in my 30" monitor 2 weeks ago, but ..waited to find on ebay an AGP video card. Spent far more than I should have to get it, and now have flickering green dots everywhere! The screen is perfect when directly connected to the monitor. When I
-
Physical inventory process - reg
Hi All, Our Inventory Control Team and Finance are exploring other options to replace our current processes and will achieve the same final results that we get using TCodes MI01 thru MI07 for adjusting inventory variances, 701/702 mvts. Using TCodes
-
When dragging a thumbnail from one place to another, the origional thumbmail ends up in other locations. Sometimes the same thumbnail covers up other thimbmails.
-
Https Problem - ClosedChannelException
Hello, I have a webservice that I deployed into the standalone OC4J. I then enabled https according to the instructions given in http://download.oracle.com/docs/cd/B25221_04/web.1013/b14429/configssl.htm ! When I'm calling the webservice via Firefox