🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.os.hp-ux
Article #54

Re: CD-ROM

#54
From: Wojciech Myszka
Date: Tue, 18 Feb 1997 21:07
111 lines
5264 bytes
Artur Wroblewski <arturwro@ii.uni.wroc.pl> wrote in article
<5ec0a5$t6r@sun1000.pwr.wroc.pl>...
|   Czesc!!!
|  Mam pewien problem z CD-ROMem na HP-UX 10.1. Otoz kopiujac z CD
| zalozmy plik "aaaa.aaa" na dysk, otrzymuje plik o nazwie
| "aaaa.aaa;1".
| Jak zmusic HP, zeby nie dodawal nic do nazwy pliku po (podczas?)
| kopiowania z CD?
  ---
  Tylko podczas kopiowania? A co widac po wydaniu polecenia ls -l
  /cdrom? Tez sa?

  Taki jest standard zapisu na CD. Fakt, ze wiele firm "lamie" ten
  standard i po zamontowaniu przedstawia wszystkie pliki pod innymi
  nazwami. Sam HP natomiast swoje plyty CD (na przyklad z
  oprogramowaniem) produkuje niezgodnie ze standardem...

  Tyle komentarza.

  Jest cos takiego co sie nazywa comp.sys.hpux FAQ (ca co miesiac
  pojawia sie nowa wersja na grupie comp.sys.hpux). Staram sie, aby w
  miare aktualna kopia znajdowala sie w
  http://www.immt.pwr.wroc.pl/export_hp/faq/ Zapraszam do
  studiowania.

  Wyjatek z tego FAQ:
----------------------
Subject: 9.20 Why are CDROM filenames all UPPERCASE with ;1 attached?

   The filenames appear as UPPERCASE filenames with ;1 versions
   numbers in HP-UX.  That's because HP-UX only supports ISO 9660 
   and does not translate the all UPPERCASE 8.3 character filenames 
   to lowercase nor does it remove the ;version-numbers as they are 
   stored in exactly this manner on the CDROM.

   These names, while perfectly acceptable to HP-UX as filenames
   (albeit a bit inconvenient since most shells see the ; as a
   command separator), can be a problematic for software not written
   to handle the CDROM native filename format.  Many other vendor
   offer switches to perform the lowercase and version number 
   removal but HP-UX does not.

   There are 3 workarounds:

     a. Write a script (or use cdrutil.ksh available at many archive
        sites) to perform the translation by creating a series of 
        symbolic links.  These links would have to be created and 
        removed after mount and umount commands, respectively.  Some 
        CDROMs may require 15-45 minutes to complete this task.

     b. Get the patch:

             PHKL_6075: s700 at 9.03, 9.05, 9.07 (no 9.01 or earlier)

             PHKL_6272: s700: 10.01

             PHKL_6076: s700: 10.00

             PHKL_6338: s800: 9.04 (none prior to 9.04)

             PHKL_6077: s800: 10.00

             PHKL_6273: s800: 10.01


        These add a modification to the cdfs code which can translate
        all mounted CDROMs (not selectively) to accomplish the same
        task. This patch adds no additional filesystem support such 
        as POSIX or the RockRidge Extensions.  This patch can only 
        be activated by modifying the kernel with adb.  An example 
        of how to modify the 9.xx kernel is shown in the patch.  Note

        that this patch affects every mounted CDROM in the system at
        the same time.

     c. Through an agreement with Young Minds, Inc, the Portable File
        System (PFS) code has been made available to 700 and 800
        series systems running 9.xx and 10.xx.  This code 
        accomplishes not only the lowercase translation and version
        removal (both are separate options and can be specified on
        or off for each CDROM), but also provides RockRidge 
        Extensions (long filenames, ownerships, permissions).  
        This code is available on the Nov-Dec 1995 application CDROM
        and tapes for the 700's, and on the Jan-Feb 1996 Application
        CDROM/tapes.  The media can be purchased at any time for a
        nominal fee.

        PFS handles exporting of CDROM filenames as well as importing
        these names from other HP-UX systems, and is the most
        versatile solution to the CDROM compatibility problems in 
        HP-UX.

Thanks to Bill Hassell (blh@atl.hp.com)

------------------------------
I na koniec kilka moich slow komentarza. Te patche to raczej "hacki"
jadra, ktore zmieniaja zachowanie systemu w sposob _globalny_ - nazwy
na wszystkich CD-ROMach sa przekodowywane...

PFS (mozna jakas, mam nadzieje, ze ciagla aktualna wersje znalezc w
ftp://ftp.immt.pwr.wroc.pl/pub/hpux/) nie pozwala na "eksportowanie"
CD-ROMow via NFS. Moze byc przydatny w przypadku niektorych plyt -
bodaj AUTO CAD jest jedna z nich (nie pamietam w ktorym wydaniu).
Jest ponoc niezbedny zeby zainstalowac Mathematice w wersji 3.

Pozdrowienia i przepraszam za dlugosc.

Wojtek

PS Jak bedziesz mial klopoty ze sciagnieciem patchy - daj znac, moge
miec, zwlaszcza w wersji na s700.
Technical Details
Message-ID: <01bc1ddf$959650a0$LocalHost@myszka.ppp.wcss.wroc.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!news.icm.edu.pl!ict.pwr.wroc.pl!not-for-mail
References: <5ec0a5$t6r@sun1000.pwr.wroc.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!news.icm.edu.pl!ict.pwr.wroc.pl!not-for-mail
From: "Wojciech Myszka" <W.Myszka@immt.pwr.wroc.pl>
Newsgroups: pl.comp.os.hp-ux
Subject: Re: CD-ROM
Date: 18 Feb 1997 21:07:50 GMT
Organization: Technical University of Wroclaw, Poland
Lines: 112
Message-ID: <01bc1ddf$959650a0$LocalHost@myszka.ppp.wcss.wroc.pl>
References: <5ec0a5$t6r@sun1000.pwr.wroc.pl>
NNTP-Posting-Host: myszka.slip.wcss.wroc.pl
Mime-Version: 1.0
X-Newsreader: Microsoft Internet News 4.70.1155
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit