lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200609262304.46101.rjw@sisk.pl>
Date:	Tue, 26 Sep 2006 23:04:45 +0200
From:	"Rafael J. Wysocki" <rjw@...k.pl>
To:	Andrew Morton <akpm@...l.org>
Cc:	Dave Jones <davej@...hat.com>, Pavel Machek <pavel@....cz>,
	LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH -mm 5/6] mm: Print first block offset for swap areas

On Tuesday, 26 September 2006 22:49, Andrew Morton wrote:
> On Tue, 26 Sep 2006 22:13:25 +0200
> "Rafael J. Wysocki" <rjw@...k.pl> wrote:
> 
> > On Tuesday, 26 September 2006 21:39, Andrew Morton wrote:
> > > On Sat, 23 Sep 2006 12:10:54 +0200
> > > "Rafael J. Wysocki" <rjw@...k.pl> wrote:
> > > 
> > > > In order to use a swap file with swsusp we need to know the offset at which
> > > > its swap header is located.  However, the swap header is always located in the
> > > > first page block of the swap file and it's quite easy to make sys_swapon() print
> > > > the offset of the swap file's (or swap partition's) first page block.
> > > 
> > > Why is this needed?  The swapfile's pathname is present in /proc/swaps, so
> > > an application can read that, do the FIBMAP and rewrite grub.conf without
> > > needing to parse dmesg?
> > 
> > Well, this is not needed, but it's useful if you have no such application and
> > want to set up things manually. ;-)
> 
> ick.  We need such an application (probably doable in a python script?). 
> Methinks that telling people to go poking in dmesg will simply delay the
> development and propagation of that application..

Okay, let's drop the patch, then.

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