From: Kevin C. <kev...@us...> - 2004-08-31 14:00:38
|
On Tuesday 31 August 2004 8:29 am, susmitha jasti wrote: > Hi, > I added New harddisk hdb(40 GB). > While i saw with > q:s,d=hdb > for hdb_freespace = 37.27 GB. > for hdb_mbr = 31.50KB > totally =37.30(GB) comes. > where is the rest of the space. Your new disk is not 40 GB. The 40 GB that is reported on the box or packaging that it came in is the number that the marketting department uses to make the disk look bigger than it actually is. By their calculations, 1 GB == 1 billion bytes. But computers see 1 GB as 1024 MB, and 1 MB as 1024 kB, and 1 kb as 1024 bytes. So if we take the number of bytes reported on the package for your new disk and convert it to real GB, we get: 40 * 1000 * 1000 * 1000 / (1024 * 1024 * 1024) = 37.25 GB > What is the memory management style that evms uses? I don't quite understand this question. EVMS just uses malloc/calloc and free for dynamic memory management, just like almost all C programs in Linux. > Shall we emulate the operation of the EVMS > partitioning? Again, I'm not sure what you're asking. What do you mean by emulate? EVMS will do disk partitioning for you. Based on the above info, you have already assigned the DOS segment manager to the disk (or else it came that way). So now you simply need to create segments (i.e. partitions) using the freespace. Using evmsgui or evmsn, you can select that freespace segment in the "Segments" panel, and choose "Create segment" from the pop-up menu, and then enter your choices for the various options. -- Kevin Corry kev...@us... http://evms.sourceforge.net/ |