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.
Dell X1018 X-Series Smart Managed Switches 16-Port Gigabit 2-Port SFP Switch
$42.00
Dell PowerConnect 6224 Rackmount 24-Port Gigabit Managed Ethernet Network Switch
$31.99
Cisco Catalyst WS-C3650-24PS-L 24-Port Gigabit Ethernet Network Switch TESTED
$49.99
Loocam Gigabit PoE Switch 8 Port 96W 2 Uplink Port Unmanaged Ethernet Switch
$49.99
TP-Link 5-Port 10/100/1000Mbps Gigabit Easy Smart Switch (TL-SG105E)
$17.99
TRENDnet TEG (TEG-S80g) 8-Port Gigabit GREENnet External Switch Version V3.1R
$12.64
TP-Link TL-SG108PE 8-port Gigabit Easy Smart PoE+ Swith w/ 4-port PoE - Sealed
$49.50
Cisco Catalyst 2960 WS-C2960-8TC-L 8-Port Ethernet Network Switch
$34.00
Cisco Nexus N3K-C3048TP-1GE 48 Port Switch w/ Dual Power - Same Day Shipping
$69.95
Cisco Catalyst C9300-24UX-A 24 Port 10G/mGig UPOE Network Switch, no module
$324.97