<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><meta name="qrichtext" content="1" /><style type="text/css">p, li { white-space: pre-wrap; }</style></head><body style=" font-family:'DejaVu Sans Mono'; font-size:9pt; font-weight:400; font-style:normal;">CC'ing Roger.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>On Saturday 30 May 2009 21:49:16 Dmitry Maksyoma wrote:<br>
> <br>
> Just to let you know: when /etc/mtab is a symlink to /proc/mounts, loop devices<br>
> aren't freed by umount and the system may run out of loop devices (which makes<br>
> things worse than they were with old-style mtab). Apparently, it's not a bug, as<br>
> it's documented in mount(8):<br>
> <br>
> If you are not so unwise as to make /etc/mtab a symbolic link to /proc/mounts<br>
> then any loop device allocated by mount will be freed by umount. You can<br>
> also free a loop device by hand, using `losetup -d', see losetup(8).<br>
> <br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Thanks for pointing it out Dmitry.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Symlinking of mtab to /proc/mounts also seems to change/stop the user= mount<br>
option from working properly.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Do the benefits of symlinking mtab -> mounts outweigh possible regressions<br>
related to loop device mounting or user= mount option?<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Thanks, Kel.</p></body></html>