logo       


[SSI] openssi/distro-pkgs/redhat/mkinitrd mkinitrd,1.1.3.1.2.10,1.1.3.1.2.1: msg#00124

Subject: [SSI] openssi/distro-pkgs/redhat/mkinitrd mkinitrd,1.1.3.1.2.10,1.1.3.1.2.11
Update of /cvsroot/ssic-linux/openssi/distro-pkgs/redhat/mkinitrd
In directory sc8-pr-cvs1:/tmp/cvs-serv25101/mkinitrd

Modified Files:
      Tag: OPENSSI-RH
        mkinitrd 
Log Message:
M openssi/distro-pkgs/redhat/mkinitrd/mkinitrd
        Fixed to strip "node=" from mount options to allow base initrds to
        work. Modified to allow "root=LABEL" and "root=UUID" to work. (This
        may turn out to be temporary because of Dave's work.)
M openssi/distro-pkgs/redhat/mkinitrd/nash/nash.c
        Add hooks for parsing "UUID=". (The support was mostly already in
        place, just a couple of ifs needed to be added.)
M openssi/distro-pkgs/redhat/specs/mkinitrd.spec
        Bump revision.


Index: mkinitrd
===================================================================
RCS file: 
/cvsroot/ssic-linux/openssi/distro-pkgs/redhat/mkinitrd/Attic/mkinitrd,v
retrieving revision 1.1.3.1.2.10
retrieving revision 1.1.3.1.2.11
diff -C2 -d -r1.1.3.1.2.10 -r1.1.3.1.2.11
*** mkinitrd    31 Oct 2003 20:32:53 -0000      1.1.3.1.2.10
--- mkinitrd    16 Dec 2003 02:52:56 -0000      1.1.3.1.2.11
***************
*** 628,639 ****
            exit 1
        fi
-     # OpenSSI currently requires a real device name for rootdev
-     elif [ -n "$ssi_boot" ]; then
-       rootdev=$(mount | awk '{ if ($3 == "/") { print $1; }}')
      fi
      
      rootfs=$(awk '{ if ($1 !~ /^[ \t]*#/ && $2 == "/") { print $3; }}' $fstab)
!     rootopts=$(awk '{ if ($1 !~ /^[ \t]*#/ && $2 == "/") { print $4; }}' 
$fstab)
!     
  # in case the root filesystem is modular
      findmodule -${rootfs}
--- 628,635 ----
            exit 1
        fi
      fi
      
      rootfs=$(awk '{ if ($1 !~ /^[ \t]*#/ && $2 == "/") { print $3; }}' $fstab)
!     rootopts=$(awk '{ if ($1 !~ /^[ \t]*#/ && $2 == "/") { 
gsub("(,|^)node=[^,]*", "", $4); gsub("^,", "", $4); print $4; }}' $fstab)    
  # in case the root filesystem is modular
      findmodule -${rootfs}
***************
*** 812,815 ****
--- 808,812 ----
      inst `which rmdir` "$MNTIMAGE/bin/"
      ln -s halt $MNTIMAGE/bin/reboot
+     inst /sbin/nash "$MNTIMAGE/bin/nash"
  else
      inst /sbin/nash "$MNTIMAGE/bin/nash"
***************
*** 984,988 ****
      
  elif [ $cfs_boot = "1" ]; then
-     cpdev $rootdev
      cat >> $RCFILE <<EOF
  echo Mounting root in linuxrc
--- 981,984 ----
***************
*** 991,997 ****
  if [ \$? -ne "0" ]
  then
      # Get root device name from clustertab for specific node
      # to allow a multi-path disk to be mounted by whomever is up first.
!     cfs_mount -r $rootfs $rootdev /sysroot
  
      if [ \$? -ne "0" ]
--- 987,995 ----
  if [ \$? -ne "0" ]
  then
+     echo Creating root device
+     echo mkrootdev /dev/root | nash --quiet --force
      # Get root device name from clustertab for specific node
      # to allow a multi-path disk to be mounted by whomever is up first.
!     cfs_mount -r $rootfs /dev/root /sysroot
  
      if [ \$? -ne "0" ]




-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click


Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
encryption.gpg....    ietf.rfc822/199...    freebsd.devel.i...    lang.haskell.li...    mail.squirrelma...    web.zope.plone....    yellowdog.gener...    text.xml.xalan....    recreation.phot...    kde.devel.educa...    hardware.bus.ca...    printing.ghosts...    voip.peering/20...    assembly/2006-0...    org.user-groups...    culture.interne...    network.i2p/200...    boot-loaders.ya...    xfree86.render/...    qnx.openqnx.dev...    jakarta.velocit...    user-groups.pal...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe