[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Fwd: lilo-xfs patch]
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@flinthills.com>
> To: Derek James Witt <djw@flinthills.com>
> 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@sgi.com SGI, Inc.