Reply
Thread Tools
lorenzo's Avatar
Posts: 491 | Thanked: 299 times | Joined on Jul 2012 @ Pordenone IT
#1
usb-moded.ini

[mountpoints]
mount = /dev/mmcblk0p1

#you can add more filesystems to the mount option, by making it a comma-seperated list.

[sync]
nofua = 1

[altmount]
mount = /home/user/MyDocs

[cdrom]
path = /usr/share/aceso/aceso.iso
timeout = 1

if i write "[altmount] mount = / " can i see all the files?
this file is in /etc/usb-moded

Last edited by lorenzo; 2012-12-26 at 19:07.
 
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#2
I'm not sure but I would advice against doing it before someone with more knowledge can advice...

From what I understand mount = /dev/mmcblk0p1 which is exactly the ~/MyDocs parition hence its alternative name is "mount = /home/user/MyDocs" so if you change it to / you are looking at quite a mess up... Currently its mounting the vFAT partition if you change it to / then you are trying to mount everything which is the mess IMO...
 

The Following User Says Thank You to thedead1440 For This Useful Post:
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#3
Why you can't use:
usb cable + SDK mode + winscp (host: 192.168.2.15, port: 22, user: root, pass: your root pass).
 
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#4
So you would like to see your root partiton as exported mount?
You can do that, yes, hewever I am not sure why you would like to do it....
Just change the entry /dev/mmcblk0p1 to /dev/mmcblk0p2 but there are downsides... Doing it thatway means you would need to umount the root partition from the device

And before you try that, HEY, I am KIDDING Ya!
It's not possible unless you mount something else as root before doing it.

There are ways of doing it, though.
For example you could export any given partition as nfs filesystem over the usb connection. (or via wlan, as far as it matters)
That is doable without umounting it on the device.

However to do that you need NFS server on the device.
 

The Following User Says Thank You to juiceme For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 09:54.