Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  1 Sep 1999 07:53:18 -0700 (PDT)
From:      nm@medlib.am
To:        freebsd-gnats-submit@freebsd.org
Subject:   kern/13524: /PATCH/ NTFS file system cannot been mounted
Message-ID:  <19990901145318.CB31514DA1@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         13524
>Category:       kern
>Synopsis:       /PATCH/ NTFS file system cannot been mounted
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep  1 08:00:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     NightMare
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
free fighter
>Environment:
4.0-CURRENT FreeBSD 4.0-CURRENT #1: Thu Aug 26 21:09:42 AMT 1999 
NTWorkstation 4 & ServicePack5 
>Description:
root ~> mount_ntfs /dev/wd0s1 /mnt 
mount_ntfs: /dev/wd0s1: Block device required
root ~> ls -al /dev/wd0s1
brw-r-----  1 root  operator    0, 0x00020002 Aug 26 20:16 /dev/wd0s1
root ~>

so , mount_ntfs illegaly checks block device tag ...

probably coder's tipo ...


>How-To-Repeat:
mount some ntfs partition
>Fix:
apply in /usr/src/sys/ntfs

[--cut here--]
*** ntfs_vfsops.c.orig  Thu Aug 26 22:08:19 1999
--- ntfs_vfsops.c       Thu Aug 26 22:08:48 1999
***************
*** 290,296 ****
  
        devvp = ndp->ni_vp;
  
!       if (vn_isdisk(devvp)) {
                err = ENOTBLK;
                goto error_2;
        }
--- 290,296 ----
  
        devvp = ndp->ni_vp;
  
!       if (!vn_isdisk(devvp)) {
                err = ENOTBLK;
                goto error_2;
        }
[--cut here--]

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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990901145318.CB31514DA1>