Skip site navigation (1)Skip section navigation (2)
Date:      10 Jul 2001 23:47:04 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        GARGIULO Eduardo INGDESI <YAPEDU@SIDERAR.COM>
Cc:        freebsd-newbies@FreeBSD.ORG
Subject:   Re: Questions #2
Message-ID:  <86hewk4ily.fsf@hades.hell.gr>
In-Reply-To: GARGIULO Eduardo INGDESI's message of "Tue, 10 Jul 2001 15:59:19 -0300"
References:  <F06719ACCB96D311B52C0008C7B1518B026AFA1E@SARZSEX2>

next in thread | previous in thread | raw e-mail | index | archive | help
GARGIULO Eduardo INGDESI <YAPEDU@SIDERAR.COM> writes:

> I need to mount a FAT partition (slave disk of 1st IDE drive) to read
> some files. Is msdos de right option type for this kind of filesystem?
> Is there a option type fat or vfat?

Did you try ?

I mean, ok, nobody has a problem telling you the command line (which is also
shown below), but did you do basic research on how this could be done?  Read
the manpages?

Anyways, what you want is filesystem-type 'msdos', and to mount the `slice'
and not a `partition' in the slice.

	# mount -t msdos /dev/ad0s1 /mnt

	[ this will correctly try to mount slice 1 of atapi disk 0, to /mnt ]

Do not try mounting a partition in the slice, as shown below.  You'll get an
error, since the FAT partition does not have a valid disklabel.

	# mount -t msdos /dev/ad0s1c /mnt
	msdosfs: /dev/ad0s1c: Invalid argument

-giorgos

PS:
Please do not post questions on this list.
Use -questions the next time.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-newbies" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86hewk4ily.fsf>