I know this relates to an old version of Knoppix, but after remastering the os and upgrading the kernel to 2.6.31.6 (and compiling aufs as part of that) i'm not able to remount the /ramdisk branch as read-only upon boot. Or after in init 2. If anyone can advise on this, it'd be much appreciated.
When running the script below:
/usr/sbin/knoppix-image /mnt/sda1/knoppix.img
The following line is failing:
mount -o remount,noplink,prepend:/KNOPPIX.IMG=rw,mod:/ramdisk=ro /UNIONFS
The following line succeeds fine:
mount -o remount,noplink,prepend:/KNOPPIX.IMG=rw,mod:/ramdisk=rw /UNIONFS
I get mount: /UNIONFS is busy error.
I've deleted whiteout files on /ramdisk beforehand with:
find /ramdisk -iname .wh.\*.plnk -exec rm -Rfv {} \;
I've run fuser -m -v /ramdisk and used the -k option to kill processes off.
I've also run lsof /ramdisk and killed associated processes.
Distilling the command down to the following fails:
mount -t tmpfs -o remount,ro /ramdisk /ramdisk
The following command succeeds:
mount -t tmpfs -o remount,rw /ramdisk /ramdisk
In /etc/mtab /ramdisk has mode 755 0 0.
If you can help please advise.
NETGEAR Ethernet Splitter 8-Port Gigabit Unmanaged Home Network Switch (GS308P)
$39.82
Juniper EX2200-C-12T-2G Gigabit Ethernet Managed Switch
$59.99
Brocade ICX6450-48P 48-Port PoE+ Gigabit Network Switch TESTED
$50.70
Brocade ICX 7250 48x PoE+ RJ45 8x 1/10 GbE SFP+ Gigabit Switch
$52.99
NETGEAR 8-Port Gigabit Ethernet Unmanaged Switch (GS308) Home/Office Network Hub
$21.99
TP-Link TL-SG108 8-Port Gigabit Desktop Switch + Power Adapter
$9.99
TP-Link JetStream 10 Port Gigabit POE+ Smart Switch TL-SG2210P NEW
$69.99
NETGEAR 5-Port Gigabit Ethernet Plus Switch (GS305E)
$20.99
Cisco Catalyst WS-C2960X-48FPS-L POE+ 48Ports
$39.95
HP ProCurve 2520G 8x RJ45 PoE Network Switch J9298A No Adapter
$19.99