On Sun, Dec 06, 2009 at 07:00:42PM +0200, Bogdan Harjoc wrote: > Hi, > > Is a reboot absolutely needed when moving from a plain /dev/sd* root to > a dm root ? From my understanding of how mount works, swapping the > block device from under a mounted fs is not possible without dm. Actually umounting the root filesystem is not possible while it is in use and to get it into a non-used state you have to do a system shutdown. > I expect it wouldn't be enough to replace s_dev, s_bdev and others in > the super_block struct while suspending all reads/writes, but I would > appreciate a "forget about it" or "it's possible" reply. Well, in theory you could patch the in-memory filesystem information after setting the root drive read-only. But "forget about it" covers it nicely. Arno -- Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: arno@xxxxxxxxxxx GnuPG: ID: 1E25338F FP: 0C30 5782 9D93 F785 E79C 0296 797F 6B50 1E25 338F ---- Cuddly UI's are the manifestation of wishful thinking. -- Dylan Evans If it's in the news, don't worry about it. The very definition of "news" is "something that hardly ever happens." -- Bruce Schneier _______________________________________________ dm-crypt mailing list dm-crypt@xxxxxxxx http://www.saout.de/mailman/listinfo/dm-crypt