public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
* [bug] Cannot mount from directories containing = (equals)
       [not found] <1372412934.77779.YahooMailNeo@web162205.mail.bf1.yahoo.com>
@ 2013-06-28  9:50 ` Marek Mrva
  2013-06-28 13:37   ` Karel Zak
  0 siblings, 1 reply; 2+ messages in thread
From: Marek Mrva @ 2013-06-28  9:50 UTC (permalink / raw)
  To: util-linux@vger.kernel.org

Hello, hopefully this is the correct mailing list...


I have noticed an odd behavior [subject] when trying to mount some ext2 disk file image

This problem probably occurs because the = character forces the mount command to interpret the path as an UUID rather than a file

Some info:

# mount -V
mount from util-linux 2.22.2 (libmount 2.22.0: debug)



I wonder, is this more of a bug or a feature? Any help would be greatly appreciated :-)


Best regards,
  Marek Mrva


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [bug] Cannot mount from directories containing = (equals)
  2013-06-28  9:50 ` [bug] Cannot mount from directories containing = (equals) Marek Mrva
@ 2013-06-28 13:37   ` Karel Zak
  0 siblings, 0 replies; 2+ messages in thread
From: Karel Zak @ 2013-06-28 13:37 UTC (permalink / raw)
  To: Marek Mrva; +Cc: util-linux@vger.kernel.org

On Fri, Jun 28, 2013 at 02:50:58AM -0700, Marek Mrva wrote:
> This problem probably occurs because the = character forces the
> mount command to interpret the path as an UUID rather than a file
> 
> Some info:
> 
> # mount -V mount from util-linux 2.22.2 (libmount 2.22.0: debug)

This should be already fixed in version 2.23. Note that the mount
source has to be specified by absolute path otherwise it's still
interpreted as a tag.

(It will probably necessary to extend libblkid API and add a new
 function to verify what is a valid tag.)

    Karel

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-06-28 13:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1372412934.77779.YahooMailNeo@web162205.mail.bf1.yahoo.com>
2013-06-28  9:50 ` [bug] Cannot mount from directories containing = (equals) Marek Mrva
2013-06-28 13:37   ` Karel Zak

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