public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: "Stefan Völkel" <stefan.voelkel@millenux.com>
To: SCSI Mailing List <linux-scsi@vger.kernel.org>
Cc: Heiko Carstens <Heiko.Carstens@de.ibm.com>
Subject: Patch: s390 root on scsi disc
Date: Sat, 19 Jun 2004 16:13:48 +0000	[thread overview]
Message-ID: <1087661628.26436.30.camel@localhost> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 824 bytes --]

Hi,

the attached patch adds the ability to pass an initial zfcp scsi device
to the kernel. This enables us to have / on a scsi disc.

This is no "scsi only system" patch as you still need a small minidisk
that contains the kernel. Our typical setup looks like this:

        /	/dev/sda1
        /boot	/dev/dasda1
        
With this patch we are able to preserve our rare DASD space by having
most of the data on a cheap scsi disc in our JBOD.

regards
	Stefan
-- 
Stefan Völkel                            stefan.voelkel@millenux.com
Millenux GmbH                              mobile: +49.170.79177.17
Lilienthalstraße 2                          phone: +49.711.88770.300
70825 Stuttgart-Korntal                       fax: +49.711.88770.349
     -= linux without limits -=- http://linux.zSeries.org/ =-

[-- Attachment #1.2: zfcp_root.diff --]
[-- Type: text/x-patch, Size: 583 bytes --]

--- zfcp_aux.c.orig	2004-06-19 16:01:25.000000000 +0000
+++ zfcp_aux.c	2004-06-19 16:00:01.000000000 +0000
@@ -146,6 +146,17 @@
 module_param(flags_dump, uint, 0);
 #endif
 
+#ifndef MODULE
+/* remember kernel boot time parameter */
+static int __init zfcp_device(char *str)
+{
+	device = str;
+	return 1;
+}
+
+__setup("zfcpdevice=", zfcp_device);
+#endif
+
 /****************************************************************/
 /************** Functions without logging ***********************/
 /****************************************************************/

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

             reply	other threads:[~2004-06-19 14:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-19 16:13 Stefan Völkel [this message]
2004-06-19 14:27 ` Patch: s390 root on scsi disc Christoph Hellwig
2004-06-19 16:39   ` Stefan Völkel
2004-06-19 14:52     ` Christoph Hellwig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1087661628.26436.30.camel@localhost \
    --to=stefan.voelkel@millenux.com \
    --cc=Heiko.Carstens@de.ibm.com \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox