Date: Thu, 24 Apr 2003 14:21:24 -0400 (EDT) From: John Baldwin <jhb@FreeBSD.org> To: John Baldwin <jhb@FreeBSD.org> Cc: cvs-all@FreeBSD.org Subject: RE: cvs commit: src/sys/fs/msdosfs msdosfs_vfsops.c Message-ID: <XFMail.20030424142124.jhb@FreeBSD.org> In-Reply-To: <200304241819.h3OIJJpG018195@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 24-Apr-2003 John Baldwin wrote: > jhb 2003/04/24 11:19:19 PDT > > FreeBSD src repository > > Modified files: > sys/fs/msdosfs msdosfs_vfsops.c > Log: > Fail to mount a device if the bytes per sector in the BPB is less than > DEV_BSIZE or if the number of FAT sectors is zero. Windows formatted iPod's have a fake DOS BPB at the start of their disk. If you tried to mount it as a msdos filesystem before this change, the kernel would panic. Now you get EINVAL. If you stick GEOM_APPLE in your kernel, then the apple label at the start of the disk is recognized, and you can mount /dev/da0s2 as a msdos filesystem. -- John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20030424142124.jhb>