Re: [PATCH] [RFC] switch_root: Add a sanity check

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

 



On Wed, Feb 13, 2013 at 03:25:36PM +0100, Karel Zak wrote:
> On Sat, Feb 09, 2013 at 07:22:50PM +0100, Richard Weinberger wrote:
> > As switch_root basically does rm -Rf / we should make sure
> > that / is really an initramfs.
> 
> Oh, nice (we should not ask for details, right? :-) Applied, thanks.
> 
>     Karel
> 

Wouldn't it be better to check that / is tmpfs or ramfs instead of
insistence on being a very specific device?
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux