- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: File Systems or Directory Structure
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2010 06:55 PM
12-05-2010 06:55 PM
If i see a directory structure like /dir1/dir2/dir3/dir4/ then how to distinguish whether it is a file system or directory structure ?
Thanks,
Manoj
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2010 07:15 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2010 07:20 PM
12-05-2010 07:20 PM
Re: File Systems or Directory Structure
I can't guess what you are searching for in this case, the best reply here is to run a bdf command and see whether any logical volume have the mentioned directory structure as the mount point. /etc/fstab also should have an entry for this directory stucture, if it has a filesystem.
Thanks & Regards
Jayakrishnan G Naik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2010 09:39 PM
12-05-2010 09:39 PM
Re: File Systems or Directory Structure
man mount
mount
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2010 04:25 AM
12-06-2010 04:25 AM
Re: File Systems or Directory Structure
A mounted directory ("filesystem") will always have an inode number of two (2). Hence to test whether or not your directory is mounted, simply do:
# ls -ild /directory
The inode number is the first column of the output.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2010 04:40 AM
12-06-2010 04:40 AM
Re: File Systems or Directory Structure
> alternative method
do a cat /etc/mnttab. All of the output you would see there would be filesystems.
Regards
Ismail Azad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2010 08:26 AM
12-08-2010 08:26 AM
Re: File Systems or Directory Structure
Yet An Other Method ;-)
fuser -c /directory will return an error code if it is not a mounted filesystem.
root@ockham:/#fuser -c /tmp >/dev/null 2>&1; echo $?
0
root@ockham:/#fuser -c /tmp/lost+found >/dev/null 2>&1; echo $?
1
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2011 07:42 PM
01-13-2011 07:42 PM
Re: File Systems or Directory Structure
I mean in which scenarios they are used and for which type of applications ?
Thanks,
Manoj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2011 09:32 PM
01-13-2011 09:32 PM
Re: File Systems or Directory Structure
See the below thread.
http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1294983053235+28353475&threadId=1453640
Rgds...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2011 09:46 PM
01-13-2011 09:46 PM
Re: File Systems or Directory Structure
Filesystem:
Is a technolgy method of storing and organizing computer data and files. It is used on data storage devices to maintian the physical location of the files. Other than this, they might give access to data on a file server acting as clents for a network protocol.
Mountpoint:
It is a empty directory which is used to mount and provide an entry point to the filesystems.
Directory:
It is virtual container within a filesystem in which groups of files and other folders can be kept and organized.
Rgds...