Re: NMOUNT/OMOUNT midway status

From: Craig Rodrigues (rodrigc_at_crodrigues.org)
Date: 12/07/04

  • Next message: Michael Nottebrock: "Watchdog questions"
    Date: Mon, 6 Dec 2004 23:58:31 -0500
    To: Poul-Henning Kamp <phk@phk.freebsd.dk>
    
    

    On Mon, Dec 06, 2004 at 10:10:13PM +0100, Poul-Henning Kamp wrote:
    > If you want to help me test I keep a patch relative to -current
    > up to date:
    >
    > http://phk.freebsd.dk/patch/nmount.patch

    I cvsup'd to -current and applied this patch.
    When I mounted an iso9660 file system, mount showed:

     on /mnt (cd9660, local, read-only)

    I applied this patch (based on what I saw in the UDF fs code):

    --- sys/isofs/cd9660/cd9660_vfsops.c.org Mon Dec 6 23:34:15 2004
    +++ sys/isofs/cd9660/cd9660_vfsops.c Mon Dec 6 23:48:38 2004
    @@ -203,6 +203,8 @@
                     return error;
             }
             imp = VFSTOISOFS(mp);
    +
    + vfs_mountedfrom(mp, fspec);
             return 0;
     }
     

    And now mount shows:

    /dev/acd0 on /mnt (cd9660, local, read-only)

    -- 
    Craig Rodrigues        
    rodrigc@crodrigues.org
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
    

  • Next message: Michael Nottebrock: "Watchdog questions"

    Relevant Pages

    • Re: NMOUNT/OMOUNT midway status
      ... In message, Craig Rodrigues writes: ... >I cvsup'd to -current and applied this patch. ... >When I mounted an iso9660 file system, ...
      (freebsd-current)
    • Bind Mount Extensions 0.02
      ... This is an update to the BME patch, ... for a RO --bind mount ... ... int vfs_mknod(struct inode *dir, struct dentry *dentry, int mode, dev_t dev) ...
      (Linux-Kernel)
    • Re: [PATCH] Make some ext3 kernel messages useful by showing device
      ... Some of the ext3 warnings in super.c are not really as useful as they ... can be, for instance the "EXT3-fs warning: maximal mount count reached, ... `patch --dry-run' but doesn't apply with plain old `patch'. ... printk (KERN_WARNING ...
      (Linux-Kernel)
    • Re: Cant mount VMS-TCPIP-NFS served disk on SunOS 4.1.4 client
      ... which should be the ECO4 patch... ... I presume the patch is available to hobbyists. ... I have found that for my applications (where the mount isn't ...
      (comp.os.vms)
    • [PATCH] Bind Mount Extensions 0.04
      ... The following patch extends the 'noatime', ... last but not least the 'ro' mount option to the ... an older version of this patch was included in 2.6.0-test6-mm2, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)