CVS commit: src/sbin/mount_ntfs
Module Name:src Committed By: abhinav Date: Sat Apr 15 10:30:55 UTC 2017 Modified Files: src/sbin/mount_ntfs: mount_ntfs.8 Log Message: Use Xr instead of Fn to refer readdir(3) To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sbin/mount_ntfs/mount_ntfs.8 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sbin/mount_ntfs/mount_ntfs.8 diff -u src/sbin/mount_ntfs/mount_ntfs.8:1.21 src/sbin/mount_ntfs/mount_ntfs.8:1.22 --- src/sbin/mount_ntfs/mount_ntfs.8:1.21 Wed Sep 9 11:14:09 2015 +++ src/sbin/mount_ntfs/mount_ntfs.8 Sat Apr 15 10:30:55 2017 @@ -1,4 +1,4 @@ -.\" $NetBSD: mount_ntfs.8,v 1.21 2015/09/09 11:14:09 christos Exp $ +.\" $NetBSD: mount_ntfs.8,v 1.22 2017/04/15 10:30:55 abhinav Exp $ .\" .\" Copyright (c) 1993,1994 Christopher G. Demetriou .\" Copyright (c) 1999 Semen Ustimenko @@ -73,7 +73,7 @@ The options are as follows: .Bl -tag -width Ds .It Fl a Force behaviour to return MS-DOS 8.3 names also on -.Fn readdir . +.Xr readdir 3 . .It Fl i Make name lookup case insensitive for all names except POSIX names. .It Fl u Ar uid
CVS commit: src/sbin/mount_ntfs
Module Name:src Committed By: christos Date: Wed Sep 9 11:14:09 UTC 2015 Modified Files: src/sbin/mount_ntfs: mount_ntfs.8 Log Message: more recent information about unsupported drives. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/sbin/mount_ntfs/mount_ntfs.8 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sbin/mount_ntfs/mount_ntfs.8 diff -u src/sbin/mount_ntfs/mount_ntfs.8:1.20 src/sbin/mount_ntfs/mount_ntfs.8:1.21 --- src/sbin/mount_ntfs/mount_ntfs.8:1.20 Tue Mar 18 14:20:39 2014 +++ src/sbin/mount_ntfs/mount_ntfs.8 Wed Sep 9 07:14:09 2015 @@ -1,4 +1,4 @@ -.\" $NetBSD: mount_ntfs.8,v 1.20 2014/03/18 18:20:39 riastradh Exp $ +.\" $NetBSD: mount_ntfs.8,v 1.21 2015/09/09 11:14:09 christos Exp $ .\" .\" Copyright (c) 1993,1994 Christopher G. Demetriou .\" Copyright (c) 1999 Semen Ustimenko @@ -31,7 +31,7 @@ .\" .\" Id: mount_ntfs.8,v 1.3 1999/05/04 11:34:33 jkoshy Exp .\" -.Dd October 31, 2001 +.Dd September 9, 2015 .Dt MOUNT_NTFS 8 .Os .Sh NAME @@ -179,9 +179,16 @@ mount_ntfs: /dev/wd0k on /mnt: Invalid a .Pp make sure that appropriate partition has correct entry in the disk label, particularly that the partition offset is correct. +.Pp +Recently many cards (in particular SDXC ones) are formatted using +exFAT. +For those cards, disklabel reports NTFS as the partition type. +There is currently no support for mounting exFAT drives. +.Pp If the NTFS partition is the first partition on the disk, the -offset should be '63' on i386 (see +offset should be '63' or '2048' on i386 (see .Xr disklabel 8 ) . +exFAT partitions typically report an offset of '32768'. .Xr mbrlabel 8 could help you to set up the disk label correctly. .Pp
CVS commit: src/sbin/mount_ntfs
Module Name:src Committed By: joerg Date: Tue Mar 30 14:05:32 UTC 2010 Modified Files: src/sbin/mount_ntfs: mount_ntfs.8 Log Message: \\ -> \e To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/sbin/mount_ntfs/mount_ntfs.8 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sbin/mount_ntfs/mount_ntfs.8 diff -u src/sbin/mount_ntfs/mount_ntfs.8:1.17 src/sbin/mount_ntfs/mount_ntfs.8:1.18 --- src/sbin/mount_ntfs/mount_ntfs.8:1.17 Mon Jan 31 05:19:19 2005 +++ src/sbin/mount_ntfs/mount_ntfs.8 Tue Mar 30 14:05:32 2010 @@ -1,4 +1,4 @@ -.\" $NetBSD: mount_ntfs.8,v 1.17 2005/01/31 05:19:19 erh Exp $ +.\" $NetBSD: mount_ntfs.8,v 1.18 2010/03/30 14:05:32 joerg Exp $ .\" .\" Copyright (c) 1993,1994 Christopher G. Demetriou .\" Copyright (c) 1999 Semen Ustimenko @@ -108,12 +108,12 @@ .Pp To get volume name (in Unicode): .Bd -literal -offset indent -# cat /mnt/\\$Volume:\\$VOLUME_NAME +# cat /mnt/\e$Volume:\e$VOLUME_NAME .Ed .Pp To read directory raw data: .Bd -literal -offset indent -# cat /mnt/foodir:\\$INDEX_ROOT:\\$I30 +# cat /mnt/foodir:\e$INDEX_ROOT:\e$I30 .Ed .Ss Limited support for writing There is limited writing ability for files.
CVS commit: src/sbin/mount_ntfs
Module Name:src Committed By: pooka Date: Mon Sep 14 12:43:46 UTC 2009 Modified Files: src/sbin/mount_ntfs: mount_ntfs.c Log Message: Set fspec to canon_dev instead of dev. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sbin/mount_ntfs/mount_ntfs.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sbin/mount_ntfs/mount_ntfs.c diff -u src/sbin/mount_ntfs/mount_ntfs.c:1.21 src/sbin/mount_ntfs/mount_ntfs.c:1.22 --- src/sbin/mount_ntfs/mount_ntfs.c:1.21 Tue Aug 5 20:57:45 2008 +++ src/sbin/mount_ntfs/mount_ntfs.c Mon Sep 14 12:43:46 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: mount_ntfs.c,v 1.21 2008/08/05 20:57:45 pooka Exp $ */ +/* $NetBSD: mount_ntfs.c,v 1.22 2009/09/14 12:43:46 pooka Exp $ */ /* * Copyright (c) 1994 Christopher G. Demetriou @@ -35,7 +35,7 @@ #include #ifndef lint -__RCSID("$NetBSD: mount_ntfs.c,v 1.21 2008/08/05 20:57:45 pooka Exp $"); +__RCSID("$NetBSD: mount_ntfs.c,v 1.22 2009/09/14 12:43:46 pooka Exp $"); #endif #include @@ -130,7 +130,7 @@ pathadj(dev, canon_dev); pathadj(dir, canon_dir); - args->fspec = dev; + args->fspec = canon_dev; if (!set_gid || !set_uid || !set_mask) { if (stat(dir, &sb) == -1) err(EX_OSERR, "stat %s", dir);