<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>OpenPeta &#187; Device Management</title>
	<atom:link href="http://openpeta.com/index.php/category/device-management/feed/" rel="self" type="application/rss+xml" />
	<link>http://openpeta.com</link>
	<description>Open Mind ....  Open Source ...</description>
	<lastBuildDate>Wed, 21 Jul 2010 03:20:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Formatting USB or Pen Drive in Linux Terminal (Using Command)</title>
		<link>http://openpeta.com/index.php/2008/03/formatting-usb-or-pen-drive-in-linux-terminal-using-command/</link>
		<comments>http://openpeta.com/index.php/2008/03/formatting-usb-or-pen-drive-in-linux-terminal-using-command/#comments</comments>
		<pubDate>Fri, 21 Mar 2008 00:30:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Device Management]]></category>

		<guid isPermaLink="false">http://www.openpeta.com/2008/03/21/formatting-usb-or-pen-drive-in-linux-terminal-using-command/</guid>
		<description><![CDATA[I am going to format my Sony External Memory Card Card Name in My Linux System : /media/PHONE CARD 1. Login with root mode or switch to su root@antony# sudo su [sudo] password for anthoniraj: 2. Check the device name of the USB using fdisk or mount commandroot@antony# mount/dev/sda1 on / type ext3 (rw,errors=remount-ro)proc on [...]]]></description>
			<content:encoded><![CDATA[<p>I am going to format my Sony External Memory Card</p>
<p>Card Name in My Linux System : /media/PHONE CARD</p>
<p>1. Login with root mode or switch to su<br />      <span style="font-style: italic; font-weight: bold;">root@antony# sudo su</span><br />      [sudo] password for anthoniraj:</p>
<p>2. Check the device name of the USB  using fdisk or mount command<br /><span style="font-weight: bold; font-style: italic;">root@antony# mount</span><br />/dev/sda1 on / type ext3 (rw,errors=remount-ro)<br />proc on /proc type proc (rw,noexec,nosuid,nodev)<br />/sys on /sys type sysfs (rw,noexec,nosuid,nodev)<br />varrun on /var/run type tmpfs (rw,noexec,nosuid,nodev,mode=0755)<br />varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)<br />udev on /dev type tmpfs (rw,mode=0755)<br />devshm on /dev/shm type tmpfs (rw)<br />devpts on /dev/pts type devpts (rw,gid=5,mode=620)<br />lrm on /lib/modules/2.6.22-14-generic/volatile type tmpfs (rw)<br />/dev/sda5 on /media/sda2 type ext3 (rw)<br />/dev/sda6 on /media/sda3 type ext3 (rw)<br />securityfs on /sys/kernel/security type securityfs (rw)<br />/dev/sdb1 on /media/PHONE type vfat (rw,nosuid,nodev,shortname=mixed,uid=1000,utf8,umask=077,usefree)<br /><span style="font-weight: bold;">/dev/sdc1 on /media/PHONE CARD type vfat</span> (rw,nosuid,nodev,shortname=mixed,uid=1000,utf8,umask=077,usefree)</p>
<p>                        (or)</p>
<p><span style="font-weight: bold; font-style: italic;">root@antony# fdisk -l</span></p>
<p>Disk /dev/sda: 120.0 GB, 120034123776 bytes<br />255 heads, 63 sectors/track, 14593 cylinders<br />Units = cylinders of 16065 * 512 = 8225280 bytes<br />Disk identifier: 0x0fc10fc0</p>
<p>  Device Boot      Start         End      Blocks   Id  System<br />/dev/sda1               1        5106    41013913+  83  Linux<br />/dev/sda2            5107       14593    76204327+   5  Extended<br />/dev/sda5            5107        8753    29294496   83  Linux<br />/dev/sda6            8754       11303    20482843+  83  Linux<br />/dev/sda7           14347       14593     1983996   82  Linux swap / Solaris<br />/dev/sda8           11304       14346    24442866   83  Linux</p>
<p>Partition table entries are not in disk order</p>
<p>Disk /dev/sdb: 27 MB, 27652096 bytes<br />2 heads, 6 sectors/track, 4500 cylinders<br />Units = cylinders of 12 * 512 = 6144 bytes<br />Disk identifier: 0&#215;00000000</p>
<p>  Device Boot      Start         End      Blocks   Id  System<br />/dev/sdb1   *           1        2018       12104+   4  FAT16 <32m units =" cylinders" 512 =" 2097152" style="font-weight: bold;">/dev/sdc1   *           1         970     1986544    e  W95 FAT16 (LBA)</span></p>
<p>The Last line of both commands is My Memory card device name i.e., /dev/sdc1</p>
<p>3. Unmount the USB drive using umount command<br /><span style="font-weight: bold; font-style: italic;">root@antony# umount /dev/sdc1 </span></p>
<p>4. Format the drive using mkdosfs command<br /><span style="font-weight: bold; font-style: italic;">root@antony# mkdosfs -F 16 -n &#8216;Antony&#8217; /dev/sdc1 </span><br />mkdosfs 2.11 (12 Mar 2005)</p>
<p>Here<br /> -F 16 is the option used for specifying FAT file system (FAT16)<br /> -n is the drive lable</p>
<p>both are optional.If options are omitted, mkdosfs automatically determines the file system size</p>
]]></content:encoded>
			<wfw:commentRss>http://openpeta.com/index.php/2008/03/formatting-usb-or-pen-drive-in-linux-terminal-using-command/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
