Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / General / Hardware / January 2007



Tip: Looking for answers? Try searching our database.

Mounting Phone as a Volumes via Terminal?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John E. - 29 Dec 2006 08:13 GMT
Found this item on a cell phone forum archive that describes how to get your
phone to mount as a volume under Mac OS X:

== begin quote==
1. Open a terminal on your Mac (terminal.app or iTerm works fine)
2. cd /Volumes
3. Plug your SLIVR in to the USB port. After a second or two, your SLIVR will
show  up  in  /Volumes  as  whatever  you  named  it  (My  Slivr  or
whatever)
4. In your terminal quickly cd into your SLIVR (cd MY_SLIVR)
5. You're golden. Since you've moved into that filesystem, the operating
system will no longer automatically unmount it.
6. MY_SLIVR will show up mounted on your computer.
==end quote==

Can't see how to make this work. In Terminal, I can list Volumes, but can't
see "live" updating or mounting and dismounting Volumes...

Does this description have any validity at all? Is there someplace -- that
isn't Finder -- that one can watch Volumes come and go?

The description is from an archive, and the OP didn't show his address.

Thanks,
Signature

John English

Jolly Roger - 29 Dec 2006 09:14 GMT
> Found this item on a cell phone forum archive that describes how to get
> your phone to mount as a volume under Mac OS X:
[quoted text clipped - 19 lines]
> The description is from an archive, and the OP didn't show his address.
> Thanks,

Well the procedure assumes the USB driver will (a) automatically mount
the phone USB device as a drive on the desktop momentarily before (b)
automatically ejecting it.  I'm not sure that will be the case for
other phones - although it's certainly a possibility.

Changing the working directory to a position within a mounted volume
does indeed typically prevent it from being ejected - so that part of
it is certainly valid.

You may be able to watch the Volumes folder in a Finder window to see
live updates. Worth a shot, anyway. Just select Go > Go to Folder from
the Find menu bar and enter the path: /Volumes to view the folder in a
window.

Signature

JR

zit - 29 Dec 2006 14:37 GMT
> You may be able to watch the Volumes folder in a Finder window to see
> live updates. Worth a shot, anyway. Just select Go > Go to Folder from
> the Find menu bar and enter the path: /Volumes to view the folder in a
> window.

Just entering "ls" or "cd" a few times is not much of a chore.
You can google "quickly cd into your SLIVR" for the original article.
John E. - 29 Dec 2006 15:09 GMT
zit:

> Just entering "ls" or "cd" a few times is not much of a chore.

Which I've done numerous times.

> You can google "quickly cd into your SLIVR" for the original article.

Which I have.
Signature

John English

Barry OGrady - 02 Jan 2007 11:37 GMT
>> You may be able to watch the Volumes folder in a Finder window to see
>> live updates. Worth a shot, anyway. Just select Go > Go to Folder from
[quoted text clipped - 3 lines]
>Just entering "ls" or "cd" a few times is not much of a chore.
>You can google "quickly cd into your SLIVR" for the original article.

What is a SLIVR?

Barry
=====
Home page
http://members.iinet.net.au/~barry.og
Jolly Roger - 02 Jan 2007 15:49 GMT
>>> You may be able to watch the Volumes folder in a Finder window to see
>>> live updates. Worth a shot, anyway. Just select Go > Go to Folder from
[quoted text clipped - 5 lines]
>
> What is a SLIVR?

Google is your friend.

Signature

JR

John E. - 29 Dec 2006 15:22 GMT
Jolly Roger:

> Well the procedure assumes the USB driver will (a) automatically mount the
> phone USB device as a drive on the desktop momentarily before (b)
> automatically ejecting it.  I'm not sure that will be the case for other
> phones - although it's certainly a possibility.

Alas, it doesn't. Not sure what that guy was doing to get that result. He was
running OS X 10.4, which I'm not (10.3). Maybe that's the trick.

> Changing the working directory to a position within a mounted volume does
> indeed typically prevent it from being ejected - so that part of it is
[quoted text clipped - 3 lines]
> updates. Worth a shot, anyway. Just select Go > Go to Folder from the Find
> menu bar and enter the path: /Volumes to view the folder in a window.

Not a flicker of recognition in that folder when I plug in the phone.

