Ask a Question related to UNIX Programming, Design and Development.
-
Fletcher Glenn #1
Re: how to know the size of a raw disk partition ?
"Michael Korte" <michael.korte@materna.de> wrote in message
news:bgqeh0$38v$1@pentheus.materna.de...df only tells about mounted file systems. The OP wanted information> "Cho, Y.W." <ywcho@unisql.com> schrieb im Newsbeitrag
> news:O62Ya.71096$H%2.786405@news.bora.net...>> > I want to know the size of a raw disk partition. (It's mounted as
> > /dev/raw/raw33.)
> which OS ???
>
> try the command : df (Disc Free)
>
> parameter : -b = bytes
> else it shows the blocks...
>
> HTH
>
> Michael
>
>
about a raw partition. The only to get this information is to look at
the disk label. On SunOS, the command is prtvtoc.
--
Fletcher Glenn
to reply remove NOSPAM from my reply address
Fletcher Glenn Guest
-
Increasing partition size
Hi, I have a Windows Server 2003 server. I was wondering, if I add hard drive space to the server, can I increase the size of the C: drive... -
Maximum Partition Size
Does any one know what the maximum partition size is for Server 2003 (Standard and Enterprise) Back round: I am setting up a server to be used... -
partition size in windows 2000 server
hi, i have a w2k server ugraded from an NT4.0. I have partition my hard disk into two partitions C:\ and D:\. My c:\ is only 2.0 GB and the D:\ is... -
Disk Partition
Purchased a PC with 80 GB with Windows 2000 Professional installed. Hard disk is parttitoned to 50 - 50 (drives C and D). Been advised that it is... -
How to change partition number & block size
Hallo, I need some help. I'm looking for some utility that will change general partition number assigns, and block size on nonempty partition.... -
David Schwartz #2
Re: how to know the size of a raw disk partition ?
"Cho, Y.W." <ywcho@unisql.com> wrote in message
news:O62Ya.71096$H%2.786405@news.bora.net...
Try this:> I want to know the size of a raw disk partition. (It's mounted as
> /dev/raw/raw33.)
>
> stat() function seems not revealing it.
1) 'open' it
2) 'lseek' to the end.
3) look at the return value
DS
David Schwartz Guest



Reply With Quote

