delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1999/02/05/10:11:47

Delivered-To: listarch-cygwin-developers AT sourceware DOT cygnus DOT com
Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com
To: cygwin-developers AT sourceware DOT cygnus DOT com
Subject: posix-style device names in mount
X-Emacs: Emacs 20.2, MULE 3.0 (MOMIJINOGA), Meadow-1.00 (MIDORI)
MIME-Version: 1.0 (generated by SEMI MIME-Edit 0.100 - "Shijima")
From: Kazuhiro Fujieda <fujieda AT jaist DOT ac DOT jp>
Date: 05 Feb 1999 19:11:57 +0900
Message-ID: <uaeyt6txu.fsf@parvati.will.or.jp>
Lines: 20
X-Mailer: Semi-gnus 6.0.4 (based on Quassia Gnus v0.23)

mount.exe can pass a posix style path as the device name to the
mount system call. But It isn't supported by the system call. It
rarely cause problems because the device name is simply
backslashified in mount_info::add_item().

But in the following case on the latest snapshot...

$ mount //d/text /text
$ mount
\\d\tex             /text               user         textmode
C:                  /                   user         binmode
$ ls /text
ls: /text: No such device or address

If mount.exe or the mount system call converted the device name
to the win32 style path, this problem wouldn't occur.
____
  | AIST      Kazuhiro Fujieda <fujieda AT jaist DOT ac DOT jp>
  | HOKURIKU  School of Information Science
o_/ 1990      Japan Advanced Institute of Science and Technology


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019