Date: Wed, 06 May 1998 23:59:48 +0200 (MET DST) From: Ugo Paternostro <paterno@dsi.UNIFI.IT> To: Hideki Yamamoto <hyama@acm.org> Cc: freebsd-stable@FreeBSD.ORG Subject: RE: mount_msdos and msdosfs for VFAT/FAT32 access Message-ID: <XFMail.980506235948.paterno@dsi.unifi.it> In-Reply-To: <199805051230.VAA00454@localhost.pumpkin.kansai.oki.co.jp>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On 05-May-98 Hideki Yamamoto wrote about "mount_msdos and msdosfs for VFAT/FAT32 access": > I ported msdosfs and mount_msdos source code from FreeBSD-current > to FreeBSD-2.2.X and put them on my web, http://members.aol.com/hyama99/. Thank-you very much! > It seems to me that they are stable. > Would you please test them? Testing... :-) I have only two little reports, so far: 1) you sys/sys/mount.h file is outdated, as it does not include CodaFS support. You find a patch attached below. (P.S.: last make world 22nd Apr, sources supped today at 16:30 UTC) 2) my system rebooted fine (no errors on console), but when I try to mount my Windows 95 partition with: mount -t msdos /dev/wd0s2 /mnt/windows95 I get: May 6 23:37:53 pegasus mountd[110]: Can't change attributes for /mnt/limbo. May 6 23:37:53 pegasus mountd[110]: Bad exports list line /mnt/limbo -maproot May 6 23:37:53 pegasus mountd[110]: Can't change attributes for /mnt/xchange_1. May 6 23:37:53 pegasus mountd[110]: Bad exports list line /mnt/xchange_1 -maproot (sorry for cut&paste weirdness) mount reports: ugo@pegasus:/home/ugo [0]# mount /dev/wd0s3a on / (asynchronous, NFS exported, local, noatime) /dev/wd0s3f on /usr (asynchronous, NFS exported, local, noatime) /dev/wd0s3e on /var (asynchronous, local, noatime) procfs on /proc (local) kernfs on /kern (local) /dev/wd0s1 on /mnt/dos (local) /dev/wd0s5 on /mnt/limbo (NFS exported, local) /dev/wd2s1 on /mnt/xchange_1 (NFS exported, local) /dev/wd2s2f on /mnt/xchange_2 (asynchronous, NFS exported, local, noatime) medusa:/var/mail on /var/mail medusa:/var/db/pkg on /var/db/pkg medusa:/var/spool/fax on /var/spool/fax medusa:/usr/home on /usr/home medusa:/usr/local on /usr/local medusa:/usr/share on /usr/share amd:131 on /amd /dev/wd0s2 on /mnt/windows95 (local) and my /etc/exports file is: /mnt/cdrom medusa.home.net hydra.home.net chimaera.home.net /mnt/limbo -maproot=root medusa.home.net hydra.home.net chimaera.home.net /mnt/xchange_1 -maproot=root medusa.home.net hydra.home.net chimaera.home.net /mnt/xchange_2 -maproot=root medusa.home.net hydra.home.net chimaera.home.net /usr -alldirs -maproot=root medusa.home.net hydra.home.net chimaera.home.net (don't mind -maproot, I know, I love to live dangerously, but this is a private LAN with just 4 computers...) of course, I lost two exports and showmount -e shows: ugo@pegasus:/home/ugo [0]# showmount -e Exports list on localhost: /usr medusa.home.net hydra.home.net chimaera.home.net /mnt/xchange_2 medusa.home.net hydra.home.net chimaera.home.net /mnt/cdrom medusa.home.net hydra.home.net chimaera.home.net Any hint? > Thanks in advance. Are you kidding? ;-) Many thanks to you, instead. I think you made a good work, keep on going! I really needed this. (Hint to committers :-) > Hideki Yamamoto (hyama@acm.org) Bye, UP [-- Attachment #2 --] --- mount.h.orig Mon May 4 16:24:29 1998 +++ mount.h Wed May 6 23:21:56 1998 @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)mount.h 8.13 (Berkeley) 3/27/94 - * $Id: mount.h,v 1.34.2.1 1997/08/17 13:33:43 joerg Exp $ + * $Id: mount.h,v 1.34.2.3 1998/02/22 01:17:20 jkh Exp $ */ #ifndef _SYS_MOUNT_H_ @@ -102,7 +102,8 @@ #define MOUNT_DEVFS 16 /* existing device Filesystem */ #define MOUNT_EXT2FS 17 /* Linux EXT2FS */ #define MOUNT_TFS 18 /* Netcon Novell filesystem */ -#define MOUNT_MAXTYPE 18 +#define MOUNT_CFS 19 /* Coda filesystem */ +#define MOUNT_MAXTYPE 19 #define INITMOUNTNAMES { \ "none", /* 0 MOUNT_NONE */ \ @@ -124,7 +125,8 @@ "devfs", /* 16 MOUNT_DEVFS */ \ "ext2fs", /* 17 MOUNT_EXT2FS */ \ "tfs", /* 18 MOUNT_TFS */ \ - 0, /* 18 MOUNT_SPARE */ \ + "cfs", /* 19 MOUNT_CFS */ \ + 0, /* 20 MOUNT_SPARE */ \ } /* @@ -402,7 +404,6 @@ u_int8_t d2u[128]; /* DOS->local table */ u_int8_t u2d[128]; /* Local->DOS table */ }; - #endif #ifdef CD9660home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.980506235948.paterno>
