Check where the usb stick is mounted.

$ tail -f /var/log/messages

Apr  2 17:49:27 jhleepc kernel: [352495.842297] sd 18:0:0:0: [sde] 31358976 512-byte logical blocks: (16.0 GB/14.9 GiB)

Apr  2 17:49:27 jhleepc kernel: [352495.848464]  sde: sde1

$ mkfs.vfat -F 32 /dev/sde1 -n usb16g



'Computer > linux' 카테고리의 다른 글

Rolled back to old revision in SVN  (0) 2013.04.23
format usb stick with fat32  (0) 2013.04.02
Run a program at the boot time in Debain way  (0) 2013.03.29
gnome-keyring can't connect to pkcs11 file  (0) 2013.03.26
posted by citadel

FAT32 format in Linux

Computer/linux 2010.10.31 12:54
Before the format, using fdisk must do create new partitions for ext4 and fat32

mkfs.vfat -n ks.vfat -F 32 /dev/sdh2

mkfs.vfat 3.0.1 (23 Nov 2008)

mkfs.ext4dev -L ks.ext4 -m 0 /dev/sdh1

mke2fs 1.41.3 (12-Oct-2008)
Filesystem label=ks.ext4
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
424320 inodes, 1694849 blocks
0 blocks (0.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=1736441856
52 block groups
32768 blocks per group, 32768 fragments per group
8160 inodes per group
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632

Writing inode tables: done                           
Creating journal (32768 blocks):
done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 29 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.


https://ext4.wiki.kernel.org/index.php/Ext4_Howto


'Computer > linux' 카테고리의 다른 글

Error read: Connection reset by peer when sshfs is using.  (0) 2010.12.21
FAT32 format in Linux  (0) 2010.10.31
strtok을 사용하지 말자.  (0) 2010.08.24
awk with a running average and sample deviation  (0) 2010.08.18
posted by citadel