Re: Replacing root device on a running system

From: Pigeon (jah.pigeon_at_ukonline.co.uk)
Date: 10/30/04

  • Next message: Paolo Alexis Falcone: "Re: /dev/hdc? and changing drive letters"
    Date: Sat, 30 Oct 2004 02:10:46 +0100
    To: debian-user@lists.debian.org
    
    
    

    On Fri, Oct 29, 2004 at 03:42:10PM +0100, Ben Hutchings wrote:
    > Micha Feigin wrote:
    > >Is it possible to change the root device on a running linux system?
    >
    > Yes; use the pivot_root system call. I don't know of any command that
    > provides access to that, though.

    /sbin/pivot_root :-)

    man 8 pivot_root

    -- 
    Pigeon
    Be kind to pigeons
    Get my GPG key here: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x21C61F7F
    
    

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    


  • Next message: Paolo Alexis Falcone: "Re: /dev/hdc? and changing drive letters"