Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sbin/mount



On Sat, 8 Oct 2016 06:47:59 +0000
"Maya Rashish" <maya%netbsd.org@localhost> wrote:

> Module Name:	src
> Committed By:	maya
> Date:		Sat Oct  8 06:47:59 UTC 2016
> 
> Modified Files:
> 	src/sbin/mount: mount.c
> 
> Log Message:
> change warning message
> 
> previously attempting to use mount -t ext2 like myself would result in
> the warning "mount: mount_ext2 not found for /mnt", which (if you're
> me) can be misunderstood as "/mnt is not an ext2 filesystem"...
> 
> change it to "mount: mount_ext2 not found"

Consider running the following:
-----
#!/bin/sh

mount -t ext2 /dev/sd0e /mnt1
mount -t ext2 /dev/sd1e /mnt2
mount -t ext2 /dev/sd2e /mnt3
mount -t ext2 /dev/sd3e /mnt4
-----

and getting the message:

mount: mount_ext2 not found

Now: which of those mounts failed?

(No, I don't care for this change at all, as I don't think it
really helps anything, and it significantly reduces the amount 
of useful information provided by the warning...)

Later...

Greg Oster



Home | Main Index | Thread Index | Old Index