Re: mkfs

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: Dazed_75
Date:  
To: Main PLUG discussion list
Subject: Re: mkfs
Whether you do it in a terminal or with a GUI, this article is a wealth of
information about this:

http://www.unixmen.com/how-to-format-usb-drive-in-the-terminal/




On Sun, Aug 4, 2013 at 11:25 AM, Michael Havens <> wrote:

> why does it matter? it is only 2 gig.
>
> :-)~MIKE~(-:
>
>
> On Sun, Aug 4, 2013 at 10:34 AM, <> wrote:
>
>> If I was you, I'd make a partition.
>> Scary...
>> ET
>>
>>
>> Michael Havens writes:
>>
>>> sudo mkfs -t vfat -I /dev/sdc did it. Thanks Enrique! Now I get the nice
>>> file manager appearing and everything.... How cool. I had to use -I
>>> because
>>> there are no partitions on the drive.
>>> :-)~MIKE~(-:
>>>
>>> On Sun, Aug 4, 2013 at 9:46 AM, Michael Havens <>
>>> wrote:
>>>
>>>> it appears that msdos and vfat just point to each other (man mkfs.vfat
>>>> is
>>>> the man for mkfs.msdos). Is this correct? So then it doesn't matter if
>>>> I do
>>>> "-t vfat" or "-t msdos". What about "xtfs"?
>>>> :-)~MIKE~(-:
>>>>
>>>> On Sun, Aug 4, 2013 at 9:25 AM, <> wrote:
>>>>
>>>>> RTFM! ;-)
>>>>> ET
>>>>> Michael Havens writes:
>>>>>
>>>>>> So what is the option, "-t vfat" or "-t msdos"? I thought "xfs" was
>>>>>> an
>>>>>> option.
>>>>>> Oh yea..... I don't "plan" on using this in windows but just in case I
>>>>>> need
>>>>>> to pull a file off of my dad's computer.
>>>>>> :-)~MIKE~(-:
>>>>>> On Sun, Aug 4, 2013 at 9:02 AM, <> wrote:
>>>>>>
>>>>>>> kitepilot@twinbeech[~]$ man mkfs|grep fat
>>>>>>>       fs(5), badblocks(8), fsck(8), mkdosfs(8), mke2fs(8),
>>>>>>> mkfs.bfs(8),
>>>>>>> mkfs.ext2(8), mkfs.ext3(8), mkfs.ext4(8), mkfs.minix(8),
>>>>>>> mkfs.msdos(8),
>>>>>>> mkfs.vfat(8), mkfs.xfs(8), mkfs.xiafs(8)
>>>>>>> kitepilot@twinbeech[~]$ man 8 mkfs.vfat

>>>>>>>
>>>>>>> Michael Havens writes:
>>>>>>>
>>>>>>>> what is the option in mkfs? I looked at man but they don't list it.
>>>>>>>> Is
>>>>>>>> it
>>>>>>>> '-t fat32'?
>>>>>>>> :-)~MIKE~(-:
>>>>>>>> On Sun, Aug 4, 2013 at 8:52 AM, <> wrote:
>>>>>>>>
>>>>>>>>> THen you are good... :)
>>>>>>>>> Create a partition and install a FAT-32 filesystem if you plan on
>>>>>>>>> pluging
>>>>>>>>> that thing to Wincrap.
>>>>>>>>> ET
>>>>>>>>> Michael Havens writes:
>>>>>>>>>
>>>>>>>>>> dmesg says the drive is sdc. I can then mount the drive and look
>>>>>>>>>> at
>>>>>>>>>> it's
>>>>>>>>>> contents.
>>>>>>>>>> now for your directions:
>>>>>>>>>> bmike1@PresarioLapTop1:~$ lsusb > /tmp/junk-lsusb-0.txt
>>>>>>>>>> bmike1@PresarioLapTop1:~$ cat /proc/partitions >
>>>>>>>>>> /tmp/junk-partitions-0.txt
>>>>>>>>>> bmike1@PresarioLapTop1:~$ lsusb > /tmp/junk-lsusb-1.txt
>>>>>>>>>> bmike1@PresarioLapTop1:~$ cat /proc/partitions >
>>>>>>>>>> /tmp/junk-partitions-1.txt
>>>>>>>>>> bmike1@PresarioLapTop1:~$ diff /tmp/junk-lsusb-?.txt
>>>>>>>>>> 0a1
>>>>>>>>>>
>>>>>>>>>>> Bus 001 Device 005: ID 0930:6544 Toshiba Corp. Kingston
>>>>>>>>>>> DataTraveler
>>>>>>>>>>> 2.0
>>>>>>>>>>>
>>>>>>>>>> Stick (2GB)
>>>>>>>>>> All is good.
>>>>>>>>>> I can tell you right now that there are no partitions on this
>>>>>>>>>> drive.
>>>>>>>>>> It
>>>>>>>>>> is
>>>>>>>>>> dev/sdc. I kinow this is the case because I can mount /dev/sdc
>>>>>>>>>> /mnt/sdc
>>>>>>>>>> and
>>>>>>>>>> look at the contents. There is nothing in it that I want to keep.
>>>>>>>>>> :-)~MIKE~(-:
>>>>>>>>>> On Sun, Aug 4, 2013 at 8:12 AM, <> wrote:
>>>>>>>>>>
>>>>>>>>>>> First question to answer is: Is the drive being detected?
>>>>>>>>>>> Unplug the drive, wait a minute and do:
>>>>>>>>>>> lsusb > /tmp/junk-lsusb-0.txt
>>>>>>>>>>> cat /proc/partitions > /tmp/junk-partitions-0.txt
>>>>>>>>>>> Now plug the drive, wait a minute and do:
>>>>>>>>>>> lsusb > /tmp/junk-lsusb-1.txt
>>>>>>>>>>> cat /proc/partitions > /tmp/junk-partitions-1.txt
>>>>>>>>>>> Then
>>>>>>>>>>> diff /tmp/junk-lsusb-?.txt
>>>>>>>>>>> If you see at leas one line you are good, otherwise you are dead
>>>>>>>>>>> in
>>>>>>>>>>> the
>>>>>>>>>>> water.
>>>>>>>>>>> If you can see the device, then:
>>>>>>>>>>> diff /tmp/junk-partitions-?.txt
>>>>>>>>>>> That's your partition.
>>>>>>>>>>> Depending on what you have (if you have) next steps are
>>>>>>>>>>> different.
>>>>>>>>>>> YMMV...
>>>>>>>>>>> ET
>>>>>>>>>>> Michael Havens writes:
>>>>>>>>>>>
>>>>>>>>>>>> Okay, when I was making a backup drive I did so on a drive that
>>>>>>>>>>>> was
>>>>>>>>>>>> too
>>>>>>>>>>>> small. (bummer) now, when I stick that device in nothing happens
>>>>>>>>>>>> (the
>>>>>>>>>>>> nice
>>>>>>>>>>>> little file manager doesn't appear). So I think that is because
>>>>>>>>>>>> I
>>>>>>>>>>>> created
>>>>>>>>>>>> a
>>>>>>>>>>>> label for this drive. So I wonder to myself how to fix it. What
>>>>>>>>>>>> I
>>>>>>>>>>>> think
>>>>>>>>>>>> of
>>>>>>>>>>>> is mkfs. What is a generic filesystem I can use on microsoft
>>>>>>>>>>>> computers
>>>>>>>>>>>> too?
>>>>>>>>>>>> is xtfs the best or should I go with fat 16/32? or am I
>>>>>>>>>>>> incorrect
>>>>>>>>>>>> that
>>>>>>>>>>>> this
>>>>>>>>>>>> will fix the problem?
>>>>>>>>>>>> :-)~MIKE~(-:
>>>>>>>>>>>>
>>>>>>>>>>> ------------------------------**********---------------------
>>>>>>>>>>> PLUG-discuss mailing list - .******
>>>>>>>>>>> ****org<
>>>>>>>>>>> PLUG-discuss@lists.**phxlinux.******org <http://phxlinux.org> <
>>>>>>>>>>> .******org
>>>>>>>>>>> <.****
>>>>>>>>>>>
>>>>>>>>>>> org <.**org<>
>>>>>>>>>>> >>>>
>>>>>>>>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>>>>>>>>> http://lists.phxlinux.org/**********mailman/listinfo/plug-****
>>>>>>>>>>> discuss<http://lists.phxlinux.org/********mailman/listinfo/plug-**discuss>
>>>>>>>>>>> <http://lists.phxlinux.**org/******mailman/listinfo/**
>>>>>>>>>>> plug-discuss<http://lists.phxlinux.org/******mailman/listinfo/plug-discuss>
>>>>>>>>>>> >
>>>>>>>>>>> <http://lists.phxlinux.**org/******mailman/listinfo/plug-****
>>>>>>>>>>> discuss<http://lists.phxlinux.**org/****mailman/listinfo/plug-**
>>>>>>>>>>> discuss<http://lists.phxlinux.org/****mailman/listinfo/plug-discuss>
>>>>>>>>>>> >
>>>>>>>>>>> >
>>>>>>>>>>> <**http://lists.phxlinux.org/********mailman/listinfo/plug-****
>>>>>>>>>>> discuss<http://lists.phxlinux.org/******mailman/listinfo/plug-**discuss>
>>>>>>>>>>> <http://lists.phxlinux.**org/****mailman/listinfo/plug-**discuss<http://lists.phxlinux.org/****mailman/listinfo/plug-discuss>
>>>>>>>>>>> >
>>>>>>>>>>> <http://lists.phxlinux.**org/****mailman/listinfo/plug-****
>>>>>>>>>>> discuss<http://lists.phxlinux.**org/**mailman/listinfo/plug-**
>>>>>>>>>>> discuss<http://lists.phxlinux.org/**mailman/listinfo/plug-discuss>
>>>>>>>>>>> >
>>>>>>>>>>> >
>>>>>>>>>>> >
>>>>>>>>>>> <**http://lists.phxlinux.org/********mailman/listinfo/plug-****
>>>>>>>>>>> discuss<http://lists.phxlinux.org/******mailman/listinfo/plug-**discuss>
>>>>>>>>>>> <http://lists.phxlinux.**org/****mailman/listinfo/plug-**discuss<http://lists.phxlinux.org/****mailman/listinfo/plug-discuss>
>>>>>>>>>>> >
>>>>>>>>>>> <http://lists.phxlinux.**org/****mailman/listinfo/plug-****
>>>>>>>>>>> discuss<http://lists.phxlinux.**org/**mailman/listinfo/plug-**
>>>>>>>>>>> discuss<http://lists.phxlinux.org/**mailman/listinfo/plug-discuss>
>>>>>>>>>>> >
>>>>>>>>>>> >
>>>>>>>>>>> **<http://lists.phxlinux.org/******mailman/listinfo/plug-**
>>>>>>>>>>> discuss<http://lists.phxlinux.org/****mailman/listinfo/plug-discuss>
>>>>>>>>>>> <http://lists.phxlinux.**org/**mailman/listinfo/plug-**discuss<http://lists.phxlinux.org/**mailman/listinfo/plug-discuss>
>>>>>>>>>>> >
>>>>>>>>>>>
>>>>>>>>>>> **<http://lists.phxlinux.org/****mailman/listinfo/plug-discuss<http://lists.phxlinux.org/**mailman/listinfo/plug-discuss>
>>>>>>>>>>> **<http://lists.phxlinux.org/**mailman/listinfo/plug-discuss<http://lists.phxlinux.org/mailman/listinfo/plug-discuss>
>>>>>>>>>>> >
>>>>>>>>>>> >
>>>>>>>>>>> >**>
>>>>>>>>>>> ------------------------------********---------------------
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> PLUG-discuss mailing list - .****
>>>>>>>>>> ****org<
>>>>>>>>>>
>>>>>>>>> PLUG-discuss@lists.**phxlinux.****org <http://phxlinux.org> <
>>>>>>>>> .****org <.*
>>>>>>>>> *org <>>>>
>>>>>>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>>>>>>> http://lists.phxlinux.org/********mailman/listinfo/plug-**discuss<http://lists.phxlinux.org/******mailman/listinfo/plug-discuss>
>>>>>>>>> <http://lists.phxlinux.**org/****mailman/listinfo/plug-**discuss<http://lists.phxlinux.org/****mailman/listinfo/plug-discuss>
>>>>>>>>> >
>>>>>>>>> <**http://lists.phxlinux.org/******mailman/listinfo/plug-**discuss<http://lists.phxlinux.org/****mailman/listinfo/plug-discuss>
>>>>>>>>> <http://lists.phxlinux.**org/**mailman/listinfo/plug-**discuss<http://lists.phxlinux.org/**mailman/listinfo/plug-discuss>
>>>>>>>>> >
>>>>>>>>> >
>>>>>>>>> <**http://lists.phxlinux.org/******mailman/listinfo/plug-**discuss<http://lists.phxlinux.org/****mailman/listinfo/plug-discuss>
>>>>>>>>> <http://lists.phxlinux.**org/**mailman/listinfo/plug-**discuss<http://lists.phxlinux.org/**mailman/listinfo/plug-discuss>
>>>>>>>>> >
>>>>>>>>> **<http://lists.phxlinux.org/****mailman/listinfo/plug-discuss<http://lists.phxlinux.org/**mailman/listinfo/plug-discuss>
>>>>>>>>> **<http://lists.phxlinux.org/**mailman/listinfo/plug-discuss<http://lists.phxlinux.org/mailman/listinfo/plug-discuss>
>>>>>>>>> >
>>>>>>>>> >**>
>>>>>>>>> ------------------------------******---------------------
>>>>>>>>>
>>>>>>>>
>>>>>>>> PLUG-discuss mailing list - .******org<
>>>>>>> PLUG-discuss@lists.**phxlinux.**org <http://phxlinux.org> <
>>>>>>> .**org <>
>>>>>>> >>
>>>>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>>>>> http://lists.phxlinux.org/******mailman/listinfo/plug-discuss<http://lists.phxlinux.org/****mailman/listinfo/plug-discuss>
>>>>>>> <**http://lists.phxlinux.org/****mailman/listinfo/plug-discuss<http://lists.phxlinux.org/**mailman/listinfo/plug-discuss>
>>>>>>> >
>>>>>>> <**http://lists.phxlinux.org/****mailman/listinfo/plug-discuss<http://lists.phxlinux.org/**mailman/listinfo/plug-discuss>
>>>>>>> **<http://lists.phxlinux.org/**mailman/listinfo/plug-discuss<http://lists.phxlinux.org/mailman/listinfo/plug-discuss>
>>>>>>> >**>
>>>>>>>
>>>>>>> ------------------------------****---------------------
>>>>>>
>>>>> PLUG-discuss mailing list - .****org<
>>>>> PLUG-discuss@lists.**phxlinux.org <>>
>>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>>> http://lists.phxlinux.org/****mailman/listinfo/plug-discuss<http://lists.phxlinux.org/**mailman/listinfo/plug-discuss>
>>>>> <**http://lists.phxlinux.org/**mailman/listinfo/plug-discuss<http://lists.phxlinux.org/mailman/listinfo/plug-discuss>>
>>>>>
>>>>>
>>>>
>>>>
>>>> ------------------------------**---------------------
>> PLUG-discuss mailing list - .**org<>
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.phxlinux.org/**mailman/listinfo/plug-discuss<http://lists.phxlinux.org/mailman/listinfo/plug-discuss>
>>
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>




--
Dazed_75 a.k.a. Larry

Please protect my address like I protect yours. When sending messages to
multiple recipients, use the BCC: (Blind carbon copy). Remove addresses
from a forwarded message body before clicking Send.
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss