Re: freespace left after partitioning
From: Trevor Hemsley (Trevor-Hemsley_at_no.spam.dial.pipex.com)
Date: 08/17/04
- Next message: Andreas Janssen: "Re: What is the max gigs for linux"
- Previous message: Mike Baroukh: "Re: Why do I need a raid controler driver ?"
- In reply to: Haines Brown: "freespace left after partitioning"
- Next in thread: Haines Brown: "Re: freespace left after partitioning"
- Reply: Haines Brown: "Re: freespace left after partitioning"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 17 Aug 2004 08:38:09 GMT
On Tue, 17 Aug 2004 02:57:18 UTC in comp.os.linux.hardware, Haines Brown
<brownh@teufel.hartford-hwp.com> wrote:
> I just partitioned a disk and it struck me as handy if I knew, in
> megabytes, just how much freespace was left on a disk outside its
> partitions.
>
> Yes, I could run fdisk on the disk, and with the p command display the
> total cylinders on the disk, subtract from it the end cylinder of the
> last partition, and multiply the difference by number of megabytes per
> cylinder as displayed by fdisk.
>
> But there's gotta be an easier way.
libretto:/tmp # fdisk /dev/hda
The number of cylinders for this disk is set to 2432.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): v
144833 unallocated sectors
-- Trevor Hemsley, Brighton, UK. Trevor-Hemsley@dial.pipex.com
- Next message: Andreas Janssen: "Re: What is the max gigs for linux"
- Previous message: Mike Baroukh: "Re: Why do I need a raid controler driver ?"
- In reply to: Haines Brown: "freespace left after partitioning"
- Next in thread: Haines Brown: "Re: freespace left after partitioning"
- Reply: Haines Brown: "Re: freespace left after partitioning"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|