Operating System - HP-UX
1829857 Members
2109 Online
109993 Solutions
New Discussion

'ls' command nomenclature

 
SOLVED
Go to solution
Randy Hagedorn
Regular Advisor

'ls' command nomenclature

Hi,
I have an installation cd-rom from AccuCorp for AccuCobol. When I do an 'ls' command to see what is on the disk, I see a ".;1" at the end of several files. Is this part of the file name or does it have some special meaning about the file.
e.g. /cdrom # ll
total 64
dr-xr-xr-x 1 4294967295 4294967295 6144 Mar 31 21:21 ARCHIVES
-r-xr-xr-x 1 4294967295 4294967295 1063 Feb 5 2002 ARCHLIST.;1
-r-xr-xr-x 1 4294967295 4294967295 14012 Feb 5 2002 INSTALL.;1
dr-xr-xr-x 1 4294967295 4294967295 6144 Mar 31 21:21 INSTINFO
dr-xr-xr-x 1 4294967295 4294967295 2048 Oct 15 2001 REDIST
-r-xr-xr-x 1 4294967295 4294967295 247 Mar 31 21:22 TRANS.TBL;1

Thanks in advance,
Dewy
4 REPLIES 4
Patrick Wallek
Honored Contributor
Solution

Re: 'ls' command nomenclature

This happens regularly with CDs.

Try this:

# umount /cdrom
# mount -r -o cdcase /dev/dsk/c?t?d0 /cdrom

# ll

Now the ;1 should disappear and the names should be in all lower-case rather than all CAPITAL letters.
Randy Hagedorn
Regular Advisor

Re: 'ls' command nomenclature

Patrick,
Thanks, you solved the problem and our installation for AccuCobol is working.

Dewy
Wodisch_1
Honored Contributor

Re: 'ls' command nomenclature

Hi Dewy,

looks like your CD-ROM is formatted the "RockRidge Extensions" way, so today the best thing is to install the patches PHKL_26448, PHCO_26449, and PHKL_26450. Then you can use the mount command as follows:

mount -F cdfs -o rr,ro /dev/dsk/cXtYdZ /cdrom

HTH,
Wodisch
Sajid_1
Honored Contributor

Re: 'ls' command nomenclature

hello,

an addition- The CD mount options will be provided with each CDs. So whenever you mount the CD, use the proper instructions. The -o cdcase option will be useful in almost all application installs:

# mount -F cdfs -o cdcase /dev/dsk/cxtydz /cdrom

But, when you mount any HP install CDs, DON'T use the -o cdcase option.

learn unix ..