Re: pivot_root broken in 2.6.15-rc1-mm2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 23 Nov 2005, Rob Landley gibbered uncontrollably:
> Rather than unmounting rootfs, it deletes everything out of it to free up the 
> space.  (It basically does the functional equivalent of "find / -xdev | xargs 
> rm -rf"

Er, find / -xdev | xargs rm -f, I hope.

(rm won't respect the -xdev you gave to find, and, well, if your new root is
mounted at all, you're dead :) )

-- 
`Y'know, London's nice at this time of year. If you like your cities
 freezing cold and full of surly gits.' --- David Damerell

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux