Thread: Mount pen drive
View Single Post
Old 9th December 2013
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by lucas34 View Post
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
#
Okay, so you have now succeeded in determining that the filesystem on the USB drive is formatted as NTFS. Now issue the following command:

$ sudo mount -t ntfs /dev/sd1i /mnt

Upon success, you will now find /mnt populated in the output of df(1).

Last edited by ocicat; 9th December 2013 at 04:42 PM. Reason: fixed verb tense
Reply With Quote