Guess I'll tuck this away until I upgrade the OS and try it again then...

Thanks,
Signature

John English

DaveC - 30 Dec 2006 10:13 GMT
Phone is listed as a device under /dev. What is the procedure for mounting
such a listed device under /Volumes?

Thanks,
Signature

DaveC
me@bogusdomain.net
This is an invalid return address
Please reply in the news group

Wes Groleau - 30 Dec 2006 14:31 GMT
> Phone is listed as a device under /dev. What is the procedure for mounting
> such a listed device under /Volumes?

sudo mkdir /Volumes/Phone             # note 1

sudo mount /dev/Phone /Volumes/Phone  # note 2

note 1: personally, I'd recommend putting it
        somewhere other than Volumes

note 2: probably won't work--requires the device
        to be capable of acting like a disk

Signature

Wes Groleau

   There ain't no right wing,
   there ain't no left wing.
   There's only you and me and we just disagree.
                              (apologies to Jim Krueger)

Hugh Watkins - 29 Dec 2006 22:46 GMT
> Found this item on a cell phone forum archive that describes how to get your
> phone to mount as a volume under Mac OS X:
[quoted text clipped - 18 lines]
>
> The description is from an archive, and the OP didn't show his address.

  I just use blue tooth and browse away

Hugh W

Signature

a wonderful artist in Denmark
http://www.ingerlisekristoffersen.dk/

Beta blogger
http://snaps4.blogspot.com/   photographs and walks

old blogger  GENEALOGE
http://hughw36.blogspot.com/  MAIN BLOG

Wes Groleau - 30 Dec 2006 14:43 GMT
> Found this item on a cell phone forum archive that describes how to get your
> phone to mount as a volume under Mac OS X:
[quoted text clipped - 13 lines]
> Can't see how to make this work. In Terminal, I can list Volumes, but can't
> see "live" updating or mounting and dismounting Volumes...

Set the Terminal scrollback buffer to be HUGE.

Type into the terminal:

   while [ "1" == "1" ]; do
     date
     ls -latd /Volumes/*
   done

Plug in the slivr and watch carefully

Kill the loop with control C when you see the change.

Scroll back and see the exact name
(the date command slows it down a little plus lets you
see how long it stayed mounted, if it mounted at all.)

Then use this loop:

   while [ "1" == "1" ]; do
     cd "/Volumes/whatever the name is"
   done

If the time it remained mounted was longer than three seconds,
then you can afford to slow down the loop by adding "sleep 1"

If it works, and you want it easily repeatable, put the second
loop into a script and run the script with stdout and stderr
redirected to /dev/null

Signature

Wes Groleau

  A bureaucrat is someone who cuts red tape lengthwise.

John E. - 30 Dec 2006 20:03 GMT
Wes Groleau sez:

> Scroll back and see the exact name (the date command slows it down a little
> plus lets you see how long it stayed mounted, if it mounted at all.)

Nothing. Nada. No change after plugging in the phone. Guess there is no
mounting at all.

DaveC sez:

> Phone is listed as a device under /dev. What is the procedure for mounting
> such a listed device under /Volumes?

Don't know about your situation, but my phone doesn't mount at all, which
means the file system isn't recognizing it as a storage device at all. Dead
end.
Signature

John English

Barry OGrady - 02 Jan 2007 01:59 GMT
>Found this item on a cell phone forum archive that describes how to get your
>phone to mount as a volume under Mac OS X:
[quoted text clipped - 5 lines]
> show  up  in  /Volumes  as  whatever  you  named  it  (My  Slivr  or
>whatever)

What if you don't have an SLIVR?

>4. In your terminal quickly cd into your SLIVR (cd MY_SLIVR)
>5. You're golden. Since you've moved into that filesystem, the operating
[quoted text clipped - 11 lines]
>
>Thanks,

Barry
=====
Home page
http://members.iinet.net.au/~barry.og
Jolly Roger - 02 Jan 2007 02:51 GMT
>> Found this item on a cell phone forum archive that describes how to get
>> your phone to mount as a volume under Mac OS X:
[quoted text clipped - 7 lines]
>
> What if you don't have an SLIVR?

Then you disregard this post and move on.
</hint>

Signature

JR

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.