?
Solved

try to mount a logical partition

Posted on 2003-11-02
1
Medium Priority
?
857 Views
Last Modified: 2013-12-27
can anyone tell me what exactly to put into /dev/vfstab to mount a FAT32 partition outside the Solaris partition?
first of all I don't know how to determines those c0t0d0p?
my partition table should look like this:
Primary
1: NTFS
2: x86 boot (Solaris)
3: Solaris
4: Extended

and my extended looks like this
5: ext3  (Linux /boot)
6: ext3  (Linux / )
7: NTFS
8: FAT32
9: swap (Linux swap )

and now I want to mount the FAT32 partition which is a logical partition
with permission where all user has rwx access to it...

Thanks.
0
Comment
Question by:RedComet
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 2

Accepted Solution

by:
colsey79 earned 1000 total points
ID: 9665440
Hi there

Normally you would mound a partition as follows:

mount -F pcfs /dev/dsk/c0t0d0p0:1 /mnt # SCSI DISK
mount -F pcfs /dev/dsk/c0d0p0:1   /mnt # ATAPI DISK

Where c0 is the controller number.
      t0 is the target (SCSI ID number) (omit for ATAPI)
      d0 is always 0 for SCSI, the drive # for ATAPI
      p0 is the partition (p0 is the entire disk, or p1 - p4)
      /mnt is the mount point
      :1 is the logical drive (c - z or 1 - 24)

Note: p0 refers to the first primary partition and p1, p2, . . . refers to the logical DOS partitions found in the extended DOS partition.

[ Disk naming explained :-) ]

To mount the partitions automatically, put something like this in /etc/vfstab:

#device           device         mount    FS    fsck  mount
#to mount         to fsck        point    type  pass  at boot
/dev/dsk/c0d0p0:1 -              /c       pcfs  -     yes       -
/dev/dsk/c0d1p0:1 -              /d       pcfs  -     yes       -

This mounts the DOS partitions (assuming it's the first partition) on /c and /d, respectively, on startup. For more info, see "man pcfs"

That should get your FAT32 partitions selected and mounted correctly.

HTH
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses
Course of the Month8 days, 5 hours left to enroll

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question