- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: difference
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
06-07-2004 01:08 AM
06-07-2004 01:08 AM
difference
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2004 01:11 AM
06-07-2004 01:11 AM
Re: difference
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2004 01:12 AM
06-07-2004 01:12 AM
Re: difference
man mnttab
man fstab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2004 01:13 AM
06-07-2004 01:13 AM
Re: difference
DESCRIPTION
mnttab resides in directory /etc and contains a table of devices
mounted by the mount command (see mount(1M)). The file contains a
line of information for each mounted filesystem which is structurally
identical to the contents of /etc/fstab described by fstab(4).
There are a number of lines of the form:
special_file_name dir type opts freq passno mount_time
consisting of entries similar to:
/dev/dsk/c0d0s0 / hfs rw 0 1 537851723
/etc/mnttab is accessed by programs that use getmntent() (see
getmntent(3X)), It should never be manually edited, nor should setmnt
ever be used to create invalid entries in /etc/mnttab (see
setmnt(1M)).
mount_time contains the time the file system was mounted using mount.
Its value is the number of seconds since the Epoch (00:00:00
Coordinated Universal Time, January 1, 1970 (see time(2).
mount and umount rewrite the mnttab file whenever a file system is
mounted or unmounted if mnttab is found to be out of date with the
mounted file system table maintained internally by the HP-UX kernel.
syncer also updates mnttab if it is out of date (see syncer(1M).
Best Regards,
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2004 01:14 AM
06-07-2004 01:14 AM
Re: difference
mnttab -> mounted file system table
regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2004 01:20 AM
06-07-2004 01:20 AM
Re: difference
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=327206
------------------------------------------
/etc/fstab file describes all possibly mounted filesystems. The mount program uses this file to mount at startup time of the system all the necessary filesystems.
The information about all the filesystems actually mounted is kept in a file system mount table named /etc/mnttab.
------------------------------------------
fstab is the one you should care about as
its the one referenced during mounts.mnttab
is a table updated by mount (and used by bdf for example).you don't edit mnttab but edit
fstab and put each mounted directory there with
mount specific options for the filesystem.
And as suggested read the man pages for more information.
-------------------------------------------
We need to update /etc/fstab file as it keeps information which filesystems to mount on boot. Also, if you updte this file with device & mount point, at # prompt you will not need to specify device, simple mount followed by mount point will work, device information will get picked up from /etc/fstab.
/etc/mnttab gets updated by system up on mounting each filesystems. For Administrative purpose, it is used to check which filesystems are mounted.
---------------------------------------
Hope this helps,
Cheers,
Anshu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2004 01:21 AM
06-07-2004 01:21 AM
Re: difference
u mean to say in fstab only local mount drive are visible where as in mnttab lacal as well as remote mount drives are visible
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2004 01:25 AM
06-07-2004 01:25 AM
Re: difference
A simple way to look at this is /etc/fstab is the file you edit in order to specify how to mount things. /etc/mnttab is a file that the system keeps itself in order to keep track of how things are mounted.
You can mount things not in /etc/fstab but you can't mount anything that won't be listed in /etc/mnttab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2004 01:26 AM
06-07-2004 01:26 AM
Re: difference
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=327206
Bruno
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2004 01:39 AM
06-07-2004 01:39 AM
Re: difference
http://hp-events.hp3.nl/hp_itanium/presentaties/HP-UX%20Reference%20(11i%20v2)%20-%204%20File%20Formats%20(vol%208).pdf
HTH
Bruno