Linux.com

Home Linux Community Forums Software Command Line Filesystem refresh/reload

Filesystem refresh/reload

Link to this post 14 Nov 10

Hi, I'm developing an OS out of assembly, Casnix (http://casnix.sourceforge.net).

I do most of the development with cygwin, on my usb flash drive. But when I write to the disk image, I need a linux machine for the loopback device from the kernel.

Earlier, I had to rebuild the kernel because the kernel source folder was corrupted, but when I mounted my usb on my linux machine (Damn Small Linux), I can't see the new files, nor does linux see them.

Cygwin:

$ ls
kernel.asm //new
kernel.bin //new
caswellboot.bin //new
casnix-1.0.1.flp //old
kernel/
programs/
docs/
boot/
after_compile/

On DSL:
$ ls
casnix-1.0.1.flp
kernel/
programs/
docs/
boot/
after_compile/

How do I refresh the filesystem without loosing time by rebooting my machine?

I don't know if this post makes sense, and I'm assuming it's a software problem.

Link to this post 03 Dec 10

I have used cygwin to develop Unix/Linux software, but I wouldn't use it for kernel development. In your case, you would be better off to install VirtualBox or VMware and run Linux in a virtual machine, where you CAN mount disc images as loop devices. VirtualBox (and I imagine VMware) can allow you to pass USB port control for specific ports/devices to your virtual machine image, allowing you to write from the virtual machine to your thumb drive.

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board