[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Regression? Cannot remount a loop device from ro to rw
From:       "Carl S. Gutekunst" <cgutekunst () SonicWALL ! com>
Date:       2015-07-24 19:47:49
Message-ID: 55B29665.1080709 () SonicWALL ! com
[Download RAW message or body]

I recently upgraded BusyBox from 1.18.1 to 1.23.2, and now I find I 
cannot change the read-write mode on a loop mount. That is, if the 
original mount is something like:

     mount -o loop,ro /private/myopt.ext2 /opt

and I then remount this this:

     mount -o remount,rw /opt

With 1.18.1 the filesystem is remounted as read-write as expected, but 
in 1.23.2 the command has no effect and the filesystem remains read-only.

At first glance, it looks like the problem was introduced in BusyBox 
1.21.0 when the set_loop() function in libbb/loop.c was modified to 
accept the ro argument. But I haven't yet narrowed down exactly what's 
going wrong.

Has anyone else seen this problem? I'm happy to work out a fix, but 
wanted to check with the list first.

<csg>
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic