Download Atari System V - Developer`s Guide (reduced size)

Transcript
Chapter 3
Refer to the mkfs(IM) generic manual page and manual pages specific to
each type of file system for options.
Atari System
V Partition
File System(s)
7. Mount the new disk to make it available on your system.
Example:
mount
-P u f a
/dev/dsk/c3d0a6
/newstuff
You must use-F to specify type if you did not specify it in theletclvfstab ftle
for this file system.
/newstuff is the mount point directory to which you decided to attach this
partition. Refer to the mount(IM) and mnttab(4) manual
Atari System V
pages.
8. Edit /etclvfstah so these new file systems wiU be automaticaUy mounted
and unmounted on system start up and shutdown.
FoUowing is a sample letclvfstab with a new entry for /newstuff:
*•J><ciol
fsdc:dev
mountp
lproc
proc
ldevlfd
ldevlfd
/dev/roc;l.
/de:v/rrOOl
fd
ufs
/devldsklcOd0.3 /dev/rdsk/c0d0s3 /stand
no
bfs
yes
ldev/dsklc0d(ls5 /devlrdsklc0d0s5 /var
uh
yes
/dcv/dsk/c0d0s6 /dev/rdsklcOdO:s6 /home
ufs
yes
/dev/dsklcOdOse /devlrdsk/cOdO.e /fsclc
ufs
/dev/dsklc3d0.6 /dev/rdsk/c3d0s6 /newstuff
ufs
Refer to the
9.
fstype fsckpass automnt mntnags
lproc
yes
vfstab(4) manna! page .
Make new file systems available for mounting by remote systems.
Example: Make thelnewsw.fftile system accessible to remote systems via
NFS:
a.
Ensure that the file letddfslfstypes contains the word
nfs as the first word
on one of its lines.
b. Type
share
-P n f s
-orw
/newatu f f
The -F option specifies the file system type by which this file system can
be accessed. The ufs and s5 llle system s can be accessed by
nrs.
Tite -{) rw option specifies that this file system is read-write via NFS.
This exantple makes the entire /newstu..(ffile system available via NFS.
Specifying lnewslll..(flsrc would make a portion of the file system
available to remote systems.
3·32