If you are upgrading from LM/U to AS/U, files stored on LM/U
shares from MS-DOS and Windows for Workgroup 3.11 clients with European characters
will not be accessible from AS/U. This is due to the fact that LM/U
stored filenames in the client codepage (PC850 for German), while AS/U
stores filenames in ISO8859-1 codeset.
To make these files accessible, you must execute the asu_pcuxconv script after
the migration to AS/U on all directories and files with European characters
in their names. The following example demonstrates usage of the
script to convert files saved from clients running in PC850 codepage to
an LM/U share into ISO8859-1 codeset, thus usable after migration
to AS/U.
To convert a directory (and all subdirectories) from LM/U
PC850 codeset to AS/U ISO8859-1 codeset, do the following:
Save a copy of the directories to
be converted
# tar cvf /tmp/save.tar /home/german_user
Stop the AS/U server
# net stop server
Set the shell locale to that which AS/U runs under.
For German, it is de_DE.iso88591, for example.
# export LANG=de_DE.iso88591
Convert directories from LM/U PC850 to AS/U ISO8859,
and save a copy of the logfile in /tmp/logfile
# asu_pcuxconv -vs /home/german_user 2>&1 | tee /tmp/logfile
Start the AS/U server and verify correctness via
MS-DOS client
# net start server
If all is correct, accept the conversion:
# asu_pcuxconv -A /home/german_user 2>&1 | tee -a /tmp/logfile
If all is not correct, you may reverse the conversion operation:
# asu_pcuxconv -R /home/german_user 2>&1 | tee -a /tmp/logfile
Or alternatively, restore from backup
# tar xvf /tmp/save.tar
You may also execute asu_pcuxconv with
the -p (preview flag) to see what the script will do.
No changes will be made to the specified files and directories.
You may also combine the -A flag with the -s call.
For more information about asu_pcuxconv and
parameters, execute:
# asu_pcuxconv -h