Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.12.3/8.12.3) with ESMTP id g5OISvnC003602 for ; Mon, 24 Jun 2002 11:28:57 -0700 Received: (from majordomo@localhost) by oss.sgi.com (8.12.3/8.12.3/Submit) id g5OISvk0003601 for linux-xfs-outgoing; Mon, 24 Jun 2002 11:28:57 -0700 X-Authentication-Warning: oss.sgi.com: majordomo set sender to owner-linux-xfs@oss.sgi.com using -f Received: from zeus-e8.americas.sgi.com ([198.149.7.250]) by oss.sgi.com (8.12.3/8.12.3) with SMTP id g5OISnnC003571 for ; Mon, 24 Jun 2002 11:28:50 -0700 Received: from daisy-e185.americas.sgi.com (daisy-e185.americas.sgi.com [128.162.185.214]) by zeus-e8.americas.sgi.com (SGI-SGI-8.9.3/americas-smart-nospam1.1) with ESMTP id NAA31575 for ; Mon, 24 Jun 2002 13:32:05 -0500 (CDT) Received: from stout.americas.sgi.com (stout.americas.sgi.com [128.162.187.5]) by daisy-e185.americas.sgi.com (SGI-8.9.3/SGI-server-1.7) with ESMTP id NAA40701 for ; Mon, 24 Jun 2002 13:32:05 -0500 (CDT) From: Eric Sandeen Received: by stout.americas.sgi.com (8.11.6/SGI-client-1.7) id g5OIRHG16818; Mon, 24 Jun 2002 13:27:17 -0500 Message-Id: <200206241827.g5OIRHG16818@stout.americas.sgi.com> Date: Mon, 24 Jun 2002 13:27:17 -0500 Subject: TAKE - fix mount -o remount,noatime & other mounting bits X-Spam-Status: No, hits=0.9 required=5.0 tests=MISSING_HEADERS version=2.20 X-Spam-Level: Sender: owner-linux-xfs@oss.sgi.com Precedence: bulk Started out as just making "mount -o remount,noatime" work on XFS, to make it easier to get this flag set on the root fs of my laptop. :) (before, simply adding "noatime" to the rootfs flags in fstab did not work, since linvfs_remount was a no-op for all but "-o remount,r[o,w]"). Also some general cleanup of mount flags etc, see below. Remounting could still use some more work; you can, for example, specify a new logdev as a remount parameter, and XFS won't complain. (It won't change the logdev, but it won't complain, either). Ideally, XFS should allow remounting as many options as possible, and complain if a non-remountable option is specified with MS_REMOUNT... Date: Mon Jun 24 11:25:14 PDT 2002 Workarea: stout.americas.sgi.com:/localhome/src/sandeen/2.4.x-xfs/workarea-alwaysclean The following file(s) were checked into: bonnie.engr.sgi.com:/isms/slinx/2.4.x-xfs Modid: 2.4.x-xfs:slinx:122231a linux/fs/xfs/xfsidbg.c - 1.187 - add more mount flag names to xmount output linux/fs/xfs/xfs_vfsops.c - 1.356 - Don't look for 32BITINODES in args; just set it directly linux/fs/xfs/linux/xfs_super.c - 1.184 - Remove XFS mount opt flags that are handled in the Linux VFS: noatime, rw, ro Don't assign MS_RDONLY VFS flag to xfs args flags Don't fake out 32BITINODES as an argument, just default it later Message about "osyncisdsync" going away Rework linvfs_remount to allow modification of "noatime"