Welcome, Guest. Please Login
 
  HomeHelpSearchLogin FAQ Radified Ghost.Classic Ghost.New Bootable CD Blog  
 
Page Index Toggle Pages: 1
Send Topic Print
gho v/s GHO (Read 4520 times)
blackeagle
Radmeister
**
Offline


Un rayo de sol

Posts: 56
Sweden


Back to top
gho v/s GHO
Aug 22nd, 2007 at 1:01am
 
Hello Ghost lovers,
                  Is there any difference between a file named x.gho and y.GHO as far as the file extensions are concerned? I've made lots of images and modifications (add new software and make newer images) to my laptop, but recently I saw that one early image which was made and saved on a FAT32 partition is named first.gho while a recent image which I made is named MIN.GHO (saved on the same FAT32 partition). Why the change to capitalization?

The only difference is that the early image was made from my windows system in my first primary partition. I used this image (a minimal windows system) to load it in another partition and with GDISK made that partition active (and deactivating my first partition). Then in the another partition, I created the MIN.GHO file after bringing in some changes by putting some new software and removing old ones. But both first.gho and MIN.GHO were created to the same FAT32 partition.


I've always made images using a Ghost boot floppy and always named my files in lower case. It seems that Ghost converts the lowercase to uppercase (for example I named the file as "min" and afterwards I saw the file in windows as MIN.GHO).


But whether it's a gho or GHO file, I have no problem in cloning it back.


One other related question:

Before using Ghost 2003, I was using Ghost v 7 (later than Ghost 2002 I suppose) and when creating images, the first one would be named GHO and the spanned remaining files as GHS.

But with Ghost 2003, I get just GHO-extension files like CDR00001.GHO, CDR00002.GHO (for example when burning directy to a DVD). And it works fine. Is it normal not to get GHS files?


PS: By the way, Ghost 2002 complains that it can't read the new file image of Ghost 2003.

Thanks a lot.
 

Stay Bright  
blackeagle
 
IP Logged
 

nbree
Ex Member




Back to top
Re: gho v/s GHO
Reply #1 - Aug 22nd, 2007 at 4:41am
 
blackeagle wrote on Aug 22nd, 2007 at 1:01am:
Is there any difference between a file named x.gho and y.GHO as far as the file extensions are concerned?

No, none. Due to the way that MS-DOS evolved from CP/M, the original filesystems were all upper-case and later OS's (starting with OS/2 and moving on to NT) added support for not just long filenames but lower-case characters, it was done in a case-insensitive way largely for backward compatibility.

Most such systems implemented this by making the systems "case-retentive" - file names would be stored in whatever form they were first created in, but all operations that required matching the names would perform case-folding. In the case of NTFS this is particularly well designed - one of the hidden metadata files contains the uppercasing table used by the operating system that created the filesystem, so that all software which mounts it perform the case-folding consistently.

Short filenames in FAT filesystems are all upper-case and since Ghost dates from a time when Microsoft's long-filename extensions were quite new and not widely supported, it has always tended to avoid creating long filename entries in FAT filesystems if it can possibly be avoided. The DOS network filesystem redirectors tend to create files with uppercase names on network drives too.

The main point is that virtually nothing will care about the filename case.

Quote:
But with Ghost 2003, I get just GHO-extension files like CDR00001.GHO, CDR00002.GHO (for example when burning directy to a DVD). And it works fine. Is it normal not to get GHS files?

This is a specific thing for optical media, because whoever did the initial work for CD writing (initially done I believe for Plextor, who licensed Ghost for a product called CD-ResQ) decided to name things this way. This was I suspect some of the earliest work for images spread across multiple files - even though the entire rest of Ghost was retrofitted for spanning using much better code and produce files with a .GHS extension instead the CD code was left completely alone for backward compatibility.

We take backward compatibility very seriously. Current Ghost can still restore Ghost images back to at least version 3, which was released over a decade ago.

Quote:
PS: By the way, Ghost 2002 complains that it can't read the new file image of Ghost 2003.

And Ghost 2003 doesn't understand all of the extensions of current real Ghost either. Forward compatibility is an entirely different thing to backward compatibility, at least if you want newer versions to have new features.
  • [ Actually, if you dig really deep in the NT Native API, support for case-sensitive operations is present for alternative operating systems written on top of it. NT was designed to totally support POSIX.1 (including case sensitivity, hard links and all that) and a POSIX subsystem was a supported option for NT for a long time. That said, very few POSIX applications really require case-sensitivity and for as long as I can remember there has been discussion of pathconf() being able to query the filesystem preferences. ]
  •  
     
    IP Logged
     
    blackeagle
    Radmeister
    **
    Offline


    Un rayo de sol

    Posts: 56
    Sweden


    Back to top
    Re: gho v/s GHO
    Reply #2 - Aug 22nd, 2007 at 9:05am
     
    Hi, thanks for all the detailed info.

     

    Stay Bright  
    blackeagle
     
    IP Logged
     
    Page Index Toggle Pages: 1
    Send Topic Print