Mount a vfat/FAT32 partition under Solaris 10 6/06

I spent this morning installing Solaris 10 and I did not see a place where you could add extra partitions to the vfstab automatically. I ignored the thought and figured I could add it manually after installation. I installed perfectly, logged in and when I looked at vfstab, it did not look they way I thought it would as I am used to *nix. I do not understand how to mount partitions because I do not get how Solaris organizes the partitions. I have a partition that I kept all my files on and I cannot access it. Could someone explain how to mount a partition and/or Solaris's way of organizing disks?

[611 byte] By [java650] at [2007-11-26 11:52:38]
# 1

vfstab is different to the linux fstab

Basically the columns are

device rawdevice mountpoint filesystem fsckpass mountatboot options

if your device is c1d0p1 ( secondary master on IDE )

/dev/dsk/c1d0p1 /dev/rdsk/c1d0p1 /files pcfs - yes -

I haven't really tried this but it should work.

peterchun at 2007-7-7 12:08:48 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 2

Mounting Windows partition in Solaris

The easiest way to share data now is to do it through a FAT32 partition. Solaris

recognises it as partition of type pcfs. It is specified as device:drive where drive is

either the DOS logical drive letter (c through z) or a drive number (1 through 24).

Drive letter c is equivalent to drive number 1 and represents the Primary DOS partition

on the disk; drive letters d through z are equivalent to drive numbers 2 through 24,

and representDOS drives within the Extended DOS partition.Syntax is

mount -F pcfs device:drive /directroy-name

where directory name specifies the location where the file system is mounted.

To mount the first logical drive (d:) in the Extended DOS partition from an IDE hard

disk in the directory /d use

mount -F pcfs /dev/dsk/c0d0p0:d /d

You can use mount directory-name after appending following line is in

/etc/vfstab file

device:drive directory-name pcfs no rw

for example

c0d0s0:c /c pcfs no rw

If your windows partition like the following means

C: - NTFS, D:-FAT32, E:-NTFS, F:-FAT32

Then you can only mount D, F not C & E.

Mounting D Drive:

mount -F pcfs /dev/disk/c0d0p0:c /mountpoint

Mounting F Drive

mount -F pcfs /dev/disk/c0d0p0:d /mountpoint

The driveletter only for fat not including other file systems (ntfs or any linux filesystems).

LittleDany at 2007-7-7 12:08:48 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...