Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

try to mount a logical partition

Posted on 2003-11-02
1
Medium Priority
?
859 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

Tech or Treat!

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

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

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
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

604 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