lkml.org 
[lkml]   [2002]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] [2.5.45] Extended /proc/partitions


On Sat, 2 Nov 2002, Petr Baudis wrote:

> Hello,
>
> this patch (against 2.5.45) extends contents of /proc/partitions by starting
> offset of each partition. This can be terribly useful if you (or someone who
> then passed you the computer for a repair) by some mistake over-dd'd the
> partition table on a disk, but the system is still up. I know that you can also
> dig this out by some ioctl()s, but this can make life a lot easier for those
> who don't know C or can't dig the ioctl codes from the kernel source code.
>
> Note that it's possibly totally flawed (I don't know anything about this
> piece of code), but it looks to work ok.

It's already exported in files in driverfs. No need to duplicate in
/proc/partitions.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:30    [W:0.068 / U:0.984 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site