Date: Wed, 31 Jan 2001 19:00:33 -0500 From: Tim McMillen <timcm@umich.edu> To: Lucas Bergman <lucas@slb.to>, Indrani Datta <drani_00@yahoo.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: accessing the dos directory Message-ID: <01013119003306.83787@tim.elnsng1.mi.home.com> In-Reply-To: <20010131173902.E28173@billygoat.slb.to> References: <20010131233111.1815.qmail@web3701.mail.yahoo.com> <20010131173902.E28173@billygoat.slb.to>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday January 31, 2001 18:39, Lucas Bergman wrote: > > How do I view my dos partition from within BSD? I had it set up to > > do this, but I crashed the system, had to reinstall, and now I > > can't remember how it was done. I thought maybe I just needed to > > set up a dos partition, and I think I did during install, but it > > doesn't seem to be doing the trick. > > # mount -t msdos /dev/wd0a /mnt > > Of course, adjust the device name and mount point to taste. If you > want it to be mounted automatically, put an entry in /etc/fstab. > The relevant man pages are mount(8), mount_msdos(8), and fstab(5). and disklabel(8) Running # disklabel wd0 should show you what slices you have on the disk. Then you have to name the slice correctly in order to mount it. You may also want to look at the output of dmesg to see what the name of your hard drive device is. They changed in 4.x from wd to ad, so an example of how I mount my FAT partition on a 4.2 machine is: tim# mount -t msdos /dev/ad0s1 /mnt I actually have two Win installations on this HD which FreeBSD doesn't like and I am going to wipe out soon, but I can mount the second one too, with: tim# mount -t msdos /dev/ad0s2 /mnt2 after creating mnt2 Tim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01013119003306.83787>