Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Identify the remote mounted drives Post 302606582 by rakeshkumar on Monday 12th of March 2012 06:03:43 AM
Old 03-12-2012
@methyl
i am using SUSE 11 with bash shell.

What exactly i am looking is differentiating the local and remote mounted folder either by color or some way because many times i though the remote shares as local directories and deleted them using rm.

i can restrict by read only in mounting but i need read write in target location


1) I need some way which throws some warning messaging like you are deleting from remote share or something similar to that which alerts me double check its local copy
2) At least differentiating the directories by color code

any help is much appreciated

thanks all
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Identify a remote machine as windows or unix

Hi, I have a IP address of the target machine.Is there is any way to find out whether it is a unix box or windows box without logging into it?. Regs Anand (5 Replies)
Discussion started by: u449064
5 Replies

2. Solaris

Remote mount an already mounted nfs filesystem

Hello all, We're using JET to build our systems.. I'm in the process of needing to build a centrally located JET box with access to all our networks rather that 2 or 3 dotted around. Part of the means I need to locate the boot & OS images on an NFS mount (via NETAPP filer).. However in the... (1 Reply)
Discussion started by: itsupplies
1 Replies

3. Shell Programming and Scripting

how floppy disks, CDs and flash drives (pen drives) are accessed in UNIX

hi how floppy disks, CDs and flash drives (pen drives) are accessed in UNIX? thanks (0 Replies)
Discussion started by: nokia1100
0 Replies

4. Solaris

Making backup with ufsdump to remote mounted filesystems

Hi Unix members. I am trying to make a backup to remote mounted filesystems : fileraseing:/vol/oracliente_revap01 10G 1.3G 8.7G 13% /orarev_ap01 fileraseing:/vol/bobje 10G 5.9G 4.1G 60% /bobje But I am receiving the follow message when use the ufsdump command: :$PWD>ufsdump 0fu... (8 Replies)
Discussion started by: aggadtech08
8 Replies

5. Solaris

how to login with ssh to remote system with out applying the remote root/usr password

how to login with ssh to remote system with out applying the remote root/user password with rlogin we can ujse .rhosts file but with ssh howits possible plz guide (2 Replies)
Discussion started by: tv.praveenkumar
2 Replies

6. UNIX for Dummies Questions & Answers

Want to improve the rsize and wsize of nfs mounted drives

Hi we have couple of nfs mounts between various linux servers. Recently i was wondering how to improve the performance by altering the parameters "msize" and "rsize" for nfs. In my machine i have determined the NFSSVC_MAXBLKSIZE_V2 = 8*1024 but kernel 2.6 supports upto 32k Optimizing NFS... (0 Replies)
Discussion started by: rakeshkumar
0 Replies

7. AIX

Error unmounting a remote mounted file system

Hi All, I'm facing an issue while trying to unmount a remotely mounted file system, strangely it's not even getting mounted, Kindly find the reply messages. Mounting error msg nfsmnthelp: 1831-019 <Server host>: Cannot mount a file system that is already remotely mounted. mount: 1831-008... (13 Replies)
Discussion started by: Abhishekag
13 Replies

8. UNIX and Linux Applications

Identify a specific environment Oracle variable to connect a remote Oracle database ?

Good evening I nned your help pls, In an unix server i want to connect to a remote oracle databse server by sqlplus. I tried to find out the user/passwd and service name by env variable and all Ive got is this: ORACLE_SID_REPCOL=SCL_REPCOL ORACLE_SID=xmeta ORACLE_SID_TOL=SCL_PROTOLCOL... (2 Replies)
Discussion started by: alexcol
2 Replies

9. Shell Programming and Scripting

Check/get the exit status of a remote command executed on remote host through script

Geeks, Could you please help me out in my script and identify the missing piece. I need to check/get the exit status of a remote command executed on remote host through script and send out an email when process/processes is/are not running on any/all server(s). Here's the complete... (5 Replies)
Discussion started by: lovesaikrishna
5 Replies

10. Shell Programming and Scripting

awk remote multiple hosts print remote hostname and output

Hi all, i'm trying to gether multiple pattern on remote hosts, and trying to print hostname and the pattern, ssh remoteserver1 -C 'hostname 2>&1;cat /var/log/server1.log | awk -F ";" '"'"'{ print " "$2" "$5}'"'"'| sort | uniq -c | sort -g -r ' The output is the following, remoteserver1 ... (8 Replies)
Discussion started by: charli1
8 Replies
mounted(7)						 Miscellaneous Information Manual						mounted(7)

NAME
mounted - event signalling that a filesystem has been mounted SYNOPSIS
mounted DEVICE=DEVICE MOUNTPOINT=MOUNTPOINT TYPE=TYPE OPTIONS=OPTIONS [ENV]... DESCRIPTION
The mounted event is generated by the mountall(8) daemon after it has mounted a filesystem. mountall(8) will wait for all services started by this event to be running, all tasks started by this event to have finished and all jobs stopped by this event to be stopped before emit- ting any other events related to this filesystem or continuing with other filesystems depending on this one. The DEVICE, MOUNTPOINT, TYPE and OPTIONS environment variables contain the values of the fstab(5) fields for this mountpoint. EXAMPLE
A tool that should be run after mounting the /tmp filesystem might use: start on mounted MOUNTPOINT=/tmp task SEE ALSO
mounting(7) virtual-filesystems(7) local-filesystems(7) remote-filesystems(7) all-swaps(7) filesystem(7) mountall 2009-12-21 mounted(7)
All times are GMT -4. The time now is 04:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy