Trying to mount /dev/sdb1

Corinna Vinschen corinna-cygwin@cygwin.com
Mon Jan 30 09:15:00 GMT 2012


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@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



More information about the Cygwin mailing list