Mounting your Phone on Linux
There is a neat way to mount your phone as a file system. You can do it using ObexFS, from OpenOBEX.
1. Build and install obexfs
First get obexfs-0.8.tar.gz, build, and install it:
tar zxf obexfs-0.8.tar.gz
cd obexfs-0.8
configure
make
make check
make install
That will install:
/usr/local/bin/obexfs
/usr/local/bin/obexautofs
2. Mount the phone using obexfs
Just execute this, replacing $PHONE_MAC_ADDRESS with your phone’s address (the -B is the comm. channel – for me it was channel 10):
mount -t fuse “obexfs#-b$PHONE_MAC_ADDRESS -B10” /mnt/phone
If you do an ‘ls /mnt/phone’ you’ll see a directory named by the device address (for example: /mnt/phone/$PHONE_MAC_ADDRESS). Just cd into it and you’ll see all your cell phones folders.
Note: if you see nothing in ‘ls /mnt/phone/$PHONE_MAC_ADDRESS’ and/or if it takes too long to list even /mnt/phone, then try a different channel instead of 10.
3. Fedora Core 6
On FC6 I found I needed to install these:
Runtime:
- fuse-2.6.3-2.fc6.i386.rpm
- obexftp-0.20-3.fc6
- openobex-1.3-3.1.i386.rpm
- openobex-apps-1.3-3.1.i386.rpm
Compiling (obexfs):
- fuse-devel-2.6.3-2.fc6.i386.rpm
- fuse-libs-2.6.3-2.fc6.i386.rpm
- obexftp-devel-0.20-3.fc6.i386.rpm
- libusb-devel-0.1.12-5.1.i386.rpm
- openobex-devel-1.3-3.1.i386.rpm