[SunHELP] why cant I add extra swap file ?
    sunhelp at sunhelp.org 
    sunhelp at sunhelp.org
       
    Wed Jul  4 09:43:09 CDT 2001
    
    
  
On Wed, Jul 04, 2001 at 04:50:48PM +0530, TAG DBA wrote:
> Note that I am doing this as a user (not as root)
That's the problem. You can only add swap as root.
> $ pwd
> /home1
> $ mkfile 1024m /home1/tempfile
> $ chmod o+t /home1/tempfile
> $ swap -a /home1/tempfile
> "/home1/tempfile" is not valid for swapping.
> It must be a block device or a regular file with the
> "save user text on execution" bit set.
*shakes head*. Stupid error to give. 
Brian.
-- 
Brian Scanlan, Systems Administrator.
Irish Times New Media - http://www.ireland.com
    
    
More information about the SunHELP
mailing list