This is a discussion on "No-Uppercase" problem with CDROM is AIX 4.3.3 within the AIX Operating System forums, part of the Unix Operating Systems category; --> Hello ! For an SAP installation, we've got problems with CDROM (original SAP CDs !). We mount the CD ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hello ! For an SAP installation, we've got problems with CDROM (original SAP CDs !). We mount the CD with "mount /cdrom" as usual. For information, our /etc/filesystems is configured as below : /cdrom : dev = /dev/cd0 vfs = cdfs mount = true options = ro account = false All the files are in lowercase and we must copy the CD on hard-drive, rename files (in uppercase) to suceed in the installation. Do you have any idea ? Is there any invible option for the mount command ? Thanks in advance Fil |
| |||
| "Fil" <p.hery@free.fr> writes: >For an SAP installation, we've got problems with CDROM (original SAP CDs !). >We mount the CD with "mount /cdrom" as usual. .... >All the files are in lowercase and we must copy the CD on hard-drive, rename >files (in uppercase) to suceed in the installation. >Do you have any idea ? Is there any invible option for the mount command ? Mount has both a "nocase" and an "upcase" option you might try. The last time I needed this, I think upcase performed as advertised (all names converted to uppercase). Nocase did not work, so I ended up mounting the CD on my Mac and NFS exporting that to the AIX box, which did work. -- Dale Talcott, IT Research Computing Services, Purdue University aeh@quest.cc.purdue.edu http://quest.cc.purdue.edu/~aeh/ |
| |||
| aeh@quest.cc.purdue.edu (Dale Talcott) wrote in message news:<aeh.1059665317@quest.cc.purdue.edu>... > "Fil" <p.hery@free.fr> writes: > > >For an SAP installation, we've got problems with CDROM (original SAP CDs !). > >We mount the CD with "mount /cdrom" as usual. > ... > >All the files are in lowercase and we must copy the CD on hard-drive, rename > >files (in uppercase) to suceed in the installation. > > >Do you have any idea ? Is there any invible option for the mount command ? > > Mount has both a "nocase" and an "upcase" option you might try. The > last time I needed this, I think upcase performed as advertised (all > names converted to uppercase). Nocase did not work, so I ended up > mounting the CD on my Mac and NFS exporting that to the AIX box, which > did work. Not quite - AFAIK nocase and upcase were introduced with AIX 5L (especially because of this problem with SAP CD's). Question was 'bout 4.3.3 if I got the subject line right. Regards, Andreas |
| |||
| Thanks for your answer. Actually, we worked with 4.3.3 only ;-( Regards Fil "Andreas Schulze" <b79xan@gmx.de> a écrit dans le message de news: 5ee46f5c.0307312308.7b4c615c@posting.google.com... > aeh@quest.cc.purdue.edu (Dale Talcott) wrote in message news:<aeh.1059665317@quest.cc.purdue.edu>... > > "Fil" <p.hery@free.fr> writes: > > > > >For an SAP installation, we've got problems with CDROM (original SAP CDs !). > > >We mount the CD with "mount /cdrom" as usual. > > ... > > >All the files are in lowercase and we must copy the CD on hard-drive, rename > > >files (in uppercase) to suceed in the installation. > > > > >Do you have any idea ? Is there any invible option for the mount command ? > > > > Mount has both a "nocase" and an "upcase" option you might try. The > > last time I needed this, I think upcase performed as advertised (all > > names converted to uppercase). Nocase did not work, so I ended up > > mounting the CD on my Mac and NFS exporting that to the AIX box, which > > did work. > > Not quite - AFAIK nocase and upcase were introduced with AIX 5L > (especially because of this problem with SAP CD's). Question was 'bout > 4.3.3 if I got the subject line right. > > Regards, > Andreas |
| |||
| "Fil" <p.hery@free.fr> wrote in message news:<3f2a4938$0$19526$626a54ce@news.free.fr>... > Thanks for your answer. > > Actually, we worked with 4.3.3 only ;-( > > Regards > Fil > > "Andreas Schulze" <b79xan@gmx.de> a écrit dans le message de news: > 5ee46f5c.0307312308.7b4c615c@posting.google.com... > > aeh@quest.cc.purdue.edu (Dale Talcott) wrote in message > news:<aeh.1059665317@quest.cc.purdue.edu>... > > > "Fil" <p.hery@free.fr> writes: > > > > > > >For an SAP installation, we've got problems with CDROM (original SAP > CDs !). > > > >We mount the CD with "mount /cdrom" as usual. > ... > > > >All the files are in lowercase and we must copy the CD on hard-drive, > rename > > > >files (in uppercase) to suceed in the installation. > > > > >Do you have any idea ? Is there any invible option for the mount > command ? > > > > > > Mount has both a "nocase" and an "upcase" option you might try. The > > > last time I needed this, I think upcase performed as advertised (all > > > names converted to uppercase). Nocase did not work, so I ended up > > > mounting the CD on my Mac and NFS exporting that to the AIX box, which > > > did work. > > > > Not quite - AFAIK nocase and upcase were introduced with AIX 5L > > (especially because of this problem with SAP CD's). Question was 'bout > > 4.3.3 if I got the subject line right. > > > > Regards, > > Andreas I know this problem when you install SAP R/3 under AIX 4.3.3 I have used one of these script to over come this problem. If you wish you can try out. There are so many SAP R/3 CD, rather than mount 1 by 1. First I copied the CD on harddisk, then .... (1) Simple , quick #!/bin/ksh # Script to convert file name from small letter to CAPITAL letter for fname in `echo *` ; do bigname=`echo $fname | tr [a-z] [A-Z]` mv $fname $bigname done (2) extended version #!/bin/ksh # converts lowercase filenames to uppercase # First convert all directories from lowecase to UPPERCASE for i in `find . -type d -print` do OLD=$i NEW=$( echo $i|tr '[a-z]' '[A-Z]' ) if [[ $OLD != $NEW ]] then echo "$OLD -> $NEW" mv $OLD $NEW fi done # Now convert remaining files from lowercase to UPPERCASE for i in `find . -print` do OLD=$i NEW=$( echo $i|tr '[a-z]' '[A-Z]' ) if [[ $OLD != $NEW ]] then echo "$OLD -> $NEW" mv $OLD $NEW fi done Good Luck, VK |
| ||||
| Thanks ;-) "Vikrant" <icanhearyou@rediffmail.com> a écrit dans le message de news: d236b1b8.0308020232.14bdc2c@posting.google.com... > "Fil" <p.hery@free.fr> wrote in message news:<3f2a4938$0$19526$626a54ce@news.free.fr>... > > Thanks for your answer. > > > > Actually, we worked with 4.3.3 only ;-( > > > > Regards > > Fil > > > > "Andreas Schulze" <b79xan@gmx.de> a écrit dans le message de news: > > 5ee46f5c.0307312308.7b4c615c@posting.google.com... > > > aeh@quest.cc.purdue.edu (Dale Talcott) wrote in message > > news:<aeh.1059665317@quest.cc.purdue.edu>... > > > > "Fil" <p.hery@free.fr> writes: > > > > > > > > >For an SAP installation, we've got problems with CDROM (original SAP > > CDs !). > > > > >We mount the CD with "mount /cdrom" as usual. > > ... > > > > >All the files are in lowercase and we must copy the CD on hard-drive, > > rename > > > > >files (in uppercase) to suceed in the installation. > > > > > > >Do you have any idea ? Is there any invible option for the mount > > command ? > > > > > > > > Mount has both a "nocase" and an "upcase" option you might try. The > > > > last time I needed this, I think upcase performed as advertised (all > > > > names converted to uppercase). Nocase did not work, so I ended up > > > > mounting the CD on my Mac and NFS exporting that to the AIX box, which > > > > did work. > > > > > > Not quite - AFAIK nocase and upcase were introduced with AIX 5L > > > (especially because of this problem with SAP CD's). Question was 'bout > > > 4.3.3 if I got the subject line right. > > > > > > Regards, > > > Andreas > > I know this problem when you install SAP R/3 under AIX 4.3.3 > I have used one of these script to over come this problem. If you wish > you can try out. > There are so many SAP R/3 CD, rather than mount 1 by 1. First I > copied the CD on harddisk, then .... > > (1) Simple , quick > > #!/bin/ksh > # Script to convert file name from small letter to CAPITAL letter > for fname in `echo *` ; do > bigname=`echo $fname | tr [a-z] [A-Z]` > mv $fname $bigname > done > > (2) extended version > #!/bin/ksh > # converts lowercase filenames to uppercase > # First convert all directories from lowecase to UPPERCASE > for i in `find . -type d -print` > do > OLD=$i > NEW=$( echo $i|tr '[a-z]' '[A-Z]' ) > if [[ $OLD != $NEW ]] > then > echo "$OLD -> $NEW" > mv $OLD $NEW > fi > done > # Now convert remaining files from lowercase to UPPERCASE > for i in `find . -print` > do > OLD=$i > NEW=$( echo $i|tr '[a-z]' '[A-Z]' ) > if [[ $OLD != $NEW ]] > then > echo "$OLD -> $NEW" > mv $OLD $NEW > fi > done > > Good Luck, > VK |