maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N9 / N950 (https://talk.maemo.org/forumdisplay.php?f=51)
-   -   [question] see root when connect through usb (https://talk.maemo.org/showthread.php?t=88400)

lorenzo 2012-12-26 19:05

[question] see root when connect through usb
 
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

thedead1440 2012-12-26 19:08

Re: [question] see root when connect through usb
 
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...

Schturman 2012-12-26 20:30

Re: [question] see root when connect through usb
 
Why you can't use:
usb cable + SDK mode + winscp (host: 192.168.2.15, port: 22, user: root, pass: your root pass).

juiceme 2012-12-27 01:00

Re: [question] see root when connect through usb
 
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 :D

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.


All times are GMT. The time now is 12:38.

vBulletin® Version 3.8.8