bin/105483: Mounting ext2fs with noatime option

Dr. Markus Waldeck waldeck at gmx.de
Mon Nov 13 16:31:13 UTC 2006


>Number:         105483
>Category:       bin
>Synopsis:       Mounting ext2fs with noatime option
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 13 16:30:01 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Dr. Markus Waldeck
>Release:        7.0-CURRENT-200611
>Organization:
>Environment:
FreeBSD fbh 7.0-CURRENT-200610 FreeBSD 7.0-CURRENT-200611
root at fb:/usr/src/sys/i386/compile/FB70B01 i386
>Description:
In FreeBSD 6.1 it is possible to mount an ext2fs partition with the option noatime.

In FreeBSD 7.0 it is NOT possible.

>How-To-Repeat:
mount -t ext2fs -o noatime <ext2fs partition> <mount point>
>Fix:
--- mount.c     2006-11-13 17:35:48.335682544 +0200
+++ mount.c.patched     2006-11-13 17:34:45.790190904 +0200
@@ -133,7 +133,7 @@
         */
        unsigned int i;
        const char *fs[] = {
-       "cd9660", "mfs", "msdosfs", "nfs", "nfs4", "ntfs",
+       "cd9660", "ext2fs", "mfs", "msdosfs", "nfs", "nfs4", "ntfs",
        "nwfs", "nullfs", "portalfs", "smbfs", "udf", "umapfs",
        "unionfs",
        NULL

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list