Sponsored Content
Full Discussion: Problem with command mount
Top Forums Shell Programming and Scripting Problem with command mount Post 302880524 by Scott on Friday 20th of December 2013 08:08:42 AM
Old 12-20-2013
OK Smilie

BTW, you don't need to be root to use mount.

Code:
$ who am i
scott    ttys001  Dec 18 20:51 

$ uname -a
Darwin Scotts-iMac.local 13.0.0 Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64 x86_64

$ mount -t smbfs //scott:scott@vma/scott /Users/scott/remote

$ ll /Users/scott/remote
total 34
dr-xr-xr-x   2 scott  staff  16384 Dec 20 13:50 .
drwxr-xr-x+ 56 scott  staff   1904 Dec 20 13:55 ..
-r--r--r--   1 scott  staff     10 Dec 20 13:50 hello_from_vma.txt

This User Gave Thanks to Scott For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how to mount a hotswap scsi drive on a solaris 2.6 netra box using the mount command?

Hi... question is this: How do I mount an LVD hotswap scsi drive in bay #2 on a netra using the mount command? volmgt doesn't seem to mount it and/or I don't know how to view the drives data if it's formatted which it may not be. This drive is not new out of the box so I'm not sure. ... (4 Replies)
Discussion started by: soulshaker
4 Replies

2. Solaris

nfs mount problem

I have a NFS share on a Linux server. When I try to mount it on a Solaris 9 server, I get the following message: nfs mount: <nfs-server-name>: : RPC: Program not registered I have a few other Sun boxes and I can mount the share on them without any problems. (2 Replies)
Discussion started by: soliberus
2 Replies

3. UNIX for Dummies Questions & Answers

NFS mount problem

Hello, I'm trying to create an NFS mount on server1 to server2. From the man pages I think I'm doing it right: mount server2:/dev/vg60/lvol607 /net1 nfs mount: server1:/dev/vg60/lvol607: Permission denied Do I need to provide login credentials to server 2 somehow? What am I missing? ... (1 Reply)
Discussion started by: FredSmith
1 Replies

4. Solaris

Problem with mount remot..!!

hi all... when I try to mount filesystem on solaris appear me Permission denied this is do it: mount -F nfs <remote file system> <mount point> mount -f nfs remot_server:/share /share when i run this line: nfs mount: server_remoto:/share: Permission denied what i need to do? Regards.. (4 Replies)
Discussion started by: chanfle
4 Replies

5. Linux

Mount problem

well i have an NFS server setup on a pc "1st server" running Fedora Core 4 and i need to mount this from a non-root user. But when i try this i get this freaking error "mount: only root can do this". i do have the entry in fstab file and i tried following solution (no one are working) entry in... (1 Reply)
Discussion started by: sydney30
1 Replies

6. UNIX for Dummies Questions & Answers

usb mount problem

Hi friends, when i boot into my linux system, i am not able to use my USB device while it works on window. i know mount command but it seems my USB does not detected and when i insert my USB into USB port .. and run fdisk list command it does not show any additional device . normally... (2 Replies)
Discussion started by: johnray31
2 Replies

7. Shell Programming and Scripting

shell script problem , sudo mount command

cat test.sh sudo mount -t vfat /dev/sda7 /media/Ddrive If i double click the test.sh file and select run in terminal then the terminal prompts for password. How can i avoid typing password? Or if i double click test.sh file and select run then nothing happens. What i'm trying "Double... (3 Replies)
Discussion started by: cola
3 Replies

8. Red Hat

mount problem 3u9

every day i must type # mount -a in the workstation to mount the directory from the server . note 1- fstab is very good no problem in it 2- the network in this workstation is stable 3- i check every thing in this workstation but i dont see any problem 4- the O.S RedHat 3u9 every day... (3 Replies)
Discussion started by: ayman
3 Replies

9. Linux

problem in mount

every day i must type # mount -a in the workstation to mount the directory from the server . note 1- fstab is very good no problem in it 2- the network in this workstation is stable 3- i check every thing in this workstation but i dont see any problem 4- the O.S RedHat 3u9 every day the... (1 Reply)
Discussion started by: ayman
1 Replies

10. HP-UX

Mount problem with Linux

Hello, I want to mount a directory with nfs (v3). Server HP-UX 10.20 Client Centos If I export the path "/tausch" with access control for hosts with the command mount -t nfs <SERVER_HP-UX_IP>:/tausch/ /mnt/mnt_bach2/ /etc/exports: /tausch ... (8 Replies)
Discussion started by: nuts
8 Replies
MOUNT_HFS(8)						    BSD System Manager's Manual 					      MOUNT_HFS(8)

NAME
mount_hfs -- mount an Apple HFS+ File System SYNOPSIS
mount_hfs [-o options] special node DESCRIPTION
The mount_hfs command attaches the Apple HFS+ File System on the special device on to the file system tree at point node. Both special and node are converted to absolute paths before use. This command is normally executed by mount(8) at boot time. The options are as follows: -o Options are specified with a -o flag followed by a comma separated string of options. See the mount(8) man page for possible options and their meanings. NOTES
Apple disk images (.dmg files) and hybrid CD-ROMs contain multiple partitions with an HFS+ file system on one of them. Use apmlabel(8) to enter it into the disklabel and mount the resulting partition. SEE ALSO
mount(2), unmount(2), fstab(5), apmlabel(8), mount(8) HISTORY
The mount_hfs utility first appeared in NetBSD 5.0. AUTHORS
mount_hfs was developed by Yevgeny Binder <yevbee@comcast.net> during the 2005 Google Summer of Code. It was improved and imported into NetBSD by Dieter Baron <dillo@NetBSD.org>. BUGS
HFS+ support is still experimental. Currently, no write support is present. Also, Unicode decomposition is not performed on file names prior to lookup. BSD
May 19, 2007 BSD
All times are GMT -4. The time now is 03:58 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy