Re: -CURRENT does not recognize standard mount options
- From: Craig Rodrigues <rodrigc@xxxxxxxxxxxxxx>
- Date: Tue, 30 May 2006 12:04:05 -0400
On Tue, May 30, 2006 at 12:08:01AM -0400, Joe Marcus Clarke wrote:
I'm trying to mount a USB stick with an MS-DOS file system on it, and
I'm specifying -o sync. This mount works in RELENG_6, and the source
for mount_msdosfs.c makes me think it should work in -CURRENT. However,
this is what I see:
# mount_msdosfs -o sync /dev/da1s1 /mnt
mount_msdosfs: /dev/da1s1: Invalid argument
Just because you could do this in RELENG_6,
did -o sync actually ever work in msdosfs?
There were a lot of inconsistencies in the old parsing of mount options,
where UFS specific mount options would just happen to "work", i.e.
"not fail" for other filesystems.
Anyways, you can try this patch:
Index: vfs_mount.c
===================================================================
RCS file: /home/ncvs/src/sys/kern/vfs_mount.c,v
retrieving revision 1.225
diff -u -u -r1.225 vfs_mount.c
--- vfs_mount.c 26 May 2006 02:38:48 -0000 1.225
+++ vfs_mount.c 30 May 2006 15:59:30 -0000
@@ -139,6 +139,7 @@
"suid",
"exec",
"update",
+ "sync",
NULL
};
--
Craig Rodrigues
rodrigc@xxxxxxxxxxxxxx
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: -CURRENT does not recognize standard mount options
- From: Joe Marcus Clarke
- Re: -CURRENT does not recognize standard mount options
- References:
- -CURRENT does not recognize standard mount options
- From: Joe Marcus Clarke
- -CURRENT does not recognize standard mount options
- Prev by Date: Re: FreeBSD's embedded agenda
- Next by Date: Re: -CURRENT does not recognize standard mount options
- Previous by thread: -CURRENT does not recognize standard mount options
- Next by thread: Re: -CURRENT does not recognize standard mount options
- Index(es):
Relevant Pages
|
|