Samba is probably not the issue.  Although you *may* have to fiddle with the
samba config to get the results you want, depending on what you are trying
to do.

All samba does is make a unix filesystem available to DOS/Windows as if it
were native.  When reading via samba, it just serves up the unix content to
you byte for byte.  This means that files written by the unix system will be
in unix fileformat, but files written by DOS/Windows will be in DOS format.
The differences are the EOL (LF for unix; CRLF for DOS) for text files, and
binary data may be fnuxi'd (ie, byte-order reversed in 2-byte "words" ; I'm
not sure about this).

If you are writing via samba, then a couple of other things may apply.
There is a umask which will affect file access (permissions), and
owner/group identities for the file may be changed.

The upshot is this: if you read/write the data only from DOS/Windows, and
backup/restore only from unix, then you should be fine.  Neither side should
change the data format then.

-Keith

----Original Message----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Keith Johnson
Sent: Thursday, October 27, 2005 12:45 PM
To: [email protected]
Subject: RE: [U2] [UV] AIX COPY TO SAMBA DIRECTORY

> Garry,
> I am not 100% on this but I think SAMBA does not really have
> anything to
> do with it.  I have a VOC record that is named USR.LC.BIN
> 
> Its data looks like so:
> F1 DIR
> F2 /usr/lc/bin/
> F3 D_HOLD_            # I cheated here.  Normally when you make a
> file/dir you make it in side of the db (and it makes a real
> and working
> DICT.)  In any case I did not care about the dictionary items
> because I
> wanted to just use AE and ESEARCH to find scripts that I make for over
> all UNIX management of the system fast, and edit as needed.  + the dir
> already existed.  Thus I made the VOC by hand.
> 
> I use esearch all the time with this; I can find all of my
> systems vars
> in a flash etc.
> 
> In any case I have also used this to copy files (at the system level)
> and the system did not care one bit what kind of data was in
> it (hashed
> or text).  It copied them as records just the same.  If your SAMBA dir
> is readable from a file system point of view by the database you can
> treat it just like hold, ph, or savelists.  I would love to use Somba,
> but have yet to get it going on my box.  Thus I could be
> talking out my
> ear.  I hope not.  I hope I have helped.  -----Keith Johnson
> Lewis-Clark State College Lewiston, ID
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> [EMAIL PROTECTED] Sent: Monday, October 17, 2005 2:45 PM
> To: [email protected]
> Subject: [U2] [UV] AIX COPY TO SAMBA DIRECTORY
> 
> Is there a way to create a text file from a Universe database
> to a SAMBA
> directory?
> 
> I have tried the COPYI FROM PRODUCT TO CONV.DATA/CUST.TXT
> but this does
> not
> work since the CUST.TXT does not exist.
> 
> I want to copy selected Universe files to text file so that
> these can be
> burned to CD-ROM for an offsite storage.
> Management is clamoring for redundant backups and media in wake of
> Katrina and Rita storms.
> 
> Any suggestions?
> 
> Garry Smith
> Dir. Info Systems
> Charles McMurray Company
> V# 559-292-5782   F# 559-346-6169
> -------
> u2-users mailing list
> [email protected]
> To unsubscribe please visit http://listserver.u2ug.org/ -------
> u2-users mailing list
> [email protected]
> To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to