On Mon, Apr 07, 2003 at 05:43:10PM -0700, l.a walsh wrote:
> It'd be really beneficial/user-friendly if some message could be
> issued in mount about this other that 'generic failure happened'.
As you probably know, by design mount(8) on Linux doesn't know
about the filesystem-specific options like this.
> I've been bitten by this twice, finally remembering the UUID the
> 2nd time around -- it's not something most ext2 users are going to be
> used to, or ISOFS, or many other file systems.
> Even though a generic status is returned to mount, isn't it possible to
> still spit something out on stderr to the effect of 'attempt to mount
> duplicate UUID', or does 'mount' redirect stderr as well? Maybe /dev/tty
> would work for interactive terminals and /dev/console otherwise...?
> It's just easy to forget when one does a bunch of iso or FAT
> copies...and months (and 20-30 other fs copies later), copy another xfs
> fs, and womp...why didn't that work? If you're lucky, it's not your
> first time and you remember (eventually)...otherwise, it can be a bit
Understood. I think mount could be changed to print something
like "Additional diagnostics can be found in your system log."
or something. This is not an XFS issue though, so if you want
this, or any other changes to mount, you'll need to discuss it
with Andries (Mr. util-linux).