Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Apr 1999 09:24:54 -0700
From:      Jon Drukman <jsd@gamespot.com>
To:        Doug White <dwhite@resnet.uoregon.edu>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: mount_cd9660 is case insensitive without -g
Message-ID:  <3725E4D6.F56B6801@gamespot.com>
References:  <Pine.BSF.4.03.9904261722170.6951-100000@resnet.uoregon.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Doug White wrote:
> 
> On Mon, 26 Apr 1999, Jon Drukman wrote:
> 
> > i have a software install CD (iso9660 format) with mixed-case
> > filenames.  the only option i have found that makes the uppercase
> > filename letters show up is -g, which also adds the version numbers.
> >
> > that wouldn't be a problem except, for baroque reasons, i have to copy
> > the install CD structure to a remote machine to use it, and it copies
> > the version numbers.
> 
> Er, the ISO9660 format is case-insensitive and 8.3 filename limited to
> cater to the FAT crowd. If you're copying from UNIX machines, option on
> the RockRidge extensions (with the -R option?). This preserves case and
> preserves symlinks, too.

you're right, i was somewhat inaccurate above.  (the disc is in high
sierra (aka rockridge) format, which is an extension to the iso 9660
format.)

anyway, there is no -R option to mount_cd9660.  there is -r, but that
*disables* the rockridge extensions.

> If you want mixed-case for Windows machines, you'll have to find a
> Joilet-enabled mkisofs.

it's not Joliet, it's High Sierra.  anyway, here's a transcript which
may explain my problem better:

hudsucker# mount_cd9660 -R /dev/cd0a /mnt
mount_cd9660: illegal option -- R
usage: mount_cd9660 [-egrv] [-o options] [-s startsector] special node

hudsucker# mount_cd9660 -r /dev/cd0a /mnt
hudsucker# ls /mnt
glinstall*              libvgnvalidate.so*      ssinstall.sh*
grouplens_tar.z*        partitions*             vgn_apache1.2.6.tar*
install.sh*             solaris/
hudsucker# umount /mnt

hudsucker# mount_cd9660 -g /dev/cd0a /mnt
hudsucker# ls /mnt
glinstall;1*            libvgnValidate.so;1*    ssinstall.sh;1*
grouplens_tar.Z;1*      partitions;1*           vgn_apache1.2.6.tar;1*
install.sh;1*           solaris/

note how the correct case shows up with -g, but also the version
numbers.  i want the case but not the version numbers.  apparently it's
impossible, and there is a TODO note in the source directory for
mount_cd9660 which suggests that as a possible future enhancement. 
guess i'll file a bug report asking for it.

-- 
Jon Drukman
Director of Web Systems
GameSpot Inc.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3725E4D6.F56B6801>