Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This 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!


  Search this Thread
Old 01-31-2017, 06:34 AM   #1
LQ Newbie
Registered: Jan 2010
Location: Vadodara, Gujarat
Distribution: Fedora, OpenSuse, Ubuntu, Mint and Debian
Posts: 22

Rep: Reputation: 0
Unhappy List all files mounted on specific mount point


I am trying to free-up some space on one of the mount-point (say /opt/sw/data/) which again has lot of symbolic links pointing to other mount points.

I am tyring to list all the files (greater than 500mb) mounted on that specific mount point.

du -a gives me list of all the files which are mounted on other mounts points (symbolic link).

Any help or pointers would be greatly helpful.

Old 01-31-2017, 07:07 AM   #2
Senior Member
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 2,998

Rep: Reputation: 1246Reputation: 1246Reputation: 1246Reputation: 1246Reputation: 1246Reputation: 1246Reputation: 1246Reputation: 1246Reputation: 1246
find /opt/sw/data -size +499M
find /opt/sw/data -size +499M -exec ls -lh {} \;
You may also wish to investigate find's -P flag to force no-follow of symlinks.
1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to check the conditions for mount point if already mounted or unmounted?help!! noahshines Programming 7 10-19-2015 09:04 PM
Looking for a way to check mount point is mounted and is writeable matthes138 Programming 2 01-03-2012 01:56 AM
[SOLVED] How to ensure mount point is mounted correctly ? hk_centos Linux - Newbie 4 06-24-2011 07:14 AM
Mount problem - device already mounted or mount point busy zahoo Linux - General 7 08-28-2009 06:02 PM
Mount Problem: evice already mounted or mount point busy paldebojyoti Linux - Distributions 5 08-27-2009 03:46 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:32 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration