Date: Sat, 13 Jan 1996 13:21:41 -0500 (EST) From: Chuck Robey <chuckr@glue.umd.edu> To: Dave Thaler <thaler@armidale.ann-arbor.mi.us> Cc: questions@freebsd.org Subject: Re: mount_msdos problems under 2.1 Message-ID: <Pine.SUN.3.91.960113131109.1884B-100000@cappuccino.eng.umd.edu> In-Reply-To: <199601131704.MAA20480@armidale.ann-arbor.mi.us>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 13 Jan 1996, Dave Thaler wrote: > I recently upgraded the kernel from 2.0.5 to 2.1. /etc/fstab looks like this: > > /dev/sd0a / ufs rw 1 1 > /dev/sd0f /dos msdos rw 1 1 > /dev/sd0e /usr ufs rw 1 1 > /dev/sd0b none swap sw 0 0 > proc /proc procfs rw 0 0 > > Now under a 2.0.5 kernel, the dos partition is mounted correctly. I did > upgrade the mount utilities as well, but the 2.1 kernel fails to mount the > dos partition. Manually invoking mount_msdos reports: > > # mount_msdos /dev/sd0f /dos > mount_msdos: mount: Invalid argument [bunch of error lists deleted] Use the newer 'slice' semantics. On my machine n3lxx, my FreeBSD installation is the first partition on the disk, and I mount the dos partition with: mount -t msdos /dev/sd0s1 /dos On my other (older) machine, dos is in the third of 4 partitions, so to do the same mount, I issue: mount -t msdos /dev/sd0s3 /dos When I want to refer to one of the BSD partitions, say what you name sd0a above, and on n3lxx its on the 2nd slot of the partition, I refer to /dev/sd0s2a. This means first (zeroth) disk, second partition slot (this number isn't 0 based, to better confuse you), and the 'a' BSD partition. Just to make things real clear, the machine's partition table holds only 4 partitions, so if you go looking in /dev, you'll only see entries for sd0s1, sd0s2, sd0s3, and sd0s4. Probably only your FreeBSD partition will have the BSD devices like sd0s2a. ============================================================================ Chuck Robey chuckr@eng.umd.edu -- I run FreeBSD on n3lxx and Journey2 --------------------------------------------------------------------------- The Dilbert Zone is Dilbert's new WWW home! The area features never-before-seen original sketches of Dilbert, a photo tour of Scott Adams' studio, Dilbert Trivia and memorabilia, high school photos and much more!: <URL:http://www.unitedmedia.com/comics/dilbert/>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SUN.3.91.960113131109.1884B-100000>