Thread: Mount pen drive
View Single Post
  #6   (View Single Post)  
Old 9th December 2013
lucas34's Avatar
lucas34 lucas34 is offline
Real Name: Lucas
Noob.
 
Join Date: Oct 2013
Posts: 17
Default

Quote:
Originally Posted by ocicat View Post
No.
  • As jggimi has stated (& as seen in the output of dmesg(8)...), your USB device is connected as sd1.
  • Next, use disklabel(8) find the correct partition to mount:

    $ sudo disklabel sd1
  • If this USB drive is formatted as MS-DOS, usually this will be assigned to partition "i".
  • Once the correct partition has been identified, mount it with the following command:

    $ sudo mount -t msdos /dev/sd1i /mnt
  • Upon success, you should now see this in the output of df(1).
You're right.

Code:
# disklabel sd1
# /dev/rsd1c:
type: SCSI
disk: SCSI disk
label: USB DISK 2.0    
duid: 0000000000000000
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 950
total sectors: 15269888
boundstart: 0
boundend: 15269888
drivedata: 0 

16 partitions:
#                size           offset  fstype [fsize bsize  cpg]
  c:         15269888                0  unused                   
  i:         15267840             2048    NTFS                   
# sudo mount -t msdos /dev/sd1i /mnt
mount_msdos: /dev/sd1i on /mnt: not an MSDOS filesystem
#
Code:
not an MSDOS filesystem
This is the problem.
Reply With Quote