mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: GOTO Masanori <gotom@debian.or.jp>
To: Andries.Brouwer@cwi.nl
Cc: akpm@osdl.org, torvalds@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: [uPATCH] refuse plain ufs mount
Date: Tue, 27 Jan 2004 10:43:44 +0900	[thread overview]
Message-ID: <81hdyi9ne7.wl@omega.webmasters.gr.jp> (raw)
In-Reply-To: <UTC200401250017.i0P0Hlc09374.aeb@smtp.cwi.nl>

At Sun, 25 Jan 2004 01:17:47 +0100 (MET),
Andries.Brouwer@cwi.nl wrote:
> Installed some machine with a reiserfs rootfs.
> The boot messages contain a lot of garbage spouted by Intermezzo
> and ufs_read_super caused by the fact that the kernel tried lots
> of other filesystems before hitting on reiserfs.
> 
> On the one hand this is solved by "rootfstype=reiserfs".
> 
> But on the other hand, the kernel should not complain about the
> guessing it does itself. There is a parameter "silent" for this
> purpose, but in this case I think it cleaner just to remove the
> complaint and tighten the requirement.

I wonder this modification is really ok because user can't find why he
can't mount his ufs if he does not specify ufstype=.  Putting only
one line is not acceptable for you?

Regards,
-- gotom


--- fs/ufs/super.c	2003-10-20 12:50:24.000000000 +0900
+++ fs/ufs/super.c.new	2004-01-27 10:18:22.000000000 +0900
@@ -517,11 +517,8 @@
 		goto failed;
 	}
 	if (!(sbi->s_mount_opt & UFS_MOUNT_UFSTYPE)) {
-		printk("You didn't specify the type of your ufs filesystem\n\n"
-		"mount -t ufs -o ufstype="
-		"sun|sunx86|44bsd|old|hp|nextstep|netxstep-cd|openstep ...\n\n"
-		">>>WARNING<<< Wrong ufstype may corrupt your filesystem, "
-		"default is ufstype=old\n");
+		printk("to mount ufs, specify -o ufstype="
+		"sun|sunx86|44bsd|old(default)|hp|nextstep|netxstep-cd|openstep\n");
 		ufs_set_opt (sbi->s_mount_opt, UFSTYPE_OLD);
 	}
 

  reply	other threads:[~2004-01-27  1:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-25  0:17 Andries.Brouwer
2004-01-27  1:43 ` GOTO Masanori [this message]
2004-01-27  1:56 Andries.Brouwer
2004-01-27  2:09 ` Linus Torvalds
2004-01-27  4:07 Andries.Brouwer
2004-01-27  5:04 ` GOTO Masanori
2004-01-27  6:15 ` Linus Torvalds
2004-01-28 22:24 Example
2004-01-29  0:13 ` GOTO Masanori

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=81hdyi9ne7.wl@omega.webmasters.gr.jp \
    --to=gotom@debian.or.jp \
    --cc=Andries.Brouwer@cwi.nl \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.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

all inboxes | Powered by JetHome®