Your message dated Mon, 18 Nov 2013 14:10:16 -0500
with message-id <[email protected]>
and subject line mount: Please try to mount ext3 filesystems as ext2 if the 
kernel lacks ext3 support
has caused the Debian Bug report #107787,
regarding mount: Please try to mount ext3 filesystems as ext2 if the kernel 
lacks ext3 support
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
107787: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=107787
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mount
Version: 2.11h-2
Severity: minor
Tags: patch

Moin Adrian,

the following situation: I am testing ext3, and I ran into problems with
specifying the right filesystem in fstab when testing kernels with and
without ext3 support.

- (1) If I specify "auto", it is ugly for / and filesystems mounted at
  boottime since the init scripts try to invoke fsck.auto (which does
  not exist).
- (2) When I specified "ext3", I worked fine with ext3-supporting kernel,
  but failed to mount while booting with a kernel without ext3-support
- (3) When I specified "ext3,ext2", the non-ext3-kernels were able to mount,
  but then there was the same problem as in the first situation.

So I hacked mount.c and made it include ext2 into the list of probed
filesystems if the user specified "ext3" only. Now, I can configure like
in the second situation and use both kernels without changes. You
probably want to include this patch into official package.

Gruss/Regards,
Eduard.

-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux zombie 2.4.7 #31 Sun Jul 29 16:31:45 CEST 2001 i686
Locale: LANG=de_DE, LC_CTYPE=de_DE

Versions of packages mount depends on:
ii  libc6                         2.2.3-9    GNU C Library: Shared libraries an

-- 
Nein, eine Milchflatrate gibt es nicht, wirklich nicht. Milch kostet DM
1,09 pro Liter, wobei angebrochene Liter voll berechnet werden, darum
heißt es ja auch *Voll*milch.
--- util-linux-2.11h.debian-before/mount/mount.c
+++ util-linux-2.11h.debian-after/mount/mount.c
@@ -462,6 +468,10 @@
    
    if (*types && strcasecmp (*types, "auto") == 0)
       *types = NULL;
+   
+   /* probe ext2 too */
+   if (*types && strcasecmp (*types, "ext3") == 0)
+      *types = "ext3,ext2";
 
    if (!*types && (flags & (MS_BIND | MS_MOVE)))
       *types = "none";         /* random, but not "bind" */

--- End Message ---
--- Begin Message ---
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm going to go ahead and finally close this old bug out.  If the init
scripts are still trying to run the wrong fsck when a list is given,
then file a bug against them.  If you specify only one filesystem
type, then you expect mount to honor that and not try some other type.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSimYYAAoJEJrBOlT6nu75ti0IAM+ZP/TJTqRPw0q++ysoTHNt
4r5UayAvPDtGz1uW7Du8RRdzBli8cPgGBdc1UwKyTN82dBEaqSmQOCRXa1DWY/2w
HY8HCS4x+lx1nlHxJWX4QxfrYk3DXykxTA+hOmmaO6ipl8UXYNsaiklJ1wvw/76c
fl3wm56CjrHTmOT2l0j8PuBp5l9kgONP1F+6xXfrlQQDldUf1nn3zt3POjDBLWj1
3OaPp2iInP0NfYMRKFHe9LjXKQNRUXKDhaCmRxrqMhjCAqVsvxGKwjqcvLF+WHQ4
D3/gtxUFxr/a3s0WgMcnufPn93pAAp8eAkJnQF72XlGltJR/BSOM3cc1a+9K748=
=qAUi
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to