Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* /etc/mtab (was Re: Rescue disk set?)
@ 1996-12-25 10:29 Eric Smith
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Smith @ 1996-12-25 10:29 UTC (permalink / raw)


Michal Jaegermann <michal@ellpspace.math.ualberta.ca> wrote:
> For that use "mount -n".  You do not **want** to update /etc/mtab
> on read only file system.  "cat /proc/mounts", which you should have,
> is a good source for the same information.

/etc/mtab is a never-ending source of frustration for me.  I don't understand
why it exists at all.  Surely the mount command doesn't really need it, because
the mount system call will reject improper mounts (or at least it should).
And the umount command shouldn't need it either; it should just do what the
heck I tell it.

I suppose it wouldn't bother me nearly so much if the mount and umount
commands simply made a "best effort" to keep /etc/mtab up to date, but didn't
actually depend on it.  This would satisfy people who don't use /proc/mounts
for whatever reason.  Or at least if the commands had options to ignore
/etc/mtab, so I would be able to get out of sticky situations.  I thought
part of the "Unix Philosophy" was that it provided "enough rope".

Cheers,
Eric

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 2+ messages in thread
[parent not found: <19961225102941.6325.qmail@brouhaha.com>]

end of thread, other threads:[~1996-12-25 16:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-12-25 10:29 /etc/mtab (was Re: Rescue disk set?) Eric Smith
     [not found] <19961225102941.6325.qmail@brouhaha.com>
1996-12-25 16:48 ` Michal Jaegermann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox