xfs
[Top] [All Lists]

Re: [Fwd: lilo-xfs patch]

To: Derek James Witt <djw@xxxxxxxxxxxxxx>
Subject: Re: [Fwd: lilo-xfs patch]
From: Eric Sandeen <sandeen@xxxxxxx>
Date: 25 Mar 2002 15:53:04 -0600
Cc: Linux XFS <linux-xfs@xxxxxxxxxxx>
In-reply-to: <1017092300.2173.13.camel@xxxxxxxxxxxxxxxxxxxxxxxx>
References: <1017092300.2173.13.camel@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
hi Derek - 

Rather than parsing /etc/mtab, it would probably be better to look for
"XFSB" in the first 4 bytes of the target partition - that way you
_know_ the target has (or has had....) an xfs filesystem on it.

-Eric

On Mon, 2002-03-25 at 15:38, Derek James Witt wrote:

> From: Derek James Witt <djw@xxxxxxxxxxxxxx>
> To: Derek James Witt <djw@xxxxxxxxxxxxxx>
> Subject: lilo-xfs patch
> Date: 25 Mar 2002 15:26:32 -0600
> 
> Hey, everyone. I just hacked up a quick patch for lilo to behave
> correctly with XFS.  This just checks the file system type of the
> current root partition.  If XFS is detected, lilo aborts with an error.
> I also included a -F parameter to force XFS to install on XFS
> partitions. Let me know how this looks.
> 
-- 
Eric Sandeen      XFS for Linux     http://oss.sgi.com/projects/xfs
sandeen@xxxxxxx   SGI, Inc.


<Prev in Thread] Current Thread [Next in Thread>