Re: [Toybox] [Issue] - mounting a device again

2014-09-17 Thread Rob Landley
On 09/16/14 22:18, Ashwini Sharma wrote: Hi Rob, What I meant was trying to mount an already mounted device on a different mountpoint. Ah, got it. Thanks. Now to figure out the correct way to fix it. Hmmm... Rob ___ Toybox mailing list

Re: [Toybox] [Issue] - mounting a device again

2014-09-16 Thread Rob Landley
On 09/15/14 23:14, Ashwini Sharma wrote: Hi Rob, Encountered an issue while mounting a device which is already mounted. when __-t__ is not specified, the mount tries with the first device filesystem it finds from /proc/filesystems. To autodetect filesystem type, yes. __mount()__ return

Re: [Toybox] [Issue] - mounting a device again

2014-09-16 Thread Ashwini Sharma
Hi Rob, What I meant was trying to mount an already mounted device on a different mountpoint. In my use case, this is snapshot of my /proc/filesystems nodev inotifyfs nodev devpts ext3 ext4 nodev ramfs and following is the results when I mount /dev/loop0 (an ext4 formatted image) on /mnt/one

[Toybox] [Issue] - mounting a device again

2014-09-15 Thread Ashwini Sharma
Hi Rob, Encountered an issue while mounting a device which is already mounted. when __-t__ is not specified, the mount tries with the first device filesystem it finds from /proc/filesystems. __mount()__ return an EBUSY, at this point no other file system is tried for mounting instead mount