From: Eric Smith <eric@brouhaha.com>
Subject: /etc/mtab (was Re: Rescue disk set?)
Date: 25 Dec 1996 10:29:41 -0000 [thread overview]
Message-ID: <f8978903d9e5e27ae0badabb809c5afe.axp-list@archive.invalid> (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
next reply other threads:[~1996-12-25 10:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-12-25 10:29 Eric Smith [this message]
[not found] <19961225102941.6325.qmail@brouhaha.com>
1996-12-25 16:48 ` /etc/mtab (was Re: Rescue disk set?) Michal Jaegermann
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox