Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #158226 > unrolled thread

can I access SD card in cell phone?

Started byLi Wei <rootof3@yahoo.com>
First post2015-09-25 12:40 +0200
Last post2015-09-26 04:30 +0200
Articles 20 on this page of 21 — 10 participants

Back to article view | Back to linux.debian.user


Contents

  can I access SD card in cell phone? Li Wei <rootof3@yahoo.com> - 2015-09-25 12:40 +0200
    Re: can I access SD card in cell phone? Li Wei <rootof3@yahoo.com> - 2015-09-25 14:10 +0200
      Re: can I access SD card in cell phone? Brad Rogers <brad@fineby.me.uk> - 2015-09-25 14:20 +0200
        Re: can I access SD card in cell phone? Li Wei <rootof3@yahoo.com> - 2015-09-25 15:30 +0200
          Re: can I access SD card in cell phone? Brad Rogers <brad@fineby.me.uk> - 2015-09-25 16:30 +0200
            Re: can I access SD card in cell phone? Li Wei <rootof3@yahoo.com> - 2015-09-25 21:40 +0200
              Re: can I access SD card in cell phone? Brad Rogers <brad@fineby.me.uk> - 2015-09-25 23:10 +0200
                Re: can I access SD card in cell phone? Li Wei <rootof3@yahoo.com> - 2015-09-25 23:50 +0200
                  Re: can I access SD card in cell phone? Li Wei <rootof3@yahoo.com> - 2015-09-26 00:10 +0200
                    Re: can I access SD card in cell phone? Antti Talsta <atalsta@nothingtosee.org> - 2015-09-26 02:10 +0200
                    Re: can I access SD card in cell phone? Seeker <seeker5528@comcast.net> - 2015-09-26 04:50 +0200
                  Re: can I access SD card in cell phone? Brad Rogers <brad@fineby.me.uk> - 2015-09-26 13:00 +0200
              Re: can I access SD card in cell phone? Erwan David <erwan@rail.eu.org> - 2015-09-26 16:40 +0200
    Re: can I access SD card in cell phone? Sven Arvidsson <sa@whiz.se> - 2015-09-25 14:30 +0200
    Re: can I access SD card in cell phone? ken <gebser@mousecar.com> - 2015-09-25 19:30 +0200
      Re: can I access SD card in cell phone? Li Wei <rootof3@yahoo.com> - 2015-09-25 21:50 +0200
        Re: can I access SD card in cell phone? ken <gebser@mousecar.com> - 2015-09-26 02:40 +0200
        Re: can I access SD card in cell phone? Lisi Reisz <lisi.reisz@gmail.com> - 2015-09-26 13:00 +0200
        Re: can I access SD card in cell phone? Curt <curty@free.fr> - 2015-09-26 16:10 +0200
    Re: can I access SD card in cell phone? David Christensen <dpchrist@holgerdanske.com> - 2015-09-26 02:40 +0200
      (solved) Re: can I access SD card in cell phone? Li Wei <rootof3@yahoo.com> - 2015-09-26 04:30 +0200

Page 1 of 2  [1] 2  Next page →


#158226 — can I access SD card in cell phone?

FromLi Wei <rootof3@yahoo.com>
Date2015-09-25 12:40 +0200
Subjectcan I access SD card in cell phone?
Message-ID<qcyA2-7au-7@gated-at.bofh.it>
I have a Samsung S7572 cell phone
I install a SD card in phone, now I want to access the card in Linux, how to do it?
Samsung provides kies, which runs in Windows

I have some old phones, their cards can be accessed in Linux
but how to it with Samsung S7572?
Thanks!!!

[toc] | [next] | [standalone]


#158231

FromLi Wei <rootof3@yahoo.com>
Date2015-09-25 14:10 +0200
Message-ID<qczZ9-T1-25@gated-at.bofh.it>
In reply to#158226
when I connect cell phone(CP) to PC, CP displays some msg
msg seem to say that it supports Kies Windows or Mac

it seems that it doen't support Linux, no luck
it's too bad samsung doesn't support Linux

--------------------------------------------
On Fri, 9/25/15, Li Wei <rootof3@yahoo.com> wrote:

 Subject: can I access SD card in cell phone?
 To: debian-user@lists.debian.org
 Date: Friday, September 25, 2015, 6:35 AM
 
 I have a Samsung S7572 cell phone
 I install a SD card in phone, now I want to access the card
 in Linux, how to do it?
 Samsung provides kies, which runs in Windows
 
 I have some old phones, their cards can be accessed in
 Linux
 but how to it with Samsung S7572?
 Thanks!!!
 
 

[toc] | [prev] | [next] | [standalone]


#158232

FromBrad Rogers <brad@fineby.me.uk>
Date2015-09-25 14:20 +0200
Message-ID<qcA8P-14l-27@gated-at.bofh.it>
In reply to#158231

[Multipart message — attachments visible in raw view] — view raw

On Fri, 25 Sep 2015 05:07:34 -0700
Li Wei <rootof3@yahoo.com> wrote:

Hello Li,

>it seems that it doen't support Linux, no luck
>it's too bad samsung doesn't support Linux

My Samsung's memory is readable/writeable from the computer.  Just make
sure that it's set to 'Mass Storage' and not 'Samsung Kies' in Settings
-> PC Connection.

-- 
 Regards  _
         / )           "The blindingly obvious is
        / _)rad        never immediately apparent"
Chose to play the fool in a six piece band
What A Waste - Ian Dury And The Blockheads

[toc] | [prev] | [next] | [standalone]


#158235

FromLi Wei <rootof3@yahoo.com>
Date2015-09-25 15:30 +0200
Message-ID<qcBex-2Eq-7@gated-at.bofh.it>
In reply to#158232
Thanks!
but I have not been able to find option PC Connection

My model is GT-S7572
--------------------------------------------
On Fri, 9/25/15, Brad Rogers <brad@fineby.me.uk> wrote:

 Subject: Re: can I access SD card in cell phone?
 To: "Debian Users ML" <debian-user@lists.debian.org>
 Date: Friday, September 25, 2015, 8:18 AM
 
 On Fri, 25 Sep 2015
 05:07:34 -0700
 Li Wei <rootof3@yahoo.com>
 wrote:
 
 Hello Li,
 
 >it seems that it doen't support Linux,
 no luck
 >it's too bad samsung
 doesn't support Linux
 
 My Samsung's memory is readable/writeable
 from the computer.  Just make
 sure that
 it's set to 'Mass Storage' and not 'Samsung
 Kies' in Settings
 -> PC
 Connection.
 
 -- 
  Regards  _
      
    / )           "The
 blindingly obvious is
         / _)rad 
       never immediately apparent"
 Chose to play the fool in a six piece band
 What A Waste - Ian Dury And The
 Blockheads

[toc] | [prev] | [next] | [standalone]


#158236

FromBrad Rogers <brad@fineby.me.uk>
Date2015-09-25 16:30 +0200
Message-ID<qcCaB-3Z4-7@gated-at.bofh.it>
In reply to#158235

[Multipart message — attachments visible in raw view] — view raw

On Fri, 25 Sep 2015 06:26:13 -0700
Li Wei <rootof3@yahoo.com> wrote:

Hello Li,

>Thanks!

YW.

>but I have not been able to find option PC Connection
>My model is GT-S7572

A search if 'net indicates this might be what you're looking for;

Settings -> Wireless and network -> USB utilities

Although the page I got that from indicates you may have to disable USB
debugging first.

The link;

http://www.recovery-android.com/connect-samsung-to-computer.html

-- 
 Regards  _
         / )           "The blindingly obvious is
        / _)rad        never immediately apparent"
We don't need no-one to tell us what's right or wrong
The Modern World - The Jam

[toc] | [prev] | [next] | [standalone]


#158257

FromLi Wei <rootof3@yahoo.com>
Date2015-09-25 21:40 +0200
Message-ID<qcH0C-2u4-31@gated-at.bofh.it>
In reply to#158236
Thanks!
My phone does not have menu USB utilities

When connected via USB line, phone says sth. like 
connected as media device

--------------------------------------------
On Fri, 9/25/15, Brad Rogers <brad@fineby.me.uk> wrote:

 Subject: Re: can I access SD card in cell phone?
 To: "Debian Users ML" <debian-user@lists.debian.org>
 Date: Friday, September 25, 2015, 10:23 AM
 
 On Fri, 25 Sep 2015
 06:26:13 -0700
 Li Wei <rootof3@yahoo.com>
 wrote:
 
 Hello Li,
 
 >Thanks!
 
 YW.
 
 >but I have not been able to find option PC
 Connection
 >My model is GT-S7572
 
 A search if 'net indicates
 this might be what you're looking for;
 
 Settings -> Wireless and
 network -> USB utilities
 
 Although the page I got that from indicates you
 may have to disable USB
 debugging first.
 
 The link;
 
 http://www.recovery-android.com/connect-samsung-to-computer.html
 
 -- 
  Regards  _
          / )       
    "The blindingly obvious is
         / _)rad        never
 immediately apparent"
 We
 don't need no-one to tell us what's right or
 wrong
 The Modern World - The
 Jam

[toc] | [prev] | [next] | [standalone]


#158266

FromBrad Rogers <brad@fineby.me.uk>
Date2015-09-25 23:10 +0200
Message-ID<qcIpI-4D0-11@gated-at.bofh.it>
In reply to#158257

[Multipart message — attachments visible in raw view] — view raw

On Fri, 25 Sep 2015 12:37:16 -0700
Li Wei <rootof3@yahoo.com> wrote:

Hello Li,

>When connected via USB line, phone says sth. like 
>connected as media device

That sounds as though it's being detected, but not mounted.  Open a
shell and do

$ lsusb

You should be able to spot the 'phone listed amongst the devices
connected.

-- 
 Regards  _
         / )           "The blindingly obvious is
        / _)rad        never immediately apparent"
If you ain't sticking your knives in me, you will be eventually
Monsoon - Robbie Williams

[toc] | [prev] | [next] | [standalone]


#158268

FromLi Wei <rootof3@yahoo.com>
Date2015-09-25 23:50 +0200
Message-ID<qcJ2q-5nP-3@gated-at.bofh.it>
In reply to#158266
Thanks! when connected via USB, linux says:
... This device cannot do calls on its own. It is not a modem.

I enter lsusb, it prints:

Bus 001 Device 004: ID 04e8:6860 Samsung Electronics Co., Ltd GT-I9100 Phone [Galaxy S II], GT-P7500 [Galaxy Tab 10.1]
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 25a7:2402  


--------------------------------------------
On Fri, 9/25/15, Brad Rogers <brad@fineby.me.uk> wrote:

 Subject: Re: can I access SD card in cell phone?
 To: "Debian Users ML" <debian-user@lists.debian.org>
 Date: Friday, September 25, 2015, 4:01 PM
 
 
 Hello Li,
 

 That sounds as
 though it's being detected, but not mounted.  Open a
 shell and do
 
 $
 lsusb
 
 You should be able to
 spot the 'phone listed amongst the devices
 connected.
 
 --
 
  Regards  _
      
    / )           "The
 blindingly obvious is
         / _)rad 
       never immediately apparent"
 If you ain't sticking your knives in me,
 you will be eventually
 Monsoon - Robbie
 Williams

[toc] | [prev] | [next] | [standalone]


#158269

FromLi Wei <rootof3@yahoo.com>
Date2015-09-26 00:10 +0200
Message-ID<qcJlL-5Zx-1@gated-at.bofh.it>
In reply to#158268
maybe linux desktop market share in China is so small
that Samsung remove PC connection option in Setting ??

if so, that's too bad

[toc] | [prev] | [next] | [standalone]


#158273

FromAntti Talsta <atalsta@nothingtosee.org>
Date2015-09-26 02:10 +0200
Message-ID<qcLdT-cm-7@gated-at.bofh.it>
In reply to#158269
On Fri, Sep 25, 2015 at 03:09:18PM -0700, Li Wei wrote:
> maybe linux desktop market share in China is so small
> that Samsung remove PC connection option in Setting ??

This Android USB thing depends on the version of Android. My old Desire
Z (Android 2.3) worked as a generic USB mass storage. Galaxy S4 with
Android 4.4.2 as an MTP device.

Whats strange in my situation is that sometimes I can browse Galaxys
filesystem in Nautilus, mostly I can't. Haven't figured out the right
incantations to make it work always. Sorry, this doesn't help OP much
but one thing is sure. Some people have MTP working.

Something about MTP

https://wiki.debian.org/mtp

https://wiki.archlinux.org/index.php/MTP

-- 
Antti Talsta

[toc] | [prev] | [next] | [standalone]


#158281

FromSeeker <seeker5528@comcast.net>
Date2015-09-26 04:50 +0200
Message-ID<qcNIJ-3FW-1@gated-at.bofh.it>
In reply to#158269

On 9/25/2015 3:09 PM, Li Wei wrote:
> maybe linux desktop market share in China is so small
> that Samsung remove PC connection option in Setting ??
>
> if so, that's too bad
>
I think it has more to do with Google than with Samsung....

http://www.androidcentral.com/ics-feature-mtp-what-it-why-use-it-and-how-set-it

http://www.howtogeek.com/192732/android-usb-connections-explained-mtp-ptp-and-usb-mass-storage/

Later, Seeker

[toc] | [prev] | [next] | [standalone]


#158290

FromBrad Rogers <brad@fineby.me.uk>
Date2015-09-26 13:00 +0200
Message-ID<qcVmV-68i-5@gated-at.bofh.it>
In reply to#158268

[Multipart message — attachments visible in raw view] — view raw

On Fri, 25 Sep 2015 14:47:31 -0700
Li Wei <rootof3@yahoo.com> wrote:

Hello Li,

>Bus 001 Device 004: ID 04e8:6860 Samsung Electronics Co., Ltd GT-I9100
>Phone [Galaxy S II], GT-P7500 [Galaxy Tab 10.1]

So, it detects the 'phone.  That good.  Of you're lucky, it'll be
possible to mount it.  However, taking note of what others have written,
you may have to do some reading first.

We're rapidly approaching the limits of my understanding of this area.
When I had problems with my (previous) 'phone, I ended up buying a cheap
USB BlueTooth dongle, and using that to get a connection.  If the worst
comes to the worst, perhaps that's an option you could explore.

-- 
 Regards  _
         / )           "The blindingly obvious is
        / _)rad        never immediately apparent"
You never listen to a word that I said
Public Image - Public Image Ltd

[toc] | [prev] | [next] | [standalone]


#158302

FromErwan David <erwan@rail.eu.org>
Date2015-09-26 16:40 +0200
Message-ID<qcYNP-2IN-15@gated-at.bofh.it>
In reply to#158257
Le 25/09/2015 21:37, Li Wei a écrit :
> Thanks!
> My phone does not have menu USB utilities
>
> When connected via USB line, phone says sth. like 
> connected as media device
>
>

In that case jmtpfs may give you the way to access the samasung mass memory

[toc] | [prev] | [next] | [standalone]


#158234

FromSven Arvidsson <sa@whiz.se>
Date2015-09-25 14:30 +0200
Message-ID<qcAiu-1fs-17@gated-at.bofh.it>
In reply to#158226

[Multipart message — attachments visible in raw view] — view raw

On Fri, 2015-09-25 at 03:35 -0700, Li Wei wrote:
> I have a Samsung S7572 cell phone
> I install a SD card in phone, now I want to access the card in Linux,
> how to do it?
> Samsung provides kies, which runs in Windows
> 
> I have some old phones, their cards can be accessed in Linux
> but how to it with Samsung S7572?
> Thanks!!!

Some Googling suggests that Kies might actually just be using MTP
(Media Transfer Protocol), so try that.

There might also be a way of turning off MTP and force USB Mass
Storage:

http://techathlon.com/fix-usb-mass-storage-issue-samsung-galaxy-phones/

http://forums.androidcentral.com/samsung-galaxy-s3/190357-how-enable-us
b-mass-storage-disables-kies.html


-- 
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID 6FAB5CD5



[toc] | [prev] | [next] | [standalone]


#158244

Fromken <gebser@mousecar.com>
Date2015-09-25 19:30 +0200
Message-ID<qcEYO-82I-13@gated-at.bofh.it>
In reply to#158226
On 09/25/2015 06:35 AM, Li Wei wrote:
> I have a Samsung S7572 cell phone
> I install a SD card in phone, now I want to access the card in Linux, how to do it?
> Samsung provides kies, which runs in Windows
>
> I have some old phones, their cards can be accessed in Linux
> but how to it with Samsung S7572?
> Thanks!!!
>

A couple years ago I wrote up an easy-to-read, easy way to do this with 
no cables necessary:

http://linuxmanagers.blogspot.com/

[toc] | [prev] | [next] | [standalone]


#158259

FromLi Wei <rootof3@yahoo.com>
Date2015-09-25 21:50 +0200
Message-ID<qcHai-2Fx-7@gated-at.bofh.it>
In reply to#158244
Thanks!
but I'm in China and linuxmanagers.blogspot.com seems blocked

--------------------------------------------
On Fri, 9/25/15, ken <gebser@mousecar.com> wrote:

 Subject: Re: can I access SD card in cell phone?
 To: "Li Wei" <rootof3@yahoo.com>, debian-user@lists.debian.org
 Date: Friday, September 25, 2015, 1:28 PM
 
 
 A couple years ago I wrote up
 an easy-to-read, easy way to do this with 
 no cables necessary:
 
 http://linuxmanagers.blogspot.com/
 
 

[toc] | [prev] | [next] | [standalone]


#158274

Fromken <gebser@mousecar.com>
Date2015-09-26 02:40 +0200
Message-ID<qcLGW-KJ-11@gated-at.bofh.it>
In reply to#158259
That must be because of all the propaganda I have there. ;)


On 09/25/2015 03:48 PM, Li Wei wrote:
> Thanks!
> but I'm in China and linuxmanagers.blogspot.com seems blocked
>
> --------------------------------------------
> On Fri, 9/25/15, ken <gebser@mousecar.com> wrote:
>
>   Subject: Re: can I access SD card in cell phone?
>   To: "Li Wei" <rootof3@yahoo.com>, debian-user@lists.debian.org
>   Date: Friday, September 25, 2015, 1:28 PM
>
>
>   A couple years ago I wrote up
>   an easy-to-read, easy way to do this with
>   no cables necessary:
>
>   http://linuxmanagers.blogspot.com/
>
>
>

[toc] | [prev] | [next] | [standalone]


#158291

FromLisi Reisz <lisi.reisz@gmail.com>
Date2015-09-26 13:00 +0200
Message-ID<qcVmV-68i-11@gated-at.bofh.it>
In reply to#158259
On Friday 25 September 2015 20:48:18 Li Wei wrote:
> Thanks!
> but I'm in China and linuxmanagers.blogspot.com seems blocked
Here is the relevant text (minus any propaganda;):
-------------------------------------------------
Transferring files between your Linux box and your Android device
There are a few ways to share files over wifi between your Linux machine and 
your Android device. The first method I used was to set up a web server on my 
CentOS box and then browse to it on the Android. This wasn't an ideal 
solution for a number of reasons, one being that the transfer worked in only 
one direction (from the web server to the Android) and the second being it 
was a solution too complicated for most Android users.

The second solution was much better, an app (free) at play.google.com called 
Software Data Cable. It's essentially an ftp server that runs on Android 
(version 2.1 and above— it was nice of the developers to backport it). Once 
installed, you simply start it running and then you can transfer files back 
and forth between your Android and Linux over wifi. Software Data Cable 
allows you to configure a password to access the server. Still I still don't 
leave it running all the time due to security concerns. It's simple enough 
just to fire it up when needed.

On the Linux side, open up two nautilus windows, one being Panel -> Places -> 
Network Places -> your Android's IP address, the other being your Home 
directory or Desktop or whatever. Then you can transfer files back and forth 
just by dragging and dropping them from one window into the other— in either 
direction. I've also found Software Data Cable to be the easiest way to 
rename files on Android: Right-click on the filename, select Rename, and type 
in the new name. If, in this process, Android gets confused about the 
contents of a local directory, on Android exit that directory to its parent, 
then go back into it. This seems to force a reread of the directory contents, 
bringing the cosmos back to sanity.

It would be nice to be able to use Software Data Cable to set up a file server 
for a group of people. In a sense, it already does this except, with no 
limits on who could download what, people can access files and/or directories 
everywhere, including your confidential information. A proper ftp server 
would institute limits on which users could access which files and 
directories. Perhaps we'll see this further development in future.
----------------------------------------------

HTH - and hope it gets through - 
Lisi




>
> --------------------------------------------
> On Fri, 9/25/15, ken <gebser@mousecar.com> wrote:
>
>  Subject: Re: can I access SD card in cell phone?
>  To: "Li Wei" <rootof3@yahoo.com>, debian-user@lists.debian.org
>  Date: Friday, September 25, 2015, 1:28 PM
>
>
>  A couple years ago I wrote up
>  an easy-to-read, easy way to do this with
>  no cables necessary:
>
>  http://linuxmanagers.blogspot.com/

[toc] | [prev] | [next] | [standalone]


#158298

FromCurt <curty@free.fr>
Date2015-09-26 16:10 +0200
Message-ID<qcYkN-2aN-1@gated-at.bofh.it>
In reply to#158259
On 2015-09-25, Li Wei <rootof3@yahoo.com> wrote:

> Thanks!
> but I'm in China and linuxmanagers.blogspot.com seems blocked
>

There's AirDroid if you have wifi (you don't have to sign up for one of
their accounts, by the way) and you can download apps from the google play
store.

You open AirDroid, which you gives you the phone's ip address. On a
local lan that might look like http://192.168.0.11:8888.  Stick that
into your favorite browser, then browse the contents of your Samsung
(allows file transfer + management).

Works for me.  Has the merit of simplicity if all else fails.

[toc] | [prev] | [next] | [standalone]


#158276

FromDavid Christensen <dpchrist@holgerdanske.com>
Date2015-09-26 02:40 +0200
Message-ID<qcLGW-KJ-17@gated-at.bofh.it>
In reply to#158226
On 09/25/2015 03:35 AM, Li Wei wrote:
> I have a Samsung S7572 cell phone
> I install a SD card in phone, now I want to access the card in Linux, how to do it?
> Samsung provides kies, which runs in Windows
> I have some old phones, their cards can be accessed in Linux
> but how to it with Samsung S7572?

I have a Samsung Galaxy Indulge (R910, Android 2.2.1) phone that 
automagically mounts on Wheezy Xfce when plugged in.  Then metroPCS 
upgraded their cellular network, dropped support for that model, and I 
needed a new phone.


So, I bought a Motorola Moto G (XT1045, Android 4.4.4) from AT&T.  When 
I plugged it in to Wheezy Xfce, nothing happened.  After much STFW, 
RTFM, etc., I learned that I needed to use Media Transfer Protocol:

     https://en.wikipedia.org/wiki/Media_Transfer_Protocol


This is available via FUSE on Wheezy.  I installed two Apt packages:

     jmtpfs
     mtp-tools

created a mount directory:

     $HOME/xt1045

added myself to the FUSE group:

     usermod -a -G fuse dpchrist

and figured out how to mount and umount the phone.  (I can't remember if 
I needed to do anything on the phone, and I don't see anything in the 
settings now that looks relevant.)  I put the relevant commands (with 
some simple checks) into a pair of shell scripts.  See the sample 
console session that follows.


David



2015-09-25 17:00:18 dpchrist@t2250 ~
$ ls -aF xt1045/
./  ../

2015-09-25 17:00:22 dpchrist@t2250 ~
$ mount | grep xt1045

2015-09-25 17:00:26 dpchrist@t2250 ~
$ cat camera-phone-scripts/mount-xt1045.sh
#!/bin/sh
mountpoint=/home/dpchrist/xt1045
if cat /proc/mounts | grep -q "$mountpoint"
then
     echo "'$mountpoint' is already mounted" >&2
     exit 0
fi
echo jmtpfs "$mountpoint"
      jmtpfs "$mountpoint"

2015-09-25 17:00:36 dpchrist@t2250 ~
$ camera-phone-scripts/mount-xt1045.sh
jmtpfs /home/dpchrist/xt1045
Device 0 (VID=22b8 and PID=2e82) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp 
development team
Android device detected, assigning default bug flags

2015-09-25 17:01:12 dpchrist@t2250 ~
$ ls -aF xt1045/
./  ../  Internal storage/  SD card/

2015-09-25 17:01:19 dpchrist@t2250 ~
$ mount | grep xt1045
jmtpfs on /home/dpchrist/xt1045 type fuse.jmtpfs 
(rw,nosuid,nodev,relatime,user_id=********,group_id=********)

2015-09-25 17:01:23 dpchrist@t2250 ~
$ cat camera-phone-scripts/umount-xt1045.sh
#!/bin/sh
mountpoint=/home/dpchrist/xt1045
if ! cat /proc/mounts | grep -q "$mountpoint"
then
     echo "'$mountpoint' is not mounted" >&2
     exit 0
fi
echo fusermount -u "$mountpoint"
      fusermount -u "$mountpoint"

2015-09-25 17:01:35 dpchrist@t2250 ~
$ camera-phone-scripts/umount-xt1045.sh
fusermount -u /home/dpchrist/xt1045

2015-09-25 17:01:39 dpchrist@t2250 ~
$ ls -aF xt1045/
./  ../

2015-09-25 17:01:45 dpchrist@t2250 ~
$ mount | grep xt1045

[toc] | [prev] | [next] | [standalone]


Page 1 of 2  [1] 2  Next page →

Back to top | Article view | linux.debian.user


csiph-web