delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/01/30/04:15:27

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Mon, 30 Jan 2012 10:14:39 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Trying to mount /dev/sdb1
Message-ID: <20120130091439.GB20910@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <CAJg5x_Y2AH-vBvTMx6CLtTE0Q7auMdCJ42NmC-qFZP0LWn9rXQ AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CAJg5x_Y2AH-vBvTMx6CLtTE0Q7auMdCJ42NmC-qFZP0LWn9rXQ@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Note-from-DJ: This may be spam

On Jan 29 23:31, 斟酌鵬兄 wrote:
> $ fdisk -l
> 
> Disk /dev/sda: 1000.0 GB, 999999930368 bytes
> 255 heads, 63 sectors/track, 121576 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0xf59a3e23
> 
>    Device Boot      Start         End      Blocks   Id  System
> /dev/sda1   *           1          13      102400    7  HPFS/NTFS
> Partition 1 does not end on cylinder boundary.
> /dev/sda2              13       13068   104857600    7  HPFS/NTFS
> /dev/sda3           13068      121577   871599104    7  HPFS/NTFS
> 
> Disk /dev/sdb: 2000 MB, 2000683008 bytes
> 1 heads, 63 sectors/track, 62025 cylinders
> Units = cylinders of 63 * 512 = 32256 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0x00000000
> 
>    Device Boot      Start         End      Blocks   Id  System
> /dev/sdb1   *           7       61902     1949696    6  FAT16
> Partition 1 does not end on cylinder boundary.
> 
> 
> Penguin AT Penguin-PC /mnt
> $ mount /dev/sda1 /mnt/m2GCard/
> mount: /mnt/m2GCard/: Invalid argument
> 
> 
> 
> I've googled for long time and couldn't found a solution...
> 
> Any ideas?

Yes, read the User's Guide: 

http://cygwin.com/cygwin-ug-net/using.html#using-pathnames

Bottom line is, you can't mount disk devices.  You can only mount Win32
paths.  Assuming your thumb drive is mounted as drive X:, then you can
mount it with

  mount X: /mnt/m2GCard


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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