Date: Sat, 17 Feb 2007 03:16:29 +0100 From: Olivier Houchard <mlfbsd@cognet.ci0.org> To: Scot Hetzel <swhetzel@gmail.com> Cc: FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: mount_ntfs: /dev/ad0s1: No such file or directory Message-ID: <20070217021629.GA24579@ci0.org> In-Reply-To: <790a9fff0702161738r154b5087m877c604092727e39@mail.gmail.com> References: <790a9fff0702161738r154b5087m877c604092727e39@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--EVF5PPMfhYS0aIcm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Feb 16, 2007 at 07:38:18PM -0600, Scot Hetzel wrote: > I'm no longer able to mount NTFS partitions on a recent -CURRENT, when > mount tries to mount the partition it give "mount_ntfs: /dev/ad0s1: No > such file or directory". > > Anyone else having a problem mounting these NTFS partitions? > > Scot > Hi Scot, That may be my fault. Does the attached patch fix it ? Cheers, Olivier --EVF5PPMfhYS0aIcm Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="ntfs_vfsops.c.diff" Index: fs/ntfs/ntfs_vfsops.c =================================================================== RCS file: /cognet/ncvs/src/sys/fs/ntfs/ntfs_vfsops.c,v retrieving revision 1.84 diff -u -p -r1.84 ntfs_vfsops.c --- fs/ntfs/ntfs_vfsops.c 26 Sep 2006 04:12:45 -0000 1.84 +++ fs/ntfs/ntfs_vfsops.c 17 Feb 2007 01:55:46 -0000 @@ -327,10 +327,10 @@ ntfs_mountfs(devvp, mp, td) ntmp->ntm_bo = &devvp->v_bufobj; cs_local = vfs_getopts(mp->mnt_optnew, "cs_local", &error); - if (error) + if (error && error != ENOENT) goto out; cs_ntfs = vfs_getopts(mp->mnt_optnew, "cs_ntfs", &error); - if (error) + if (error && error != ENOENT) goto out; /* Copy in the 8-bit to Unicode conversion table */ /* Initialize Unicode to 8-bit table from 8toU table */ --EVF5PPMfhYS0aIcm--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070217021629.GA24579>