Date: Sat, 5 Jan 2002 12:58:42 -0500 From: "Joe & Fhe Barbish" <barbish@a1poweruser.com> To: "Simon Siemonsma" <s.siemonsma@hccnet.nl> Cc: "FBSD Questions" <questions@FreeBSD.ORG> Subject: RE: mounting msdos partition under FBSD Message-ID: <LPBBIGIAAKKEOEJOLEGOEEGICLAA.barbish@a1poweruser.com> In-Reply-To: <200201051702.SAA02013@smtp.hccnet.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
Thank you very much for the detailed description, But let me clear up a point. Are you saying there is no way from FBSD to get the names of the non-FBSD partitions? You just described the way FBSD would name them if it knew about them and by using those names you got access. Did this trial and error method of guessing the names in any way hurt the original non-FBSD partitions or data? The long winded mount command format has to be used until one gets the names correct, and then /etc/fstab can be customized to short cut the mount command. Once access is achieved does the cd, pwd, ls, and cp commands work on the msdos data ok? Does Unix2dos and dos2unix have to be used to make text files interchangeable? -----Original Message----- From: Simon Siemonsma [mailto:s.siemonsma@hccnet.nl] Sent: Saturday, January 05, 2002 1:08 PM To: Joe & Fhe Barbish Subject: Re: mounting msdos partition under FBSD It is not to difficult to find out. I will explain it with my machine as an example: I have to IDE hard-drives. The primairy contains Windows NT and the slave FreeBSD. The name of the primairy hard disk is ad0 an of the secudairy ad1. (ad stands for IDE drive and it starts counting at 0) My primairy drive has two partitions. The first partition is a NTFS partion, the second a FAT partion. This make respectively slice1 and slice 2. So the NTFS partition is ad0s1. The fat partition is ad0s2. For some reason which I don't understand yet you have to ad a c to this. So my NTFS partion is on /dev/ad0s1c and my FAT partition at /dev/ad0s2c. The easiest way to mount is to make an entry in /etc/fstab, and make sure to make a directory with the name of the mount point. (I used /mnt/fat) It can be automounted at bootup or else you say mount <<mountpoint>>. I hope you understand the logic and will be able to figure everything out for your system yourself. Simon Siemonsma On Saturday 05 January 2002 11:50, you wrote: > I have a duel boot hard drive win98/FBSD. > I want to mount the win98 partition under FBSD. > What command do I use to find out what device FBSD > calls the win98 partition/slice? > Is this the commands to mount and umount? > mount -t msdos /dev/xxxxxx /mnt/win_d > umount /mnt/win_d > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message 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?LPBBIGIAAKKEOEJOLEGOEEGICLAA.barbish>