HOWTO mount linux filesystem. (Migrating data)

Joined
Sep 12, 2011
Messages
76
Reaction score
1
Points
8
I've recently migrated to a mac mini. I am unfamiliar with the OS, but am familiar
(somewhat) with *nix command line. I'm not aware that there is a mac tool for
migrating data from linux to mac. If there is, I'd like to know about it.
The alternative, which would work well for me, would be to mount the linux
filesystem and use cp.

I am unsure of the syntax for mounting the linux box. Pointers to documents on
the subject, examples, etc would be appreciated.

thanks
tim
 
Joined
Mar 17, 2008
Messages
6,879
Reaction score
191
Points
63
Location
Tucson, AZ
Your Mac's Specs
Way... way too many specs to list.
Well.... you can do it from the GUI as such..

Mac OS X: Using the Finder to Mount NFS Exports

otherwise it's an nfs mount. Assuming you have NFS enabled on your linux box.

so probably something like...

mount_nfs -o resvport nfsserver:/nfsshare /nfsmount

of course man is always there at the CLI.
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
There are multiple ways to share files from a Linux box (NFS, FTP, SMB, rsync, etc). What distribution are you using and how are you sharing the files?
 
OP
T
Joined
Sep 12, 2011
Messages
76
Reaction score
1
Points
8
Well.... you can do it from the GUI as such..

Mac OS X: Using the Finder to Mount NFS Exports

otherwise it's an nfs mount. Assuming you have NFS enabled on your linux box.

so probably something like...

mount_nfs -o resvport nfsserver:/nfsshare /nfsmount

of course man is always there at the CLI.
And yes I can mount with the GUI. Any caveats?
NOTE: A lot of what will be transported will be files used to test and/or deploy
in a CGI environment. The problem I have had in the past is that ownership by
the browser is lost and I have to do a lot of chown'ing to get functionality
back. cp -p et, al. solves that - as a CLI solution.
 
OP
T
Joined
Sep 12, 2011
Messages
76
Reaction score
1
Points
8
There are multiple ways to share files from a Linux box (NFS, FTP, SMB, rsync, etc). What distribution are you using and how are you sharing the files?
I'm using ubuntu 10.04 and sharing is done via cifs and ftp. See my other reply regarding
cp -p
thank you
 
Joined
Mar 17, 2008
Messages
6,879
Reaction score
191
Points
63
Location
Tucson, AZ
Your Mac's Specs
Way... way too many specs to list.
Once mounted from the GUi, I believe... as memory serves, you can use the CLI to do whatever you want. It should show up as something like...


mikeMBP:preferences mike$ mount
/dev/disk0s2 on / (hfs, local, journaled)
devfs on /dev (devfs, local, nobrowse)
map -hosts on /net (autofs, nosuid, automounted, nobrowse)
map auto_home on /home (autofs, automounted, nobrowse)
//mike@stor1/export on /Volumes/export (smbfs, nodev, nosuid, noowners, mounted by mike)

so then I'd just use /Volumes/export as my path.
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
Once mounted from the GUi, I believe... as memory serves, you can use the CLI to do whatever you want. It should show up as something like...
That is correct - volumes mounted through the UI are mounted to /Volumes. You should therefore be able to acces it like any other directory. I'd test it here but Dysfunction has you covered (it also doesn't help that my Linux box isn't plugged in right now).
 
OP
T
Joined
Sep 12, 2011
Messages
76
Reaction score
1
Points
8
That is correct - volumes mounted through the UI are mounted to /Volumes. You should therefore be able to acces it like any other directory. I'd test it here but Dysfunction has you covered (it also doesn't help that my Linux box isn't plugged in right now).
:Cool: Bingo! Thanks folks. That's the ticket!
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top