Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The mounted file system is /trfs/appl/mitek/1013/j2ee.
The content of the file system /trfs/appl/mitek/1013/j2ee and /trfs/appl are the same ..
Now when am trying to delete some files from /trfs/appl/mitek/1013/j2ee (from the local server) , cursor pointing to /trfs/appl/mitek/1013/j2ee (mounted file system)
How can I delete the files from /trfs/appl/mitek/1013/j2ee (local server)
Do I have to mount it and delete the files from the local system
If you want to delete files on a filesystem, then you need access to the filesystem and permission to write to it. The usual method is, indeed, to mount the filesystem someplace with the appropriate permissions.
There are a range of effective methods for deleting files without mounting. These include electromagnets, angle-grinders, and, an oldy but a goody, spilled coffee.
Since you must know all this already - I am guessing that something is stopping you from deleting these files the way you normally expect to do it. So, to help you, I need to know what you'd normally do, and what happens instead.
If you want to delete files on a filesystem, then you need access to the filesystem and permission to write to it. The usual method is, indeed, to mount the filesystem someplace with the appropriate permissions.
There are a range of effective methods for deleting files without mounting. These include electromagnets, angle-grinders, and, an oldy but a goody, spilled coffee.
Since you must know all this already - I am guessing that something is stopping you from deleting these files the way you normally expect to do it. So, to help you, I need to know what you'd normally do, and what happens instead.
Thanks Simon,
Since the local file system and the mounted file system has the same name ..I need to delete files from the local file systems.When am navigating to the local file system, it navigates to the mounted file system.. so deletion of the file in mounted file system leads to deletion of files in the local file system as both the file system bears the same name
The name of the file system makes no difference - it is the mountpoint which is important.
Note - you can mount a file system to a directory which already contains files without disturbing those files. Nothing actually gets written to that directory because the mounted filesystem is in another physical location.
eg - if I have a remote fs, I could mount it at /home - which will replace my home directory. I have to unmount it to get my local home directory back. OR I could mount it at /mnt/home, perhaps if I want to move files between the local and remote homes.
Note that in neither of these situations does deleting a file on the remote system lead to deleting the file from the local one.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.