Thread: swap -a
View Single Post

   
  #3 (permalink)  
Old 01-16-2008, 11:34 AM
Oscar del Rio
 
Posts: n/a
Default Re: swap -a

Daniel Rock wrote:
> Marek Franke <mfranke78@yahoo.de> wrote:
>> boot the machine. (How) Can I add the new swap to /etc/vfstab?

>
> /dev/dsk/c0t0d0s1 - - swap - no -


which is explained in "man vfstab"


device device mount FS fsck mount mount
to mount to fsck point type pass at boot options

/etc/vfstab can be used to specify swap areas. An entry so
specified, (which can be a file or a device), will automati-
cally be added as a swap area by the /sbin/swapadd script
when the system boots. To specify a swap area, the device-
to-mount field contains the name of the swap file or device,
the FS-type is "swap", mount-at-boot is "no" and all other
fields have no entry.
Reply With Quote