- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: truncate file names
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2003 06:29 AM
07-31-2003 06:29 AM
truncate file names
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2003 06:37 AM
07-31-2003 06:37 AM
Re: truncate file names
How was the CD burned and how are you mounting it?
What depot software is it and if it was gzipped or a shell archive, did you extract it before burning?
If you unmount the cd and mount it using the "-o cdcase" option is it better?
Try this....
# umount /cdrom
# mount -o cdcase /dev/dsk/cXtXdX /cdrom
# swlist -s /cdrom/one_of_the_depot_files
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2003 06:38 AM
07-31-2003 06:38 AM
Re: truncate file names
Take a look at these answers,
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xac692d88ce9cd711abdc0090277a778c,00.html
Hope it helps,
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2003 07:12 AM
07-31-2003 07:12 AM
Re: truncate file names
--8<---
My CD-ROM doesn't show what I expect
It can be an Oracle CD-ROM, or a CD created on Windows, or whereever they used Rock Ridge extensions. Long names are truncated or show upper case only. Oracle tells you to use pfs_mount.
Do not use pfs_mount!. Install the Rock-Ridge extension patches instead and never worry about these problems. For HP-UX 11.00 you will need forget all about PFS and install PHKL_26448 (now superceded by PHKL_28060), PHCO_26449, and PHKL_26450 to have HP-UX recognize those file systems automatically on mount! For HP-UX 11i you need PHCO_25841, PHKL_26269, and PHKL_25760.
No need thereafter to use -o cdfs to mount anymore, provided you enter the CD drive in /etc/fstab like this:
/dev/cd0 /cdrom cdfs ro,rr,noauto 0 0
-->8---
Enjoy, have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2003 07:22 AM
07-31-2003 07:22 AM
Re: truncate file names
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2003 07:29 AM
07-31-2003 07:29 AM
Re: truncate file names
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2003 11:44 AM
07-31-2003 11:44 AM
Re: truncate file names
One option
Have you got an other unix machine in this network ?? Try nfs mount it on your server.
Last option and I never done this myself !!!!!
Have you got a pc connected to your server ?
If Yes put the whole cdrom in a directory on windows, winzip it (classic) choose name to be C:\tmp\1020.gz
create on your server a filesystem big enough to hold the cdrom+zipfile let say tmp.
download and install on your hpux gzip
http://hpux.connect.org.uk/ftp/hpux/Gnu/gzip-1.3.3/gzip-1.3.3-sd-10.20.depot.gz
from your pc
enter a command box
ftp ipadres_of_server
login: root
passwd:
bin
lcd tmp
cd tmp
put 1020.gz
quit
login to your hpux server
cd /tmp
# /usr/local/bin/gunzip 1020.gz
and sea if you are a lucky man !!
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2003 01:17 PM
07-31-2003 01:17 PM
Re: truncate file names
And ... a complete X client *and* server for free
install samba on your hp-ux machine and with the richt shares, you can just
pc_box /tmp > cp very_long_name_with-strange-version.numbers.1.13_a.sd.depot.gz //your_hpux_box/share/tmp/
Enjoy, have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2003 01:16 PM
08-01-2003 01:16 PM
Re: truncate file names
Cecil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2003 09:25 PM
08-22-2003 09:25 PM
Re: truncate file names
maybe this will help out.
be sure to save the files as text,
not html files.
(with no browser, I doubt if this is an issue)
before you burn the cd,
change the file names to a format of
8characters.3characters, i.e.
abcdefgh.123
(write down the long names
if your wanting to use them later)
mount the cd on your unix system using
the cdcase option
now you should be able to do a find on the
cd mount directory and see the file names
just fine.
being these are files saved on a winduhs
system, they don't have unix newlines.
So, you'll have to do dos2ux on the files.
dos2ux cdrom/file > /tmp/newfile
#use the saved long name from above if you wish
do the install using the /tmp/newfile.