All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Millan <rmh@aybabtu.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: grub-fstest: debug tool for filesystem driver
Date: Mon, 28 Jan 2008 11:45:16 +0100	[thread overview]
Message-ID: <20080128104516.GA323@thorin> (raw)
In-Reply-To: <ca0f59980801050411k15fcb7cye5c83d9d7bc534b2@mail.gmail.com>

On Sat, Jan 05, 2008 at 08:11:21PM +0800, Bean wrote:
> diff --git a/conf/i386-pc.rmk b/conf/i386-pc.rmk
> index 2638ee5..a25dd76 100644
> --- a/conf/i386-pc.rmk
> +++ b/conf/i386-pc.rmk
> @@ -59,6 +59,9 @@ sbin_UTILITIES = grub-setup grub-mkdevicemap grub-probe
>  ifeq ($(enable_grub_emu), yes)
>  sbin_UTILITIES += grub-emu
>  endif
> +ifeq ($(enable_grub_fstest), yes)
> +bin_UTILITIES += grub-fstest
> +endif
> 
>  # For grub-mkimage.
>  grub_mkimage_SOURCES = util/i386/pc/grub-mkimage.c util/misc.c \
> @@ -121,6 +124,18 @@ grub_emu_SOURCES = commands/boot.c commands/cat.c
> commands/cmp.c	\
> 
>  grub_emu_LDFLAGS = $(LIBCURSES)
> 
> +# For grub-fstest.
> +util/grub-fstest.c_DEPENDENCIES = grub_fstest_init.h
> +grub_fstest_SOURCES = util/grub-fstest.c util/hostfs.c util/misc.c 	\
> +	kern/file.c kern/device.c kern/disk.c kern/err.c kern/misc.c	\
> +	disk/host.c disk/loopback.c commands/hexdump.c io/gzio.c	\
> +	commands/blocklist.c fs/fat.c fs/ext2.c kern/parser.c		\
> +	kern/partition.c partmap/pc.c partmap/apple.c partmap/gpt.c 	\
> +	fs/ufs.c fs/minix.c fs/hfs.c fs/jfs.c fs/ntfs.c kern/fs.c	\
> +	kern/env.c fs/fshelp.c fs/xfs.c fs/affs.c fs/sfs.c fs/hfsplus.c	\
> +	fs/ntfscomp.c fs/iso9660.c fs/cpio.c disk/lvm.c disk/raid.c	\
> +	grub_fstest_init.c
> +
>  # Scripts.
>  sbin_SCRIPTS = grub-install
>  bin_SCRIPTS = grub-mkrescue

Can we move this to common.rmk ?  AFAICT, there's nothing i386-pc-specific about
this.

As for the list of filesystems, please reuse the filesystem chunk used on other
commands;  this will improve readability, ensure there are no missing components
(as it has happened before), and overall improve maintainability:

	\
	fs/affs.c fs/cpio.c fs/ext2.c fs/fat.c fs/hfs.c         \
	fs/hfsplus.c fs/iso9660.c fs/jfs.c fs/minix.c           \
	fs/ntfs.c fs/ntfscomp.c fs/reiserfs.c fs/sfs.c          \
	fs/ufs.c fs/xfs.c                                       \
	\

-- 
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call… if you are unable to speak?
(as seen on /.)



  reply	other threads:[~2008-01-28 10:47 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-02 17:11 grub-fstest: debug tool for filesystem driver Bean
2008-01-04 11:53 ` Robert Millan
2008-01-04 12:08   ` Bean
2008-01-05  7:37     ` Bean
2008-01-05 11:52       ` Robert Millan
2008-01-05 12:11         ` Bean
2008-01-28 10:45           ` Robert Millan [this message]
2008-01-28 14:48             ` Bean
2008-01-28 17:27               ` Robert Millan
2008-01-28 17:35                 ` Bean
2008-01-28 18:13                   ` Robert Millan
2008-01-29 10:18                     ` Bean
2008-01-29 13:45                       ` Robert Millan
2008-01-29 13:51                         ` Bean
2008-02-03 17:56                           ` Bean
2008-02-04  8:46                             ` Bean

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=20080128104516.GA323@thorin \
    --to=rmh@aybabtu.com \
    --cc=grub-devel@gnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.