Re: umount -r

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

 



On Thu, May 09, 2013 at 11:05:58PM -0500, Bruce Dubbs wrote:
> We have as a part of our shutdown scripts:
> 
> umount -a -d -r -t notmpfs,nosysfs,nodevtmpfs,noproc
> 
> What we expect is that the rootfs (/) will fail, but be remounted read only.
> This doesn't seem to be happening because we get messages about recovery
> needed during the next boot.
> 
> We can work around it by adding
> 
> mount -n -o remount,ro /
> 
> I have a report that umount works as expected in version 2.21.2, but not in
> 2.22.2 or later.  I this a misunderstanding about umount or a bug?

Please, run

 LIBMOUNT_DEBUG=0xffff umount -a -d -r -t notmpfs,nosysfs,nodevtmpfs,noproc &> umount.log

and send me the log file.

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
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