From jsd@hudsucker.gamespot.com Thu Apr 29 10:15:16 1999
Return-Path: <jsd@hudsucker.gamespot.com>
Received: from hudsucker.gamespot.com (hudsucker.gamespot.com [206.169.18.74])
	by hub.freebsd.org (Postfix) with ESMTP id 32A7F14DE7
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 29 Apr 1999 10:15:14 -0700 (PDT)
	(envelope-from jsd@hudsucker.gamespot.com)
Received: (from jsd@localhost)
	by hudsucker.gamespot.com (8.9.2/8.9.1) id KAA22533;
	Thu, 29 Apr 1999 10:15:24 -0700 (PDT)
Message-Id: <199904291715.KAA22533@hudsucker.gamespot.com>
Date: Thu, 29 Apr 1999 10:15:24 -0700 (PDT)
From: jsd@gamespot.com
Sender: jsd@hudsucker.gamespot.com
Reply-To: jsd@gamespot.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: mount_cd9660 doesn't show rockridge filenames without -g
X-Send-Pr-Version: 3.2

>Number:         11387
>Category:       bin
>Synopsis:       mount_cd9660 doesn't show rockridge filenames without -g
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 29 10:20:01 PDT 1999
>Closed-Date:    Sat Jun 16 08:43:32 PDT 2001
>Last-Modified:  Sat Jun 16 08:46:23 PDT 2001
>Originator:     Jon Drukman
>Release:        FreeBSD 3.1-RELEASE i386
>Organization:
GameSpot, Inc.
>Environment:



>Description:

Rockridge format CDROMs contain additional information such as POSIX
filenames, uid/gid, mode bits, that isn't present with just plain ISO
9660 format.

I have an RR format CDROM that I got from a software vendor
(StoryServer from Vignette).  I tried to copy its contents to a remote 
machine but mount_cd9660 won't show the proper mixed-case filenames
unless I mount with the -g option, which also adds version numbers.
Copying the files to a remote machine obviously copies the version
numbers as well.  I solved my problem by writing a perl script which
renamed the problematic files, but there should be a way to mount the
CD that reveals the POSIX filenames without revealing the version
numbers.

>How-To-Repeat:

insert RR-format CDROM
mount_cd9660 /dev/cd0a /mnt

observe all lower case filenames

unmount and remount with

mount_cd9660 -g /dev/cd0a /mnt

observe mixed case filenames plus version numbers.

>Fix:
	
i think another option should be added that turns on the POSIX
filenames but not the version numbers.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: schweikh 
State-Changed-When: Sat Jun 16 08:43:32 PDT 2001 
State-Changed-Why:  
This appears to be fixed in -current. I have mdconfig'd a rock ridge 
iso file system as /dev/md3: 
root@hal9000:/mnt # mount_cd9660 /dev/md3 /mnt/cd3 
root@hal9000:/mnt/cd3/packages/All 1 # ls C* 
CHECKSUM.MD5 
root@hal9000:/mnt/cd3/packages/All # ls X* 
XFree86-aoutlibs-3.3.3.tgz      Xaw3d-1.5.tgz 
root@hal9000:/mnt/cd3/packages/All # ls -l X* 
-r--r--r--  1 root  wheel  692175 Apr 19 22:19 XFree86-aoutlibs-3.3.3.tgz 
-r--r--r--  1 root  wheel  331870 Apr 19 22:19 Xaw3d-1.5.tgz 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=11387 
>Unformatted:
