# ls /mnt/lacie/LMT
# cp 00000013.tar.Z* /mnt/lacie/LMT
# ls /mnt/lacie/LMT
00000013.tar.Zaa 000000~1.ZAA
# touch x.y.z.p
# mv -f x.y.z.p /mnt/lacie/LMT
# ls /mnt/lacie/LMT
00000013.tar.Zaa 000000~1.ZAA XYZ~1.P x.y.z.p
# rm /mnt/lacie/LMT/000000~1.ZAA
# ls /mnt/lacie/LMT
00000013.tar.Zaa XYZ~1.P x.y.z.p
# ls -l /mnt/lacie/LMT
total 566
-rwxrwxrwx 1 root root 9272296 Dec 21 11:23
00000013.tar.Zaa
-rwxrwxrwx 1 root root 0 Dec 21 11:25 XYZ~1.P
-rwxrwxrwx 1 root root 0 Dec 21 11:24 x.y.z.p
# touch x.y.z.p
# mv -f x.y.z.p /mnt/lacie/LMT
# ls -l /mnt/lacie/LMT
total 566
-rwxrwxrwx 1 root root 9272296 Dec 21 11:23
00000013.tar.Zaa
-rwxrwxrwx 1 root root 0 Dec 21 11:25 XYZ~2.P
-rwxrwxrwx 1 root root 0 Dec 21 14:12 x.y.z.p
#
Anybody know a solution to this or is it a bug? Otherwise the script
I'm working on will need a mecahnism for deleting such entries.
--
David Fosdike
IT Consultant
Adelaide, Australia.
david.fosdike at the google mail service (you know the one!)
And why are you running UNIXware? Can you put it on a Linux system and
make it shareable via Samba? Seriously, SCO is bankrupt and in
receivership, and seems to lack funds for upgrading their existing
products. And their previous president, before he was fired by the
bankruptcy receiver, had planned to drop the server market and go to
mobile devices. They probably should not be considered for server
applications if you can avoid it.
Which UNIXware are you running? Like I said 7.1.4 MP4 (the latest)
mount options in use? mount -F dosfs /dev/dsk/c3b0t0d0p0 /mnt/lacie
dosfs is the only windows mountable disk FS see:
http://uw714doc.sco.com/en/FS_manager/fsC.fstypes.html
Unixware cannot detect NTFS.
And why are you running UNIXware? I'm not - my client is. It's a
legacy system I am setting up DR for. Personally I would not touch
unixware for technical reason. I have just spent 50 hours writing
scripts to get round the inadequacy of the system which I could have
done with a single command in Linux!
Can you put it on a Linux system and make it shareable via Samba? If
only...
SCO is actually in Chapter 11 Bankruptcy protection and planning to
trade out. Although they continue to make losses their net worth is
growing! My client is well aware of the frailty of the system and is
planning to move once their application is ported to Linux.
--
Morning David,
I would suggest that you try the mtools package to do your
dos file manipulation on UnixWare 7.1.4. See details below.
Regards,
John
MTools DOS utilities for UnixWare 7
=====================================
REQUIREMENTS: UnixWare 7.1.4 with Maintenance Pack 3 or later
DOWNLOAD: ftp://ftp2.sco.com/pub/skunkware/uw7/Packages/mtools-3.9.11.pkg
INSTALLATION: Download the pkgadd datastream mtools-3.9.11.pkg
As root:
# cd <location of download>
# pkgadd -d `pwd`/mtools-3.9.11.pkg all
USAGE: MTools version 3.9.11 utilities can be found in /usr/bin
The MTools utilities can be used to read, write, format, list,
copy, move, and otherwise access MS-DOS files from your
SCO UnixWare 7 system.
Manual pages for the MTools utilities are included. To view
these
manual pages execute, for example, the command:
# man mtools
Additional information on MTools can be found at
http://mtools.linux.lu/
I can vouch for this from various UNIX and Linux environments for many
years. It's much, much faster than attempting to mount and manipulate
DOS filesystems.
Thanks - I'll have a lookt at that.
--
I eventually overcame the problem using GNU tar and multi-file output
with a little bit of scripting which got me away from the need for
long, convoluted file names. GNU save the day!
David
PS I also installed bash at the same time - instant command recall - my
productivity doubled!
--