How can I use "sudo mount -o loop factoryfs.ext4 factoryfs" in Cygwin?

2

Does Cygwin have a command equivalent to sudo mount -o loop factoryfs.ext4 factoryfs? If so, what is it?

gal

Posted 2011-02-08T12:02:19.960

Reputation: 21

I think you're missing a "mount" in there somewhere... – Ignacio Vazquez-Abrams – 2011-02-08T12:06:51.060

Answers

2

No, you can't mount filesystem images using Cygwin. Cygwin mount supports only mounting Windows directories/disks to directories inside Cygwin. See for example http://www.cygwin.com/cygwin-ug-net/using.html#mount-table

Workaround for some filesystems is to mount disk as normal Windows disk and then mount that to Cygwin. For example ext2 is supported in Windows with additional drivers.

Olli

Posted 2011-02-08T12:02:19.960

Reputation: 6 704